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
Justin Woo
62f6ab3eec
Merge pull request #25 from justinwoo/fix-sha
...
fix sha for dhall releases???
2020-05-24 21:17:36 +03:00
justinwoo
5bd98d2959
fix sha for dhall releases???
2020-05-24 21:11:20 +03:00
Justin Woo
27edaa0c76
Merge pull request #24 from Profpatsch/master
...
Update to 1.32.0
2020-05-09 21:09:45 +03:00
Profpatsch
56bd5b6507
Update to 1.32.0
2020-05-09 20:02:04 +02:00
Justin Woo
35bca5ba56
Merge pull request #22 from spacchetti/update-1.31.1
...
Update to 1.31.1
2020-04-04 12:53:43 +02:00
Fabrizio Ferrai
1698c83a36
Update to 1.31.1
2020-04-04 10:42:07 +02:00
Profpatsch
45f165d127
Merge pull request #21 from Profpatsch/master
...
dhall-json-simple: add json-to-dhall and dhall-yaml
2020-03-31 02:07:12 +02:00
Profpatsch
dd4e3f6c36
dhall-json-simple: add json-to-dhall and dhall-yaml
...
There’s more stuff now. Maybe we should have a check that we don’t
miss when they add binaries?
2020-03-31 00:13:53 +02:00
Profpatsch
aa9db8eb24
Merge pull request #20 from Profpatsch/master
...
Add fetcher script and update to dhall 1.31.0
2020-03-30 23:32:40 +02:00
Profpatsch
b8267b1988
update 1.31
...
Use the `fetch.py` script to update to dhall 1.31 and add some
instructions on how to do it.
2020-03-29 22:29:08 +02:00
Profpatsch
fd60026375
Add fetch.py, for auto-updating to the newest version
...
A small python script, which nix-prefetch-url’s the latest
dhall-haskell release and puts it in a json file.
2020-03-29 22:29:08 +02:00