Fix the conditional to not be bad
This commit is contained in:
@@ -18,7 +18,7 @@ in
|
|||||||
keep-derivations = true;
|
keep-derivations = true;
|
||||||
min-free = (toString (1024 * 1024 * 1024) );
|
min-free = (toString (1024 * 1024 * 1024) );
|
||||||
max-free = (toString (5 * 1024 * 1024 * 1024) );
|
max-free = (toString (5 * 1024 * 1024 * 1024) );
|
||||||
substituters = (lib.optional notDarwin [ "http://nixcache.home" ]) ++ [
|
substituters = (if notDarwin then [ "http://nixcache.home" ] else []) ++ [
|
||||||
"https://cache.garnix.io"
|
"https://cache.garnix.io"
|
||||||
"https://ai.cachix.org"
|
"https://ai.cachix.org"
|
||||||
];
|
];
|
||||||
|
|||||||
Reference in New Issue
Block a user