summary refs log tree commit diff
path: root/pkgs/tools/filesystems/zkfuse
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/tools/filesystems/zkfuse
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/tools/filesystems/zkfuse')
-rw-r--r--pkgs/tools/filesystems/zkfuse/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/tools/filesystems/zkfuse/default.nix b/pkgs/tools/filesystems/zkfuse/default.nix
index 98c9ae525f4..ef364230430 100644
--- a/pkgs/tools/filesystems/zkfuse/default.nix
+++ b/pkgs/tools/filesystems/zkfuse/default.nix
@@ -26,7 +26,7 @@ stdenv.mkDerivation rec {
 
   # c++17 (gcc-11's default) breaks the build as:
   #   zkadapter.h:616:33: error: ISO C++17 does not allow dynamic exception specifications
-  NIX_CFLAGS_COMPILE = [ "-std=c++14" ];
+  NIX_CFLAGS_COMPILE = toString [ "-std=c++14" ];
 
   installPhase = ''
     mkdir -p $out/bin