Unverified Commit c3f34fb1 authored by Stefan Frijters's avatar Stefan Frijters
Browse files

google-cloud-sdk: use structuredAttrs instead of passAsFile

parent 08a87746
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -168,7 +168,7 @@ let
        fi

        # Write the snapshot file to the `.install` folder
        cp $snapshotPath $out/google-cloud-sdk/.install/${pname}.snapshot.json
        printf "%s" "$snapshot" > $out/google-cloud-sdk/.install/${pname}.snapshot.json
      '';
      nativeBuildInputs = [
        python3
@@ -185,7 +185,7 @@ let
      passthru = {
        dependencies = filterForSystem dependencies;
      };
      passAsFile = [ "snapshot" ];
      __structuredAttrs = true;
      meta = {
        inherit description platforms;
      };