From 1f862be7a486a236fad4b5edffb832af737bd104 Mon Sep 17 00:00:00 2001 From: Anton-4 <17049058+Anton-4@users.noreply.github.com> Date: Tue, 26 Sep 2023 14:08:45 +0200 Subject: [PATCH] stdenv fix --- devtools/flake.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/devtools/flake.nix b/devtools/flake.nix index f102edfbc4c..a5f4d9f9c82 100755 --- a/devtools/flake.nix +++ b/devtools/flake.nix @@ -9,13 +9,14 @@ let supportedSystems = [ "x86_64-linux" "x86_64-darwin" "aarch64-darwin" ]; flake-utils = roc.inputs.flake-utils; - isAarch64Darwin = stdenv.hostPlatform.system == "aarch64-darwin"; in flake-utils.lib.eachSystem supportedSystems (system: let pkgs = import roc.inputs.nixpkgs { inherit system; config.allowUnfree = true; }; + + isAarch64Darwin = pkgs.stdenv.hostPlatform.system == "aarch64-darwin"; rocShell = roc.devShell.${system}; in {