nix: fix paths to bzip outputs
This commit is contained in:
parent
4101db0bec
commit
e36dd5acf8
@ -24,8 +24,8 @@ stdenv.mkDerivation rec {
|
||||
# would end up using the wrong bzip2 when cross-compiling.
|
||||
# XXX: The right thing would be to reinstate `--with-bzip2' in Nix.
|
||||
postUnpack =
|
||||
'' export CPATH="${bzip2}/include"
|
||||
export LIBRARY_PATH="${bzip2}/lib"
|
||||
'' export CPATH="${bzip2.dev}/include"
|
||||
export LIBRARY_PATH="${bzip2.out}/lib"
|
||||
export CXXFLAGS="-Wno-error=reserved-user-defined-literal"
|
||||
'';
|
||||
|
||||
|
@ -22,8 +22,8 @@ stdenv.mkDerivation rec {
|
||||
# would end up using the wrong bzip2 when cross-compiling.
|
||||
# XXX: The right thing would be to reinstate `--with-bzip2' in Nix.
|
||||
postUnpack =
|
||||
'' export CPATH="${bzip2}/include"
|
||||
export LIBRARY_PATH="${bzip2}/lib"
|
||||
'' export CPATH="${bzip2.dev}/include"
|
||||
export LIBRARY_PATH="${bzip2.out}/lib"
|
||||
export CXXFLAGS="-Wno-error=reserved-user-defined-literal"
|
||||
'';
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user