I am trying to enable the experimental lessopen
feature in bat
in an overlay, but nothing I try works and I cannot find any information anywhere on what else to try.
I have tried:
final: prev: {
bat = prev.bat.overrideAttrs (oldAttrs: {
buildFeatures = (oldAttrs.buildFeatures or [ ]) ++ [ "lessopen" ];
}
}
and
final: prev: {
bat = prev.bat.overrideAttrs (oldAttrs: {
cargoDeps = oldAttrs.cargoDeps.overrideAttrs (_: {
buildFeatures = (oldAttrs.buildFeatures or [ ]) ++ [ "lessopen" ];
});
}
but it does not seem to change anything.
When I try invalidating the hash like this:
final: prev: {
bat = prev.bat.overrideAttrs (oldAttrs: {
cargoDeps = oldAttrs.cargoDeps.overrideAttrs (_: {
buildFeatures = (oldAttrs.buildFeatures or [ ]) ++ [ "lessopen" ];
outputHash = "sha256-AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=";
});
});
}
I just get the same hash as the vanilla bat
package.