Merge pull request #35111 from oxij/stdenv/available-evaluates

stdenv.mkDerivation: rename `meta.evaluates` -> `meta.available`
This commit is contained in:
Michael Raskin
2018-02-19 14:15:06 +00:00
committed by GitHub
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -159,7 +159,7 @@ let
executables = listOf str;
outputsToInstall = listOf str;
position = str;
evaluates = bool;
available = bool;
repositories = attrsOf str;
isBuildPythonPackage = platforms;
schedulingPriority = int;
+2 -2
View File
@@ -238,9 +238,9 @@ rec {
position = pos.file + ":" + toString pos.line;
# Expose the result of the checks for everyone to see.
} // {
evaluates = validity.valid
available = validity.valid
&& (if config.checkMetaRecursively or false
then lib.all (d: d.meta.evaluates or true) references
then lib.all (d: d.meta.available or true) references
else true);
};