From bc592fb8434a1ff9462ef3126905dbe600e8d031 Mon Sep 17 00:00:00 2001 From: Justin Bedo Date: Tue, 27 Jun 2023 23:28:33 +1000 Subject: [PATCH] rPackages.torch: fix build --- pkgs/development/r-modules/default.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pkgs/development/r-modules/default.nix b/pkgs/development/r-modules/default.nix index 3bdbf494c0b9..879824fc7467 100644 --- a/pkgs/development/r-modules/default.nix +++ b/pkgs/development/r-modules/default.nix @@ -1341,6 +1341,12 @@ let textshaping = old.textshaping.overrideAttrs (attrs: { env.NIX_LDFLAGS = "-lfribidi -lharfbuzz"; }); + + torch = old.torch.overrideAttrs (attrs: { + preConfigure = '' + patchShebangs configure + ''; + }); }; in self