From 0f8662f1319ad6abf89b3380dd2722369fc51ade Mon Sep 17 00:00:00 2001 From: zah Date: Sat, 26 Mar 2022 14:28:42 +0200 Subject: [PATCH] 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. --- simpleFlake.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/simpleFlake.nix b/simpleFlake.nix index c26bd08..19a1a40 100644 --- a/simpleFlake.nix +++ b/simpleFlake.nix @@ -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: