Unverified Commit 0dc9e6eb authored by Arnout Engelen's avatar Arnout Engelen Committed by GitHub
Browse files

nixos/release-combined.nix: use 'lib' independent of 'currentSystem' (#477127)

parents 374cf05f 49f36ad7
Loading
Loading
Loading
Loading
+5 −4
Original line number Diff line number Diff line
@@ -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")