amdgpu-pro: make error message actionable

This commit is contained in:
Adam Joseph 2023-11-22 16:46:21 -08:00 committed by Jörg Thalheim
parent 920e6f7eaa
commit 1ac5c75337

View File

@ -27,7 +27,7 @@ let
"i386-linux-gnu"
else if stdenv.hostPlatform.system == "x86_64-linux" then
"x86_64-linux-gnu"
else throw "amdgpu-pro is Linux only. Sorry.";
else throw "amdgpu-pro is Linux only. Sorry ${stdenv.hostPlatform.system}.";
in stdenv.mkDerivation rec {