From e41249e46685ba0ac99539ef6130fb4a33186735 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maciej=20Kr=C3=BCger?= Date: Thu, 25 Feb 2021 20:34:17 +0100 Subject: [PATCH] buildFHSUserEnv: symlink /etc/nix this fixes experimental-features option not being available in fhs and breaking the flakes feature --- pkgs/build-support/build-fhs-userenv/env.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/build-support/build-fhs-userenv/env.nix b/pkgs/build-support/build-fhs-userenv/env.nix index 89b567a249f6..226904f311b6 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