rPackages.torch: fix build

This commit is contained in:
Justin Bedo 2023-06-27 23:28:33 +10:00
parent 4ef0369ff2
commit bc592fb843
No known key found for this signature in database
GPG key ID: 2C18202C56C182BD

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