mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 06:01:15 +00:00
haskell: add addTestToolDepends
This commit is contained in:
parent
9028b8f341
commit
a3d8c1284f
|
@ -156,6 +156,9 @@ rec {
|
|||
addBuildDepend = drv: x: addBuildDepends drv [x];
|
||||
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];
|
||||
addPkgconfigDepends = drv: xs: overrideCabal drv (drv: { pkgconfigDepends = (drv.pkgconfigDepends or []) ++ xs; });
|
||||
|
||||
|
|
Loading…
Reference in a new issue