mas: add unsupported system throw

This commit is contained in:
zowoq
2025-12-23 00:43:00 +10:00
parent 0ced0781c7
commit 33059472ae
+2 -1
View File
@@ -26,7 +26,8 @@ stdenvNoCC.mkDerivation rec {
hash = "sha256-8zaZOPOCyLHOFmHhviJXIy5SB5trqQM/MFHhB9ygilQ=";
};
}
.${stdenvNoCC.hostPlatform.system};
.${stdenvNoCC.hostPlatform.system}
or (throw "Unsupported system: ${stdenvNoCC.hostPlatform.system}");
in
fetchurl {
url = "https://github.com/mas-cli/mas/releases/download/v${version}/mas-${version}-${sources.arch}.pkg";