manticore: fix compiling pml sources

Compiler depends on sources that weren't present in the output.
This commit is contained in:
Willi Butz 2017-03-25 19:43:42 +01:00
parent 65593e64c4
commit 53dde42153
No known key found for this signature in database
GPG Key ID: 92582A10F1179CB2

View File

@ -21,7 +21,19 @@ in stdenv.mkDerivation rec {
autoreconfFlags = "-Iconfig -vfi"; autoreconfFlags = "-Iconfig -vfi";
postPatch = "patchShebangs ."; unpackPhase = ''
mkdir -p $out
cd $out
unpackFile $src
mv manticore_temp_mirror-${rev}-src repo_checkout
cd repo_checkout
chmod u+w . -R
'';
postPatch = ''
patchShebangs .
substituteInPlace configure.ac --replace 'MANTICORE_ROOT=`pwd`' 'MANTICORE_ROOT=$out/repo_checkout'
'';
preInstall = "mkdir -p $out/bin"; preInstall = "mkdir -p $out/bin";