From d1941e77241c3ff1e2008c35130c6e903c75dcf2 Mon Sep 17 00:00:00 2001 From: Felix Buehler Date: Sat, 25 Nov 2023 13:28:30 +0100 Subject: [PATCH] gotify-server: migrate to prefetch-yarn-deps --- pkgs/servers/gotify/ui.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/servers/gotify/ui.nix b/pkgs/servers/gotify/ui.nix index 811fa41540ab..e22831cfbbdc 100644 --- a/pkgs/servers/gotify/ui.nix +++ b/pkgs/servers/gotify/ui.nix @@ -1,6 +1,6 @@ { stdenv , yarn -, fixup_yarn_lock +, prefetch-yarn-deps , nodejs-slim , fetchFromGitHub , fetchYarnDeps @@ -18,12 +18,12 @@ stdenv.mkDerivation rec { hash = "sha256-ejHzo6NHCMlNiYePWvfMY9Blb58pj3UQ5PFI0V84flI="; }; - nativeBuildInputs = [ yarn fixup_yarn_lock nodejs-slim ]; + nativeBuildInputs = [ yarn prefetch-yarn-deps nodejs-slim ]; postPatch = '' export HOME=$NIX_BUILD_TOP/fake_home yarn config --offline set yarn-offline-mirror $offlineCache - fixup_yarn_lock yarn.lock + fixup-yarn-lock yarn.lock yarn install --offline --frozen-lockfile --ignore-scripts --no-progress --non-interactive patchShebangs node_modules/ '';