Added doCheck support to builder-defs.nix
svn path=/nixpkgs/trunk/; revision=12371
This commit is contained in:
parent
ecefcac4d7
commit
622634d6dd
|
@ -442,6 +442,8 @@ args: with args; with stringsWithDeps; with lib;
|
||||||
realPhaseNames = args.phaseNames ++
|
realPhaseNames = args.phaseNames ++
|
||||||
["doForceShare" "doPropagate" "doForceCopy"]
|
["doForceShare" "doPropagate" "doForceCopy"]
|
||||||
++
|
++
|
||||||
|
(optional (getAttr ["doCheck"] false args) "doMakeCheck")
|
||||||
|
++
|
||||||
(optional (getAttr ["alwaysFail"] false args) "doFail")
|
(optional (getAttr ["alwaysFail"] false args) "doFail")
|
||||||
;
|
;
|
||||||
|
|
||||||
|
@ -450,6 +452,10 @@ args: with args; with stringsWithDeps; with lib;
|
||||||
a() { return 127; } ; a ;
|
a() { return 127; } ; a ;
|
||||||
";
|
";
|
||||||
|
|
||||||
|
doMakeCheck = FullDepEntry (''
|
||||||
|
make check
|
||||||
|
'') ["minInit"];
|
||||||
|
|
||||||
extraDerivationAttrs = lib.getAttr ["extraDerivationAttrs"] {} args;
|
extraDerivationAttrs = lib.getAttr ["extraDerivationAttrs"] {} args;
|
||||||
|
|
||||||
builderDefsPackage = bd: func: args: (
|
builderDefsPackage = bd: func: args: (
|
||||||
|
|
Loading…
Reference in New Issue