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. |
||
|---|---|---|
| .. | ||
| maintenance | ||
| build-remote.pl.in | ||
| copy-from-other-stores.pl.in | ||
| copying-collector.pl | ||
| download-using-manifests.pl.in | ||
| find-runtime-roots.pl.in | ||
| Makefile.am | ||
| nix-build.in | ||
| nix-channel.in | ||
| nix-collect-garbage.in | ||
| nix-copy-closure.in | ||
| nix-generate-patches.in | ||
| nix-http-export.cgi.in | ||
| nix-install-package.in | ||
| nix-prefetch-url.in | ||
| nix-profile.sh.in | ||
| nix-pull.in | ||
| nix-push.in | ||
| nix-reduce-build.in | ||
| remove-patches.pl | ||
| show-duplication.pl | ||