Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions pkgs/development/libraries/ada/gnatcoll/core.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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;
};
Expand Down
2 changes: 2 additions & 0 deletions pkgs/development/ocaml-modules/arp/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{ lib
, stdenv
, buildDunePackage
, fetchurl
, cstruct
Expand Down Expand Up @@ -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;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

missing comment

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed in #226657.

license = licenses.isc;
maintainers = with maintainers; [ sternenseemann ];
};
Expand Down
2 changes: 2 additions & 0 deletions pkgs/development/ocaml-modules/llvm/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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 ];
};
Expand Down
4 changes: 3 additions & 1 deletion pkgs/development/ocaml-modules/soundtouch/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ lib, buildDunePackage, fetchFromGitHub, dune-configurator, soundtouch }:
{ lib, stdenv, buildDunePackage, fetchFromGitHub, dune-configurator, soundtouch }:

buildDunePackage rec {
pname = "soundtouch";
Expand All @@ -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 ];
};
Expand Down
4 changes: 3 additions & 1 deletion pkgs/development/ocaml-modules/taglib/default.nix
Original file line number Diff line number Diff line change
@@ -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";
Expand All @@ -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 ];
};
Expand Down
13 changes: 12 additions & 1 deletion pkgs/development/python-modules/torch/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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
};
}