mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-04-17 04:48:38 +00:00
saleae-logic: Use platforms instead of assert
This commit is contained in:
parent
e700e52405
commit
40e543da83
@ -22,8 +22,6 @@ let
|
||||
|
||||
in
|
||||
|
||||
assert stdenv.hostPlatform.system == "x86_64-linux";
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "saleae-logic";
|
||||
version = "1.2.18";
|
||||
@ -92,7 +90,7 @@ stdenv.mkDerivation rec {
|
||||
homepage = "https://www.saleae.com/";
|
||||
sourceProvenance = with sourceTypes; [ binaryNativeCode ];
|
||||
license = licenses.unfree;
|
||||
platforms = platforms.linux;
|
||||
platforms = intersectLists platforms.x86_64 platforms.linux;
|
||||
maintainers = [ maintainers.bjornfor ];
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user