Commit graph

286 commits

Author SHA1 Message Date
John Wiegley 29c48fa8e3
Run Brittany again 2019-03-17 22:46:15 -07:00
John Wiegley 18c49f6a0d
Reorganize code in Nix.Value, creating new Nix.Value.Equal 2019-03-17 22:44:22 -07:00
John Wiegley a006769124
Factor some common patterns back into Standard 2019-03-17 21:58:35 -07:00
John Wiegley 7b5d134d22
Factor out FreshIdT from Standard 2019-03-17 19:04:38 -07:00
John Wiegley 015ced236e
Simplify Standard by splitting off Cited.Basic 2019-03-17 18:43:23 -07:00
John Wiegley 082a6ddcef
Comment out appendContext test, as it is presently failing 2019-03-17 15:45:47 -07:00
John Wiegley 895f4e721f
Merge remote-tracking branch 'origin/vs-context-primops' 2019-03-17 15:44:05 -07:00
John Wiegley aa66560bf7
Get rid of implicit conversions to and from thunks 2019-03-17 15:30:20 -07:00
John Wiegley 94e0be3882
Reformat all sources with Brittany, to restore consistency 2019-03-17 14:47:38 -07:00
John Wiegley 5c10be3e3b
More cleanup, get rid of the Eq and Ord instances for NValue'
They had dubious semantics anyway; there is now only valueEqM and valueNFEq.
2019-03-16 23:35:16 -07:00
John Wiegley 9405074cd8
Fix hnix-tests 2019-03-16 14:41:25 -07:00
John Wiegley 6ae5764221
All type checks, but many instance definitions are still missing 2019-03-16 01:10:47 -07:00
John Wiegley 145e69c9a4
Further work on Standard.hs 2019-03-15 22:54:29 -07:00
John Wiegley e9236aa55c
Now down to Main.hs and the tests 2019-03-15 17:20:10 -07:00
John Wiegley bda79c984b
Merge branch 'master' into vs-context-primops 2019-03-11 08:41:42 -07:00
John Wiegley dc12cdf92e
Add a test to ensure that we report infinite recursion 2019-03-10 14:19:15 -07:00
Emmanuel Denloye-Ito af9f69d517 fromJSON tests are now working. Yeah! 2019-03-10 14:14:14 -07:00
Emmanuel Denloye-Ito 5e0617a952 spelling error 2019-03-10 14:14:14 -07:00
Emmanuel Denloye-Ito 7a9b70f139 Found failing case: "stringed" numbers as key 2019-03-10 14:14:14 -07:00
John Wiegley 7bb233cb2b
Merge branch 'master' into vs-context-primops 2019-03-10 13:54:43 -07:00
Ken Micklas 468dc493bd Ignore hash in appendContext test 2019-03-10 16:44:09 -04:00
Ken Micklas a25c01b218 Fix path name in appendContext test 2019-03-10 16:21:21 -04:00
Ken Micklas 616cb998c6 Ignore output hash in getContext test 2019-03-10 16:02:15 -04:00
hsloan f2033c0694 change test directory 2019-03-10 11:38:41 -07:00
hsloan e384945867 add eval-compare test 2019-03-10 11:38:41 -07:00
Emmanuel Denloye-Ito c51d966d44 Add tests for mapAttrs and changed hackyMakeNixStringWithoutContext to principledMakeNixStringWithoutContext in Builtins.hs 2019-03-10 11:17:36 -07:00
Emmanuel Denloye-Ito 586f1de62d Less than test (#461)
References issue #438 

Co-authored-by: John Wiegley <johnw@newartisans.com>
2019-03-10 11:16:36 -07:00
Ken Micklas 345f2d817f Add trailing newlines to context primop tests 2019-03-10 13:54:24 -04:00
Ken Micklas 718c94e0bb Merge branch 'master' into vs-context-primops 2019-03-10 13:48:58 -04:00
Emily Pillmore f3970d49b9
Add principled 'fetchurl' + tests
Tests are masked until store work is done
2019-03-10 10:07:03 -07:00
Doug Beardsley 048638f6a1 Add tests for getContext and appendContext 2019-03-10 12:59:00 -04:00
Ken Micklas 4d45ef67ff Fix typo in test name 2019-03-09 22:02:28 -05:00
Ken Micklas 3875f2a075 Fix typo in test 2019-03-09 22:01:45 -05:00
Ken Micklas 4895255155 Fix syntax error in test 2019-03-09 20:40:30 -05:00
John Ericson 3b5649c0a2 WIP fix equality 2019-03-09 20:26:19 -05:00
Ryan Trinkle d8a66c09ab Ellipsis shouldn't introduce anything into scope 2019-03-09 17:59:59 -05:00
Ryan Trinkle c738f552b8 Disable new tests that have never yet passed 2019-03-09 15:16:22 -05:00
Doug Beardsley aa4156c5f6 Add test for currentSystem and remove hacky call 2019-03-08 23:22:43 -05:00
Ken Micklas 824615aabe Merge branch 'master' into xml-string-context 2018-12-10 15:48:29 -05:00
Ken Micklas 195d4531cd Fix build in tests 2018-12-10 15:33:29 -05:00
Doug Beardsley df26aa12e9 Merge remote-tracking branch 'origin/master' into remove-fromnix-text-instances 2018-12-09 13:57:15 -05:00
Doug Beardsley 95d4b9406d Really add toJSON test case 2018-12-05 15:01:55 -05:00
Doug Beardsley 5c6b1ff285 Fix replaceStrings and add test case to catch mistake 2018-12-05 11:53:59 -05:00
Doug Beardsley 5b1117f6b9 Add test case for placeholder and get it passing 2018-12-05 08:43:31 -05:00
Doug Beardsley 34e79f465f Add failing test case demonstrating baseNameOf problem 2018-12-03 04:42:50 -05:00
Félix Baylac 512a8e0f10 Change builtins.storeDir type to String
Co-authored-by: Basile Henry <bjm.henry@gmail.com>
2018-12-02 20:59:50 +00:00
Shea Levy 2bba6c84e6
Revert "Fix compilation"
This fix isn't necessary now that the XML context change is
reverted.

This reverts commit 51d493f484.
2018-11-27 14:22:04 -05:00
Domen Kožar 48fe67748b
Fix warnings 2018-11-25 10:08:17 +00:00
Domen Kožar 51d493f484
Fix compilation 2018-11-25 10:01:14 +00:00
John Wiegley e8a6fbab16
Merge branch 'master' into fix/freeVars 2018-11-22 09:49:22 -08:00