forked from mirrors/nixpkgs
78178d5854
This moves libsystemd.so and libudev.so into systemd.lib, and gets rid of libudev (which just contained a copy of libudev.so and the udev headers). It thus reduces the closure size of all packages that (indirectly) depend on libsystemd, of which there are quite a few (for instance, PulseAudio and dbus). For example, it reduces the closure of Blender from 430.8 to 400.8 MiB.
13 lines
241 B
Nix
13 lines
241 B
Nix
{ qtSubmodule, qtbase, substituteAll, systemd }:
|
|
|
|
qtSubmodule {
|
|
name = "qtserialport";
|
|
qtInputs = [ qtbase ];
|
|
patches = [
|
|
(substituteAll {
|
|
src = ./0001-dlopen-serialport-udev.patch;
|
|
libudev = systemd.lib;
|
|
})
|
|
];
|
|
}
|