Skip to content
Snippets Groups Projects
Commit 340026c0 authored by Daniel Firth's avatar Daniel Firth
Browse files

clean up arguments to callPackage

parent ce26d5f9
No related merge requests found
...@@ -13,17 +13,16 @@ ...@@ -13,17 +13,16 @@
let let
pkgs = import nixpkgs { inherit system; }; pkgs = import nixpkgs { inherit system; };
horizon-gen-nix-app = get-flake horizon-gen-nix; horizon-gen-nix-app = get-flake horizon-gen-nix;
configuration = import ./configuration.nix { inherit inputs pkgs; };
haskellLib = pkgs.haskell.lib.compose; haskellLib = pkgs.haskell.lib.compose;
hsPkgs = pkgs.callPackage (nixpkgs + /pkgs/development/haskell-modules) { hsPkgs = pkgs.callPackage (nixpkgs + /pkgs/development/haskell-modules) {
buildHaskellPackages = pkgs.haskell.packages.ghc942; buildHaskellPackages = pkgs.haskell.packages.ghc942;
compilerConfig = pkgs.callPackage ./configuration-ghc-9.4.x.nix { inherit haskellLib; };
configurationCommon = import ./configuration.nix; configurationCommon = import ./configuration.nix;
configurationNix = { pkgs, haskellLib }: self: super: { }; configurationNix = { pkgs, haskellLib }: self: super: { };
ghc = pkgs.haskell.compiler.ghc942; ghc = pkgs.haskell.compiler.ghc942;
haskellLib = pkgs.haskell.lib.compose; inherit haskellLib;
initialPackages = import ./overlay.nix; initialPackages = import ./overlay.nix;
nonHackagePackages = self: super: { }; nonHackagePackages = self: super: { };
compilerConfig = pkgs.callPackage ./configuration-ghc-9.4.x.nix { haskellLib = haskellLib; };
}; };
hp' = pkgs.lib.filterAttrs hp' = pkgs.lib.filterAttrs
(n: v: v != null (n: v: v != null
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment