source ./common.sh requireGit flake1Dir=$TEST_ROOT/flake1 flake2Dir=$TEST_ROOT/flake2 createGitRepo $flake1Dir cat > $flake1Dir/flake.nix < $flake1Dir/x.nix git -C $flake1Dir add flake.nix x.nix git -C $flake1Dir commit -m Initial createGitRepo $flake2Dir cat > $flake2Dir/flake.nix < $flake1Dir/x.nix [[ $(nix eval --json $flake2Dir#x --override-input flake1 $TEST_ROOT/flake1) = 456 ]]