Skip to content

Commit

Permalink
Merge pull request NixOS#269310 from Stunkymonkey/thelounge-migrate-p…
Browse files Browse the repository at this point in the history
…refetch-yarn-deps

thelounge: migrate to prefetch-yarn-deps
  • Loading branch information
Stunkymonkey authored Mar 25, 2024
2 parents b98abd8 + 5527c1c commit 383125f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pkgs/applications/networking/irc/thelounge/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
, fetchYarnDeps
, nodejs
, yarn
, fixup_yarn_lock
, prefetch-yarn-deps
, python3
, npmHooks
, darwin
Expand Down Expand Up @@ -38,15 +38,15 @@ stdenv.mkDerivation (finalAttrs: {
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 = ''
runHook preConfigure
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
Expand Down

0 comments on commit 383125f

Please sign in to comment.