1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2024-09-19 10:50:24 -04:00
nix/tests/functional/lang
Jade Lovelace 7b6622d733 language: cleanly ban integer overflows
This also bans various sneaking of negative numbers from the language
into unsuspecting builtins as was exposed while auditing the
consequences of changing the Nix language integer type to a newtype.

It's unlikely that this change comprehensively ensures correctness when
passing integers out of the Nix language and we should probably add a
checked-narrowing function or something similar, but that's out of scope
for the immediate change.

During the development of this I found a few fun facts about the
language:
- You could overflow integers by converting from unsigned JSON values.
- You could overflow unsigned integers by converting negative numbers
  into them when going into Nix config, into fetchTree, and into flake
  inputs.

  The flake inputs and Nix config cannot actually be tested properly
  since they both ban thunks, however, we put in checks anyway because
  it's possible these could somehow be used to do such shenanigans some
  other way.

Note that Lix has banned Nix language integer overflows since the very
first public beta, but threw a SIGILL about them because we run with
-fsanitize=signed-overflow -fsanitize-undefined-trap-on-error in
production builds. Since the Nix language uses signed integers, overflow
was simply undefined behaviour, and since we defined that to trap, it
did.

Trapping on it was a bad UX, but we didn't even entirely notice
that we had done this at all until it was reported as a bug a couple of
months later (which is, to be fair, that flag working as intended), and
it's got enough production time that, aside from code that is IMHO buggy
(and which is, in any case, not in nixpkgs) such as
https://git.lix.systems/lix-project/lix/issues/445, we don't think
anyone doing anything reasonable actually depends on wrapping overflow.

Even for weird use cases such as doing funny bit crimes, it doesn't make
sense IMO to have wrapping behaviour, since two's complement arithmetic
overflow behaviour is so *aggressively* not what you want for *any* kind
of mathematics/algorithms. The Nix language exists for package
management, a domain where bit crimes are already only dubiously in
scope to begin with, and it makes a lot more sense for that domain for
the integers to never lose precision, either by throwing errors if they
would, or by being arbitrary-precision.

Fixes: https://github.com/NixOS/nix/issues/10968
Original-CL: https://gerrit.lix.systems/c/lix/+/1596

