mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-22 05:56:15 +02:00
Apply suggestions from code review
Co-authored-by: Valentin Gagarin <valentin.gagarin@tweag.io>
This commit is contained in:
parent
7c9f3eeef8
commit
dcee46a0ef
2 changed files with 2 additions and 1 deletions
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue