zenith-nvidia: move assert to meta.platforms check (#427201)
This commit is contained in:
commit
0382d0a27b
@ -7,8 +7,6 @@
|
|||||||
makeWrapper,
|
makeWrapper,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
assert nvidiaSupport -> stdenv.hostPlatform.isLinux;
|
|
||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
pname = "zenith";
|
pname = "zenith";
|
||||||
version = "0.14.1";
|
version = "0.14.1";
|
||||||
@ -45,6 +43,6 @@ rustPlatform.buildRustPackage rec {
|
|||||||
homepage = "https://github.com/bvaisvil/zenith";
|
homepage = "https://github.com/bvaisvil/zenith";
|
||||||
license = licenses.mit;
|
license = licenses.mit;
|
||||||
maintainers = with maintainers; [ wegank ];
|
maintainers = with maintainers; [ wegank ];
|
||||||
platforms = platforms.unix;
|
platforms = if nvidiaSupport then platforms.linux else platforms.unix;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user