mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 19:21:04 +00:00
iosevka: set home directory in build phase
npm now fails if $HOME is not set, see #176127
This commit is contained in:
parent
b495f0736f
commit
1935db3988
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue