diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2012-03-27T09·40+0200 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2012-03-27T09·40+0200 |
commit | 5144abe5b67628d6968d0ab829aa52a6428a77a6 (patch) | |
tree | 09e51c80a4120161051816336e9667a53393b2d5 /COPYING | |
parent | 3e94ffffd61573624883c02744f20ac3544ff9cb (diff) |
Add an option "--exclude" to filter dependencies in "nix-build --run-env"
Sometimes when doing "nix-build --run-env" you don't want all dependencies to be built. For instance, if we want to do "--run-env" on the "build" attribute in Hydra's release.nix (to get Hydra's build environment), we don't want its "tarball" dependency to be built. So we can do: $ nix-build --run-env release.nix -A build --exclude 'hydra-tarball' This will skip the dependency whose name matches the "hydra-tarball" regular expression. The "--exclude" option can be repeated any number of times.
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions