mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 17:33:09 +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
|
, 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 = [
|
||||||
|
Loading…
Reference in New Issue
Block a user