cpp-utilities: address common issues in the derivation
This commit is contained in:
parent
8ead9feb90
commit
8b33abc6de
1 changed files with 6 additions and 3 deletions
|
@ -1,7 +1,6 @@
|
|||
{ stdenv
|
||||
, lib
|
||||
, fetchFromGitHub
|
||||
, fetchpatch
|
||||
, cmake
|
||||
, cppunit
|
||||
}:
|
||||
|
@ -20,13 +19,17 @@ stdenv.mkDerivation rec {
|
|||
nativeBuildInputs = [ cmake ];
|
||||
checkInputs = [ cppunit ];
|
||||
# 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;
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/Martchus/cpp-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 ];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue