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:
committed by
Graham Christensen
parent
76bf375a16
commit
3a110ea3f9
@@ -44,7 +44,7 @@ assert stdenv.system == "i686-linux"
|
||||
assert swingSupport -> xorg != null;
|
||||
|
||||
let
|
||||
abortArch = abort "jdk requires i686-linux, x86_64-linux, aarch64-linux or armv7l-linux";
|
||||
abortArch = throw "Unsupported system: ${stdenv.system}";
|
||||
|
||||
/**
|
||||
* The JRE libraries are in directories that depend on the CPU.
|
||||
|
||||
Reference in New Issue
Block a user