diff options
Diffstat (limited to 'nixpkgs/pkgs/development/libraries/cl')
-rw-r--r-- | nixpkgs/pkgs/development/libraries/cl/default.nix | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/nixpkgs/pkgs/development/libraries/cl/default.nix b/nixpkgs/pkgs/development/libraries/cl/default.nix index a4b526ea25d3..1f98635f15dd 100644 --- a/nixpkgs/pkgs/development/libraries/cl/default.nix +++ b/nixpkgs/pkgs/development/libraries/cl/default.nix @@ -1,4 +1,4 @@ -{lib, stdenv, fetchFromGitHub, rebar, erlang, opencl-headers, ocl-icd }: +{ lib, stdenv, fetchFromGitHub, rebar, erlang, opencl-headers, ocl-icd }: stdenv.mkDerivation rec { version = "1.2.4"; @@ -11,6 +11,12 @@ stdenv.mkDerivation rec { sha256 = "1gwkjl305a0231hz3k0w448dsgbgdriaq764sizs5qfn59nzvinz"; }; + # https://github.com/tonyrog/cl/issues/39 + postPatch = '' + substituteInPlace c_src/Makefile \ + --replace "-m64" "" + ''; + buildInputs = [ erlang rebar opencl-headers ocl-icd ]; buildPhase = '' @@ -29,8 +35,6 @@ stdenv.mkDerivation rec { homepage = "https://github.com/tonyrog/cl"; description = "OpenCL binding for Erlang"; license = licenses.mit; - # https://github.com/tonyrog/cl/issues/39 - broken = stdenv.isAarch64; platforms = platforms.linux; }; } |