nix-super/tests/functional/flakes/edit.sh
2024-05-31 12:58:47 +02:00

13 lines
215 B
Bash
Executable file

#!/usr/bin/env bash
source ./common.sh
requireGit
flake1Dir=$TEST_ROOT/flake1
createGitRepo "$flake1Dir"
createSimpleGitFlake "$flake1Dir"
export EDITOR=cat
nix edit "$flake1Dir#" | grepQuiet simple.builder.sh