cpp-utilities: address common issues in the derivation
This commit is contained in:
parent
8ead9feb90
commit
8b33abc6de
|
@ -1,7 +1,6 @@
|
||||||
{ stdenv
|
{ stdenv
|
||||||
, lib
|
, lib
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, fetchpatch
|
|
||||||
, cmake
|
, cmake
|
||||||
, cppunit
|
, cppunit
|
||||||
}:
|
}:
|
||||||
|
@ -20,13 +19,17 @@ stdenv.mkDerivation rec {
|
||||||
nativeBuildInputs = [ cmake ];
|
nativeBuildInputs = [ cmake ];
|
||||||
checkInputs = [ cppunit ];
|
checkInputs = [ cppunit ];
|
||||||
# Otherwise, tests fail since the resulting shared object libc++utilities.so is only available in PWD of the make files
|
# Otherwise, tests fail since the resulting shared object libc++utilities.so is only available in PWD of the make files
|
||||||
checkFlagsArray = [ "LD_LIBRARY_PATH=$(PWD)" ];
|
preCheck = ''
|
||||||
|
checkFlagsArray+=(
|
||||||
|
"LD_LIBRARY_PATH=$PWD"
|
||||||
|
)
|
||||||
|
'';
|
||||||
doCheck = true;
|
doCheck = true;
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
homepage = "https://github.com/Martchus/cpp-utilities";
|
homepage = "https://github.com/Martchus/cpp-utilities";
|
||||||
description = "Common C++ classes and routines used by @Martchus' applications featuring argument parser, IO and conversion utilities";
|
description = "Common C++ classes and routines used by @Martchus' applications featuring argument parser, IO and conversion utilities";
|
||||||
license = licenses.gpl2;
|
license = licenses.gpl2Plus;
|
||||||
maintainers = with maintainers; [ doronbehar ];
|
maintainers = with maintainers; [ doronbehar ];
|
||||||
platforms = platforms.linux;
|
platforms = platforms.linux;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue