mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-16 17:14:00 +00:00
This commit is contained in:
parent
482b61e142
commit
579b812b0e
@ -88,10 +88,11 @@ in
|
||||
};
|
||||
|
||||
evdev-sys = attrs: {
|
||||
nativeBuildInputs =
|
||||
[ pkg-config
|
||||
python3 autoconf automake libtool # used only if HOST!=TARGET
|
||||
];
|
||||
nativeBuildInputs = [
|
||||
pkg-config
|
||||
] ++ lib.optionals (stdenv.buildPlatform.config != stdenv.hostPlatform.config) [
|
||||
python3 autoconf automake libtool
|
||||
];
|
||||
buildInputs = [ libevdev ];
|
||||
|
||||
# This prevents libevdev's build.rs from trying to `git fetch` when HOST!=TARGET
|
||||
|
Loading…
Reference in New Issue
Block a user