lix/src
Eelco Dolstra f9438fb64a nix develop: Add --redirect flag to redirect dependencies
This is primarily useful if you're hacking simultaneously on a package
and one of its dependencies. E.g. if you're hacking on Hydra and Nix,
you would start a dev shell for Nix, and then a dev shell for Hydra as
follows:

  $ nix develop \
    --redirect .#hydraJobs.build.x86_64-linux.nix ~/Dev/nix/outputs/out \
    --redirect .#hydraJobs.build.x86_64-linux.nix.dev ~/Dev/nix/outputs/dev

(This assumes hydraJobs.build.x86_64-linux has a passthru.nix
attribute. You can also use a store path.)

This causes all references in the environment to those store paths to
be rewritten to ~/Dev/nix/outputs/{out,dev}. Note: unfortunately, you
may need to set LD_LIBRARY_PATH=~/Dev/nix/outputs/out/lib because
Nixpkgs' ld-wrapper only adds -rpath entries for -L flags that point
to the Nix store.
2020-10-22 13:40:30 +02:00
..
build-remote Remove static variable name clashes 2020-10-06 13:49:20 +02:00
cpptoml Revert the enum struct change 2020-06-18 22:11:26 +00:00
libexpr Merge pull request #4080 from kquick/kwq/flake-int-doc 2020-10-19 11:29:12 +02:00
libfetchers Merge pull request #4080 from kquick/kwq/flake-int-doc 2020-10-19 11:29:12 +02:00
libmain Add a description in the completion outputs 2020-10-09 09:39:51 +02:00
libstore Add NIX_CONFIG env var for applying nix.conf overrides 2020-10-21 13:41:26 +02:00
libutil Add missing include for MAX_PATH 2020-10-15 19:05:17 +00:00
nix nix develop: Add --redirect flag to redirect dependencies 2020-10-22 13:40:30 +02:00
nix-build Split out local-fs-store.hh 2020-10-09 20:18:08 +00:00
nix-channel Remove static variable name clashes 2020-10-06 13:49:20 +02:00
nix-collect-garbage Remove static variable name clashes 2020-10-06 13:49:20 +02:00
nix-copy-closure Remove static variable name clashes 2020-10-06 13:49:20 +02:00
nix-daemon Remove static variable name clashes 2020-10-06 13:49:20 +02:00
nix-env Split out local-fs-store.hh 2020-10-09 20:18:08 +00:00
nix-instantiate Split out local-fs-store.hh 2020-10-09 20:18:08 +00:00
nix-prefetch-url Remove static variable name clashes 2020-10-06 13:49:20 +02:00
nix-store Remove static variable name clashes 2020-10-06 13:49:20 +02:00
resolve-system-dependencies lstat() cleanup 2020-09-23 19:17:28 +02:00