saleae-logic: Use platforms instead of assert

This commit is contained in:
Artturin
2024-12-08 22:01:38 +02:00
parent e700e52405
commit 40e543da83
+1 -3
View File
@@ -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 ];
};
}