mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-03 12:23:02 +00:00
Merge pull request #269323 from Stunkymonkey/muzika-migrate-prefetch-yarn-deps
muzika: migrate to prefetch-yarn-deps
This commit is contained in:
commit
d4f2426c5d
@ -2,7 +2,7 @@
|
||||
, desktop-file-utils
|
||||
, fetchFromGitHub
|
||||
, fetchYarnDeps
|
||||
, fixup_yarn_lock
|
||||
, prefetch-yarn-deps
|
||||
, gjs
|
||||
, glib-networking
|
||||
, gobject-introspection
|
||||
@ -40,6 +40,7 @@ stdenv.mkDerivation rec {
|
||||
pkg-config
|
||||
wrapGAppsHook4
|
||||
yarn
|
||||
prefetch-yarn-deps
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
@ -61,7 +62,7 @@ stdenv.mkDerivation rec {
|
||||
preConfigure = ''
|
||||
export HOME="$PWD"
|
||||
yarn config --offline set yarn-offline-mirror $yarnOfflineCache
|
||||
${fixup_yarn_lock}/bin/fixup_yarn_lock yarn.lock
|
||||
fixup-yarn-lock yarn.lock
|
||||
'';
|
||||
|
||||
mesonFlags = [
|
||||
|
Loading…
Reference in New Issue
Block a user