mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 09:53:10 +00:00
Merge pull request #110589 from siraben/cmake-buildinputs
This commit is contained in:
commit
2dde18a104
@ -11,8 +11,8 @@ stdenv.mkDerivation {
|
||||
sha256 = "1x3gdcz1gqhi060ngqi0ghryf69v8bn50yrbzfad8bhblvhzzdlf";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
buildInputs = [ cmake pcre zlib sqlite ];
|
||||
nativeBuildInputs = [ cmake pkg-config ];
|
||||
buildInputs = [ pcre zlib sqlite ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Programming language with macros and syntax at once";
|
||||
|
@ -15,7 +15,8 @@ stdenv.mkDerivation rec {
|
||||
|
||||
outputs = [ "out" "dev" "plugin" ];
|
||||
|
||||
buildInputs = [ c-blosc cmake hdf5 ];
|
||||
nativeBuildInputs = [ cmake ];
|
||||
buildInputs = [ c-blosc hdf5 ];
|
||||
|
||||
preConfigure = ''
|
||||
substituteInPlace CMakeLists.txt --replace 'set(BLOSC_INSTALL_DIR "''${CMAKE_CURRENT_BINARY_DIR}/blosc")' 'set(BLOSC_INSTALL_DIR "${c-blosc}")'
|
||||
|
Loading…
Reference in New Issue
Block a user