rPackages.torch: fix build

This commit is contained in:
Justin Bedo
2023-06-27 23:28:33 +10:00
parent 4ef0369ff2
commit bc592fb843
+6
View File
@@ -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