stlink: fix Darwin build
Upstream supports various Unixes, so optimistically set platforms to `unix` even though we're only going to build it on Linux and Darwin.
This commit is contained in:
parent
051320062e
commit
ce5a090075
|
@ -27,7 +27,7 @@ stdenv.mkDerivation {
|
|||
meta = with stdenv.lib; {
|
||||
description = "In-circuit debug and programming for ST-Link devices";
|
||||
license = licenses.bsd3;
|
||||
platforms = platforms.linux;
|
||||
platforms = platforms.unix;
|
||||
maintainers = [ maintainers.bjornfor maintainers.rongcuid ];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -13097,7 +13097,10 @@ in
|
|||
|
||||
stfl = callPackage ../development/libraries/stfl { };
|
||||
|
||||
stlink = callPackage ../development/tools/misc/stlink { };
|
||||
stlink = callPackage ../development/tools/misc/stlink {
|
||||
# The Darwin build of stlink explicitly refers to static libusb.
|
||||
libusb1 = if stdenv.isDarwin then libusb1.override { withStatic = true; } else libusb1;
|
||||
};
|
||||
|
||||
steghide = callPackage ../tools/security/steghide {};
|
||||
|
||||
|
|
Loading…
Reference in a new issue