Skip to content

Commit

Permalink
Use lazy-inputs instead of fetch-source overlay
Browse files Browse the repository at this point in the history
  • Loading branch information
hamishmack committed Oct 24, 2024
1 parent ec3e51b commit 52e3bca
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 50 deletions.
6 changes: 4 additions & 2 deletions lazy-inputs/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ let
callFlake = import prev.haskell-nix.sources.flake-compat;
in {
haskell-nix = prev.haskell-nix // {
sources = prev.haskell-nix.sources // {
sources = {
inherit ((callFlake { pkgs = final; src = ./ghc8107; }).defaultNix) ghc8107;
inherit ((callFlake { pkgs = final; src = ./ghc901; }).defaultNix) ghc901;
inherit ((callFlake { pkgs = final; src = ./ghc902; }).defaultNix) ghc902;
Expand Down Expand Up @@ -32,6 +32,8 @@ in {
inherit ((callFlake { pkgs = final; src = ./ghc981; }).defaultNix) ghc981;
inherit ((callFlake { pkgs = final; src = ./ghc982; }).defaultNix) ghc982;
inherit ((callFlake { pkgs = final; src = ./ghc9101; }).defaultNix) ghc9101;
};
inherit ((callFlake { pkgs = final; src = ./ghc912X; }).defaultNix) ghc912X;
inherit ((callFlake { pkgs = final; src = ./ghc913; }).defaultNix) ghc913;
} // prev.haskell-nix.sources;
};
}
2 changes: 0 additions & 2 deletions overlays/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,6 @@ let
ghcjs = import ./ghcjs.nix;
cabalPkgConfig = import ./cabal-pkg-config.nix;
cacheCompilerDeps = import ./cache-compiler-deps.nix;
fetch-source = import ./fetch-source.nix;
lazy-inputs = import ../lazy-inputs;
rcodesign = import ./rcodesign.nix;
};
Expand Down Expand Up @@ -132,7 +131,6 @@ let
# Restore nixpkgs haskell and haskellPackages
(_: prev: { inherit (prev.haskell-nix-prev) haskell haskellPackages; })
cacheCompilerDeps
fetch-source
lazy-inputs
rcodesign
];
Expand Down
46 changes: 0 additions & 46 deletions overlays/fetch-source.nix

This file was deleted.

0 comments on commit 52e3bca

Please sign in to comment.