summary refs log tree commit diff
path: root/pkgs/os-specific/linux/kmod
diff options
context:
space:
mode:
authorJohn Ericson <John.Ericson@Obsidian.Systems>2021-01-03 21:40:14 +0000
committerJohn Ericson <John.Ericson@Obsidian.Systems>2021-01-03 21:46:14 +0000
commit5c2965145f322386d45db04c409fd2f8a3c3b478 (patch)
tree67c42ad4baaf5a9f52e8623310a3e381b2004cb8 /pkgs/os-specific/linux/kmod
parent9c9c6461ba79a6c233741760045f3b44be5924dd (diff)
downloadnixpkgs-5c2965145f322386d45db04c409fd2f8a3c3b478.tar
nixpkgs-5c2965145f322386d45db04c409fd2f8a3c3b478.tar.gz
nixpkgs-5c2965145f322386d45db04c409fd2f8a3c3b478.tar.bz2
nixpkgs-5c2965145f322386d45db04c409fd2f8a3c3b478.tar.lz
nixpkgs-5c2965145f322386d45db04c409fd2f8a3c3b478.tar.xz
nixpkgs-5c2965145f322386d45db04c409fd2f8a3c3b478.tar.zst
nixpkgs-5c2965145f322386d45db04c409fd2f8a3c3b478.zip
treewide: Inline more of the static overlay
Picking up where #107238 left off. I think I'll have gotten all the easy
stuff with this.
Diffstat (limited to 'pkgs/os-specific/linux/kmod')
-rw-r--r--pkgs/os-specific/linux/kmod/default.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/os-specific/linux/kmod/default.nix b/pkgs/os-specific/linux/kmod/default.nix
index 805b8a32aed..56fd4c353d9 100644
--- a/pkgs/os-specific/linux/kmod/default.nix
+++ b/pkgs/os-specific/linux/kmod/default.nix
@@ -1,6 +1,7 @@
 { stdenv, lib, fetchurl, autoreconfHook, pkgconfig
 , libxslt, xz, elf-header
-, withStatic ? false }:
+, withStatic ? stdenv.hostPlatform.isStatic
+}:
 
 let
   systems = [ "/run/current-system/kernel-modules" "/run/booted-system/kernel-modules" "" ];