summary refs log tree commit diff
path: root/pkgs/top-level/static.nix
diff options
context:
space:
mode:
authorAlexander Bantyev <balsoft75@gmail.com>2019-11-20 17:56:47 +0300
committerAlexander Bantyev <balsoft75@gmail.com>2019-11-26 18:03:56 +0300
commit9c9a0e9cab3b1fc6376e36114d0899c8ae372680 (patch)
treefbcc1d29cbe88d192a5a8de0f634f824c79f2e39 /pkgs/top-level/static.nix
parent78ec0e60c20b7671a922149e78547fb36d006035 (diff)
downloadnixpkgs-9c9a0e9cab3b1fc6376e36114d0899c8ae372680.tar
nixpkgs-9c9a0e9cab3b1fc6376e36114d0899c8ae372680.tar.gz
nixpkgs-9c9a0e9cab3b1fc6376e36114d0899c8ae372680.tar.bz2
nixpkgs-9c9a0e9cab3b1fc6376e36114d0899c8ae372680.tar.lz
nixpkgs-9c9a0e9cab3b1fc6376e36114d0899c8ae372680.tar.xz
nixpkgs-9c9a0e9cab3b1fc6376e36114d0899c8ae372680.tar.zst
nixpkgs-9c9a0e9cab3b1fc6376e36114d0899c8ae372680.zip
kmod: make pkgsStatic.kmod build
Diffstat (limited to 'pkgs/top-level/static.nix')
-rw-r--r--pkgs/top-level/static.nix8
1 files 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; };
 }