summary refs log tree commit diff
diff options
context:
space:
mode:
authorGuillaume Girol <symphorien+git@xlumurb.eu>2022-04-24 12:00:00 +0000
committerGuillaume Girol <symphorien+git@xlumurb.eu>2022-04-24 23:20:48 +0200
commit15f685808fa7f192cb466d8ff6f607cb338df12b (patch)
treee38b806094892c69bea11b528242bb92a9d454e0
parent6694081af04c9cac0f97af88f14cf85599c58518 (diff)
downloadnixpkgs-15f685808fa7f192cb466d8ff6f607cb338df12b.tar
nixpkgs-15f685808fa7f192cb466d8ff6f607cb338df12b.tar.gz
nixpkgs-15f685808fa7f192cb466d8ff6f607cb338df12b.tar.bz2
nixpkgs-15f685808fa7f192cb466d8ff6f607cb338df12b.tar.lz
nixpkgs-15f685808fa7f192cb466d8ff6f607cb338df12b.tar.xz
nixpkgs-15f685808fa7f192cb466d8ff6f607cb338df12b.tar.zst
nixpkgs-15f685808fa7f192cb466d8ff6f607cb338df12b.zip
kbd: fix static build
-rw-r--r--pkgs/os-specific/linux/kbd/default.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkgs/os-specific/linux/kbd/default.nix b/pkgs/os-specific/linux/kbd/default.nix
index 4c89d8c8219..4d08a38dbe8 100644
--- a/pkgs/os-specific/linux/kbd/default.nix
+++ b/pkgs/os-specific/linux/kbd/default.nix
@@ -63,6 +63,7 @@ stdenv.mkDerivation rec {
   '';
 
   buildInputs = [ check pam ];
+  NIX_LDFLAGS = lib.optional stdenv.hostPlatform.isStatic "-laudit";
   nativeBuildInputs = [ autoreconfHook pkg-config flex ];
 
   passthru.tests = {