Bugfix: simpleFlake works only on x86 and Linux (#57)

I've discovered this while trying to use it on a M1 Macbook (an `aarch64-darwin` system).
The change makes sure it will work by default on most systems by default. The user would use this parameter only to restrict the systems if necessary.
This commit is contained in:
zah
2022-03-26 14:28:42 +02:00
committed by GitHub
parent 3cecb5b042
commit 0f8662f131

View File

@@ -18,7 +18,7 @@
, # maps to the devShell output. Pass in a shell.nix file or function.
shell ? null
, # pass the list of supported systems
systems ? [ "x86_64-linux" ]
systems ? [ "x86_64-linux" "aarch64-linux" "x86_64-darwin" "aarch64-darwin" ]
}:
let
loadOverlay = obj: