mirror of
https://github.com/nix-community/nix-on-droid.git
synced 2025-11-08 19:46:07 +01:00
Set GC_NPROCS to hide gc warning messages of nix
See https://github.com/NixOS/nix/issues/3237
This commit is contained in:
parent
41e39deaec
commit
f2867e8b20
1 changed files with 2 additions and 0 deletions
|
|
@ -18,6 +18,8 @@ writeText "login-inner" ''
|
|||
export USER="${config.user.userName}"
|
||||
export HOME="${config.user.home}"
|
||||
|
||||
export GC_NPROCS=1 # to prevent gc warnings of nix, see https://github.com/NixOS/nix/issues/3237
|
||||
|
||||
${lib.optionalString config.build.initialBuild ''
|
||||
[ "$#" -gt 0 ] || echo "Sourcing Nix environment..."
|
||||
. ${nix}/etc/profile.d/nix.sh
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue