mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-20 02:55:39 +00:00
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
|
||||
|
||||
requiredPackages = map lib.lowPrio
|
||||
requiredPackages = map (pkg: setPrio ((pkg.meta.priority or 5) + 3) pkg)
|
||||
[ config.nix.package
|
||||
pkgs.acl
|
||||
pkgs.attr
|
||||
|
@ -328,6 +328,7 @@ stdenv.mkDerivation {
|
||||
{ description =
|
||||
stdenv.lib.attrByPath ["meta" "description"] "System binary utilities" bintools_
|
||||
+ " (wrapper script)";
|
||||
priority = 10;
|
||||
} // optionalAttrs useMacosReexportHack {
|
||||
platforms = stdenv.lib.platforms.darwin;
|
||||
};
|
||||
|
@ -52,4 +52,9 @@ stdenv.mkDerivation {
|
||||
passthru = {
|
||||
inherit targetPrefix;
|
||||
};
|
||||
|
||||
meta = {
|
||||
maintainers = with stdenv.lib.maintainers; [ matthewbauer ];
|
||||
priority = 10;
|
||||
};
|
||||
}
|
||||
|
@ -62,5 +62,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
maintainers = [ ];
|
||||
platforms = stdenv.lib.platforms.all;
|
||||
|
||||
priority = 10;
|
||||
};
|
||||
}
|
||||
|
@ -123,6 +123,8 @@ stdenv.mkDerivation rec {
|
||||
|
||||
platforms = platforms.unix ++ platforms.windows;
|
||||
|
||||
priority = 10;
|
||||
|
||||
maintainers = [ maintainers.eelco ];
|
||||
};
|
||||
|
||||
|
@ -20,7 +20,10 @@ let
|
||||
bin = "${getBin provider}/bin/${cmd}";
|
||||
manpage = "${getOutput "man" provider}/share/man/man1/${cmd}.1.gz";
|
||||
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; };
|
||||
preferLocalBuild = true;
|
||||
} ''
|
||||
|
Loading…
Reference in New Issue
Block a user