kernel-modules: use linuxArch instead of case expression
This commit is contained in:
parent
891d6e5f20
commit
c9e4c1b0da
1 changed files with 1 additions and 5 deletions
|
@ -11,11 +11,7 @@
|
|||
}:
|
||||
let
|
||||
writeConfig = import ../kernel/write-kconfig.nix { inherit lib writeText; };
|
||||
arch = if stdenv.isMips
|
||||
then "mips"
|
||||
else if stdenv.isAarch64
|
||||
then "arm64"
|
||||
else throw "unknown arch";
|
||||
arch = stdenv.hostPlatform.linuxArch;
|
||||
in stdenv.mkDerivation {
|
||||
name = "kernel-modules";
|
||||
|
||||
|
|
Loading…
Reference in a new issue