mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-17 01:24:47 +00:00
smartmontools: build with systemdLibs on linux
This commit is contained in:
parent
58a8cfa7da
commit
d447b5366e
@ -6,6 +6,7 @@
|
||||
, gnused
|
||||
, hostname
|
||||
, mailutils
|
||||
, systemdLibs
|
||||
, IOKit
|
||||
, ApplicationServices
|
||||
}:
|
||||
@ -45,7 +46,8 @@ stdenv.mkDerivation rec {
|
||||
];
|
||||
|
||||
nativeBuildInputs = [ autoreconfHook ];
|
||||
buildInputs = lib.optionals stdenv.isDarwin [ IOKit ApplicationServices ];
|
||||
buildInputs = lib.optionals stdenv.isLinux [ systemdLibs ]
|
||||
++ lib.optionals stdenv.isDarwin [ IOKit ApplicationServices ];
|
||||
enableParallelBuilding = true;
|
||||
|
||||
meta = with lib; {
|
||||
|
Loading…
Reference in New Issue
Block a user