mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-03-07 23:24:03 +01:00
nixos/release-combined.nix: use 'lib' independent of 'currentSystem'
This commit is contained in:
parent
88d3861acd
commit
49f36ad75b
1 changed files with 5 additions and 4 deletions
|
|
@ -3,8 +3,9 @@
|
|||
# succeeds, and all other jobs have finished (they may fail).
|
||||
|
||||
{
|
||||
lib ? (import ../lib),
|
||||
nixpkgs ? {
|
||||
outPath = (import ../lib).cleanSource ./..;
|
||||
outPath = lib.cleanSource ./..;
|
||||
revCount = 56789;
|
||||
shortRev = "gfedcba";
|
||||
},
|
||||
|
|
@ -28,7 +29,7 @@ let
|
|||
if (set.type or "") == "derivation" then
|
||||
set // { meta = removeAttrs (set.meta or { }) [ "maintainers" ]; }
|
||||
else
|
||||
pkgs.lib.mapAttrs (n: v: removeMaintainers v) set
|
||||
lib.mapAttrs (n: v: removeMaintainers v) set
|
||||
else
|
||||
set;
|
||||
|
||||
|
|
@ -57,7 +58,7 @@ rec {
|
|||
onSystems =
|
||||
systems: x:
|
||||
map (system: "${x}.${system}") (
|
||||
pkgs.lib.intersectLists systems (supportedSystems ++ limitedSupportedSystems)
|
||||
lib.intersectLists systems (supportedSystems ++ limitedSupportedSystems)
|
||||
);
|
||||
in
|
||||
pkgs.releaseTools.aggregate {
|
||||
|
|
@ -66,7 +67,7 @@ rec {
|
|||
description = "Release-critical builds for the NixOS channel";
|
||||
maintainers = [ ];
|
||||
};
|
||||
constituents = pkgs.lib.concatLists [
|
||||
constituents = lib.concatLists [
|
||||
[ "nixos.channel" ]
|
||||
(onFullSupported "nixos.dummy")
|
||||
(onAllSupported "nixos.iso_minimal")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue