From da20893f54d05d9a4f9f582a0d4bff3a0d557900 Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Fri, 9 Jun 2023 08:30:38 +0200 Subject: [PATCH] python3Packages.torch-bin: remove useless patchelf --- pkgs/development/python-modules/torch/bin.nix | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/torch/bin.nix b/pkgs/development/python-modules/torch/bin.nix index ec8ec52b2430..3259f1fca185 100644 --- a/pkgs/development/python-modules/torch/bin.nix +++ b/pkgs/development/python-modules/torch/bin.nix @@ -38,10 +38,8 @@ in buildPythonPackage { src = fetchurl srcs."${stdenv.system}-${pyVerNoDot}" or unsupported; - nativeBuildInputs = [ + nativeBuildInputs = lib.optionals stdenv.isLinux [ addOpenGLRunpath - patchelf - ] ++ lib.optionals stdenv.isLinux [ autoPatchelfHook cudaPackages.autoAddOpenGLRunpathHook ];