Skip to content

Commit

Permalink
stdenv fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Anton-4 committed Sep 26, 2023
1 parent 2a2ced4 commit 1f862be
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion devtools/flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 1f862be

Please sign in to comment.