libzip: Fix static build
Don't build the regression tests because they don't build with pkgsStatic and are not executed anyway.
This commit is contained in:
parent
bd1f8edffd
commit
b97f46c807
|
@ -32,6 +32,10 @@ stdenv.mkDerivation rec {
|
||||||
++ lib.optionals withOpenssl [ openssl ]
|
++ lib.optionals withOpenssl [ openssl ]
|
||||||
++ lib.optionals withZstd [ zstd ];
|
++ lib.optionals withZstd [ zstd ];
|
||||||
|
|
||||||
|
# Don't build the regression tests because they don't build with
|
||||||
|
# pkgsStatic and are not executed anyway.
|
||||||
|
cmakeFlags = [ "-DBUILD_REGRESS=0" ];
|
||||||
|
|
||||||
preCheck = ''
|
preCheck = ''
|
||||||
# regress/runtest is a generated file
|
# regress/runtest is a generated file
|
||||||
patchShebangs regress
|
patchShebangs regress
|
||||||
|
|
Loading…
Reference in a new issue