Fix the conditional to not be bad

This commit is contained in:
Greg Hellings
2024-05-20 23:06:40 -05:00
parent a6de268c78
commit 3f41f806ca
+1 -1
View File
@@ -18,7 +18,7 @@ in
keep-derivations = true;
min-free = (toString (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://ai.cachix.org"
];