diff --git a/pkgs/development/libraries/ada/gnatcoll/core.nix b/pkgs/development/libraries/ada/gnatcoll/core.nix index 171e9b99eec3d..64ea1ac12b915 100644 --- a/pkgs/development/libraries/ada/gnatcoll/core.nix +++ b/pkgs/development/libraries/ada/gnatcoll/core.nix @@ -41,6 +41,8 @@ stdenv.mkDerivation rec { homepage = "https://github.com/AdaCore/gnatcoll-core"; description = "GNAT Components Collection - Core packages"; license = licenses.gpl3Plus; + # https://github.com/NixOS/nixpkgs/pull/211526 + broken = stdenv.isDarwin; maintainers = [ maintainers.sternenseemann ]; platforms = platforms.all; }; diff --git a/pkgs/development/ocaml-modules/arp/default.nix b/pkgs/development/ocaml-modules/arp/default.nix index 63c1e090662cb..e999c6db52e5f 100644 --- a/pkgs/development/ocaml-modules/arp/default.nix +++ b/pkgs/development/ocaml-modules/arp/default.nix @@ -1,4 +1,5 @@ { lib +, stdenv , buildDunePackage , fetchurl , cstruct @@ -62,6 +63,7 @@ buildDunePackage rec { meta = with lib; { description = "Address Resolution Protocol purely in OCaml"; homepage = "https://github.com/mirage/arp"; + broken = stdenv.isDarwin; license = licenses.isc; maintainers = with maintainers; [ sternenseemann ]; }; diff --git a/pkgs/development/ocaml-modules/llvm/default.nix b/pkgs/development/ocaml-modules/llvm/default.nix index 948d326d65945..f89f1e48dabe4 100644 --- a/pkgs/development/ocaml-modules/llvm/default.nix +++ b/pkgs/development/ocaml-modules/llvm/default.nix @@ -43,6 +43,8 @@ stdenv.mkDerivation { meta = { inherit (libllvm.meta) license homepage; inherit (ocaml.meta) platforms; + # Error copying file "/tmp/nix-build-ocaml-llvm-10.0.1.drv-0/llvm-10.0.1.src/build/bindings/ocaml/llvm/dllllvm.dylib" to "/tmp/nix-build-ocaml-llvm-10.0.1.drv-0/llvm-10.0.1.src/build/./lib/ocaml/llvm/". + broken = stdenv.isDarwin; description = "OCaml bindings distributed with LLVM"; maintainers = with lib.maintainers; [ vbgl ]; }; diff --git a/pkgs/development/ocaml-modules/soundtouch/default.nix b/pkgs/development/ocaml-modules/soundtouch/default.nix index fc79664d06bbe..420c143ca290f 100644 --- a/pkgs/development/ocaml-modules/soundtouch/default.nix +++ b/pkgs/development/ocaml-modules/soundtouch/default.nix @@ -1,4 +1,4 @@ -{ lib, buildDunePackage, fetchFromGitHub, dune-configurator, soundtouch }: +{ lib, stdenv, buildDunePackage, fetchFromGitHub, dune-configurator, soundtouch }: buildDunePackage rec { pname = "soundtouch"; @@ -17,6 +17,8 @@ buildDunePackage rec { meta = with lib; { homepage = "https://github.com/savonet/ocaml-soundtouch"; description = "Bindings for the soundtouch library which provides functions for changing pitch and timestretching audio data"; + # fatal error: 'vector' file not found + broken = stdenv.isDarwin; license = licenses.lgpl21Plus; maintainers = with maintainers; [ dandellion ]; }; diff --git a/pkgs/development/ocaml-modules/taglib/default.nix b/pkgs/development/ocaml-modules/taglib/default.nix index 95b5ae04578ff..888256441341c 100644 --- a/pkgs/development/ocaml-modules/taglib/default.nix +++ b/pkgs/development/ocaml-modules/taglib/default.nix @@ -1,4 +1,4 @@ -{ lib, buildDunePackage, fetchFromGitHub, dune-configurator, pkg-config, taglib, zlib }: +{ lib, stdenv, buildDunePackage, fetchFromGitHub, dune-configurator, pkg-config, taglib, zlib }: buildDunePackage rec { pname = "taglib"; @@ -20,6 +20,8 @@ buildDunePackage rec { meta = with lib; { homepage = "https://github.com/savonet/ocaml-taglib"; description = "Bindings for the taglib library which provides functions for reading tags in headers of audio files"; + # fatal error: 'string' file not found + broken = stdenv.isDarwin; license = with licenses; [ lgpl21Plus "link-exception" ]; # GNU Library Public License 2 Linking Exception maintainers = with maintainers; [ dandellion ]; }; diff --git a/pkgs/development/python-modules/torch/default.nix b/pkgs/development/python-modules/torch/default.nix index d9cf4e5760d88..374ba885ac2a8 100644 --- a/pkgs/development/python-modules/torch/default.nix +++ b/pkgs/development/python-modules/torch/default.nix @@ -408,6 +408,17 @@ in buildPythonPackage rec { license = licenses.bsd3; maintainers = with maintainers; [ teh thoughtpolice tscholak ]; # tscholak esp. for darwin-related builds platforms = with platforms; linux ++ lib.optionals (!cudaSupport || !rocmSupport) darwin; - broken = rocmSupport && cudaSupport; # CUDA and ROCm are mutually exclusive + # For darwin: + # last 10 log lines: + # > void *ptr = ::aligned_alloc(align,(size+align-1)&(~(align-1))); + # > ^~~~~~~~~~~~~~~ + # > aligned_alloc + # > /tmp/nix-build-python3.10-torch-2.0.0.drv-0/source/third_party/pocketfft/pocketfft_hdronly.h:153:14: note: 'aligned_alloc' declared here + # > inline void *aligned_alloc(size_t align, size_t size) + # > ^ + # > 1 error generated. + # > [4848/5670] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/mkldnn/ConvPrepack.cpp.op.o + # > ninja: build stopped: subcommand failed. + broken = stdenv.isDarwin && stdenv.isx86_64 || rocmSupport && cudaSupport; # CUDA and ROCm are mutually exclusive }; }