Skip to content
This repository has been archived by the owner on Dec 8, 2022. It is now read-only.

Commit

Permalink
purify nix evaluation of hydra jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
dermetfan committed Nov 23, 2022
1 parent 0dc3f16 commit a9203c2
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
6 changes: 4 additions & 2 deletions nix/default.nix
Expand Up @@ -7,8 +7,10 @@ let
sources = import ./sources.nix { inherit pkgs; }
// sourcesOverride;
iohkNix = import sources.iohk-nix {};
haskellNix = import sources."haskell.nix" {};
nixpkgs = haskellNix.sources.nixpkgs-2105;
haskellNix = import sources."haskell.nix" {
pkgs = import nixpkgs { inherit system; };
};
nixpkgs = iohkNix.nixpkgs;

# for inclusion in pkgs:
overlays =
Expand Down
5 changes: 4 additions & 1 deletion release.nix
Expand Up @@ -30,7 +30,10 @@
, sourcesOverride ? {}

# Import pkgs, including IOHK common nix lib
, pkgs ? import ./nix { inherit sourcesOverride; }
, pkgs ? import ./nix {
inherit sourcesOverride;
system = builtins.head supportedSystems;
}

}:

Expand Down

0 comments on commit a9203c2

Please sign in to comment.