mirror of
https://github.com/NixOS/nix
synced 2025-07-07 22:33:57 +02:00
tests/functional: Enable more tests in NixOS VM
This commit is contained in:
parent
f0abe4d8f0
commit
648302b833
38 changed files with 71 additions and 104 deletions
|
@ -6,9 +6,7 @@ source common.sh
|
|||
# tests for the older versions
|
||||
requireDaemonNewerThan "2.4pre20210712"
|
||||
|
||||
TODO_NixOS
|
||||
|
||||
clearStore
|
||||
clearStoreIfPossible
|
||||
|
||||
rm -f $TEST_ROOT/result
|
||||
|
||||
|
@ -23,6 +21,8 @@ env NIX_PATH=nixpkgs=shell.nix nix-shell structured-attrs-shell.nix \
|
|||
|
||||
nix develop -f structured-attrs-shell.nix -c bash -c 'test "3" = "$(jq ".my.list|length" < $NIX_ATTRS_JSON_FILE)"'
|
||||
|
||||
TODO_NixOS # following line fails.
|
||||
|
||||
# `nix develop` is a slightly special way of dealing with environment vars, it parses
|
||||
# these from a shell-file exported from a derivation. This is to test especially `outputs`
|
||||
# (which is an associative array in thsi case) being fine.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue