Artturin
|
60b1f09aa4
|
tests.stdenv.hooks: add more tests
|
2022-12-12 21:39:56 +02:00 |
|
Artturin
|
9cb5662187
|
tests: move stdenv hook tests to stdenv.hooks
|
2022-12-12 21:39:56 +02:00 |
|
Artturin
|
84a7cadfd2
|
tests.stdenv: add test-golden-example-structuredAttrs
examples copied from https://nixos.mayflower.consulting/blog/2020/01/20/structured-attrs/
nix has tests for structuredAttrs but i figured it'd be good to have a
golden test here too
https://github.com/NixOS/nix/blob/master/tests/structured-attrs.nix
https://github.com/NixOS/nix/blob/master/tests/structured-attrs-shell.nix
|
2022-12-12 21:39:56 +02:00 |
|
Artturin
|
11c3127e38
|
stdenv: detect the type of variable in {prepend,append}ToVar
stdenv: error if using {prepend,append}ToVar on associative array
i don't know how to prepend to associative array
|
2022-12-10 04:42:36 +02:00 |
|
Artturin
|
bf972f1873
|
tests.stdenv: add tests for prependToVar and appendToVar
|
2022-12-10 04:22:11 +02:00 |
|
Artturin
|
68fb254bf2
|
tests.stdenv: deduplicate
|
2022-12-10 04:22:11 +02:00 |
|
Artturin
|
18d00c5814
|
tests.stdenv: add some env attrset tests
|
2022-12-08 21:09:02 +02:00 |
|