diff options
author | John Ericson <John.Ericson@Obsidian.Systems> | 2021-01-03 21:40:14 +0000 |
---|---|---|
committer | John Ericson <John.Ericson@Obsidian.Systems> | 2021-01-03 21:46:14 +0000 |
commit | 5c2965145f322386d45db04c409fd2f8a3c3b478 (patch) | |
tree | 67c42ad4baaf5a9f52e8623310a3e381b2004cb8 /pkgs/os-specific/linux/kmod | |
parent | 9c9c6461ba79a6c233741760045f3b44be5924dd (diff) | |
download | nixpkgs-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.nix | 3 |
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" "" ]; |