diff options
author | Weijia Wang <9713184+wegank@users.noreply.github.com> | 2023-02-11 09:45:17 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-11 09:45:17 +0100 |
commit | 46a2a25a3392122b6ac19111a4bcc20cbf10b819 (patch) | |
tree | b32b6f129802000002e129ed316514224667e471 /pkgs | |
parent | 7a0a5c99500579302e89407753878a38b692f61e (diff) | |
parent | cc69e31283353336028ac3e3e103f713b34d9ee9 (diff) |
Merge pull request #215716 from wegank/mjolnir-darwin
mjolnir: fix build on darwin
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/servers/mjolnir/default.nix | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pkgs/servers/mjolnir/default.nix b/pkgs/servers/mjolnir/default.nix index 4162ea9d6ce39..72c18cd6d2ab6 100644 --- a/pkgs/servers/mjolnir/default.nix +++ b/pkgs/servers/mjolnir/default.nix @@ -38,6 +38,7 @@ stdenv.mkDerivation rec { runHook preBuild ln -s ${nodeDependencies}/lib/node_modules . + export HOME=$(mktemp -d) export PATH="${nodeDependencies}/bin:$PATH" npm run build |