Commit Graph

20 Commits

Author SHA1 Message Date
Ehmry - 48ca2d2424 Optionally pass Nixpkgs through entry functions (#1409)
The "builtins.fetchTarball" function is not available in some restricted
environments such as build jobs of the latest Hydra. Make it possible to
pass nixpkgs and nixpkgsStaticLinux when evaulating default.nix and
release.nix to avoid importing them internally. This does not change the
result of evaulation if no parameters are passed.
2019-10-17 19:06:21 -07:00
Simon Jakobi beb1e7ba6f
Remove old union literal syntax (#1176)
…as standardized in https://github.com/dhall-lang/dhall-lang/pull/573.

Fixes #1175.
2019-07-31 04:44:36 +02:00
Simon Jakobi b2cbc8227f Remove usage of legacy Optional syntax (#1091)
* Remove usage of legacy Optional syntax

* Dhall.JSON: Use multilet in examples

* Update dhall-json/src/Dhall/JSON.hs

Co-Authored-By: Gabriel Gonzalez <Gabriel439@gmail.com>

* Update dhall-json/src/Dhall/JSON.hs

Co-Authored-By: Gabriel Gonzalez <Gabriel439@gmail.com>

* Update dhall-json/src/Dhall/JSON.hs

Co-Authored-By: Gabriel Gonzalez <Gabriel439@gmail.com>

* Update dhall-nix/src/Dhall/Nix.hs

Co-Authored-By: Gabriel Gonzalez <Gabriel439@gmail.com>

* Update dhall-nix/src/Dhall/Nix.hs

Co-Authored-By: Gabriel Gonzalez <Gabriel439@gmail.com>

* Revert changes to travis.yml

* Lint travis.dhall
2019-07-14 18:36:41 +00:00
Profpatsch 6c38bd89ea Update to dhall > 1.19 (#19)
Some things have changed in the dhall expression tree:

- `let` bindings now take a list of bindings
- `Some` and `None` were introduced
- `Text/show` was added

Additionally, dhall switched to an internal `Map` module instead of
`HashMap.Strict.InsOrd`.

Closes: https://github.com/dhall-lang/dhall-nix/issues/18
2019-04-09 06:59:01 -07:00
Gabriel Gonzalez a2860c8761 Add correct version of `cabal-install` to `nix-shell` (#16) 2018-08-31 08:31:47 -07:00
Gabriel Gonzalez 7e5d14a776 Upgrade to more recent Nixpkgs (#12) 2018-08-11 15:40:33 -05:00
Gabriel Gonzalez f67b8cc171 Build against `dhall-1.5.0` (#5) 2018-06-28 21:56:58 -07:00
Gabriel Gonzalez 68871355d1 Build against `dhall-1.14.0` (#3) 2018-05-19 10:39:00 -07:00
Gabriel Gonzalez 41e74ee9da Pin `nixpkgs` 2018-05-01 08:45:39 -07:00
Gabriel Gonzalez 559e6fd13e Build against `dhall-1.13.0` 2018-04-28 08:06:18 -07:00
Gabriel Gonzalez 14ebc0b990 Build against `dhall-1.12.0` 2018-03-24 10:15:45 -07:00
Gabriel Gonzalez 534313af18 Build against `dhall-1.10.0` 2018-02-23 20:35:34 -08:00
Gabriel Gonzalez 8e3a215a8b Fix `release.nix` to build against nixpkgs 17.09
Related to https://github.com/dhall-lang/dhall-lang/issues/87
2018-02-09 20:49:18 -08:00
Gabriel Gonzalez be60eb0171 Build against `dhall-1.9.*` 2018-01-27 10:54:00 -08:00
Gabriel Gonzalez 2c1438637a Build against `dhall-1.5.0` 2017-07-25 20:54:50 -07:00
Gabriel Gonzalez 3b9db6d57f Speed up `dhall-to-nix` and tests 2017-01-21 16:23:19 -08:00
Gabriel Gonzalez 8119ea3021 Add more tests 2017-01-21 14:53:36 -08:00
Gabriel Gonzalez ee65879bf1 Add derivation to test Dhall to Nix conversions 2017-01-21 13:46:43 -08:00
Gabriel Gonzalez 47fec820ee Include `test` Nix expression
This tests that `dhall-to-nix` can be used to build Nix derivations
2017-01-20 22:38:37 -08:00
Gabriel Gonzalez 80195ffb83 Initial commit 2017-01-20 20:33:49 -08:00