mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-05-11 15:17:02 +00:00
haskell: add addTestToolDepends
This commit is contained in:
parent
9028b8f341
commit
a3d8c1284f
1 changed files with 3 additions and 0 deletions
|
@ -156,6 +156,9 @@ rec {
|
||||||
addBuildDepend = drv: x: addBuildDepends drv [x];
|
addBuildDepend = drv: x: addBuildDepends drv [x];
|
||||||
addBuildDepends = drv: xs: overrideCabal drv (drv: { buildDepends = (drv.buildDepends or []) ++ xs; });
|
addBuildDepends = drv: xs: overrideCabal drv (drv: { buildDepends = (drv.buildDepends or []) ++ xs; });
|
||||||
|
|
||||||
|
addTestToolDepend = drv: x: addTestToolDepends drv [x];
|
||||||
|
addTestToolDepends = drv: xs: overrideCabal drv (drv: { testToolDepends = (drv.testToolDepends or []) ++ xs; });
|
||||||
|
|
||||||
addPkgconfigDepend = drv: x: addPkgconfigDepends drv [x];
|
addPkgconfigDepend = drv: x: addPkgconfigDepends drv [x];
|
||||||
addPkgconfigDepends = drv: xs: overrideCabal drv (drv: { pkgconfigDepends = (drv.pkgconfigDepends or []) ++ xs; });
|
addPkgconfigDepends = drv: xs: overrideCabal drv (drv: { pkgconfigDepends = (drv.pkgconfigDepends or []) ++ xs; });
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue