summaryrefslogtreecommitdiffstats
path: root/pkgs/os-specific/linux/kernel/perf.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/os-specific/linux/kernel/perf.nix')
-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 faf6dabc2276..9f32e3e37ddb 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