Commit graph

112 commits

Author SHA1 Message Date
amesgen
3f5dd96b7f
Update to 1.41.0, add dhall-toml 2022-02-23 00:07:59 +01:00
Justin Woo
7675f6f0cf
Merge pull request #50 from amesgen/1.40.2
Update to 1.40.2, add dhall-csv
2021-12-22 10:43:48 +02:00
amesgen
cffb992594
Update cachix/install-nix-action 2021-12-22 00:49:13 +01:00
amesgen
af2ab2051c
Update to 1.40.2, add dhall-csv
I did not add dhall-toml yet due to https://github.com/dhall-lang/dhall-haskell/issues/2353
2021-12-22 00:09:58 +01:00
Justin Woo
9bd1bea0dc
Merge pull request #48 from trskop/master
Update to 1.39.0
2021-07-17 15:03:24 +03:00
Peter Trško
0c30c65fd7 Update to 1.39.0 2021-07-17 11:54:18 +01:00
Profpatsch
1f6eecab5c Update to 1.38.1 2021-04-06 20:47:38 +02:00
David Baynard
dbc7891754 Update dhall to 1.38
The issue in https://github.com/dhall-lang/dhall-haskell/issues/2161
requires a workaround for the misplaced manpages.
2021-03-12 23:48:29 +01:00
Peter Trško
85625dd075 Update to 1.37.1
Just ran

```bash
./fetch.py
```

Includes update of `nixpkgs.json` to latest unstable.
2021-03-12 22:24:25 +01:00
Profpatsch
eae7f64c4d
Merge pull request #43 from Profpatsch/fix-macos-build-add-tests
Fix macos build add tests
2020-12-02 09:15:22 +01:00
Profpatsch
5e4e92105a feat(build.nix): add man page for dhall & dhall-docs on MacOS 2020-12-01 23:41:09 +01:00
Profpatsch
646a850fc1 fix(macos): allow multiple directories in the tarball
Some of the releases (only MacOS, sigh) lately contain more than one
directory. With this we should be able to get around that.
2020-12-01 23:41:09 +01:00
Profpatsch
635d2ed992 feat(ci): run tests on MacOS 2020-12-01 23:41:09 +01:00
Profpatsch
5e05faf619 fix(build.nix): use fetchurl instead of fetchzip
fetchurl does not unpack, but we need it to support MacOS prefetch,
because the `--unpack` option to `nix-prefetch-url` does not handle
zips with multiple directories in them, and some upstream tarballs
switched to that.
2020-12-01 23:41:09 +01:00
Profpatsch
da01add18b
Merge pull request #42 from Profpatsch/explicit-nixpkgs-imports
Explicit nixpkgs imports
2020-12-01 23:40:52 +01:00
Profpatsch
6db1fe885f fix(fetch.py): when fetch is run, first update unstable channel
This way we won’t forget to do it for months at a time.

You’d hope that stuff like this would be possible without jumping
through hoops, but this is nix after all. Flakes our salvation or
something.
2020-11-30 23:33:52 +01:00
Profpatsch
0c13cebcf8 chore(test.sh): drop result link with trap 2020-11-30 22:53:17 +01:00
Profpatsch
805358c8ec .github: remove nix channel, is fetched explicitly 2020-11-30 22:53:17 +01:00
Profpatsch
6d34cf1038 chore(*): <nixpkgs> -> ./nixpkgs.nix
This way we don’t get any dumb system-related bugs/bugreports.
2020-11-30 22:50:55 +01:00
Profpatsch
a2edc737d3
Merge pull request #41 from Profpatsch/gh-actions-update-nix-fetcher
.github: update install-nix-action @v9 -> @v12
2020-11-30 21:48:09 +01:00
Profpatsch
b6ebed36d1 .github: update install-nix-action @v9 -> @v12 2020-11-30 21:44:40 +01:00
Profpatsch
8f0840b7c9
Merge pull request #36 from Profpatsch/update-0.36.0
Update to 1.36.0
2020-11-06 12:09:41 +01:00
Profpatsch
0315b4c2f0
Merge pull request #37 from Profpatsch/test-executables
Test executables
2020-11-06 12:09:32 +01:00
Profpatsch
4d48badd72 test(*): run --version on each command
Simple test to see whether we can execute the commands.
2020-11-06 11:59:46 +01:00
Profpatsch
e555e2201c test(*): automatically check all binaries, based on binNames
The test list would go out-of-date when new packages were added. This
does the same check as before, but uses the binaries we already
specify on the nix level (via a passthru).

