I have a flake that downloads an EXE and unpacks it to get to an Electron app that's inside it for unofficially supported Linux support. I've previously done something similar with MacOS DMG files.
I think there will always be pointers to various files on the internet that we don't have controlled fetchers for. Flakes seems to be able to handle these pretty well with an input type of file. Is there any reason this can't be supported with flake-compat?
I think a solution could give this project what getFlakes returns for these file inputs:
{
narHash = "sha256-…=";
outPath = "/nix/store/…-source";
}
I have a flake that downloads an EXE and unpacks it to get to an Electron app that's inside it for unofficially supported Linux support. I've previously done something similar with MacOS DMG files.
I think there will always be pointers to various files on the internet that we don't have controlled fetchers for. Flakes seems to be able to handle these pretty well with an input type of
file. Is there any reason this can't be supported withflake-compat?I think a solution could give this project what
getFlakesreturns for thesefileinputs: