double-conversion: remove the "static" option

pkgsStatic.double-conversion already has CMAKE_BUILD_SHARED set to OFF.
This commit is contained in:
Dmitry Kalinkin 2020-01-03 11:44:23 -05:00
parent 4541012bdb
commit bb890c4561
No known key found for this signature in database
GPG key ID: 06AF1D3C38F04E0E
2 changed files with 2 additions and 5 deletions

View file

@ -1,4 +1,4 @@
{ stdenv, lib, fetchFromGitHub, cmake, static ? false }:
{ stdenv, lib, fetchFromGitHub, cmake }:
stdenv.mkDerivation rec {
pname = "double-conversion";
@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ cmake ];
cmakeFlags = [ "-DBUILD_SHARED_LIBS=${if static then "OFF" else "ON"}" ];
cmakeFlags = [ "-DBUILD_SHARED_LIBS=ON" ];
# Case sensitivity issue
preConfigure = lib.optionalString stdenv.isDarwin ''

View file

@ -184,9 +184,6 @@ in {
static = true;
twisted = null;
};
double-conversion = super.double-conversion.override {
static = true;
};
gmp = super.gmp.override {
withStatic = true;
};