From 29a34b4759ca6e5abfc2e3648c478fb0ebfb5e9c Mon Sep 17 00:00:00 2001 From: Astro Date: Fri, 12 Mar 2021 02:24:30 +0100 Subject: [PATCH] flake.nix: remove ${system} from hydraJobs schema --- flake.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/flake.nix b/flake.nix index 08b94b3..2bf68ef 100644 --- a/flake.nix +++ b/flake.nix @@ -16,8 +16,9 @@ checks = packages; - hydraJobs = forSystems (system: + hydraJobs = let + system = builtins.head systems; pkgs = nixpkgs.legacyPackages.${system}; ghcVersions = builtins.filter (p: @@ -31,8 +32,7 @@ checks // { "${ghcVersion}".yammat = haskellPackages.callPackage ./pkg.nix {}; } - ) {} ghcVersions - ); + ) {} ghcVersions; devShell = forSystems (system: import ./shell.nix {