nix: introduce fake nixpkgs (#9)
Since <nixpkgs> wasn't working, might as well make the error more explicit. That way, users are quickly aware if they forgot to pin their nixpkgs.
This commit is contained in:
parent
0f24a9c94a
commit
0b362172fb
2 changed files with 8 additions and 1 deletions
|
@ -53,7 +53,7 @@ let
|
|||
"ENV=/etc/profile.d/nix.sh"
|
||||
"BASH_ENV=/etc/profile.d/nix.sh"
|
||||
"NIX_BUILD_SHELL=/bin/bash"
|
||||
"NIX_PATH=nixpkgs=${toString <nixpkgs>}"
|
||||
"NIX_PATH=nixpkgs=${./fake_nixpkgs}"
|
||||
"PAGER=cat"
|
||||
"PATH=/usr/bin:/bin"
|
||||
"SSL_CERT_FILE=${cacert}/etc/ssl/certs/ca-bundle.crt"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue