Skip to content

contrib: Add MIME type check and flag for goshy - #81

Open
riotbib wants to merge 1 commit into
oxzi:mainfrom
riotbib:goshy-mime
Open

contrib: Add MIME type check and flag for goshy#81
riotbib wants to merge 1 commit into
oxzi:mainfrom
riotbib:goshy-mime

Conversation

@riotbib

@riotbib riotbib commented Jun 30, 2026

Copy link
Copy Markdown
Contributor

Without this information added to curl's POST request some browsers like Firefox don't display video/mp4 inside the app, but want to download the video.

If the flag is not used manually, goshy now guesses the MIME type.

This adds file and gawk as dependencies for goshy.

While adding those to the NixOS module I noticed that buildInputs didn't add the deps to the PATH; but passing those to wrapProgram worked. Since bash and curl are installed by default on NixOS, I guess this was never noticed.

Also added qrencode as dep for goshy on NixOS packaging.

Without this information added to curl's POST request some browsers like
Firefox don't display `video/mp4` inside the app, but want to download
the video.

If the flag is not used manually, goshy now guesses the MIME type.

This adds `file` and `gawk` as dependencies for goshy.

While adding those to the NixOS module I noticed that `buildInputs`
didn't add the deps to the PATH; but passing those to `wrapProgram`
worked. Since `bash` and `curl` are installed by default on NixOS, I guess
this was never noticed.

Also added `qrencode` as dep for goshy on NixOS packaging.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant