diff options
Diffstat (limited to 'tvix/eval/src/tests/tvix_tests/notyetpassing')
3 files changed, 109 insertions, 22 deletions
diff --git a/tvix/eval/src/tests/tvix_tests/notyetpassing/eval-fail-builtins-genericClosure-uncomparable-keys2.nix b/tvix/eval/src/tests/tvix_tests/notyetpassing/eval-fail-builtins-genericClosure-uncomparable-keys2.nix index ca2825524546..0589a3ab596b 100644 --- a/tvix/eval/src/tests/tvix_tests/notyetpassing/eval-fail-builtins-genericClosure-uncomparable-keys2.nix +++ b/tvix/eval/src/tests/tvix_tests/notyetpassing/eval-fail-builtins-genericClosure-uncomparable-keys2.nix @@ -3,10 +3,10 @@ let in builtins.genericClosure { - startSet = [ { key = id; first = true; } ]; + startSet = [{ key = id; first = true; }]; operator = { first, ... }: if first then [ { key = id; first = false; } - ] else []; + ] else [ ]; } diff --git a/tvix/eval/src/tests/tvix_tests/notyetpassing/eval-okay-cycle-display-cpp-nix-2.13.nix b/tvix/eval/src/tests/tvix_tests/notyetpassing/eval-okay-cycle-display-cpp-nix-2.13.nix index bd3b1429cef3..ac849a58fe50 100644 --- a/tvix/eval/src/tests/tvix_tests/notyetpassing/eval-okay-cycle-display-cpp-nix-2.13.nix +++ b/tvix/eval/src/tests/tvix_tests/notyetpassing/eval-okay-cycle-display-cpp-nix-2.13.nix @@ -17,9 +17,9 @@ let }; multiTail = { - val = 42; - tail1 = multiTail; - tail2 = multiTail; + val = 42; + tail1 = multiTail; + tail2 = multiTail; }; in diff --git a/tvix/eval/src/tests/tvix_tests/notyetpassing/eval-okay-minimal-2.3-builtins.nix b/tvix/eval/src/tests/tvix_tests/notyetpassing/eval-okay-minimal-2.3-builtins.nix index 804355f34d10..4480daecd9f5 100644 --- a/tvix/eval/src/tests/tvix_tests/notyetpassing/eval-okay-minimal-2.3-builtins.nix +++ b/tvix/eval/src/tests/tvix_tests/notyetpassing/eval-okay-minimal-2.3-builtins.nix @@ -10,23 +10,110 @@ let # C++ Nix 2.3 builtins except valueSize which is removed in later versions minimalBuiltins = [ - "abort" "add" "addErrorContext" "all" "any" "appendContext" "attrNames" - "attrValues" "baseNameOf" "bitAnd" "bitOr" "bitXor" "builtins" "catAttrs" - "compareVersions" "concatLists" "concatMap" "concatStringsSep" - "currentSystem" "currentTime" "deepSeq" "derivation" "derivationStrict" - "dirOf" "div" "elem" "elemAt" "false" "fetchGit" "fetchMercurial" - "fetchTarball" "fetchurl" "filter" "filterSource" "findFile" "foldl'" - "fromJSON" "fromTOML" "functionArgs" "genList" "genericClosure" "getAttr" - "getContext" "getEnv" "hasAttr" "hasContext" "hashFile" "hashString" "head" - "import" "intersectAttrs" "isAttrs" "isBool" "isFloat" "isFunction" "isInt" - "isList" "isNull" "isPath" "isString" "langVersion" "length" "lessThan" - "listToAttrs" "map" "mapAttrs" "match" "mul" "nixPath" "nixVersion" "null" - "parseDrvName" "partition" "path" "pathExists" "placeholder" "readDir" - "readFile" "removeAttrs" "replaceStrings" "scopedImport" "seq" "sort" - "split" "splitVersion" "storeDir" "storePath" "stringLength" "sub" - "substring" "tail" "throw" "toFile" "toJSON" "toPath" "toString" "toXML" - "trace" "true" "tryEval" "typeOf" "unsafeDiscardOutputDependency" - "unsafeDiscardStringContext" "unsafeGetAttrPos" + "abort" + "add" + "addErrorContext" + "all" + "any" + "appendContext" + "attrNames" + "attrValues" + "baseNameOf" + "bitAnd" + "bitOr" + "bitXor" + "builtins" + "catAttrs" + "compareVersions" + "concatLists" + "concatMap" + "concatStringsSep" + "currentSystem" + "currentTime" + "deepSeq" + "derivation" + "derivationStrict" + "dirOf" + "div" + "elem" + "elemAt" + "false" + "fetchGit" + "fetchMercurial" + "fetchTarball" + "fetchurl" + "filter" + "filterSource" + "findFile" + "foldl'" + "fromJSON" + "fromTOML" + "functionArgs" + "genList" + "genericClosure" + "getAttr" + "getContext" + "getEnv" + "hasAttr" + "hasContext" + "hashFile" + "hashString" + "head" + "import" + "intersectAttrs" + "isAttrs" + "isBool" + "isFloat" + "isFunction" + "isInt" + "isList" + "isNull" + "isPath" + "isString" + "langVersion" + "length" + "lessThan" + "listToAttrs" + "map" + "mapAttrs" + "match" + "mul" + "nixPath" + "nixVersion" + "null" + "parseDrvName" + "partition" + "path" + "pathExists" + "placeholder" + "readDir" + "readFile" + "removeAttrs" + "replaceStrings" + "scopedImport" + "seq" + "sort" + "split" + "splitVersion" + "storeDir" + "storePath" + "stringLength" + "sub" + "substring" + "tail" + "throw" + "toFile" + "toJSON" + "toPath" + "toString" + "toXML" + "trace" + "true" + "tryEval" + "typeOf" + "unsafeDiscardOutputDependency" + "unsafeDiscardStringContext" + "unsafeGetAttrPos" ]; intersectLists = as: bs: builtins.filter (a: builtins.elem a bs) as; |