Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

faust2: fix build #13815

Merged
merged 1 commit into from
Mar 10, 2016
Merged

faust2: fix build #13815

merged 1 commit into from
Mar 10, 2016

Conversation

joachifm
Copy link
Contributor

Fixes #12749

The build failure was caused by brittle detection of the
llvm version. See the code for (excessive) details. This fix
is a quick hack, a proper fix would be to parse the version
of the input llvm derivation and use that to derive a proper
value. Here we just pin the version & set a known good value.

Also move build-time deps to nativeBuildInputs.

Ref: #13559

Fixes NixOS#12749

The build failure was caused by brittle detection of the
llvm version. See the code for (excessive) details. This fix
is a quick hack, a proper fix would be to parse the version
of the input llvm derivation and use that to derive a proper
value. Here we just pin the version.

Also move build-time deps to `nativeBuildInputs`.
@mention-bot
Copy link

By analyzing the blame information on this pull request, we identified @magnetophon, @pmahoney and @zimbatm to be potential reviewers

@zimbatm
Copy link
Member

zimbatm commented Mar 10, 2016

Would it be possible to export the LLVM version as a passtrough and then use llvm.version as a form of detection ?

The change seems LGTM otherwise.

@joachifm
Copy link
Contributor Author

@zimbatm I'd hoped that this was already in place, but alas, so that sounds good to me. That would still not be quite good enough for faust, because they match the entire version. The version 3.7.0 might be accepted, but 3.7.1 (or whatever) wouldn't ... As I don't use faust, I'm not too keen on spending too much more time on this.

@zimbatm
Copy link
Member

zimbatm commented Mar 10, 2016

Ack, let's merge this

zimbatm added a commit that referenced this pull request Mar 10, 2016
@zimbatm zimbatm merged commit 585a9c2 into NixOS:master Mar 10, 2016
@magnetophon
Copy link
Member

@joachifm: thanks a lot!

@joachifm joachifm deleted the fix-faust2 branch March 13, 2016 10:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

faust2 won't build anymore
4 participants