bison: explicitly set strictDeps
see the comment
This commit is contained in:
parent
9069477be3
commit
62e002d1cd
|
@ -18,6 +18,11 @@ stdenv.mkDerivation rec {
|
|||
# Otherwise tests fail due to incorrect unicode symbol oconversion.
|
||||
configurePlatforms = [ "build" "host" ];
|
||||
|
||||
# there's a /bin/sh shebang in bin/yacc which when no strictDeps is patched with the build stdenv shell
|
||||
# however when cross-compiling it would still be patched with the build stdenv shell which would be wrong
|
||||
# cannot add bash to buildInputs due to infinite recursion
|
||||
strictDeps = stdenv.hostPlatform != stdenv.buildPlatform;
|
||||
|
||||
nativeBuildInputs = [ m4 perl ] ++ lib.optional stdenv.isSunOS help2man;
|
||||
propagatedBuildInputs = [ m4 ];
|
||||
|
||||
|
|
Loading…
Reference in a new issue