Commit Graph

15 Commits

Author SHA1 Message Date
Evan Relf
5f611f0785 Update Nixpkgs pin 2022-05-16 13:57:22 -07:00
Evan Relf
3a61ef6e07 Add Haskell packages overlay 2021-04-26 11:24:42 -07:00
Evan Relf
7cce30e1df Pin a recent revision of Nixpkgs 2021-04-26 11:24:42 -07:00
Evan Relf
ef44b8b8fc Remove old Nix code 2021-04-26 11:24:42 -07:00
intractable
4610befce9
Version 1.0.7: Use hnix 0.9.0+ (#53)
* Version 1.0.7: Use hnix 0.9.0+

* Version 1.0.7

- Support and require hnix-0.9.0 or higher.

* Update CHANGELOG.md
2020-10-28 10:33:42 -05:00
j6carey
fee4e3760c
Version 1.0.6: GHC 8.6 through 8.10, nixpkgs 20.03, and hnix 0.7+ (#50)
* Build with Nix 20.03 and GHC 8.6.5

Discards support for Nix versions strictly less than 1.12.

* Version 1.0.6

- Support and require hnix-0.7.0 or higher.
- Support GHC 8.10.1.
- Use nixpkgs 20.03 in Nix builds.
- Discard support for Nix versions < 1.12.

* Changes suggested by @evalrelf.
2020-06-10 13:30:09 -05:00
Gabriel Gonzalez
e46ed6e284 Build against hnix master
The motivation for this branch is so that `hocker` and `dhall` can both be
used within the same dependency tree.

The context for this is that `dhall` requires `megaparsec-7.0.0` or newer
whereas the latest `hnix` on Hackage only supports up to `megaparsec < 7.0`.
Since `hocker` depends on `hnix` that means that `hocker` is incompatible with
`dhall` if `hocker` depends on an `hnix` from Hackage.

However, the `master` branch of `hnix` on GitHub supports `megaparsec-7.*`, so
this change updates `hocker` to build against that.

Note that this shouldn't be merged until `hnix` pushes out a new release to
Hackage.
2018-12-06 14:25:37 -08:00
Parnell Springmeyer
88150c7b8a
outputSha256 should be the hash given to builtins.fetchTarball (#39)
... since it expects the fixed-output hash, not the intermediate hash
that is used by the Nix 1.11.x logic.

Fixes #38.
2018-03-29 12:47:37 -05:00
Parnell Springmeyer
06413f5423
Refactor supporting Nix code and pin to nixpkgs-17.09 latest (#32)
* Require Aeson (>=) 1.0.0.0 and fix compilation error

... by importing the `Types` module to get the `Options` datatype.

* Refactor supporting Nix code and pin to nixpkgs-17.09 latest
2018-02-11 14:43:49 -06:00
Parnell Springmeyer
0a631f2ea0
Switch to nix-paths instead of wrapProgram (#30)
* Use nix-paths over wrapProgram

This change switches from using `wrapProgram` to supply paths to the
Nix executables to the Haskell package `nix-paths`.

There are two motivations:

1. `nix-paths` will throw a compile-time error if it cannot find a
   path for any of the primary Nix executables (Nix is a dependency of
   this package inside of nixpkgs too so we don't need to worry about
   it anymore)

2. `wrapProgram` now throws an error if globbed file paths are given
   as input

* Cleanup unused import
2018-01-05 11:09:12 -06:00
Parnell Springmeyer
6103868b05
1.0.2 -> 1.0.3 (#29)
* 1.0.2 -> 1.0.3

* Add the Only package to fix Hydra evaluation error
2018-01-03 17:51:15 -06:00
Parnell Springmeyer
987b7f1fa2
Add readField implementations to custom ParseField instances (#28)
This change adds `readField` implementations to the custom
`ParseField` instances of our custom data types.

This change is necessary because a `readField` implementation is
required as-of the `optparse-generic` release of version `1.2.3`.
2018-01-03 17:37:15 -06:00
Parnell Springmeyer
db194fa797 Add a "How to build" section (#16)
* Remove unsupported `stack.yaml`

... and the related `shell.nix`

* Add a "How to build" section to the README.md

Fixes #3

* As suggested by @Gabriel439
2017-10-20 12:13:37 -05:00
Parnell Springmeyer
94db7ad735 Updating the optparse-* and turtle dependencies (#5)
* optparse-generic => 1.2.0, optparse-applicative => 0.13.2.0, turtle => 1.3.3

* Switch to the hackage version

* optparse-generic => 1.2.1, optparse-applicative => 0.14.0.0, turtle => 1.3.6
2017-06-11 23:31:48 -05:00
Parnell Springmeyer
9b39e78744 Initial public release of hocker 2017-05-14 15:25:57 -05:00