Merge pull request #86208 from arianvp/fix-linux-systemd-dep
linux: do not depend on systemd indirectly
This commit is contained in:
commit
fbc63c4a7b
1 changed files with 3 additions and 3 deletions
|
@ -1,6 +1,6 @@
|
|||
{ buildPackages, runCommand, nettools, bc, bison, flex, perl, rsync, gmp, libmpc, mpfr, openssl
|
||||
, libelf, cpio
|
||||
, utillinux
|
||||
, utillinuxMinimal
|
||||
, writeTextFile
|
||||
}:
|
||||
|
||||
|
@ -281,7 +281,7 @@ let
|
|||
in
|
||||
|
||||
assert stdenv.lib.versionAtLeast version "4.14" -> libelf != null;
|
||||
assert stdenv.lib.versionAtLeast version "4.15" -> utillinux != null;
|
||||
assert stdenv.lib.versionAtLeast version "4.15" -> utillinuxMinimal != null;
|
||||
stdenv.mkDerivation ((drvAttrs config stdenv.hostPlatform.platform kernelPatches configfile) // {
|
||||
pname = "linux";
|
||||
inherit version;
|
||||
|
@ -292,7 +292,7 @@ stdenv.mkDerivation ((drvAttrs config stdenv.hostPlatform.platform kernelPatches
|
|||
nativeBuildInputs = [ perl bc nettools openssl rsync gmp libmpc mpfr ]
|
||||
++ optional (stdenv.hostPlatform.platform.kernelTarget == "uImage") buildPackages.ubootTools
|
||||
++ optional (stdenv.lib.versionAtLeast version "4.14") libelf
|
||||
++ optional (stdenv.lib.versionAtLeast version "4.15") utillinux
|
||||
++ optional (stdenv.lib.versionAtLeast version "4.15") utillinuxMinimal
|
||||
++ optionals (stdenv.lib.versionAtLeast version "4.16") [ bison flex ]
|
||||
++ optional (stdenv.lib.versionAtLeast version "5.2") cpio
|
||||
;
|
||||
|
|
Loading…
Reference in a new issue