about summary refs log tree commit diff
path: root/pkgs/development/libraries/vte
diff options
context:
space:
mode:
authorYureka <yuka@yuka.dev>2022-10-10 23:07:47 +0200
committerGitHub <noreply@github.com>2022-10-10 23:07:47 +0200
commitbb49ddebc9d706d122a63fb16b5f6867feb11570 (patch)
tree0a5c98926c288c4976cd997758c6e8e0ebaf4859 /pkgs/development/libraries/vte
parent2f631dc7f38d81bd62b07f879d8ee73236242874 (diff)
pkgsMusl.vte: fix build (#193930)
Diffstat (limited to 'pkgs/development/libraries/vte')
-rw-r--r--pkgs/development/libraries/vte/default.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/pkgs/development/libraries/vte/default.nix b/pkgs/development/libraries/vte/default.nix
index 342bb32e56096..0ddff4d1812ab 100644
--- a/pkgs/development/libraries/vte/default.nix
+++ b/pkgs/development/libraries/vte/default.nix
@@ -83,6 +83,9 @@ stdenv.mkDerivation rec {
     "-D_b_symbolic_functions=false"
   ];
 
+  # error: argument unused during compilation: '-pie' [-Werror,-Wunused-command-line-argument]
+  NIX_CFLAGS_COMPILE = lib.optionalString stdenv.hostPlatform.isMusl "-Wno-unused-command-line-argument";
+
   postPatch = ''
     patchShebangs perf/*
     patchShebangs src/box_drawing_generate.sh