isabelle: provide perl LWP for remote_vampire

This commit is contained in:
Jakub Kądziołka 2021-01-28 11:05:39 +01:00
parent e686acb155
commit df410f8de7
No known key found for this signature in database
GPG key ID: E315A75846131564

View file

@ -1,4 +1,4 @@
{ lib, stdenv, fetchurl, perl, nettools, java, polyml, z3, rlwrap }:
{ lib, stdenv, fetchurl, perl, perlPackages, makeWrapper, nettools, java, polyml, z3, rlwrap }:
# nettools needed for hostname
stdenv.mkDerivation rec {
@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
sha256 = "1bibabhlsvf6qsjjkgxcpq3cvl1z7r8yfcgqbhbvsiv69n3gyfk3";
};
buildInputs = [ perl polyml z3 ]
buildInputs = [ perl polyml z3 makeWrapper ]
++ lib.optionals (!stdenv.isDarwin) [ nettools java ];
sourceRoot = dirname;
@ -64,6 +64,8 @@ stdenv.mkDerivation rec {
mv $TMP/$dirname $out
cd $out/$dirname
bin/isabelle install $out/bin
wrapProgram $out/$dirname/src/HOL/Tools/ATP/scripts/remote_atp --set PERL5LIB ${perlPackages.makeFullPerlPath [ perlPackages.LWP ]}
'';
meta = with lib; {