From 82dcbe0510170981668556e33732fa7fc0be0d78 Mon Sep 17 00:00:00 2001 From: Robert Hensing Date: Wed, 14 May 2025 22:48:56 +0200 Subject: [PATCH] tests/function/flakes/relative-paths: Test #13164 (cherry picked from commit eaee0b4740dcc82e3fec8482d5f803a45741594d) --- tests/functional/flakes/relative-paths.sh | 43 +++++++++++++++++++++++ 1 file changed, 43 insertions(+) diff --git a/tests/functional/flakes/relative-paths.sh b/tests/functional/flakes/relative-paths.sh index 7a76bee1b..7480cd504 100644 --- a/tests/functional/flakes/relative-paths.sh +++ b/tests/functional/flakes/relative-paths.sh @@ -131,3 +131,46 @@ EOF # would fail: nix eval .#ok ) + +# https://github.com/NixOS/nix/issues/13164 +mkdir -p "$TEST_ROOT/issue-13164/nested-flake1/nested-flake2" +( + cd "$TEST_ROOT/issue-13164" + git init + git config --global user.email "you@example.com" + git config --global user.name "Your Name" + cat >flake.nix <nested-flake1/flake.nix <nested-flake1/nested-flake2/flake.nix <