build libusb1 without libatomic
This commit is contained in:
parent
8b6aa2134e
commit
9dbc285605
13
overlay.nix
13
overlay.nix
@ -272,9 +272,16 @@ extraPkgs // {
|
|||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
libusb1 = prev.libusb1.override {
|
libusb1 =
|
||||||
enableUdev = final.stdenv.buildPlatform == final.stdenv.hostPlatform;
|
let u = prev.libusb1.overrideAttrs(o: {
|
||||||
};
|
# don't use gcc libatomic because it vastly increases the
|
||||||
|
# closure size
|
||||||
|
preConfigure = "sed -i.bak /__atomic_fetch_add_4/c\: configure.ac";
|
||||||
|
});
|
||||||
|
in u.override {
|
||||||
|
enableUdev = final.stdenv.buildPlatform == final.stdenv.hostPlatform;
|
||||||
|
withDocs = false;
|
||||||
|
};
|
||||||
|
|
||||||
util-linux-small = prev.util-linux.override {
|
util-linux-small = prev.util-linux.override {
|
||||||
ncursesSupport = false;
|
ncursesSupport = false;
|
||||||
|
Loading…
Reference in New Issue
Block a user