diff options
author | Pavol Rusnak <pavol@rusnak.io> | 2021-11-08 16:58:19 +0100 |
---|---|---|
committer | Pavol Rusnak <pavol@rusnak.io> | 2021-11-08 17:04:15 +0100 |
commit | 4c5fbc98d2989c5ddf63056db3ee382f42d87e9c (patch) | |
tree | adf4797ff44b484710aa8e7a1548ec471ec6d25e /pkgs/development/compilers | |
parent | 8ea85579554a49e55a0c6953ee305b3ad3b2f8f1 (diff) |
gcc-arm-embedded-{9,10}: enable on aarch64-darwin
(using x86_64-darwin binaries, these can be run if rosetta is installed)
Diffstat (limited to 'pkgs/development/compilers')
-rw-r--r-- | pkgs/development/compilers/gcc-arm-embedded/10/default.nix | 4 | ||||
-rw-r--r-- | pkgs/development/compilers/gcc-arm-embedded/9/default.nix | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/pkgs/development/compilers/gcc-arm-embedded/10/default.nix b/pkgs/development/compilers/gcc-arm-embedded/10/default.nix index 67d775eb7cd81..53c9ac806e786 100644 --- a/pkgs/development/compilers/gcc-arm-embedded/10/default.nix +++ b/pkgs/development/compilers/gcc-arm-embedded/10/default.nix @@ -11,6 +11,7 @@ stdenv.mkDerivation rec { release = "10.3-2021.10"; suffix = { + aarch64-darwin = "mac"; # use intel binaries via rosetta aarch64-linux = "aarch64-linux"; x86_64-darwin = "mac"; x86_64-linux = "x86_64-linux"; @@ -19,6 +20,7 @@ stdenv.mkDerivation rec { src = fetchurl { url = "https://developer.arm.com/-/media/Files/downloads/gnu-rm/${release}/gcc-arm-none-eabi-${release}-${suffix}.tar.bz2"; sha256 = { + aarch64-darwin = "0fr8pki2g4bfk1rk90dzwql37d0b71ngzs9zyx0g2jainan3sqgv"; aarch64-linux = "020j8gkzc0i0b74vz98gvngnwjm5222j1gk5nswfk6587krba1gn"; x86_64-darwin = "0fr8pki2g4bfk1rk90dzwql37d0b71ngzs9zyx0g2jainan3sqgv"; x86_64-linux = "18y92vpl22hf74yqdvmpw8adrkl92s4crzzs6avm05md37qb9nwp"; @@ -49,6 +51,6 @@ stdenv.mkDerivation rec { homepage = "https://developer.arm.com/open-source/gnu-toolchain/gnu-rm"; license = with licenses; [ bsd2 gpl2 gpl3 lgpl21 lgpl3 mit ]; maintainers = with maintainers; [ prusnak ]; - platforms = [ "x86_64-linux" "aarch64-linux" "x86_64-darwin" ]; + platforms = [ "x86_64-linux" "aarch64-linux" "x86_64-darwin" "aarch64-darwin" ]; }; } diff --git a/pkgs/development/compilers/gcc-arm-embedded/9/default.nix b/pkgs/development/compilers/gcc-arm-embedded/9/default.nix index c625134508e36..2254b600772d3 100644 --- a/pkgs/development/compilers/gcc-arm-embedded/9/default.nix +++ b/pkgs/development/compilers/gcc-arm-embedded/9/default.nix @@ -12,6 +12,7 @@ stdenv.mkDerivation rec { subdir = "9-2020q2"; suffix = { + aarch64-darwin = "mac"; # use intel binaries via rosetta aarch64-linux = "aarch64-linux"; x86_64-darwin = "mac"; x86_64-linux = "x86_64-linux"; @@ -20,6 +21,7 @@ stdenv.mkDerivation rec { src = fetchurl { url = "https://developer.arm.com/-/media/Files/downloads/gnu-rm/${subdir}/gcc-arm-none-eabi-${release}-${suffix}.tar.bz2"; sha256 = { + aarch64-darwin = "1ils9z16wrvglh72m428y5irmd36biq79yj86756whib8izbifdv"; aarch64-linux = "1b5q2y710hy7lddj8vj3zl54gfl74j30kx3hk3i81zrcbv16ah8z"; x86_64-darwin = "1ils9z16wrvglh72m428y5irmd36biq79yj86756whib8izbifdv"; x86_64-linux = "07zi2yr5gvhpbij5pnj49zswb9g2gw7zqp4xwwniqmq477h2xp2s"; @@ -50,6 +52,6 @@ stdenv.mkDerivation rec { homepage = "https://developer.arm.com/open-source/gnu-toolchain/gnu-rm"; license = with licenses; [ bsd2 gpl2 gpl3 lgpl21 lgpl3 mit ]; maintainers = with maintainers; [ prusnak ]; - platforms = [ "x86_64-linux" "aarch64-linux" "x86_64-darwin" ]; + platforms = [ "x86_64-linux" "aarch64-linux" "x86_64-darwin" "aarch64-darwin" ]; }; } |