summary refs log tree commit diff
path: root/pkgs/development/coq-modules/hierarchy-builder/default.nix
diff options
context:
space:
mode:
authorCyril Cohen <cohen@crans.org>2021-02-19 19:34:30 +0100
committerVincent Laporte <vbgl@users.noreply.github.com>2022-05-25 20:00:25 +0200
commitd113661156581c835df4fe5521ffc64128772f18 (patch)
tree86aca8a3aa196d7bfc28dc28cb213262355c4c1c /pkgs/development/coq-modules/hierarchy-builder/default.nix
parent41a7a6caabeed1bfd596ac7accb88a7d4e1d189a (diff)
downloadnixpkgs-d113661156581c835df4fe5521ffc64128772f18.tar
nixpkgs-d113661156581c835df4fe5521ffc64128772f18.tar.gz
nixpkgs-d113661156581c835df4fe5521ffc64128772f18.tar.bz2
nixpkgs-d113661156581c835df4fe5521ffc64128772f18.tar.lz
nixpkgs-d113661156581c835df4fe5521ffc64128772f18.tar.xz
nixpkgs-d113661156581c835df4fe5521ffc64128772f18.tar.zst
nixpkgs-d113661156581c835df4fe5521ffc64128772f18.zip
coqPackages: etc
- put `findlib` in `buildInputs` of `mkCoqDerivation` to make sure `coq` packages find their ocaml plugin dependencies,
- use `propagatedBuildInputs` to make sure ocaml plugin dependencies are in path,
- updated `coqPackage.heq` (broken url),
- fixed use of `DESTDIR` and `COQMF_COQLIB` in mkCoqDerivation,
- adding `COQCORELIB` environement variable to put ocaml plugin files in the right place,
- make `metaFetch` available from `coqPackages`
Diffstat (limited to 'pkgs/development/coq-modules/hierarchy-builder/default.nix')
-rw-r--r--pkgs/development/coq-modules/hierarchy-builder/default.nix5
1 files changed, 1 insertions, 4 deletions
diff --git a/pkgs/development/coq-modules/hierarchy-builder/default.nix b/pkgs/development/coq-modules/hierarchy-builder/default.nix
index c0fa2d7c8e0..6f15fc80388 100644
--- a/pkgs/development/coq-modules/hierarchy-builder/default.nix
+++ b/pkgs/development/coq-modules/hierarchy-builder/default.nix
@@ -1,4 +1,4 @@
-{ lib, mkCoqDerivation, which, coq, coq-elpi, version ? null }:
+{ lib, mkCoqDerivation, coq, coq-elpi, version ? null }:
 
 with lib; let hb = mkCoqDerivation {
   pname = "hierarchy-builder";
@@ -17,13 +17,10 @@ with lib; let hb = mkCoqDerivation {
   release."0.10.0".sha256 = "1a3vry9nzavrlrdlq3cys3f8kpq3bz447q8c4c7lh2qal61wb32h";
   releaseRev = v: "v${v}";
 
-  extraNativeBuildInputs = [ which ];
-
   propagatedBuildInputs = [ coq-elpi ];
 
   mlPlugin = true;
 
-  installFlags = [ "DESTDIR=$(out)" "COQMF_COQLIB=lib/coq/${coq.coq-version}" ];
   extraInstallFlags = [ "VFILES=structures.v" ];
 
   meta = {