mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-29 00:53:57 +00:00
f9fdf2d402
with structuredAttrs lists will be bash arrays which cannot be exported which will be a issue with some patches and some wrappers like cc-wrapper this makes it clearer that NIX_CFLAGS_COMPILE must be a string as lists in env cause a eval failure
16 lines
340 B
Nix
16 lines
340 B
Nix
{ mkDerivation
|
|
, lib
|
|
, extra-cmake-modules
|
|
, libksysguard
|
|
, libnl
|
|
, lm_sensors
|
|
, networkmanager-qt
|
|
}:
|
|
|
|
mkDerivation {
|
|
pname = "ksystemstats";
|
|
env.NIX_CFLAGS_COMPILE = toString [ "-I${lib.getBin libksysguard}/share" ];
|
|
nativeBuildInputs = [ extra-cmake-modules ];
|
|
buildInputs = [ libksysguard libnl lm_sensors networkmanager-qt ];
|
|
}
|