treewide platform checks: abort -> throw
They aren't meant to be critical (uncatchable) errors. Tested with nix-env + checkMeta: [ "x86_64-linux" "i686-linux" "x86_64-darwin" "aarch64-linux" ]
This commit is contained in:
@@ -9,7 +9,7 @@ let
|
||||
"macosx"
|
||||
else if stdenv.system == "aarch64-linux" then
|
||||
"linux-arm"
|
||||
else abort "Platform ${stdenv.system} not yet supported.";
|
||||
else throw "Platform ${stdenv.system} not yet supported.";
|
||||
in
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
|
||||
Reference in New Issue
Block a user