summary refs log tree commit diff
path: root/pkgs/os-specific/linux/kernel
diff options
context:
space:
mode:
authorRobin Gloster <mail@glob.in>2019-10-30 03:23:29 +0100
committerJan Tojnar <jtojnar@gmail.com>2019-12-31 00:15:46 +0100
commitf9f46dc327c7e659e84d558f1309e16e16e8245a (patch)
treef402e0b62191769e95e3199c3f635bb8ed7a6da3 /pkgs/os-specific/linux/kernel
parent5f2b92e3eca8bd2d34d98e82d63783f281363f8f (diff)
downloadnixpkgs-f9f46dc327c7e659e84d558f1309e16e16e8245a.tar
nixpkgs-f9f46dc327c7e659e84d558f1309e16e16e8245a.tar.gz
nixpkgs-f9f46dc327c7e659e84d558f1309e16e16e8245a.tar.bz2
nixpkgs-f9f46dc327c7e659e84d558f1309e16e16e8245a.tar.lz
nixpkgs-f9f46dc327c7e659e84d558f1309e16e16e8245a.tar.xz
nixpkgs-f9f46dc327c7e659e84d558f1309e16e16e8245a.tar.zst
nixpkgs-f9f46dc327c7e659e84d558f1309e16e16e8245a.zip
treewide: NIX_*_FLAGS -> string
Diffstat (limited to 'pkgs/os-specific/linux/kernel')
-rw-r--r--pkgs/os-specific/linux/kernel/perf.nix14
1 files changed, 7 insertions, 7 deletions
diff --git a/pkgs/os-specific/linux/kernel/perf.nix b/pkgs/os-specific/linux/kernel/perf.nix
index faf6dabc227..9f32e3e37dd 100644
--- a/pkgs/os-specific/linux/kernel/perf.nix
+++ b/pkgs/os-specific/linux/kernel/perf.nix
@@ -46,13 +46,13 @@ stdenv.mkDerivation {
 
   # Note: we don't add elfutils to buildInputs, since it provides a
   # bad `ld' and other stuff.
-  NIX_CFLAGS_COMPILE =
-    [ "-Wno-error=cpp"
-      "-Wno-error=bool-compare"
-      "-Wno-error=deprecated-declarations"
-      "-DOBJDUMP_PATH=\"${binutils}/bin/objdump\""
-      "-Wno-error=stringop-truncation"
-    ];
+  NIX_CFLAGS_COMPILE = toString [
+    "-Wno-error=cpp"
+    "-Wno-error=bool-compare"
+    "-Wno-error=deprecated-declarations"
+    "-DOBJDUMP_PATH=\"${binutils}/bin/objdump\""
+    "-Wno-error=stringop-truncation"
+  ];
 
   doCheck = false; # requires "sparse"
   doInstallCheck = false; # same