Unverified Commit b663808b authored by Janik's avatar Janik Committed by GitHub
Browse files

Merge pull request #269298 from Stunkymonkey/alice-lg-migrate-prefetch-yarn-deps

alice-lg: migrate to prefetch-yarn-deps
parents 439936d8 d868cb9c
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -6,7 +6,7 @@
, yarn
, nodejs
, git
, fixup_yarn_lock
, prefetch-yarn-deps
}:

buildGoModule rec {
@@ -32,7 +32,7 @@ buildGoModule rec {
      hash = "sha256-NeK9IM8E2IH09SVH9lMlV3taCmqwlroo4xzmv4Q01jI=";
    };

    nativeBuildInputs = [ nodejs yarn git ];
    nativeBuildInputs = [ nodejs yarn git prefetch-yarn-deps ];
    configurePhase = ''
      runHook preConfigure

@@ -43,7 +43,7 @@ buildGoModule rec {
      yarn config --offline set yarn-offline-mirror $yarnOfflineCache

      # 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
      patchShebangs node_modules/