The next step is to try to run the binaries (e.g. with --version),
which will give us a better test of whether they are actually
executable.
2020-11-06 11:59:44 +01:00
Profpatsch
796cbb6374 Update to 1.36.0
ran ./fetch.py
2020-11-06 11:58:48 +01:00
Profpatsch
3eec0cfb18 fix(tests): add lsp & docs to tests
We should make the test auto-discover which executables to search for.
Maybe even have some functional tests which run the executables.
2020-11-06 11:33:56 +01:00
Profpatsch
6ba1b7f83a
Merge pull request #33 from sternenseemann/patch-1
README: fix spelling mistake
2020-11-06 11:27:40 +01:00
Profpatsch
89d9a49aee
Merge pull request #35 from TristanCacqueray/master
Add dhall-docs-simple
2020-11-06 11:27:02 +01:00
Tristan Cacqueray
aa1dafc30d Add dhall-docs-simple
This change sets the dhall-docs-simple attribute to install the dhall-docs cli.
2020-11-03 19:02:00 +00:00
Justin Woo
3e9101c5df
Merge pull request #34 from spacchetti/dhall-1.35
Update to dhall-1.35
2020-09-11 22:59:05 +03:00
Fabrizio Ferrai
eb1297af3e Update to dhall-1.35 2020-09-11 22:50:07 +03:00
sternenseemann
aecc50fbc0
README: fix spelling mistake 2020-08-05 16:57:33 +02:00
Profpatsch
9095796985
Merge pull request #32 from Profpatsch/build-allow-multiple-binaries
Build allow multiple binaries
2020-08-05 02:28:31 +02:00
Profpatsch
953cf8b3ea feat(dhall-json): use build.nix
Since we now support multiple binaries in build.nix, we can also use
it for dhall-json.
2020-08-04 23:06:03 +02:00
Profpatsch
f0270205ee feat(build): allow multiple binaries
I gave in because I wanted to use yaml-to-dhall, so this implements
copying multiple binaries.
2020-08-04 23:06:03 +02:00
Profpatsch
66da4ffe17 feat(build): check that we copied all binaries
Sometmmes a new binary is added to an output, like in the `dhall-yaml`
case, where yaml-to-dhall was added.

This uses `lr` because I can’t be bothered to figure out how to use
`find` to the same effect.
2020-08-04 23:06:03 +02:00
Profpatsch
0104f0fd3e
Merge pull request #31 from Profpatsch/add-zsh-and-fish-completions
Add zsh and fish completions
2020-08-04 22:11:06 +02:00
Profpatsch
da2eab127d
Merge pull request #29 from Profpatsch/refactor-build.nix
Refactor build.nix
2020-08-04 22:10:28 +02:00
Profpatsch
0529b4ff15
Merge pull request #30 from Profpatsch/update-1.34.0
Update to 1.34.0
2020-08-04 22:08:52 +02:00
Profpatsch
3ec7f3f0de feat(dhall-*): add zsh and fish completions
Uses the new optparse-applicative support for fish and zsh,
and the nixpkgs `installShellCompletion` hook to automatically put the
completions in the right directories.
2020-08-04 21:47:05 +02:00
Profpatsch
5b7632cbc4 fix(dhall-to-yaml-ng): fix completion
The completion was pointing to an executable that did not exist in
that output, the suffix `-ng` was missing.
2020-08-04 21:30:56 +02:00
Profpatsch
e207b5c2c6 refactor(dhall-*): put common parts into build.nix
The files are very self-similar, and provided upstream doesn’t do
something completely crazy, they should stay that way.

dhall-json is more complicated, and it wasn’t worth it implemented
something more complicated in build.nix, so for now it stays the same.
2020-08-04 21:30:56 +02:00
Profpatsch
27328f4731 Update to 1.34.0 2020-08-04 21:22:12 +02:00
Profpatsch
7c22a145fc
Merge pull request #28 from aszlig/fetchzip
Switch to using fetchzip instead of fetchurl
2020-07-13 00:12:27 +02:00
aszlig
65a30e2c0c
Switch to using fetchzip instead of fetchurl
GitHub's source tarballs are created in a non-deterministic way and the
order the entries are added is not stable.

In nixpkgs, there is fetchFromGitHub which works around this issue by
being a wrapper around fetchzip and since we're already using the full
URL to the corresponding GitHub archives, I switched to fetchzip instead
to keep the changes minimal.

Signed-off-by: aszlig <aszlig@nix.build>
2020-07-12 20:42:28 +02:00
Justin Woo
288ee825c3
Merge pull request #27 from trskop/master
Using install-nix-actions per Justin's advice
2020-07-03 13:05:22 +03:00
Peter Trško
da3e352a1c fixup! Using install-nix-actions per Justin's advice 2020-07-03 10:36:48 +01:00
Peter Trško
5b9961e78a Using install-nix-actions per Justin's advice
For more information see comments in justinwoo/easy-dhall-nix#26
2020-07-03 10:30:56 +01:00
Peter Trško
d15b593628 Update to 1.33.1 2020-07-03 09:20:24 +01:00