Skip to content

Commit

Permalink
faust2: fix build with llvm 5.0.2 (#40672)
Browse files Browse the repository at this point in the history
build was broken by  llvm: 5.0.1 -> 5.0.2 (#39979)
  • Loading branch information
xeji committed May 21, 2018
1 parent ccece05 commit a16c312
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions pkgs/applications/audio/faust/faust2.nix
Expand Up @@ -73,6 +73,13 @@ let
sed '52iLLVM_VERSION=${stdenv.lib.getVersion llvm}' -i compiler/Makefile.unix
'';

postPatch = ''
# fix build with llvm 5.0.2 by adding it to the list of known versions
# TODO: check if still needed on next update
substituteInPlace compiler/Makefile.unix \
--replace "5.0.0 5.0.1" "5.0.0 5.0.1 5.0.2"
'';

# Remove most faust2appl scripts since they won't run properly
# without additional paths setup. See faust.wrap,
# faust.wrapWithBuildEnv.
Expand Down Expand Up @@ -193,6 +200,7 @@ let

propagatedBuildInputs = [ faust ] ++ propagatedBuildInputs;


postFixup = ''
# export parts of the build environment
Expand Down

0 comments on commit a16c312

Please sign in to comment.