Skip to content

Commit

Permalink
iosevka: set home directory in build phase
Browse files Browse the repository at this point in the history
npm now fails if $HOME is not set, see #176127
  • Loading branch information
lunik1 authored and happysalada committed Jun 5, 2022
1 parent b495f07 commit 1935db3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkgs/data/fonts/iosevka/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1935db3

Please sign in to comment.