From 0e39d938b339f8f3f8fe70fb91d7a3396479362f Mon Sep 17 00:00:00 2001 From: Daniel Firth <dan.firth@homotopic.tech> Date: Sun, 6 Nov 2022 18:28:45 +0000 Subject: [PATCH] fix path to haskellLib --- flake.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/flake.nix b/flake.nix index b1df0889..9677c6e3 100644 --- a/flake.nix +++ b/flake.nix @@ -22,9 +22,9 @@ buildHaskellPackages = pkgs.haskell.packages.ghc942; configurationCommon = { pkgs, haskellLib }: self: super: { }; ghc = pkgs.haskell.compiler.ghc942; - haskellLib = pkgs.haskell.lib; + haskellLib = pkgs.haskell.lib.compose; initialPackages = import ./overlay.nix; - compilerConfig = pkgs.callPackage (nixpkgs + /pkgs/development/haskell-modules/configuration-ghc-9.4.x.nix) { haskellLib = pkgs.haskell.lib; }; + compilerConfig = pkgs.callPackage (nixpkgs + /pkgs/development/haskell-modules/configuration-ghc-9.4.x.nix) { haskellLib = pkgs.haskell.lib.compose; }; }; hp' = pkgs.lib.filterAttrs (n: v: v != null -- GitLab