10 stdenv.mkDerivation rec {
12 inherit (gotify-server) version;
14 src = gotify-server.src + "/ui";
16 offlineCache = fetchYarnDeps {
17 yarnLock = "${src}/yarn.lock";
18 hash = "sha256-ejHzo6NHCMlNiYePWvfMY9Blb58pj3UQ5PFI0V84flI=";
28 export HOME=$NIX_BUILD_TOP/fake_home
29 yarn config --offline set yarn-offline-mirror $offlineCache
30 fixup-yarn-lock yarn.lock
31 yarn install --offline --frozen-lockfile --ignore-scripts --no-progress --non-interactive
32 patchShebangs node_modules/
38 export NODE_OPTIONS=--openssl-legacy-provider