···4545 /* Decrease the nix-env priority of the package, i.e., other
4646 versions/variants of the package will be preferred.
4747 */
4848- lowPrio = drv: addMetaAttrs { priority = "10"; } drv;
4848+ lowPrio = drv: addMetaAttrs { priority = 10; } drv;
494950505151 /* Apply lowPrio to an attrset with derivations
···5656 /* Increase the nix-env priority of the package, i.e., this
5757 version/variant of the package will be preferred.
5858 */
5959- hiPrio = drv: addMetaAttrs { priority = "-10"; } drv;
5959+ hiPrio = drv: addMetaAttrs { priority = -10; } drv;
606061616262 /* Apply hiPrio to an attrset with derivations
···2323 longDescription = ''The NCBI Bioinformatics toolsbox, including command-line utilties, libraries and include files. No X11 support'';
2424 homepage = http://www.ncbi.nlm.nih.gov/IEB/ToolBox/;
2525 license = "GPL";
2626- priority = "5"; # zlib.so gives a conflict with zlib
2626+ priority = 5; # zlib.so gives a conflict with zlib
2727 broken = true;
2828 };
2929}
+1-1
pkgs/stdenv/generic/default.nix
···238238239239 checkMetaAttr = k: v:
240240 if metaTypes?${k} then
241241- if metaTypes.${k}.check v then null else "key '${k}' has a value of an invalid type; expected ${metaTypes.${k}.description}"
241241+ 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}"
242242 else "key '${k}' is unrecognized; expected one of: \n\t [${lib.concatMapStringsSep ", " (x: "'${x}'") (lib.attrNames metaTypes)}]";
243243 checkMeta = meta: if shouldCheckMeta then lib.remove null (lib.mapAttrsToList checkMetaAttr meta) else [];
244244