Skip to content

Commit

Permalink
manticore: fix compiling pml sources
Browse files Browse the repository at this point in the history
Compiler depends on sources that weren't present in the output.

(cherry picked from commit 53dde42)
  • Loading branch information
WilliButz authored and globin committed Mar 25, 2017
1 parent 7724345 commit fc7b87a
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion pkgs/development/compilers/manticore/default.nix
Expand Up @@ -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";

Expand Down

0 comments on commit fc7b87a

Please sign in to comment.