flake.nix: remove ${system} from hydraJobs schema

This commit is contained in:
Astro 2021-03-12 02:24:30 +01:00
parent 38ecd78db1
commit 29a34b4759

View file

@ -16,8 +16,9 @@
checks = packages; checks = packages;
hydraJobs = forSystems (system: hydraJobs =
let let
system = builtins.head systems;
pkgs = nixpkgs.legacyPackages.${system}; pkgs = nixpkgs.legacyPackages.${system};
ghcVersions = ghcVersions =
builtins.filter (p: builtins.filter (p:
@ -31,8 +32,7 @@
checks // { checks // {
"${ghcVersion}".yammat = haskellPackages.callPackage ./pkg.nix {}; "${ghcVersion}".yammat = haskellPackages.callPackage ./pkg.nix {};
} }
) {} ghcVersions ) {} ghcVersions;
);
devShell = forSystems (system: devShell = forSystems (system:
import ./shell.nix { import ./shell.nix {