John Wiegley
|
88c81ceafe
|
Whitespace changes
|
2019-03-17 13:33:54 -07:00 |
|
John Wiegley
|
ad8b4a9257
|
Remove some unnused code
|
2019-03-16 23:42:48 -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
|
492a3ae0bc
|
Factor out thunk id representation into its own class, MonadThunkId
|
2019-03-16 16:23:40 -07:00 |
|
John Wiegley
|
9405074cd8
|
Fix hnix-tests
|
2019-03-16 14:41:25 -07:00 |
|
John Wiegley
|
e9236aa55c
|
Now down to Main.hs and the tests
|
2019-03-15 17:20:10 -07:00 |
|
John Wiegley
|
c9f4e40ec0
|
Get most of Builtins.hs type checking again
|
2019-03-15 14:33:03 -07:00 |
|
John Wiegley
|
483dded8db
|
Begin work in Builtins.hs
|
2019-03-15 13:27:11 -07:00 |
|
John Wiegley
|
107f29d3fd
|
Move certain constraints from MonadThunk to the BasicThunk instance
|
2019-03-11 13:55:40 -07:00 |
|
John Wiegley
|
39fd51c1a8
|
Split Nix.Thunk into Nix.Var, Nix.Thunk and Nix.Thunk.Basic
This is in preparation for further generalization of the thunk/value scheme
used by the execution code.
|
2019-03-11 08:42:46 -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 |
|
Emily Pillmore
|
f3970d49b9
|
Add principled 'fetchurl' + tests
Tests are masked until store work is done
|
2019-03-10 10:07:03 -07:00 |
|
John Ericson
|
5ddb79009d
|
Depend on hnix-store-core and use it for printHash32
|
2019-03-10 08:59:05 -07:00 |
|
Ryan Trinkle
|
4e9ec1a964
|
Improve error message in case read fails in splitVersion
|
2019-03-09 15:55:31 -05:00 |
|
Doug Beardsley
|
aa4156c5f6
|
Add test for currentSystem and remove hacky call
|
2019-03-08 23:22:43 -05:00 |
|
Ken Micklas
|
ad0d2d2bf8
|
Use WithStringContext(T) for nvalueToJSON
|
2018-12-13 16:59:51 -05:00 |
|
Ken Micklas
|
824615aabe
|
Merge branch 'master' into xml-string-context
|
2018-12-10 15:48:29 -05:00 |
|
Doug Beardsley
|
7d2f9d874a
|
Move json code into separate module
|
2018-12-09 13:57:58 -05:00 |
|
Ken Micklas
|
b1d48c5364
|
Accumulate string context in builtins.toXML
|
2018-12-06 18:11:06 -05:00 |
|
Doug Beardsley
|
38147f81a9
|
Fix toJSON context handling and add test case
|
2018-12-05 14:59:42 -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
|
23250a3433
|
Misc cleanup
|
2018-12-05 06:26:59 -05:00 |
|
Doug Beardsley
|
1748e7ce7a
|
Fix behavior of baseNameOf
|
2018-12-03 05:00: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
|
952e2603ea
|
Revert "Merge pull request #413 from haskell-nix/xml-string-context"
Let's try to find a way to avoid exporting the NixString constructors
first.
This reverts commit ed07384563 , reversing
changes made to 4bfe2cc60c .
|
2018-11-25 08:03:30 -05:00 |
|
Doug Beardsley
|
a39a5518ea
|
Merge remote-tracking branch 'origin/pending' into remove-fromnix-text-instances
|
2018-11-24 15:22:54 -05:00 |
|
Ken Micklas
|
1457362184
|
Accumulate string context in builtins.toXML
|
2018-11-23 12:48:44 -05:00 |
|
Doug Beardsley
|
31c327c406
|
Rename back to hacky
|
2018-11-21 01:55:56 -05:00 |
|
Doug Beardsley
|
09d9919367
|
Fix misleading name
|
2018-11-21 01:54:15 -05:00 |
|
Doug Beardsley
|
9e11410f6e
|
Make note to fix toFile
|
2018-11-21 01:50:24 -05:00 |
|
Doug Beardsley
|
d87122a0f2
|
Fix context handling in replaceStrings
|
2018-11-21 01:21:53 -05:00 |
|
John Wiegley
|
ba5b23a6e3
|
Bump minimum supported version to GHC 8.4.4
|
2018-11-19 09:46:02 -08:00 |
|
Doug Beardsley
|
8a97be7250
|
Fix behavior of match to properly return nulls
|
2018-11-19 09:01:34 -05:00 |
|
Doug Beardsley
|
a29a54b4f9
|
Merge remote-tracking branch 'origin/pending' into remove-fromnix-text-instances
|
2018-11-19 07:10:02 -05:00 |
|
Doug Beardsley
|
5dd3e2d7ce
|
Remove Text FromValue, ToValue, FromNix, and ToNix
This commit makes the handling of string context much more explicit and correct
throughout entire codebase.
|
2018-11-19 07:04:08 -05:00 |
|
Ryan Trinkle
|
0a82ab26ce
|
Merge remote-tracking branch 'origin/pending' into abstract-scopes
|
2018-11-18 15:04:30 -05:00 |
|
Doug Beardsley
|
602c673cba
|
Merge pull request #397 from haskell-nix/coerceToString-boolean-blindness
Create data types to avoid coerceToString boolean blindness
|
2018-11-17 19:00:29 -05:00 |
|
Ken Micklas
|
3beeaa6a79
|
Add and use fromStringNoContext
|
2018-11-17 18:40:22 -05:00 |
|
Ken Micklas
|
ff1166aba6
|
replace *StringIgnoreContextMaybe with more accurate *GetStringNoContext
|
2018-11-17 18:40:22 -05:00 |
|
Ken Micklas
|
340e97e8d3
|
Use principledStringIngoreContextMaybe for builtins.compareVersions
|
2018-11-17 18:40:22 -05:00 |
|
Ken Micklas
|
306d710527
|
Use principled* functions for builtins.splitVersion
|
2018-11-17 18:40:22 -05:00 |
|
Doug Beardsley
|
4edcda00e4
|
Create data types to avoid coerceToString boolean blindness
|
2018-11-17 18:26:10 -05:00 |
|
Doug Beardsley
|
ba7fc3446d
|
Remove hackyModifyNixContents
|
2018-11-17 16:23:41 -05:00 |
|
Ryan Trinkle
|
d60130c566
|
Abstract Scopes
|
2018-11-17 16:21:03 -05:00 |
|
Doug Beardsley
|
d949b9c1e1
|
Make coerceToString return NixString
|
2018-11-17 16:08:02 -05:00 |
|
Ryan Trinkle
|
c2be721454
|
Factor out HTTP requests
|
2018-11-16 17:17:38 -05:00 |
|
Ryan Trinkle
|
2884c4f918
|
Factor out filesystem functionality into MonadFile
|
2018-11-16 15:16:17 -05:00 |
|
gb
|
4baa4f7108
|
change Nix.NixString module to Nix.String
|
2018-09-23 16:03:44 -04:00 |
|