iosevka: set home directory in build phase

npm now fails if $HOME is not set, see #176127
This commit is contained in:
lunik1 2022-06-05 21:38:45 +01:00 committed by Yt
parent b495f0736f
commit 1935db3988

View file

@ -99,6 +99,7 @@ stdenv.mkDerivation rec {
'';
buildPhase = ''
export HOME=$TMPDIR
runHook preBuild
npm run build --no-update-notifier -- --jCmd=$NIX_BUILD_CORES ttf::$pname >/dev/null
runHook postBuild