git.iko.soy/typeable/nixpkgs
on master help sign in
coq-coqeal: fix installation
dfbef0dVincent Laporte
pkgs/development/coq-modules/coqeal/default.nix+9−4
@@ -1,4 +1,4 @@
1−{stdenv, fetchgit, coq, ssreflect, mathcomp}:
1+{ stdenv, fetchgit, coq, mathcomp }:
2
2
3stdenv.mkDerivation rec {
3stdenv.mkDerivation rec {
4
4
@@ -11,10 +11,15 @@ stdenv.mkDerivation rec {
11 sha256 = "1cvjz0yyqihdx1hp1h9x5x14kv9qf3rjhgqq4f7rv8bxcv9p1gv3";
11 sha256 = "1cvjz0yyqihdx1hp1h9x5x14kv9qf3rjhgqq4f7rv8bxcv9p1gv3";
12 };
12 };
13
13
14− buildInputs = [ coq.ocaml coq.camlp5 ssreflect mathcomp ];
14+ propagatedBuildInputs = [ mathcomp ];
15− propagatedBuildInputs = [ coq ];
16
15
17− preConfigure = "cd theory";
16+ preConfigure = ''
17+ cd theory
18+ patch ./Make <<EOF
19+ 0a1
20+ > -R . CoqEAL
21+ EOF
22+ '';
18
23
19 installFlags = "COQLIB=$(out)/lib/coq/${coq.coq-version}/";
24 installFlags = "COQLIB=$(out)/lib/coq/${coq.coq-version}/";
20
25