Merge pull request #269301 from Stunkymonkey/anki-migrate-prefetch-yarn-deps

anki: migrate to prefetch-yarn-deps

authored by Felix Bühler and committed by GitHub d9229abc 71e21a72

+5 -5
+5 -5
pkgs/games/anki/default.nix
··· 5 5 , cargo 6 6 , fetchFromGitHub 7 7 , fetchYarnDeps 8 - , fixup_yarn_lock 9 8 , installShellFiles 10 9 , lame 11 10 , mpv-unwrapped 12 11 , ninja 13 12 , nodejs 14 13 , nodejs-slim 14 + , prefetch-yarn-deps 15 15 , protobuf 16 16 , python3 17 17 , qt6 ··· 100 100 inherit version src yarnOfflineCache; 101 101 102 102 nativeBuildInputs = [ 103 - fixup_yarn_lock 104 103 nodejs-slim 104 + prefetch-yarn-deps 105 105 yarn 106 106 ]; 107 107 108 108 configurePhase = '' 109 109 export HOME=$NIX_BUILD_TOP 110 110 yarn config --offline set yarn-offline-mirror $yarnOfflineCache 111 - fixup_yarn_lock yarn.lock 111 + fixup-yarn-lock yarn.lock 112 112 yarn install --offline --frozen-lockfile --ignore-scripts --no-progress --non-interactive 113 113 patchShebangs node_modules/ 114 114 ''; ··· 135 135 136 136 nativeBuildInputs = [ 137 137 fakeGit 138 - fixup_yarn_lock 139 138 offlineYarn 139 + prefetch-yarn-deps 140 140 141 141 cargo 142 142 installShellFiles ··· 232 232 233 233 export HOME=$NIX_BUILD_TOP 234 234 yarn config --offline set yarn-offline-mirror $yarnOfflineCache 235 - fixup_yarn_lock yarn.lock 235 + fixup-yarn-lock yarn.lock 236 236 237 237 patchShebangs ./ninja 238 238 PIP_USER=1 ./ninja build wheels