mirror of
https://github.com/NixOS/nix.git
synced 2025-12-17 22:41:08 +01:00
* Allow redirections in search path entries. E.g. if you have a
directory
/home/eelco/src/stdenv-updates
that you want to use as the directory for import such as
with (import <nixpkgs> { });
then you can say
$ nix-build -I nixpkgs=/home/eelco/src/stdenv-updates
This commit is contained in:
parent
1578b2261d
commit
c7101dac0b
5 changed files with 28 additions and 9 deletions
|
|
@ -1 +1 @@
|
|||
"abc"
|
||||
"abcc"
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
-I lang/dir1 -I lang/dir2
|
||||
-I lang/dir1 -I lang/dir2 -I dir5=lang/dir3
|
||||
|
|
@ -1,3 +1,3 @@
|
|||
import <a.nix> + import <b.nix> + import <c.nix>
|
||||
import <a.nix> + import <b.nix> + import <c.nix> + import <dir5/c.nix>
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue