lean: add wrapper for linja
This commit is contained in:
parent
36c430de12
commit
8a26d9b84f
@ -1,5 +1,5 @@
|
|||||||
{ stdenv, fetchFromGitHub, cmake, gmp, mpfr, luajit, boost, python
|
{ stdenv, fetchFromGitHub, cmake, gmp, mpfr, luajit, boost, python
|
||||||
, gperftools, ninja }:
|
, gperftools, ninja, makeWrapper }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "lean-${version}";
|
name = "lean-${version}";
|
||||||
@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "1gr024bly92kdjky5qvcm96gn86ijakziiyrsz91h643n1iyxhms";
|
sha256 = "1gr024bly92kdjky5qvcm96gn86ijakziiyrsz91h643n1iyxhms";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ gmp mpfr luajit boost cmake python gperftools ninja ];
|
buildInputs = [ gmp mpfr luajit boost cmake python gperftools ninja makeWrapper ];
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
preConfigure = ''
|
preConfigure = ''
|
||||||
@ -22,6 +22,10 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
cmakeFlags = [ "-DCMAKE_BUILD_TYPE=Release" ];
|
cmakeFlags = [ "-DCMAKE_BUILD_TYPE=Release" ];
|
||||||
|
|
||||||
|
postInstall = ''
|
||||||
|
wrapProgram $out/bin/linja --prefix PATH : $out/bin:${ninja}/bin
|
||||||
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "Automatic and interactive theorem prover";
|
description = "Automatic and interactive theorem prover";
|
||||||
homepage = "http://leanprover.github.io";
|
homepage = "http://leanprover.github.io";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user