signal-desktop: fix usage of gappsWrapperArgs with binary wrapper#172315
signal-desktop: fix usage of gappsWrapperArgs with binary wrapper#172315xaverdh wants to merge 1 commit intoNixOS:masterfrom
Conversation
|
I successfully ran the |
|
ah ok, while this does work, it has the side effect of only creating a single non-binary wrapper (contrary to my intention), so should probably not be merged as is.. |
|
You meant Also this PR is based on a commit without #164163, which is why shell wrappers are winning. Try An actual fix would be to replace |
|
We'll also want to do this for |
When wrapGAppsHook switched to a binary wrapper (NixOS#164163), relying on environment variables being evaluated in gappsWrapperArgs at runtime no longer works.
44ce424 to
871bc12
Compare
Sorry I pushed the pr from a branch different from the one I was testing (which indeed had the commit in it). The commit from #164163 should be included now here. It does not change the outcome though (a single non-binary wrapper)
^^ ah indeed that is what makes it work O.o |
That is certainly cleaner compared to relying on order in |
|
Yes, please. |
|
closing in favour of #172320 |
When wrapGAppsHook switched to a binary wrapper (#164163), relying on
environment variables being evaluated in gappsWrapperArgs at runtime
no longer works.
Indeed since the last stanging merge I get
[5036:0510/101840.222112:FATAL:platform_selection.cc(45)] Invalid ozone platform: wayland}} fish: Job 1, 'signal-desktop' terminated by signal SIGTRAP (Trace or breakpoint trap)when trying to start signal-desktop (on xmonad; Xorg).
Description of changes
Double wrap instead with a non-binary wrapper, that sets the flags as appropriate.
Things done
sandbox = trueset innix.conf? (See Nix manual)nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/)nixos/doc/manual/md-to-db.shto update generated release notes