diff --git a/pkgs/by-name/ct/ctranslate2/package.nix b/pkgs/by-name/ct/ctranslate2/package.nix index 35e175647aaf..812a6d88286f 100644 --- a/pkgs/by-name/ct/ctranslate2/package.nix +++ b/pkgs/by-name/ct/ctranslate2/package.nix @@ -51,13 +51,6 @@ stdenv'.mkDerivation (finalAttrs: { 'CMAKE_MINIMUM_REQUIRED(VERSION 3.10 FATAL_ERROR)' sed -e '1i #include ' -i third_party/cxxopts/include/cxxopts.hpp - - # Prevent setting the default nvcc arch flags, which can be - # ones that don't work with the current CUDA version - substituteInPlace CMakeLists.txt \ - --replace-fail \ - 'list(APPEND CUDA_NVCC_FLAGS ''${ARCH_FLAGS})' \ - "" ''; nativeBuildInputs = [