From 9c9a0e9cab3b1fc6376e36114d0899c8ae372680 Mon Sep 17 00:00:00 2001 From: Alexander Bantyev Date: Wed, 20 Nov 2019 17:56:47 +0300 Subject: [PATCH] kmod: make pkgsStatic.kmod build --- pkgs/top-level/static.nix | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/pkgs/top-level/static.nix b/pkgs/top-level/static.nix index d1708096032..bf75f700f77 100644 --- a/pkgs/top-level/static.nix +++ b/pkgs/top-level/static.nix @@ -51,7 +51,7 @@ self: super: let enableStaticLibraries = true; }); }; - + in { stdenv = foldl (flip id) super.stdenv staticAdapters; gcc49Stdenv = foldl (flip id) super.gcc49Stdenv staticAdapters; @@ -172,6 +172,10 @@ in { }; }; + kmod = super.kmod.override { + withStatic = true; + }; + curl = super.curl.override { # a very sad story: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=439039 gssSupport = false; @@ -195,6 +199,6 @@ in { }; }; }; - + python27 = super.python27.override { static = true; }; }