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

7 lines
126 B
Nix

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