Unverified Commit c6a4f2c6 authored by Emily's avatar Emily Committed by GitHub
Browse files

Merge pull request #314167 from reckenrode/override-sdk-list-inputs-fix

overrideSDK: handle propagated lists of inputs
parents 20b31911 4392e5a5
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -287,6 +287,7 @@ let

        replacements = lib.pipe propagatedInputs [
          (lib.filter (pkg: pkg != null))
          lib.flatten
          (map (dep: {
            name = builtins.unsafeDiscardStringContext dep;
            value = getReplacement newPackages dep;
@@ -311,6 +312,7 @@ let
    let
      mapPackageDeps = lib.flip lib.pipe [
        (lib.filter (pkg: pkg != null))
        lib.flatten
        (map (pkg: {
          key = builtins.unsafeDiscardStringContext pkg;
          package = pkg;