From eb34adff558f6b0d5da10dd6450acf993f8262cc Mon Sep 17 00:00:00 2001 From: Weijia Wang <9713184+wegank@users.noreply.github.com> Date: Mon, 22 May 2023 20:43:41 +0300 Subject: [PATCH] python310Packages.torch: drop util-linux --- pkgs/development/python-modules/torch/default.nix | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/torch/default.nix b/pkgs/development/python-modules/torch/default.nix index c9db241af4a1..9b639c467826 100644 --- a/pkgs/development/python-modules/torch/default.nix +++ b/pkgs/development/python-modules/torch/default.nix @@ -1,11 +1,11 @@ -{ stdenv, lib, fetchFromGitHub, fetchpatch, buildPythonPackage, python, +{ stdenv, lib, fetchFromGitHub, buildPythonPackage, python, cudaSupport ? false, cudaPackages, magma, useSystemNccl ? true, MPISupport ? false, mpi, buildDocs ? false, # Native build inputs - cmake, util-linux, linkFarm, symlinkJoin, which, pybind11, removeReferencesTo, + cmake, linkFarm, symlinkJoin, which, pybind11, removeReferencesTo, pythonRelaxDepsHook, # Build inputs @@ -39,7 +39,7 @@ # dependencies for torch.utils.tensorboard pillow, six, future, tensorboard, protobuf, - isPy3k, pythonOlder, + pythonOlder, # ROCm dependencies rocmSupport ? false, @@ -277,7 +277,6 @@ in buildPythonPackage rec { nativeBuildInputs = [ cmake - util-linux which ninja pybind11