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

14 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