nix-super/tests/functional/flakes/edit.sh

14 lines
215 B
Bash
Raw Normal View History

2024-05-31 12:04:50 +03:00
#!/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