lol

zenith-nvidia: move assert to meta.platforms check (#427201)

authored by

Weijia Wang and committed by
GitHub
0382d0a2 c11631af

+1 -3
+1 -3
pkgs/by-name/ze/zenith/package.nix
··· 7 7 makeWrapper, 8 8 }: 9 9 10 - assert nvidiaSupport -> stdenv.hostPlatform.isLinux; 11 - 12 10 rustPlatform.buildRustPackage rec { 13 11 pname = "zenith"; 14 12 version = "0.14.1"; ··· 45 43 homepage = "https://github.com/bvaisvil/zenith"; 46 44 license = licenses.mit; 47 45 maintainers = with maintainers; [ wegank ]; 48 - platforms = platforms.unix; 46 + platforms = if nvidiaSupport then platforms.linux else platforms.unix; 49 47 }; 50 48 }