Merge pull request #25427 from aneeshusa/fix-meta-priority-types

Fix meta priority types
This commit is contained in:
Domen Kožar
2017-05-02 09:38:32 +02:00
committed by GitHub
3 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -45,7 +45,7 @@ rec {
/* Decrease the nix-env priority of the package, i.e., other
versions/variants of the package will be preferred.
*/
lowPrio = drv: addMetaAttrs { priority = "10"; } drv;
lowPrio = drv: addMetaAttrs { priority = 10; } drv;
/* Apply lowPrio to an attrset with derivations
@@ -56,7 +56,7 @@ rec {
/* Increase the nix-env priority of the package, i.e., this
version/variant of the package will be preferred.
*/
hiPrio = drv: addMetaAttrs { priority = "-10"; } drv;
hiPrio = drv: addMetaAttrs { priority = -10; } drv;
/* Apply hiPrio to an attrset with derivations