mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-22 13:43:22 +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
27 lines
856 B
Nix
27 lines
856 B
Nix
{
|
|
mkDerivation, lib,
|
|
extra-cmake-modules,
|
|
cups, ki18n,
|
|
kconfig, kconfigwidgets, kdbusaddons, kiconthemes, kcmutils, kio,
|
|
knotifications, kwidgetsaddons, kwindowsystem, kitemviews, plasma-framework,
|
|
qtdeclarative
|
|
}:
|
|
|
|
mkDerivation {
|
|
pname = "print-manager";
|
|
meta = {
|
|
license = [ lib.licenses.gpl2 ];
|
|
maintainers = [ lib.maintainers.ttuegel ];
|
|
};
|
|
nativeBuildInputs = [ extra-cmake-modules ];
|
|
buildInputs = [ cups ki18n ];
|
|
propagatedBuildInputs = [
|
|
kconfig kconfigwidgets kdbusaddons kiconthemes kcmutils knotifications
|
|
kwidgetsaddons kitemviews kio kwindowsystem plasma-framework qtdeclarative
|
|
];
|
|
outputs = [ "out" "dev" ];
|
|
# Fix build with cups deprecations etc.
|
|
# See: https://github.com/NixOS/nixpkgs/issues/73334
|
|
env.NIX_CFLAGS_COMPILE = "-Wno-error=deprecated-declarations -Wno-error=format-security";
|
|
}
|