mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 17:33:09 +00:00
Merge pull request #236793 from GaetanLepage/torch
python3Packages.torch-bin: remove useless patchelf
This commit is contained in:
commit
e8cadb2394
@ -38,10 +38,8 @@ in buildPythonPackage {
|
|||||||
|
|
||||||
src = fetchurl srcs."${stdenv.system}-${pyVerNoDot}" or unsupported;
|
src = fetchurl srcs."${stdenv.system}-${pyVerNoDot}" or unsupported;
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = lib.optionals stdenv.isLinux [
|
||||||
addOpenGLRunpath
|
addOpenGLRunpath
|
||||||
patchelf
|
|
||||||
] ++ lib.optionals stdenv.isLinux [
|
|
||||||
autoPatchelfHook
|
autoPatchelfHook
|
||||||
cudaPackages.autoAddOpenGLRunpathHook
|
cudaPackages.autoAddOpenGLRunpathHook
|
||||||
];
|
];
|
||||||
|
Loading…
Reference in New Issue
Block a user