Fix nix run
It requires an explicit `nixpkgs=` entry in `NIX_PATH` to work.
This commit is contained in:
parent
94d625784a
commit
208922d9f9
|
@ -73,6 +73,7 @@
|
||||||
nix = {
|
nix = {
|
||||||
nixPath = [
|
nixPath = [
|
||||||
"/var/src" # pinned nixpkgs and configuration
|
"/var/src" # pinned nixpkgs and configuration
|
||||||
|
"nixpkgs=/var/src/nixpkgs" # for nix run
|
||||||
];
|
];
|
||||||
# Make sudoers trusted nix users
|
# Make sudoers trusted nix users
|
||||||
trustedUsers = [ "@wheel" ];
|
trustedUsers = [ "@wheel" ];
|
||||||
|
|
Loading…
Reference in a new issue