Merge pull request #56031 from matthewbauer/priorities
Add some more priorities
This commit is contained in:
commit
8a08d7e7cc
@ -7,7 +7,7 @@ with lib;
|
|||||||
|
|
||||||
let
|
let
|
||||||
|
|
||||||
requiredPackages = map lib.lowPrio
|
requiredPackages = map (pkg: setPrio ((pkg.meta.priority or 5) + 3) pkg)
|
||||||
[ config.nix.package
|
[ config.nix.package
|
||||||
pkgs.acl
|
pkgs.acl
|
||||||
pkgs.attr
|
pkgs.attr
|
||||||
|
@ -328,6 +328,7 @@ stdenv.mkDerivation {
|
|||||||
{ description =
|
{ description =
|
||||||
stdenv.lib.attrByPath ["meta" "description"] "System binary utilities" bintools_
|
stdenv.lib.attrByPath ["meta" "description"] "System binary utilities" bintools_
|
||||||
+ " (wrapper script)";
|
+ " (wrapper script)";
|
||||||
|
priority = 10;
|
||||||
} // optionalAttrs useMacosReexportHack {
|
} // optionalAttrs useMacosReexportHack {
|
||||||
platforms = stdenv.lib.platforms.darwin;
|
platforms = stdenv.lib.platforms.darwin;
|
||||||
};
|
};
|
||||||
|
@ -52,4 +52,9 @@ stdenv.mkDerivation {
|
|||||||
passthru = {
|
passthru = {
|
||||||
inherit targetPrefix;
|
inherit targetPrefix;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
maintainers = with stdenv.lib.maintainers; [ matthewbauer ];
|
||||||
|
priority = 10;
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
@ -62,5 +62,7 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
maintainers = [ ];
|
maintainers = [ ];
|
||||||
platforms = stdenv.lib.platforms.all;
|
platforms = stdenv.lib.platforms.all;
|
||||||
|
|
||||||
|
priority = 10;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -123,6 +123,8 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
platforms = platforms.unix ++ platforms.windows;
|
platforms = platforms.unix ++ platforms.windows;
|
||||||
|
|
||||||
|
priority = 10;
|
||||||
|
|
||||||
maintainers = [ maintainers.eelco ];
|
maintainers = [ maintainers.eelco ];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -20,7 +20,10 @@ let
|
|||||||
bin = "${getBin provider}/bin/${cmd}";
|
bin = "${getBin provider}/bin/${cmd}";
|
||||||
manpage = "${getOutput "man" provider}/share/man/man1/${cmd}.1.gz";
|
manpage = "${getOutput "man" provider}/share/man/man1/${cmd}.1.gz";
|
||||||
in runCommand "${cmd}-${version}" {
|
in runCommand "${cmd}-${version}" {
|
||||||
meta.platforms = map (n: { kernel.name = n; }) (attrNames providers);
|
meta = {
|
||||||
|
priority = 10;
|
||||||
|
platforms = map (n: { kernel.name = n; }) (attrNames providers);
|
||||||
|
};
|
||||||
passthru = { inherit provider; };
|
passthru = { inherit provider; };
|
||||||
preferLocalBuild = true;
|
preferLocalBuild = true;
|
||||||
} ''
|
} ''
|
||||||
|
Loading…
x
Reference in New Issue
Block a user