diff options
author | Matthew Pickering <matthewtpickering@gmail.com> | 2017-11-06 18:18:59 +0000 |
---|---|---|
committer | Matthew Pickering <matthewtpickering@gmail.com> | 2018-02-07 19:25:50 +0000 |
commit | 947e7d80b41d9dea1739c23bf512f26d1c30703b (patch) | |
tree | 5f78026b58db3846acdec430863bf9a62fa9280a /pkgs/development/idris-modules/lightyear.nix | |
parent | 8d55538f973813c8db45e9434bc7f742290a1fd0 (diff) |
Refactor Idris packaging infrastructure
The main two changes are 1. Completely rewrite how with-packages works to remove use of envHooks 2. The package description is now an idris specific set rather than being a subset of the arguments to mkDerivation. This mirrors the way Haskell packages are treated.
Diffstat (limited to 'pkgs/development/idris-modules/lightyear.nix')
-rw-r--r-- | pkgs/development/idris-modules/lightyear.nix | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/pkgs/development/idris-modules/lightyear.nix b/pkgs/development/idris-modules/lightyear.nix index 27828e6f41f63..e217e76e2a788 100644 --- a/pkgs/development/idris-modules/lightyear.nix +++ b/pkgs/development/idris-modules/lightyear.nix @@ -10,8 +10,11 @@ let date = "2017-09-10"; in -build-idris-package { - name = "lightyear-${date}"; +build-idris-package { + name = "lightyear"; + version = date; + + idrisDeps = [ prelude base effects ]; src = fetchFromGitHub { owner = "ziman"; @@ -20,8 +23,6 @@ build-idris-package { sha256 = "05x66abhpbdm6yr0afbwfk6w04ysdk78gylj5alhgwhy4jqakv29"; }; - propagatedBuildInputs = [ prelude base effects ]; - meta = { description = "Parser combinators for Idris"; homepage = https://github.com/ziman/lightyear; |