mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-03 13:30:36 +00:00
manticore: fix compiling pml sources
Compiler depends on sources that weren't present in the output.
(cherry picked from commit 53dde42153)
This commit is contained in:
committed by
Robin Gloster
parent
77243451fe
commit
fc7b87af70
@@ -21,7 +21,19 @@ in stdenv.mkDerivation rec {
|
||||
|
||||
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";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user