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:
@@ -4,7 +4,7 @@ let
|
||||
arch = {
|
||||
"x86_64-linux" = "x64";
|
||||
"i686-linux" = "i386";
|
||||
}.${stdenv.system};
|
||||
}.${stdenv.system} or (throw "Unsupported system: ${stdenv.system}");
|
||||
libPath = stdenv.lib.makeLibraryPath [ stdenv.cc.libc ];
|
||||
|
||||
in stdenv.mkDerivation rec {
|
||||
|
||||
Reference in New Issue
Block a user