ngrok-2: isArm -> isAarch32

This commit is contained in:
Bernardo Meurer 2020-01-02 20:36:01 -08:00 committed by Frederik Rietdijk
parent e41e1822a0
commit 0fb7ae83ad

View file

@ -5,8 +5,8 @@ with stdenv.lib;
let versions = builtins.fromJSON (builtins.readFile ./versions.json);
arch = if stdenv.isi686 then "386"
else if stdenv.isx86_64 then "amd64"
else if stdenv.isAarch32 then "arm"
else if stdenv.isAarch64 then "arm64"
else if stdenv.isArm then "arm"
else throw "Unsupported architecture";
os = if stdenv.isLinux then "linux"
else if stdenv.isDarwin then "darwin"