summary refs log tree commit diff
diff options
context:
space:
mode:
authorAna Hobden <operator@hoverbear.org>2021-11-21 21:02:04 -0800
committerAna Hobden <operator@hoverbear.org>2021-11-21 21:02:04 -0800
commite86fa71ba6785a563ae3c8b7ce4c8cf72f6ce3c0 (patch)
tree0aa3e66b19c6a192cd2af397b2d0070fcc9ba889
parent726f7c9688bad4574abee4f47565bf272daf8f81 (diff)
downloadnixpkgs-e86fa71ba6785a563ae3c8b7ce4c8cf72f6ce3c0.tar
nixpkgs-e86fa71ba6785a563ae3c8b7ce4c8cf72f6ce3c0.tar.gz
nixpkgs-e86fa71ba6785a563ae3c8b7ce4c8cf72f6ce3c0.tar.bz2
nixpkgs-e86fa71ba6785a563ae3c8b7ce4c8cf72f6ce3c0.tar.lz
nixpkgs-e86fa71ba6785a563ae3c8b7ce4c8cf72f6ce3c0.tar.xz
nixpkgs-e86fa71ba6785a563ae3c8b7ce4c8cf72f6ce3c0.tar.zst
nixpkgs-e86fa71ba6785a563ae3c8b7ce4c8cf72f6ce3c0.zip
shaderc: include darwin libtool
Signed-off-by: Ana Hobden <operator@hoverbear.org>
-rw-r--r--pkgs/development/compilers/shaderc/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/development/compilers/shaderc/default.nix b/pkgs/development/compilers/shaderc/default.nix
index 40c216d79c3..54238348f06 100644
--- a/pkgs/development/compilers/shaderc/default.nix
+++ b/pkgs/development/compilers/shaderc/default.nix
@@ -1,4 +1,4 @@
-{ lib, stdenv, fetchFromGitHub, cmake, python3 }:
+{ lib, stdenv, fetchFromGitHub, cmake, darwin, python3 }:
 # Like many google projects, shaderc doesn't gracefully support separately compiled dependencies, so we can't easily use
 # the versions of glslang and spirv-tools used by vulkan-loader. Exact revisions are taken from
 # https://github.com/google/shaderc/blob/known-good/known_good.json
@@ -42,7 +42,7 @@ in stdenv.mkDerivation rec {
     ln -s ${spirv-headers} third_party/spirv-tools/external/spirv-headers
   '';
 
-  nativeBuildInputs = [ cmake python3 ];
+  nativeBuildInputs = [ cmake darwin.cctools python3 ];
 
   postInstall = ''
     moveToOutput "lib/*.a" $static