From eaee0b4740dcc82e3fec8482d5f803a45741594d 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 --- 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 4648ba98c..560cc6aaa 100644 --- a/tests/functional/flakes/relative-paths.sh +++ b/tests/functional/flakes/relative-paths.sh @@ -129,3 +129,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 <