mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 06:31:02 +00:00
Merge pull request #103169 from freezeboy/tests-pugixml2
pugixml: move check steps to preCheck hook
This commit is contained in:
commit
d6af03762b
|
@ -24,10 +24,10 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
# Hack to be able to run the test, broken because we use
|
# Hack to be able to run the test, broken because we use
|
||||||
# CMAKE_SKIP_BUILD_RPATH to avoid cmake resetting rpath on install
|
# CMAKE_SKIP_BUILD_RPATH to avoid cmake resetting rpath on install
|
||||||
preBuild = if stdenv.isDarwin then ''
|
preCheck = if stdenv.isDarwin then ''
|
||||||
export DYLD_LIBRARY_PATH="`pwd`''${DYLD_LIBRARY_PATH:+:}$DYLD_LIBRARY_PATH"
|
export DYLD_LIBRARY_PATH="$(pwd)''${DYLD_LIBRARY_PATH:+:}$DYLD_LIBRARY_PATH"
|
||||||
'' else ''
|
'' else ''
|
||||||
export LD_LIBRARY_PATH="`pwd`''${LD_LIBRARY_PATH:+:}$LD_LIBRARY_PATH"
|
export LD_LIBRARY_PATH="$(pwd)''${LD_LIBRARY_PATH:+:}$LD_LIBRARY_PATH"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
preConfigure = ''
|
preConfigure = ''
|
||||||
|
|
Loading…
Reference in a new issue