nixpkgs/pkgs/development/haskell-modules/lib.nix

8 lines
126 B
Nix

{
overrideCabal = drv: f: drv.override (args: args // {
mkDerivation = drv: args.mkDerivation (drv // f drv);
});
}