diff --git a/pkgs/development/libraries/xxHash/default.nix b/pkgs/development/libraries/xxHash/default.nix index c78fc302afe4..f7461c878c23 100644 --- a/pkgs/development/libraries/xxHash/default.nix +++ b/pkgs/development/libraries/xxHash/default.nix @@ -22,10 +22,6 @@ stdenv.mkDerivation rec { # Using unofficial CMake build script to install CMake module files. cmakeDir = "../cmake_unofficial"; - cmakeFlags = [ - "-DBUILD_SHARED_LIBS=${if stdenv.hostPlatform.isStatic then "OFF" else "ON"}" - ]; - meta = with lib; { description = "Extremely fast hash algorithm"; longDescription = '' @@ -40,5 +36,8 @@ stdenv.mkDerivation rec { mainProgram = "xxhsum"; maintainers = with maintainers; [ orivej ]; platforms = platforms.all; + pkgConfigModules = [ + "libxxhash" + ]; }; }