Merge pull request #269310 from Stunkymonkey/thelounge-migrate-prefetch-yarn-deps

thelounge: migrate to prefetch-yarn-deps

Changed files
+3 -3
pkgs
applications
networking
irc
thelounge
+3 -3
pkgs/applications/networking/irc/thelounge/default.nix
···
, fetchYarnDeps
, nodejs
, yarn
-
, fixup_yarn_lock
+
, prefetch-yarn-deps
, python3
, npmHooks
, darwin
···
hash = "sha256-MM6SgVT7Pjdu96A4eWRucEzT7uNPxBqUDgHKl8mH2C0=";
};
-
nativeBuildInputs = [ nodejs yarn fixup_yarn_lock python3 npmHooks.npmInstallHook ] ++ lib.optional stdenv.isDarwin darwin.cctools;
+
nativeBuildInputs = [ nodejs yarn prefetch-yarn-deps python3 npmHooks.npmInstallHook ] ++ lib.optional stdenv.isDarwin darwin.cctools;
buildInputs = [ sqlite ];
configurePhase = ''
···
export HOME="$PWD"
-
fixup_yarn_lock yarn.lock
+
fixup-yarn-lock yarn.lock
yarn config --offline set yarn-offline-mirror ${finalAttrs.offlineCache}
yarn install --offline --frozen-lockfile --ignore-platform --ignore-scripts --no-progress --non-interactive
patchShebangs node_modules