diff options
author | Maciej Krüger <mkg20001@gmail.com> | 2021-02-25 20:34:17 +0100 |
---|---|---|
committer | Maciej Krüger <mkg20001@gmail.com> | 2021-02-26 20:13:28 +0100 |
commit | e41249e46685ba0ac99539ef6130fb4a33186735 (patch) | |
tree | 2168fbcb80452becc02537456b7ebc58f6a36cea /pkgs/build-support/build-fhs-userenv | |
parent | ad007ce9263ffc69c38bdee4d645e65a1820551c (diff) |
buildFHSUserEnv: symlink /etc/nix
this fixes experimental-features option not being available in fhs and breaking the flakes feature
Diffstat (limited to 'pkgs/build-support/build-fhs-userenv')
-rw-r--r-- | pkgs/build-support/build-fhs-userenv/env.nix | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pkgs/build-support/build-fhs-userenv/env.nix b/pkgs/build-support/build-fhs-userenv/env.nix index 89b567a249f66..226904f311b63 100644 --- a/pkgs/build-support/build-fhs-userenv/env.nix +++ b/pkgs/build-support/build-fhs-userenv/env.nix @@ -81,6 +81,9 @@ let # compatibility with NixOS ln -s /host/etc/static static + # symlink nix config + ln -s /host/etc/nix nix + # symlink some NSS stuff ln -s /host/etc/passwd passwd ln -s /host/etc/group group |