Repository navigation
Conversation
Member
|
Once #1434 is fixed we can probably fix this properly (by pointing to |
Member
|
/usr/bin/env doesn't exist in NixOS chroots. |
Member
Author
|
So much for that, then :) I'll just keep this as an local override on my Ubuntu installation until it's fixed properly. |
Member
|
I also believe it's best to solve by #1434. |
This was referenced Mar 5, 2014
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The expression for glibc incorrectly assumes that
/bin/shis bash. That's fine on NixOS, but when running Nix on other distributions, the scripts shipped with glibc may be broken. This is particularly bad on Debian-based systems, where/bin/shis dash!The solution I propose is to use
/usr/bin/env bashinstead. This works on NixOS, and the location ofenvis standardized by the LSB specification, so it should work on ~all distributions. This fixes several builds that were failing on Ubuntu becauselddwas broken.Thanks to @ktosiek for pointing out that
lddis a script and that/bin/shis not bash on Ubuntu!