mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-28 00:24:18 +00:00
22 lines
414 B
Nix
22 lines
414 B
Nix
|
{
|
||
|
lib,
|
||
|
haskell,
|
||
|
haskellPackages,
|
||
|
}:
|
||
|
|
||
|
let
|
||
|
inherit (haskell.lib.compose) overrideCabal;
|
||
|
|
||
|
raw-pkg = (haskellPackages.callPackage ./generated-package.nix { }).overrideScope (
|
||
|
final: prev: {
|
||
|
ansi-wl-pprint = final.ansi-wl-pprint_0_6_9;
|
||
|
}
|
||
|
);
|
||
|
|
||
|
overrides = {
|
||
|
maintainers = with lib.maintainers; [ tomasajt ];
|
||
|
passthru.updateScript = ./update.sh;
|
||
|
};
|
||
|
in
|
||
|
overrideCabal overrides raw-pkg
|