summary refs log tree commit diff
path: root/pkgs/desktops/plasma-5
diff options
context:
space:
mode:
authorArtturin <Artturin@artturin.com>2023-02-19 21:23:07 +0200
committerArtturin <Artturin@artturin.com>2023-02-22 21:23:04 +0200
commit6f6cc4a22db345c66bcb69c26469b0140ca3be44 (patch)
treee851a90035e6371da52a64732344873f43de0195 /pkgs/desktops/plasma-5
parent425e4250dbaab761b638542119b9c5cc604f1d86 (diff)
downloadnixpkgs-6f6cc4a22db345c66bcb69c26469b0140ca3be44.tar
nixpkgs-6f6cc4a22db345c66bcb69c26469b0140ca3be44.tar.gz
nixpkgs-6f6cc4a22db345c66bcb69c26469b0140ca3be44.tar.bz2
nixpkgs-6f6cc4a22db345c66bcb69c26469b0140ca3be44.tar.lz
nixpkgs-6f6cc4a22db345c66bcb69c26469b0140ca3be44.tar.xz
nixpkgs-6f6cc4a22db345c66bcb69c26469b0140ca3be44.tar.zst
nixpkgs-6f6cc4a22db345c66bcb69c26469b0140ca3be44.zip
treewide: use toString on list NIX_CFLAGS_COMPILE
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
Diffstat (limited to 'pkgs/desktops/plasma-5')
-rw-r--r--pkgs/desktops/plasma-5/ksystemstats.nix2
-rw-r--r--pkgs/desktops/plasma-5/plasma-workspace/default.nix2
2 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/desktops/plasma-5/ksystemstats.nix b/pkgs/desktops/plasma-5/ksystemstats.nix
index 6b04d055eac..fead4deca6b 100644
--- a/pkgs/desktops/plasma-5/ksystemstats.nix
+++ b/pkgs/desktops/plasma-5/ksystemstats.nix
@@ -9,7 +9,7 @@
 
 mkDerivation {
   pname = "ksystemstats";
-  NIX_CFLAGS_COMPILE = [ "-I${lib.getBin libksysguard}/share" ];
+  NIX_CFLAGS_COMPILE = toString [ "-I${lib.getBin libksysguard}/share" ];
   nativeBuildInputs = [ extra-cmake-modules ];
   buildInputs = [ libksysguard libnl lm_sensors networkmanager-qt ];
 }
diff --git a/pkgs/desktops/plasma-5/plasma-workspace/default.nix b/pkgs/desktops/plasma-5/plasma-workspace/default.nix
index 252b6a9fac5..4996280f5e7 100644
--- a/pkgs/desktops/plasma-5/plasma-workspace/default.nix
+++ b/pkgs/desktops/plasma-5/plasma-workspace/default.nix
@@ -162,7 +162,7 @@ mkDerivation {
     ln -sf $out/bin/kcminit $out/bin/kcminit_startup
   '';
 
-  NIX_CFLAGS_COMPILE = [
+  NIX_CFLAGS_COMPILE = toString [
     ''-DNIXPKGS_XMESSAGE="${getBin xmessage}/bin/xmessage"''
     ''-DNIXPKGS_XSETROOT="${getBin xsetroot}/bin/xsetroot"''
     ''-DNIXPKGS_START_KDEINIT_WRAPPER="${getLib kinit}/libexec/kf5/start_kdeinit_wrapper"''