Allow overriding systems in release.nix

This commit is contained in:
Elliot Cameron 2020-05-04 21:08:57 -04:00
parent 062646b079
commit d72a7bdd27
No known key found for this signature in database
GPG Key ID: 6ABB57E3D52B0628

View File

@ -1,12 +1,12 @@
{ reflex-platform-fun ? import ./dep/reflex-platform
, supportedSystems ? ["x86_64-linux" "x86_64-darwin"]
}:
let
native-reflex-platform = reflex-platform-fun {};
inherit (native-reflex-platform.nixpkgs) lib;
systems = ["x86_64-linux" "x86_64-darwin"];
perPlatform = lib.genAttrs systems (system: let
perPlatform = lib.genAttrs supportedSystems (system: let
reflex-platform = reflex-platform-fun { inherit system; };
compilers = [
"ghc"