mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-14 15:36:47 +03:00
Merge pull request #89243 from andersk/libversion-LD_LIBRARY_PATH
libversion: Fix unsafe concatenation of $LD_LIBRARY_PATH
This commit is contained in:
commit
03147cf7ae
@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
|
||||
nativeBuildInputs = [ cmake ];
|
||||
|
||||
preCheck = ''
|
||||
export LD_LIBRARY_PATH=/build/source/build/libversion/:$LD_LIBRARY_PATH
|
||||
export LD_LIBRARY_PATH=/build/source/build/libversion/''${LD_LIBRARY_PATH:+:}$LD_LIBRARY_PATH
|
||||
'';
|
||||
doCheck = true;
|
||||
checkTarget = "test";
|
||||
|
Loading…
Reference in New Issue
Block a user