### Nixpkgs version
- Unstable (25.11)
### Describe the bug
After installing …Bluemail using
``` nix
home.packages = with pkgs; [
bluemail
];
```
The program installs. However when I try and load it momentarily opens then crashes.
```
Can we update the main derivation so that it adds that command line option by default? Or fix the reason the
### Steps to reproduce
From CLI I see the following error
``` bash
❯ bluemail
26/05/2025, 16:04:55 :: Main thread initialized
26/05/2025, 16:04:55 :: Getting system flags
26/05/2025, 16:04:55 :: isLinux true
26/05/2025, 16:04:55 :: isMac false
26/05/2025, 16:04:55 :: isWindows false
26/05/2025, 16:04:55 :: isWindowsExeBuild false
26/05/2025, 16:04:55 :: isWindowsStoreBuild false
26/05/2025, 16:04:55 :: Retrieving process agrs
26/05/2025, 16:04:55 :: #0: || /nix/store/dfk1x7cglxnsd2bsg6ysan44ak8r07s0-bluemail-1.140.8-1922/bluemail || type: string -- /nix/store/dfk1x7cglxnsd2bsg6ysan44ak8r07s0-bluemail-1.140.8-1922/bluemail
26/05/2025, 16:04:55 :: Retrieving LoginItemSettings
26/05/2025, 16:04:55 :: {"openAtLogin":false,"openAsHidden":false,"restoreState":false,"wasOpenedAtLogin":false,"wasOpenedAsHidden":false}
/nix/store/gwvwba438v6z5wwl6s3wdzm2jvi9ma60-xdg-utils-1.2.1/bin/xdg-mime: line 863: qtpaths: command not found
/nix/store/gwvwba438v6z5wwl6s3wdzm2jvi9ma60-xdg-utils-1.2.1/bin/xdg-mime: line 863: qtpaths: command not found
Gtk-Message: 16:04:57.783: Failed to load module "appmenu-gtk-module": 'gtk_module_display_init': /run/current-system/sw/lib/gtk-3.0/modules/libcolorreload-gtk-module.so: undefined symbol: gtk_module_display_init
26/05/2025, 16:04:57 :: APP child-process-gone, uptimeSeconds: 2, exitCode: 159, reason: crashed, type: GPU, serviceName: GPU, name: na
26/05/2025, 16:04:58 :: APP child-process-gone, uptimeSeconds: 2, exitCode: 159, reason: crashed, type: GPU, serviceName: GPU, name: na
26/05/2025, 16:04:58 :: APP child-process-gone, uptimeSeconds: 2, exitCode: 159, reason: crashed, type: GPU, serviceName: GPU, name: na
26/05/2025, 16:04:58 :: APP child-process-gone, uptimeSeconds: 2, exitCode: 159, reason: crashed, type: GPU, serviceName: GPU, name: na
26/05/2025, 16:04:58 :: APP child-process-gone, uptimeSeconds: 2, exitCode: 159, reason: crashed, type: GPU, serviceName: GPU, name: na
[26980:0526/160458.716409:FATAL:gpu_data_manager_impl_private.cc(415)] GPU process isn't usable. Goodbye.
[1] 26980 trace trap (core dumped) bluemail
```
If I add the `--disable-gpu-sandbox` option it launches fine.
``` bash
❯ bluemail --disable-gpu-sandbox
### Expected behaviour
It open successfully. We either add that command line in the derivation or fix why can't see the GPU as usable.
### Screenshots
_No response_
### Relevant log output
```console
❯ bluemail
26/05/2025, 16:04:55 :: Main thread initialized
26/05/2025, 16:04:55 :: Getting system flags
26/05/2025, 16:04:55 :: isLinux true
26/05/2025, 16:04:55 :: isMac false
26/05/2025, 16:04:55 :: isWindows false
26/05/2025, 16:04:55 :: isWindowsExeBuild false
26/05/2025, 16:04:55 :: isWindowsStoreBuild false
26/05/2025, 16:04:55 :: Retrieving process agrs
26/05/2025, 16:04:55 :: #0: || /nix/store/dfk1x7cglxnsd2bsg6ysan44ak8r07s0-bluemail-1.140.8-1922/bluemail || type: string -- /nix/store/dfk1x7cglxnsd2bsg6ysan44ak8r07s0-bluemail-1.140.8-1922/bluemail
26/05/2025, 16:04:55 :: Retrieving LoginItemSettings
26/05/2025, 16:04:55 :: {"openAtLogin":false,"openAsHidden":false,"restoreState":false,"wasOpenedAtLogin":false,"wasOpenedAsHidden":false}
/nix/store/gwvwba438v6z5wwl6s3wdzm2jvi9ma60-xdg-utils-1.2.1/bin/xdg-mime: line 863: qtpaths: command not found
/nix/store/gwvwba438v6z5wwl6s3wdzm2jvi9ma60-xdg-utils-1.2.1/bin/xdg-mime: line 863: qtpaths: command not found
Gtk-Message: 16:04:57.783: Failed to load module "appmenu-gtk-module": 'gtk_module_display_init': /run/current-system/sw/lib/gtk-3.0/modules/libcolorreload-gtk-module.so: undefined symbol: gtk_module_display_init
26/05/2025, 16:04:57 :: APP child-process-gone, uptimeSeconds: 2, exitCode: 159, reason: crashed, type: GPU, serviceName: GPU, name: na
26/05/2025, 16:04:58 :: APP child-process-gone, uptimeSeconds: 2, exitCode: 159, reason: crashed, type: GPU, serviceName: GPU, name: na
26/05/2025, 16:04:58 :: APP child-process-gone, uptimeSeconds: 2, exitCode: 159, reason: crashed, type: GPU, serviceName: GPU, name: na
26/05/2025, 16:04:58 :: APP child-process-gone, uptimeSeconds: 2, exitCode: 159, reason: crashed, type: GPU, serviceName: GPU, name: na
26/05/2025, 16:04:58 :: APP child-process-gone, uptimeSeconds: 2, exitCode: 159, reason: crashed, type: GPU, serviceName: GPU, name: na
[26980:0526/160458.716409:FATAL:gpu_data_manager_impl_private.cc(415)] GPU process isn't usable. Goodbye.
[1] 26980 trace trap (core dumped) bluemail
```
### Additional context
_No response_
### System metadata
``` bash
❯ nix-shell -p nix-info --run "nix-info -m"
- system: `"x86_64-linux"`
- host os: `Linux 6.14.7-zen1, NixOS, 25.11 (Xantusia), 25.11.20250523.063f43f`
- multi-user?: `yes`
- sandbox: `yes`
- version: `nix-env (Nix) 2.28.3`
- nixpkgs: `/nix/store/khwrmv3vkmc60ig18h90rf0iadis95na-source`
```
### Notify maintainers
---
**Note for maintainers:** Please tag this issue in your pull request description. (i.e. `Resolves #ISSUE`.)
### I assert that this issue is relevant for Nixpkgs
- [x] I assert that this is a bug and not a support request.
- [x] I assert that this is not a [duplicate of an existing issue](https://github.com/NixOS/nixpkgs/issues?q=is%3Aopen+is%3Aissue+label%3A%220.kind%3A+bug%22+-label%3A%226.topic%3A+darwin%22+-label%3A%226.topic%3A+nixos%22).
- [x] I assert that I have read the [NixOS Code of Conduct](https://github.com/NixOS/.github/blob/master/CODE_OF_CONDUCT.md) and agree to abide by it.
### Is this issue important to you?
Add a :+1: [reaction] to [issues you find important].
[reaction]: https://github.blog/2016-03-10-add-reactions-to-pull-requests-issues-and-comments/
[issues you find important]: https://github.com/NixOS/nixpkgs/issues?q=is%3Aissue+is%3Aopen+sort%3Areactions-%2B1-desc