Change-Id: I51f253840c4af2ea5422b8a420aa5fafbf8fae75
2024-07-30 18:13:05 -07:00
..
dir1
dir2
dir3
dir4
readDir
symlink-resolution Restore builtins.pathExists behavior on broken symlinks 2024-02-13 18:09:55 +01:00
binary-data
data
eval-fail-abort.err.exp Remove some blank lines from stack traces 2023-12-15 23:57:26 -08:00
eval-fail-abort.nix
eval-fail-addDrvOutputDependencies-empty-context.err.exp Remove some blank lines from stack traces 2023-12-15 23:57:26 -08:00
eval-fail-addDrvOutputDependencies-empty-context.nix Add builtins.addDrvOutputDependencies 2023-10-23 12:49:14 -04:00
eval-fail-addDrvOutputDependencies-multi-elem-context.err.exp Remove some blank lines from stack traces 2023-12-15 23:57:26 -08:00
eval-fail-addDrvOutputDependencies-multi-elem-context.nix Add builtins.addDrvOutputDependencies 2023-10-23 12:49:14 -04:00
eval-fail-addDrvOutputDependencies-wrong-element-kind.err.exp Remove some blank lines from stack traces 2023-12-15 23:57:26 -08:00
eval-fail-addDrvOutputDependencies-wrong-element-kind.nix Add builtins.addDrvOutputDependencies 2023-10-23 12:49:14 -04:00
eval-fail-addErrorContext-example.err.exp Remove trace item: while calling the 'addErrorContext' builtin 2024-03-27 16:28:04 +01:00
eval-fail-addErrorContext-example.flags Always print addErrorContext traces 2024-03-27 16:28:04 +01:00
eval-fail-addErrorContext-example.nix Always print addErrorContext traces 2024-03-27 16:28:04 +01:00
eval-fail-assert-equal-attrs-names-2.err.exp assert: Report why values aren't equal 2024-07-05 16:43:48 +02:00
eval-fail-assert-equal-attrs-names-2.nix assert: Report why values aren't equal 2024-07-05 16:43:48 +02:00
eval-fail-assert-equal-attrs-names.err.exp assert: Report why values aren't equal 2024-07-05 16:43:48 +02:00
eval-fail-assert-equal-attrs-names.nix assert: Report why values aren't equal 2024-07-05 16:43:48 +02:00
eval-fail-assert-equal-derivations-extra.err.exp assert: Report why values aren't equal 2024-07-05 16:43:48 +02:00
eval-fail-assert-equal-derivations-extra.nix assert: Report why values aren't equal 2024-07-05 16:43:48 +02:00
eval-fail-assert-equal-derivations.err.exp assert: Report why values aren't equal 2024-07-05 16:43:48 +02:00
eval-fail-assert-equal-derivations.nix assert: Report why values aren't equal 2024-07-05 16:43:48 +02:00
eval-fail-assert-equal-floats.err.exp assert: Report why values aren't equal 2024-07-05 16:43:48 +02:00
eval-fail-assert-equal-floats.nix assert: Report why values aren't equal 2024-07-05 16:43:48 +02:00
eval-fail-assert-equal-function-direct.err.exp assert: Report why values aren't equal 2024-07-05 16:43:48 +02:00
eval-fail-assert-equal-function-direct.nix assert: Report why values aren't equal 2024-07-05 16:43:48 +02:00
eval-fail-assert-equal-int-float.err.exp assert: Report why values aren't equal 2024-07-05 16:43:48 +02:00
eval-fail-assert-equal-int-float.nix assert: Report why values aren't equal 2024-07-05 16:43:48 +02:00
eval-fail-assert-equal-ints.err.exp assert: Report why values aren't equal 2024-07-05 16:43:48 +02:00
eval-fail-assert-equal-ints.nix assert: Report why values aren't equal 2024-07-05 16:43:48 +02:00
eval-fail-assert-equal-list-length.err.exp assert: Report why values aren't equal 2024-07-05 16:43:48 +02:00
eval-fail-assert-equal-list-length.nix assert: Report why values aren't equal 2024-07-05 16:43:48 +02:00
eval-fail-assert-equal-paths.err.exp assert: Report why values aren't equal 2024-07-05 16:43:48 +02:00
eval-fail-assert-equal-paths.nix assert: Report why values aren't equal 2024-07-05 16:43:48 +02:00
eval-fail-assert-equal-type-nested.err.exp assert: Report why values aren't equal 2024-07-05 16:43:48 +02:00
eval-fail-assert-equal-type-nested.nix assert: Report why values aren't equal 2024-07-05 16:43:48 +02:00
eval-fail-assert-equal-type.err.exp assert: Report why values aren't equal 2024-07-05 16:43:48 +02:00
eval-fail-assert-equal-type.nix assert: Report why values aren't equal 2024-07-05 16:43:48 +02:00
eval-fail-assert-nested-bool.err.exp assert: Report why values aren't equal 2024-07-05 16:43:48 +02:00
eval-fail-assert-nested-bool.nix assert: Report why values aren't equal 2024-07-05 16:43:48 +02:00
eval-fail-assert.err.exp assert: Report why values aren't equal 2024-07-05 16:43:48 +02:00
eval-fail-assert.nix
eval-fail-attr-name-type.err.exp libexpr: Support structured error classes 2024-02-01 16:39:38 -08:00
eval-fail-attr-name-type.nix Pass positions when evaluating 2023-12-07 10:27:21 -08:00
eval-fail-bad-string-interpolation-1.err.exp Print the value in error: cannot coerce messages 2024-01-23 15:15:41 -08:00
eval-fail-bad-string-interpolation-1.nix
eval-fail-bad-string-interpolation-2.err.exp SourceAccessor: Change the main interface from lstat() to maybeLstat() 2023-11-01 15:26:07 +01:00
eval-fail-bad-string-interpolation-2.nix
eval-fail-bad-string-interpolation-3.err.exp Print the value in error: cannot coerce messages 2024-01-23 15:15:41 -08:00
eval-fail-bad-string-interpolation-3.nix
eval-fail-bad-string-interpolation-4.err.exp Fix underflow in Printer::printAttrs 2024-06-29 13:53:05 +02:00
eval-fail-bad-string-interpolation-4.nix tests/lang/eval-fail-bad-string-interpolation-4: init 2023-12-09 02:52:49 +01:00
eval-fail-blackhole.err.exp Remove some blank lines from stack traces 2023-12-15 23:57:26 -08:00
eval-fail-blackhole.nix
eval-fail-call-primop.err.exp Print value on type error 2024-01-22 08:56:02 -08:00
eval-fail-call-primop.nix Pass positions when evaluating 2023-12-07 10:27:21 -08:00
eval-fail-deepseq.err.exp Remove some blank lines from stack traces 2023-12-15 23:57:26 -08:00
eval-fail-deepseq.nix
eval-fail-derivation-name.err.exp tests/functional/lang: Add post processing and remove certain line numbers 2024-07-16 17:36:30 +02:00
eval-fail-derivation-name.nix Improve error messages for invalid derivation names 2024-06-25 19:41:29 +02:00
eval-fail-derivation-name.postprocess tests/functional/lang: Avoid /usr/bin/env for sandbox 2024-07-16 22:43:56 +02:00
eval-fail-dup-dynamic-attrs.err.exp Remove some blank lines from stack traces 2023-12-15 23:57:26 -08:00
eval-fail-dup-dynamic-attrs.nix
eval-fail-duplicate-traces.err.exp Update snapshots 2024-02-22 17:58:55 -08:00
eval-fail-duplicate-traces.nix Fix segfault on infinite recursion in some cases 2023-12-29 22:16:44 -08:00
eval-fail-eol-1.err.exp match line endings used by parser and error reports 2024-03-06 23:11:12 +01:00
eval-fail-eol-1.nix match line endings used by parser and error reports 2024-03-06 23:11:12 +01:00
eval-fail-eol-2.err.exp match line endings used by parser and error reports 2024-03-06 23:11:12 +01:00
eval-fail-eol-2.nix match line endings used by parser and error reports 2024-03-06 23:11:12 +01:00
eval-fail-eol-3.err.exp match line endings used by parser and error reports 2024-03-06 23:11:12 +01:00
eval-fail-eol-3.nix match line endings used by parser and error reports 2024-03-06 23:11:12 +01:00
eval-fail-fetchTree-negative.err.exp language: cleanly ban integer overflows 2024-07-30 18:13:05 -07:00
eval-fail-fetchTree-negative.nix language: cleanly ban integer overflows 2024-07-30 18:13:05 -07:00
eval-fail-fetchurl-baseName-attrs-name.err.exp Improve error messages for invalid derivation names 2024-06-25 19:41:29 +02:00
eval-fail-fetchurl-baseName-attrs-name.nix Improve error messages for invalid derivation names 2024-06-25 19:41:29 +02:00
eval-fail-fetchurl-baseName-attrs.err.exp Improve error messages for invalid derivation names 2024-06-25 19:41:29 +02:00
eval-fail-fetchurl-baseName-attrs.nix Improve error messages for invalid derivation names 2024-06-25 19:41:29 +02:00
eval-fail-fetchurl-baseName.err.exp Improve error messages for invalid derivation names 2024-06-25 19:41:29 +02:00
eval-fail-fetchurl-baseName.nix Improve error messages for invalid derivation names 2024-06-25 19:41:29 +02:00
eval-fail-flake-ref-to-string-negative-integer.err.exp language: cleanly ban integer overflows 2024-07-30 18:13:05 -07:00
eval-fail-flake-ref-to-string-negative-integer.nix language: cleanly ban integer overflows 2024-07-30 18:13:05 -07:00
eval-fail-foldlStrict-strict-op-application.err.exp Update snapshots 2024-02-22 17:58:55 -08:00
eval-fail-foldlStrict-strict-op-application.nix
eval-fail-fromJSON-overflowing.err.exp language: cleanly ban integer overflows 2024-07-30 18:13:05 -07:00
eval-fail-fromJSON-overflowing.nix language: cleanly ban integer overflows 2024-07-30 18:13:05 -07:00
eval-fail-fromTOML-timestamps.err.exp libexpr: Support structured error classes 2024-02-01 16:39:38 -08:00
eval-fail-fromTOML-timestamps.nix
eval-fail-hashfile-missing.err.exp Remove some blank lines from stack traces 2023-12-15 23:57:26 -08:00
eval-fail-hashfile-missing.nix
eval-fail-infinite-recursion-lambda.err.exp eval-fail-infinite-recursion-lambda: Reduce recursion depth 2024-06-13 13:55:42 +02:00
eval-fail-infinite-recursion-lambda.flags eval-fail-infinite-recursion-lambda: Reduce recursion depth 2024-06-13 13:55:42 +02:00
eval-fail-infinite-recursion-lambda.nix Fix segfault on infinite recursion in some cases 2023-12-29 22:16:44 -08:00
eval-fail-list.err.exp Print value on type error 2024-01-22 08:56:02 -08:00
eval-fail-list.nix
eval-fail-missing-arg.err.exp Remove some blank lines from stack traces 2023-12-15 23:57:26 -08:00
eval-fail-missing-arg.nix
eval-fail-mutual-recursion.err.exp Update snapshots 2024-02-22 17:58:55 -08:00
eval-fail-mutual-recursion.nix Fix segfault on infinite recursion in some cases 2023-12-29 22:16:44 -08:00
eval-fail-nested-list-items.err.exp Fix underflow in Printer::printList 2024-06-29 14:10:58 +02:00
eval-fail-nested-list-items.nix Fix underflow in Printer::printList 2024-06-29 14:10:58 +02:00
eval-fail-nonexist-path.err.exp SourceAccessor: Change the main interface from lstat() to maybeLstat() 2023-11-01 15:26:07 +01:00
eval-fail-nonexist-path.nix
eval-fail-not-throws.err.exp Remove some blank lines from stack traces 2023-12-15 23:57:26 -08:00
eval-fail-not-throws.nix Pass positions when evaluating 2023-12-07 10:27:21 -08:00
eval-fail-overflowing-add.err.exp language: cleanly ban integer overflows 2024-07-30 18:13:05 -07:00
eval-fail-overflowing-add.nix language: cleanly ban integer overflows 2024-07-30 18:13:05 -07:00
eval-fail-overflowing-div.err.exp language: cleanly ban integer overflows 2024-07-30 18:13:05 -07:00
eval-fail-overflowing-div.nix language: cleanly ban integer overflows 2024-07-30 18:13:05 -07:00
eval-fail-overflowing-mul.err.exp language: cleanly ban integer overflows 2024-07-30 18:13:05 -07:00
eval-fail-overflowing-mul.nix language: cleanly ban integer overflows 2024-07-30 18:13:05 -07:00
eval-fail-overflowing-sub.err.exp language: cleanly ban integer overflows 2024-07-30 18:13:05 -07:00
eval-fail-overflowing-sub.nix language: cleanly ban integer overflows 2024-07-30 18:13:05 -07:00
eval-fail-path-slash.err.exp Remove some blank lines from stack traces 2023-12-15 23:57:26 -08:00
eval-fail-path-slash.nix
eval-fail-pipe-operators.err.exp libexpr: experimental pipe operators 2024-07-24 13:17:28 -04:00
eval-fail-pipe-operators.nix libexpr: experimental pipe operators 2024-07-24 13:17:28 -04:00
eval-fail-recursion.err.exp Remove some blank lines from stack traces 2023-12-15 23:57:26 -08:00
eval-fail-recursion.nix
eval-fail-remove.err.exp Remove some blank lines from stack traces 2023-12-15 23:57:26 -08:00
eval-fail-remove.nix
eval-fail-scope-5.err.exp Remove some blank lines from stack traces 2023-12-15 23:57:26 -08:00
eval-fail-scope-5.nix
eval-fail-seq.err.exp Remove some blank lines from stack traces 2023-12-15 23:57:26 -08:00
eval-fail-seq.nix
eval-fail-set-override.err.exp Print value on type error 2024-01-22 08:56:02 -08:00
eval-fail-set-override.nix
eval-fail-set.err.exp Remove some blank lines from stack traces 2023-12-15 23:57:26 -08:00
eval-fail-set.nix
eval-fail-substring.err.exp Remove some blank lines from stack traces 2023-12-15 23:57:26 -08:00
eval-fail-substring.nix
eval-fail-to-path.err.exp Remove some blank lines from stack traces 2023-12-15 23:57:26 -08:00
eval-fail-to-path.nix
eval-fail-toJSON.err.exp libexpr: Support structured error classes 2024-02-01 16:39:38 -08:00
eval-fail-toJSON.nix
eval-fail-undeclared-arg.err.exp Remove some blank lines from stack traces 2023-12-15 23:57:26 -08:00
eval-fail-undeclared-arg.nix
eval-fail-using-set-as-attr-name.err.exp libexpr: Support structured error classes 2024-02-01 16:39:38 -08:00
eval-fail-using-set-as-attr-name.nix Pass positions when evaluating 2023-12-07 10:27:21 -08:00
eval-okay-any-all.exp
eval-okay-any-all.nix
eval-okay-arithmetic.exp
eval-okay-arithmetic.nix
eval-okay-attrnames.exp
eval-okay-attrnames.nix
eval-okay-attrs.exp
eval-okay-attrs.nix
eval-okay-attrs2.exp
eval-okay-attrs2.nix
eval-okay-attrs3.exp
eval-okay-attrs3.nix
eval-okay-attrs4.exp
eval-okay-attrs4.nix
eval-okay-attrs5.exp
eval-okay-attrs5.nix
eval-okay-attrs6.exp
eval-okay-attrs6.nix
eval-okay-autoargs.exp
eval-okay-autoargs.flags
eval-okay-autoargs.nix
eval-okay-backslash-newline-1.exp
eval-okay-backslash-newline-1.nix
eval-okay-backslash-newline-2.exp
eval-okay-backslash-newline-2.nix
eval-okay-baseNameOf.exp Test and document builtins.baseNameOf 2024-03-24 01:26:17 +01:00
eval-okay-baseNameOf.nix Test and document builtins.baseNameOf 2024-03-24 01:26:17 +01:00
eval-okay-builtins-add.exp
eval-okay-builtins-add.nix
eval-okay-builtins.exp
eval-okay-builtins.nix
eval-okay-callable-attrs.exp
eval-okay-callable-attrs.nix
eval-okay-catattrs.exp
eval-okay-catattrs.nix
eval-okay-closure.exp
eval-okay-closure.exp.xml
eval-okay-closure.nix
eval-okay-comments.exp
eval-okay-comments.nix
eval-okay-concat.exp
eval-okay-concat.nix
eval-okay-concatmap.exp
eval-okay-concatmap.nix
eval-okay-concatstringssep.exp
eval-okay-concatstringssep.nix
eval-okay-context-introspection.exp Add builtins.addDrvOutputDependencies 2023-10-23 12:49:14 -04:00
eval-okay-context-introspection.nix Add builtins.addDrvOutputDependencies 2023-10-23 12:49:14 -04:00
eval-okay-context.exp
eval-okay-context.nix
eval-okay-convertHash.err.exp Renamed HashFormat::Base32 to HashFormat::Nix32 2023-12-06 23:43:42 +01:00
eval-okay-convertHash.exp Renamed HashFormat::Base32 to HashFormat::Nix32 2023-12-06 23:43:42 +01:00
eval-okay-convertHash.nix Renamed HashFormat::Base32 to HashFormat::Nix32 2023-12-06 23:43:42 +01:00
eval-okay-curpos.exp
eval-okay-curpos.nix
eval-okay-deepseq.exp
eval-okay-deepseq.nix
eval-okay-delayed-with-inherit.exp
eval-okay-delayed-with-inherit.nix
eval-okay-delayed-with.exp
eval-okay-delayed-with.nix
eval-okay-derivation-legacy.err.exp Add tests/f/lang/eval-okay-derivation-legacy 2024-06-10 16:31:46 +02:00
eval-okay-derivation-legacy.exp Add tests/f/lang/eval-okay-derivation-legacy 2024-06-10 16:31:46 +02:00
eval-okay-derivation-legacy.nix Add tests/f/lang/eval-okay-derivation-legacy 2024-06-10 16:31:46 +02:00
eval-okay-dynamic-attrs-2.exp
eval-okay-dynamic-attrs-2.nix
eval-okay-dynamic-attrs-bare.exp
eval-okay-dynamic-attrs-bare.nix
eval-okay-dynamic-attrs.exp
eval-okay-dynamic-attrs.nix
eval-okay-elem.exp
eval-okay-elem.nix
eval-okay-empty-args.exp
eval-okay-empty-args.nix
eval-okay-eq-derivations.exp
eval-okay-eq-derivations.nix
eval-okay-eq.exp
eval-okay-eq.nix
eval-okay-filter.exp
eval-okay-filter.nix
eval-okay-flake-ref-to-string.exp
eval-okay-flake-ref-to-string.nix
eval-okay-flatten.exp
eval-okay-flatten.nix
eval-okay-float.exp
eval-okay-float.nix
eval-okay-floor-ceil.exp
eval-okay-floor-ceil.nix
eval-okay-foldlStrict-lazy-elements.exp
eval-okay-foldlStrict-lazy-elements.nix
eval-okay-foldlStrict-lazy-initial-accumulator.exp
eval-okay-foldlStrict-lazy-initial-accumulator.nix
eval-okay-foldlStrict.exp
eval-okay-foldlStrict.nix
eval-okay-fromjson-escapes.exp
eval-okay-fromjson-escapes.nix
eval-okay-fromjson.exp
eval-okay-fromjson.nix
eval-okay-fromTOML-timestamps.exp
eval-okay-fromTOML-timestamps.flags
eval-okay-fromTOML-timestamps.nix
eval-okay-fromTOML.exp
eval-okay-fromTOML.nix
eval-okay-functionargs.exp
eval-okay-functionargs.exp.xml
eval-okay-functionargs.nix
eval-okay-getattrpos-functionargs.exp
eval-okay-getattrpos-functionargs.nix
eval-okay-getattrpos-undefined.exp
eval-okay-getattrpos-undefined.nix
eval-okay-getattrpos.exp
eval-okay-getattrpos.nix
eval-okay-getenv.exp
eval-okay-getenv.nix
eval-okay-groupBy.exp
eval-okay-groupBy.nix
eval-okay-hash.exp
eval-okay-hashfile.exp
eval-okay-hashfile.nix
eval-okay-hashstring.exp
eval-okay-hashstring.nix
eval-okay-if.exp
eval-okay-if.nix
eval-okay-import.exp
eval-okay-import.nix
eval-okay-ind-string.exp
eval-okay-ind-string.nix
eval-okay-inherit-attr-pos.exp report inherit attr errors at the duplicate name 2024-03-06 23:11:12 +01:00
eval-okay-inherit-attr-pos.nix report inherit attr errors at the duplicate name 2024-03-06 23:11:12 +01:00
eval-okay-inherit-from.err.exp evaluate inherit (from) exprs only once per directive 2024-02-26 19:07:08 +01:00
eval-okay-inherit-from.exp evaluate inherit (from) exprs only once per directive 2024-02-26 19:07:08 +01:00
eval-okay-inherit-from.nix evaluate inherit (from) exprs only once per directive 2024-02-26 19:07:08 +01:00
eval-okay-intersectAttrs.exp
eval-okay-intersectAttrs.nix
eval-okay-let.exp
eval-okay-let.nix
eval-okay-list.exp
eval-okay-list.nix
eval-okay-listtoattrs.exp
eval-okay-listtoattrs.nix
eval-okay-logic.exp
eval-okay-logic.nix
eval-okay-map.exp
eval-okay-map.nix
eval-okay-mapattrs.exp
eval-okay-mapattrs.nix
eval-okay-merge-dynamic-attrs.exp
eval-okay-merge-dynamic-attrs.nix
eval-okay-nested-with.exp
eval-okay-nested-with.nix
eval-okay-new-let.exp
eval-okay-new-let.nix
eval-okay-null-dynamic-attrs.exp
eval-okay-null-dynamic-attrs.nix
eval-okay-overrides.exp
eval-okay-overrides.nix
eval-okay-parse-flake-ref.exp
eval-okay-parse-flake-ref.nix
eval-okay-partition.exp
eval-okay-partition.nix
eval-okay-path-string-interpolation.exp
eval-okay-path-string-interpolation.nix
eval-okay-path.exp fetchToStore(): Handle flat ingestion method and add test 2023-10-20 13:32:15 +02:00
eval-okay-path.nix fetchToStore(): Handle flat ingestion method and add test 2023-10-20 13:32:15 +02:00
eval-okay-pathexists.exp
eval-okay-pathexists.nix Restore builtins.pathExists behavior on broken symlinks 2024-02-13 18:09:55 +01:00
eval-okay-patterns.exp
eval-okay-patterns.nix
eval-okay-print.err.exp Unify and refactor value printing 2024-01-11 16:34:36 -08:00
eval-okay-print.exp Restore ambiguous value printer for nix-instantiate 2024-01-11 16:34:36 -08:00
eval-okay-print.nix
eval-okay-readDir.exp
eval-okay-readDir.nix
eval-okay-readfile.exp
eval-okay-readfile.nix
eval-okay-readFileType.exp
eval-okay-readFileType.nix
eval-okay-redefine-builtin.exp
eval-okay-redefine-builtin.nix
eval-okay-regex-match.exp
eval-okay-regex-match.nix
eval-okay-regex-split.exp
eval-okay-regex-split.nix
eval-okay-regression-20220122.exp
eval-okay-regression-20220122.nix
eval-okay-regression-20220125.exp
eval-okay-regression-20220125.nix
eval-okay-remove.exp
eval-okay-remove.nix
eval-okay-repeated-empty-attrs.exp Unify and refactor value printing 2024-01-11 16:34:36 -08:00
eval-okay-repeated-empty-attrs.nix Unify and refactor value printing 2024-01-11 16:34:36 -08:00
eval-okay-repeated-empty-list.exp Unify and refactor value printing 2024-01-11 16:34:36 -08:00
eval-okay-repeated-empty-list.nix Unify and refactor value printing 2024-01-11 16:34:36 -08:00
eval-okay-replacestrings.exp
eval-okay-replacestrings.nix
eval-okay-scope-1.exp
eval-okay-scope-1.nix
eval-okay-scope-2.exp
eval-okay-scope-2.nix
eval-okay-scope-3.exp
eval-okay-scope-3.nix
eval-okay-scope-4.exp
eval-okay-scope-4.nix
eval-okay-scope-6.exp
eval-okay-scope-6.nix
eval-okay-scope-7.exp
eval-okay-scope-7.nix
eval-okay-search-path.exp
eval-okay-search-path.flags
eval-okay-search-path.nix
eval-okay-seq.exp
eval-okay-seq.nix
eval-okay-sort.exp
eval-okay-sort.nix
eval-okay-splitversion.exp
eval-okay-splitversion.nix
eval-okay-string.exp
eval-okay-string.nix
eval-okay-strings-as-attrs-names.exp
eval-okay-strings-as-attrs-names.nix
eval-okay-substring-context.exp added test for empty substring special case 2024-01-12 09:40:21 -08:00
eval-okay-substring-context.nix added test for empty substring special case 2024-01-12 09:40:21 -08:00
eval-okay-substring.exp tests/functional/lang: Test substring with negative length 2024-01-16 12:19:31 +01:00
eval-okay-substring.nix tests/functional/lang: Test substring with negative length 2024-01-16 12:19:31 +01:00
eval-okay-symlink-resolution.exp Fix symlink handling 2023-11-16 16:45:14 +01:00
eval-okay-symlink-resolution.nix Fix symlink handling 2023-11-16 16:45:14 +01:00
eval-okay-tail-call-1.exp-disabled
eval-okay-tail-call-1.nix
eval-okay-tojson.exp
eval-okay-tojson.nix
eval-okay-toxml.exp
eval-okay-toxml.nix
eval-okay-toxml2.exp
eval-okay-toxml2.nix
eval-okay-tryeval.exp
eval-okay-tryeval.nix
eval-okay-types.exp
eval-okay-types.nix
eval-okay-versions.exp
eval-okay-versions.nix
eval-okay-with.exp
eval-okay-with.nix
eval-okay-xml.exp.xml
eval-okay-xml.nix
eval-okay-zipAttrsWith.exp
eval-okay-zipAttrsWith.nix
imported.nix
imported2.nix
lib.nix
non-eval-fail-bad-drvPath.nix Require drvPath attribute to end with .drv 2024-05-22 12:50:24 -04:00
parse-fail-dup-attrs-1.err.exp keep copies of parser inputs that are in-memory only 2024-03-06 23:11:12 +01:00
parse-fail-dup-attrs-1.nix
parse-fail-dup-attrs-2.err.exp report inherit attr errors at the duplicate name 2024-03-06 23:11:12 +01:00
parse-fail-dup-attrs-2.nix
parse-fail-dup-attrs-3.err.exp report inherit attr errors at the duplicate name 2024-03-06 23:11:12 +01:00
parse-fail-dup-attrs-3.nix
parse-fail-dup-attrs-4.err.exp keep copies of parser inputs that are in-memory only 2024-03-06 23:11:12 +01:00
parse-fail-dup-attrs-4.nix
parse-fail-dup-attrs-7.err.exp report inherit attr errors at the duplicate name 2024-03-06 23:11:12 +01:00
parse-fail-dup-attrs-7.nix
parse-fail-dup-formals.err.exp Remove some blank lines from stack traces 2023-12-15 23:57:26 -08:00
parse-fail-dup-formals.nix
parse-fail-eof-in-string.err.exp diagnose "unexpected EOF" at EOF 2024-03-06 23:11:12 +01:00
parse-fail-eof-in-string.nix
parse-fail-eof-pos.err.exp diagnose "unexpected EOF" at EOF 2024-03-06 23:11:12 +01:00
parse-fail-eof-pos.nix diagnose "unexpected EOF" at EOF 2024-03-06 23:11:12 +01:00
parse-fail-mixed-nested-attrs1.err.exp Remove some blank lines from stack traces 2023-12-15 23:57:26 -08:00
parse-fail-mixed-nested-attrs1.nix
parse-fail-mixed-nested-attrs2.err.exp Remove some blank lines from stack traces 2023-12-15 23:57:26 -08:00
parse-fail-mixed-nested-attrs2.nix
parse-fail-patterns-1.err.exp Remove some blank lines from stack traces 2023-12-15 23:57:26 -08:00
parse-fail-patterns-1.nix
parse-fail-regression-20060610.err.exp report inherit attr errors at the duplicate name 2024-03-06 23:11:12 +01:00
parse-fail-regression-20060610.nix
parse-fail-undef-var-2.err.exp keep copies of parser inputs that are in-memory only 2024-03-06 23:11:12 +01:00
parse-fail-undef-var-2.nix
parse-fail-undef-var.err.exp Remove some blank lines from stack traces 2023-12-15 23:57:26 -08:00
parse-fail-undef-var.nix
parse-fail-utf8.err.exp keep copies of parser inputs that are in-memory only 2024-03-06 23:11:12 +01:00
parse-fail-utf8.nix
parse-okay-1.exp
parse-okay-1.nix
parse-okay-crlf.exp
parse-okay-crlf.nix
parse-okay-dup-attrs-5.exp
parse-okay-dup-attrs-5.nix
parse-okay-dup-attrs-6.exp
parse-okay-dup-attrs-6.nix
parse-okay-ind-string.exp parser: Remove empty multiline string parts earlier 2024-07-19 00:43:44 +02:00
parse-okay-ind-string.nix Add parser test for indented strings 2024-07-17 02:43:47 +02:00
parse-okay-inherits.exp group inherit by source during Expr::show 2024-02-12 13:58:29 +01:00
parse-okay-inherits.nix add test for inherit expr printing 2024-02-12 13:32:33 +01:00
parse-okay-mixed-nested-attrs-1.exp
parse-okay-mixed-nested-attrs-1.nix
parse-okay-mixed-nested-attrs-2.exp
parse-okay-mixed-nested-attrs-2.nix
parse-okay-mixed-nested-attrs-3.exp
parse-okay-mixed-nested-attrs-3.nix
parse-okay-regression-751.exp
parse-okay-regression-751.nix
parse-okay-regression-20041027.exp
parse-okay-regression-20041027.nix
parse-okay-subversion.exp normalize formal order on ExprLambda::show 2024-03-06 23:11:12 +01:00
parse-okay-subversion.nix
parse-okay-url.exp
parse-okay-url.nix