nix-shell: set the NIX_PATH
Use the same version of nixpkgs as the shell itself
This commit is contained in:
parent
16fb0b4147
commit
cb688a90e3
1 changed files with 2 additions and 0 deletions
|
@ -13,5 +13,7 @@ mkShell {
|
||||||
shellHook = ''
|
shellHook = ''
|
||||||
# try to work aroud build issues
|
# try to work aroud build issues
|
||||||
unset TMPDIR
|
unset TMPDIR
|
||||||
|
|
||||||
|
export NIX_PATH=nixpkgs=${toString nixpkgs}
|
||||||
'';
|
'';
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue