Skip to content

Commit

Permalink
upd nix submodule
Browse files Browse the repository at this point in the history
Solves #610.

Adds a bunch of new tests that do not pass.

Puts `eval-okay-hash` into proper deprecation.
  • Loading branch information
Anton-Latukha committed Jan 17, 2022
1 parent 9bccd0f commit 85abe2c
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 7 deletions.
2 changes: 1 addition & 1 deletion data/nix
Submodule nix updated 900 files
20 changes: 14 additions & 6 deletions tests/NixLanguageTests.hs
Original file line number Diff line number Diff line change
Expand Up @@ -56,20 +56,28 @@ groupBy key = Map.fromListWith (<>) . fmap (key &&& pure)
-- previously passed.
newFailingTests :: Set String
newFailingTests = Set.fromList
[
"eval-okay-hash"
, "eval-okay-path" -- #128
[ "eval-okay-path" -- #128
, "eval-okay-fromTOML"
, "eval-okay-ind-string" -- #1000 #610
, "eval-okay-zipAttrsWith"
, "eval-okay-tojson"
, "eval-okay-search-path"
, "eval-okay-sort"
, "eval-okay-path-antiquotation"
, "eval-okay-groupBy"
, "eval-okay-getattrpos-functionargs"
, "eval-okay-floor-ceil"
, "eval-okay-attrs6"
]

-- | Upstream tests that test cases that HNix disaded as a misfeature that is used so rarely
-- that it more effective to fix it & lint it out of existance.
deprecatedRareNixQuirkTests :: Set String
deprecatedRareNixQuirkTests = Set.fromList $
one
-- A rare quirk of Nix that is proper to fix&enforce then to support (see git commit history)
[ -- A rare quirk of Nix that is proper to fix&enforce then to support (see git commit history)
"eval-okay-strings-as-attrs-names"
-- Nix upstream removed this test alltogather
, "eval-okay-hash"
]

genTests :: IO TestTree
genTests =
Expand Down

0 comments on commit 85abe2c

Please sign in to comment.