Apply suggestions from code review

Co-authored-by: Valentin Gagarin <valentin.gagarin@tweag.io>
This commit is contained in:
Robert Hensing 2024-06-20 14:49:53 +02:00 committed by Robert Hensing
parent 7c9f3eeef8
commit dcee46a0ef
2 changed files with 2 additions and 1 deletions

View file

@ -11,6 +11,7 @@ if isTestOnNixOS; then
mkdir -p "$test_nix_conf_dir" "$TEST_HOME" mkdir -p "$test_nix_conf_dir" "$TEST_HOME"
(! test -e "$test_nix_conf") (! test -e "$test_nix_conf")
cat > "$test_nix_conf_dir/nix.conf" <<EOF cat > "$test_nix_conf_dir/nix.conf" <<EOF
# TODO: this is not needed for all tests and prevents stable commands from be tested in isolation
experimental-features = nix-command flakes experimental-features = nix-command flakes
flake-registry = $TEST_ROOT/registry.json flake-registry = $TEST_ROOT/registry.json
show-trace = true show-trace = true

View file

@ -11,7 +11,7 @@ in
When iterating on the functional tests, it's recommended to "set" this When iterating on the functional tests, it's recommended to "set" this
to `true`, so that changes to the functional tests don't require any to `true`, so that changes to the functional tests don't require any
recompilation of the package. recompilation of the package.
You can do so by buildin the `.quickBuild` attribute on the check package, You can do so by building the `.quickBuild` attribute on the check package,
e.g: e.g:
```console ```console
nix build .#hydraJobs.functional_user.quickBuild nix build .#hydraJobs.functional_user.quickBuild