mas: add unsupported system throw (#473308)

This commit is contained in:
zowoq
2025-12-22 21:32:55 +00:00
committed by GitHub
+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";