feat: add most appropriate MIME types
https://www.iana.org/assignments/media-types/media-types.xhtml#image
This commit is contained in:
parent
e703be030e
commit
0523c8e926
1 changed files with 10 additions and 0 deletions
10
flake.nix
10
flake.nix
|
|
@ -58,6 +58,16 @@
|
||||||
desktopName = name;
|
desktopName = name;
|
||||||
icon = name;
|
icon = name;
|
||||||
exec = name;
|
exec = name;
|
||||||
|
mimeTypes = [
|
||||||
|
"image/png"
|
||||||
|
"image/jpeg"
|
||||||
|
"image/gif"
|
||||||
|
"image/webp"
|
||||||
|
"image/avif"
|
||||||
|
"image/tiff"
|
||||||
|
"image/bmp"
|
||||||
|
"image/vnd.microsoft.icon" # .ico
|
||||||
|
];
|
||||||
};
|
};
|
||||||
in
|
in
|
||||||
craneLib.buildPackage (
|
craneLib.buildPackage (
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue