diff --git a/lib/pkgconf-nixpkgs-map.nix b/lib/pkgconf-nixpkgs-map.nix index 69cd0c013f..e6fd42bfb4 100644 --- a/lib/pkgconf-nixpkgs-map.nix +++ b/lib/pkgconf-nixpkgs-map.nix @@ -5583,7 +5583,7 @@ pkgs: "zzipfseeko" = [ "zziplib" ]; "zziplib" = [ "zziplib" ]; "zzipmmapped" = [ "zziplib" ]; -}) // +} // pkgs.haskell-nix.extraPkgconfigMappings) // lookupAttrsIn pkgs.xorg { # Adding xlibsWrapper since it was used here beofre. # Putting libX11 first though so it can be used to get the version @@ -5742,4 +5742,4 @@ pkgs: else if pkgs ? gdk_pixbuf then [ pkgs.gdk_pixbuf ] else []; -} \ No newline at end of file +} diff --git a/overlays/haskell.nix b/overlays/haskell.nix index 3912ca898b..b1e62d40a5 100644 --- a/overlays/haskell.nix +++ b/overlays/haskell.nix @@ -11,6 +11,8 @@ final: prev: { # overlays. defaultModules = []; + # TODO: doc etc + extraPkgconfigMappings = {}; # Nix Flake based source pins. # To update all inputs, get unstable Nix and then `nix flake update --recreate-lock-file` # Or `nix-shell -p nixUnstable --run "nix --experimental-features 'nix-command flakes' flake update --recreate-lock-file"`