mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-22 04:45:39 +00:00
teleport: darwin unbroken
This commit is contained in:
parent
523e0c0310
commit
90ee91b6d6
@ -181,12 +181,6 @@ buildGoModule rec {
|
||||
platforms = platforms.unix;
|
||||
# go-libfido2 is broken on platforms with less than 64-bit because it defines an array
|
||||
# which occupies more than 31 bits of address space.
|
||||
broken = stdenv.hostPlatform.parsed.cpu.bits < 64 ||
|
||||
# See comment about wasm32-unknown-unknown in rustc.nix.
|
||||
# version 15 is the first that starts to use wasm
|
||||
(lib.versionAtLeast version "15") && (
|
||||
lib.any (a: lib.hasAttr a stdenv.hostPlatform.gcc) [ "cpu" "float-abi" "fpu" ] ||
|
||||
!stdenv.hostPlatform.gcc.thumb or true
|
||||
);
|
||||
broken = stdenv.hostPlatform.parsed.cpu.bits < 64;
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user