···45 /* Decrease the nix-env priority of the package, i.e., other
46 versions/variants of the package will be preferred.
47 */
48- lowPrio = drv: addMetaAttrs { priority = "10"; } drv;
495051 /* Apply lowPrio to an attrset with derivations
···56 /* Increase the nix-env priority of the package, i.e., this
57 version/variant of the package will be preferred.
58 */
59- hiPrio = drv: addMetaAttrs { priority = "-10"; } drv;
606162 /* Apply hiPrio to an attrset with derivations
···45 /* Decrease the nix-env priority of the package, i.e., other
46 versions/variants of the package will be preferred.
47 */
48+ lowPrio = drv: addMetaAttrs { priority = 10; } drv;
495051 /* Apply lowPrio to an attrset with derivations
···56 /* Increase the nix-env priority of the package, i.e., this
57 version/variant of the package will be preferred.
58 */
59+ hiPrio = drv: addMetaAttrs { priority = -10; } drv;
606162 /* Apply hiPrio to an attrset with derivations
···23 longDescription = ''The NCBI Bioinformatics toolsbox, including command-line utilties, libraries and include files. No X11 support'';
24 homepage = http://www.ncbi.nlm.nih.gov/IEB/ToolBox/;
25 license = "GPL";
26- priority = "5"; # zlib.so gives a conflict with zlib
27 broken = true;
28 };
29}
···23 longDescription = ''The NCBI Bioinformatics toolsbox, including command-line utilties, libraries and include files. No X11 support'';
24 homepage = http://www.ncbi.nlm.nih.gov/IEB/ToolBox/;
25 license = "GPL";
26+ priority = 5; # zlib.so gives a conflict with zlib
27 broken = true;
28 };
29}
+1-1
pkgs/stdenv/generic/default.nix
···238239 checkMetaAttr = k: v:
240 if metaTypes?${k} then
241- if metaTypes.${k}.check v then null else "key '${k}' has a value of an invalid type; expected ${metaTypes.${k}.description}"
242 else "key '${k}' is unrecognized; expected one of: \n\t [${lib.concatMapStringsSep ", " (x: "'${x}'") (lib.attrNames metaTypes)}]";
243 checkMeta = meta: if shouldCheckMeta then lib.remove null (lib.mapAttrsToList checkMetaAttr meta) else [];
244
···238239 checkMetaAttr = k: v:
240 if metaTypes?${k} then
241+ if metaTypes.${k}.check v then null else "key '${k}' has a value ${v} of an invalid type ${builtins.typeOf v}; expected ${metaTypes.${k}.description}"
242 else "key '${k}' is unrecognized; expected one of: \n\t [${lib.concatMapStringsSep ", " (x: "'${x}'") (lib.attrNames metaTypes)}]";
243 checkMeta = meta: if shouldCheckMeta then lib.remove null (lib.mapAttrsToList checkMetaAttr meta) else [];
244