global/nix: move NIX_PATH to nix.conf
This commit is contained in:
parent
b2f073f52e
commit
17116786bc
1 changed files with 4 additions and 7 deletions
|
@ -32,8 +32,10 @@ in
|
|||
|
||||
min-free = 536870912; # 0.5 gibi bytes
|
||||
|
||||
# Workaround for https://github.com/NixOS/nix/issues/9574
|
||||
nix-path = config.nix.nixPath;
|
||||
nix-path = [
|
||||
"nixpkgs=${inputs.nixpkgs}"
|
||||
"devshell=${inputs.devshell}"
|
||||
];
|
||||
};
|
||||
|
||||
gc = {
|
||||
|
@ -59,11 +61,6 @@ in
|
|||
};
|
||||
};
|
||||
|
||||
nixPath = [
|
||||
"nixpkgs=${inputs.nixpkgs}"
|
||||
"devshell=${inputs.devshell}"
|
||||
];
|
||||
|
||||
distributedBuilds = mkDefault true;
|
||||
extraOptions = ''
|
||||
builders-use-substitutes = true
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue