Merge pull request #269323 from Stunkymonkey/muzika-migrate-prefetch-yarn-deps

muzika: migrate to prefetch-yarn-deps
This commit is contained in:
Jonas Heinrich 2023-11-23 17:16:24 +01:00 committed by GitHub
commit d4f2426c5d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2,7 +2,7 @@
, desktop-file-utils , desktop-file-utils
, fetchFromGitHub , fetchFromGitHub
, fetchYarnDeps , fetchYarnDeps
, fixup_yarn_lock , prefetch-yarn-deps
, gjs , gjs
, glib-networking , glib-networking
, gobject-introspection , gobject-introspection
@ -40,6 +40,7 @@ stdenv.mkDerivation rec {
pkg-config pkg-config
wrapGAppsHook4 wrapGAppsHook4
yarn yarn
prefetch-yarn-deps
]; ];
buildInputs = [ buildInputs = [
@ -61,7 +62,7 @@ stdenv.mkDerivation rec {
preConfigure = '' preConfigure = ''
export HOME="$PWD" export HOME="$PWD"
yarn config --offline set yarn-offline-mirror $yarnOfflineCache yarn config --offline set yarn-offline-mirror $yarnOfflineCache
${fixup_yarn_lock}/bin/fixup_yarn_lock yarn.lock fixup-yarn-lock yarn.lock
''; '';
mesonFlags = [ mesonFlags = [