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

Merge pull request #269312 from Stunkymonkey/teams-for-linux-migrate-prefetch-yarn-deps

parents 8e2c9abc 18cc6774
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -7,7 +7,7 @@
, yarn
, nodejs
, fetchYarnDeps
, fixup_yarn_lock
, prefetch-yarn-deps
, electron
, libpulseaudio
, pipewire
@@ -33,14 +33,14 @@ stdenv.mkDerivation (finalAttrs: {
    hash = "sha256-SxUdTzk8WngkKwT05U8HJsK8+8ezcJWdiT/ettxpeEE=";
  };

  nativeBuildInputs = [ yarn fixup_yarn_lock nodejs copyDesktopItems makeWrapper ];
  nativeBuildInputs = [ yarn prefetch-yarn-deps nodejs copyDesktopItems makeWrapper ];

  configurePhase = ''
    runHook preConfigure

    export HOME=$(mktemp -d)
    yarn config --offline set yarn-offline-mirror $offlineCache
    fixup_yarn_lock yarn.lock
    fixup-yarn-lock yarn.lock
    yarn install --offline --frozen-lockfile --ignore-platform --ignore-scripts --no-progress --non-interactive
    patchShebangs node_modules/