1
0
mirror of https://github.com/h7x4/nix-attr-search.git synced 2024-12-22 20:17:30 +01:00
nix-attr-search/internals/json2nix/haskell-overlay.nix
h7x4 fa2f0fd6b4
json2nix: use nixfmt internally
This helps with creating better error messages,
because we can now see where in the pipeline
the error occurred
2022-11-26 20:50:22 +01:00

11 lines
283 B
Nix

{ pkgs, compiler, ... }:
final: prev: {
haskellPackages = with prev.haskell.lib;
prev.haskell.packages.${compiler}.override {
overrides = hpFinal: hpPrev: {
# Upgrade nixfmts "text" dependency to >= 2
nixfmt = doJailbreak hpPrev.nixfmt;
};
};
}