nix: native: Downgrade file

Use the same version as in debian.
Fixes libmagic building:

Cannot use the installed version of file (5.48) to
cross-compile file 5.46
Please install file 5.46 locally first
This commit is contained in:
Konstantin Shabanov 2026-08-02 16:40:45 +07:00
parent d2007a1562
commit fdab0202b9

View File

@ -116,7 +116,16 @@
cmake
curl
doxygen
file
(file.overrideAttrs (attrs: {
version = "5.46";
src = fetchurl {
urls = [
"https://astron.com/pub/file/file-5.46.tar.gz"
"https://distfiles.macports.org/file/file-5.46.tar.gz"
];
hash = "sha256-ycx3x8VgxUMTXtxVWvYJ1WGdvvARmX6YjOQKPXXYYIg=";
};
}))
flex
gettext
gnumake