treewide: cmake buildInputs to nativeBuildInputs, minor cleanups
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
{ lib, stdenv, fetchFromGitHub, cmake, pkgconfig, libxml2, pcre
|
||||
{ lib, stdenv, fetchFromGitHub, cmake, pkg-config, libxml2, pcre
|
||||
, darwin}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
@@ -13,9 +13,8 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "1ym16fxx9qhf952vva71sdzgbm7ifis0h1n5fj1bfdj8zvvkbw5w";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkgconfig ];
|
||||
buildInputs = [ cmake ]
|
||||
++ lib.optionals stdenv.isDarwin (with darwin.apple_sdk.frameworks; [ AGL ]);
|
||||
nativeBuildInputs = [ cmake pkg-config ];
|
||||
buildInputs = lib.optionals stdenv.isDarwin (with darwin.apple_sdk.frameworks; [ AGL ]);
|
||||
|
||||
propagatedBuildInputs = [ libxml2 pcre ];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user