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
|
||||
if isx86_64 then "64bit"
|
||||
else
|
||||
if isi686 then "32bit"
|
||||
else abort "${system} not considered in build derivation. Might still be supported.";
|
||||
else throw "${system} not considered in build derivation. Might still be supported.";
|
||||
|
||||
in
|
||||
stdenv.mkDerivation {
|
||||
|
||||
Reference in New Issue
Block a user