From 89e9c49bf451066bfd82ff39b604d25dec990e52 Mon Sep 17 00:00:00 2001 From: Dmitry Bogatov Date: Sat, 17 Oct 2020 00:00:00 -0400 Subject: [PATCH] keyutils: fix static build --- pkgs/os-specific/linux/keyutils/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/os-specific/linux/keyutils/default.nix b/pkgs/os-specific/linux/keyutils/default.nix index fb06f942e482..fe9cb46fb8a9 100644 --- a/pkgs/os-specific/linux/keyutils/default.nix +++ b/pkgs/os-specific/linux/keyutils/default.nix @@ -23,6 +23,8 @@ stdenv.mkDerivation rec { ./conf-symlink.patch ]; + makeFlags = stdenv.lib.optionals stdenv.hostPlatform.isStatic "NO_SOLIB=1"; + BUILDDATE = "1970-01-01"; outputs = [ "out" "lib" "dev" ];