Unverified Commit d92daec2 authored by Felix Bühler's avatar Felix Bühler Committed by GitHub
Browse files

ratman: migrate to prefetch-yarn-deps (#269285)

parent ecb742f5
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -6,7 +6,7 @@
, protobuf
, rustPlatform
, fetchYarnDeps
, fixup_yarn_lock
, prefetch-yarn-deps
, stdenv
, yarn
, nodejs
@@ -49,7 +49,7 @@ rustPlatform.buildRustPackage rec {
      sha256 = "sha256-pWjKL41r/bTvWv+5qCgCFVL9+o64BiV2/ISdLeKEOqE=";
    };

    nativeBuildInputs = [ yarn nodejs ];
    nativeBuildInputs = [ yarn nodejs prefetch-yarn-deps ];

    outputs = [ "out" "dist" ];

@@ -61,7 +61,7 @@ rustPlatform.buildRustPackage rec {
      yarn config --offline set yarn-offline-mirror ${yarnDeps}

      # Fixup "resolved"-entries in yarn.lock to match our offline cache
      ${fixup_yarn_lock}/bin/fixup_yarn_lock yarn.lock
      fixup-yarn-lock yarn.lock

      yarn install --offline --frozen-lockfile --ignore-scripts --no-progress --non-interactive