btrfs-progs: depends on udev, not systemd
The btrfs-progs source code does not depend on systemd. It does, however, optionally depend on a udev implementation such as eudev or systemd-udevd. Let's express this dependency correctly, so that nixpkgs users who choose eudev instead of systemd-udevd don't get a build failure.
This commit is contained in:
parent
fcc7311dc7
commit
38f7252d34
|
@ -1,7 +1,7 @@
|
|||
{ lib, stdenv, fetchurl
|
||||
, asciidoc, docbook_xml_dtd_45, docbook_xsl, libxslt, pkg-config, python3, xmlto
|
||||
, zstd
|
||||
, acl, attr, e2fsprogs, libuuid, lzo, systemd, zlib
|
||||
, acl, attr, e2fsprogs, libuuid, lzo, udev, zlib
|
||||
, runCommand, btrfs-progs
|
||||
}:
|
||||
|
||||
|
@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
|
|||
python3 python3.pkgs.setuptools
|
||||
];
|
||||
|
||||
buildInputs = [ acl attr e2fsprogs libuuid lzo python3 zlib zstd ] ++ lib.optionals stdenv.hostPlatform.isGnu [ systemd ];
|
||||
buildInputs = [ acl attr e2fsprogs libuuid lzo python3 zlib zstd ] ++ lib.optionals stdenv.hostPlatform.isGnu [ udev ];
|
||||
|
||||
# for python cross-compiling
|
||||
_PYTHON_HOST_PLATFORM = stdenv.hostPlatform.config;
|
||||
|
|
Loading…
Reference in a new issue