Move signal-desktop-bin override to an overlay
This commit is contained in:
parent
6059bbb732
commit
b77e23bdf3
2 changed files with 11 additions and 7 deletions
10
overlays/signal-desktop-bin/default.nix
Normal file
10
overlays/signal-desktop-bin/default.nix
Normal file
|
@ -0,0 +1,10 @@
|
|||
{ ... }:
|
||||
(final: prev: {
|
||||
signal-desktop-bin = prev.signal-desktop-bin.overrideAttrs (oldAttrs: {
|
||||
nativeBuildInputs = oldAttrs.nativeBuildInputs ++ [ prev.makeWrapper ];
|
||||
postInstall = oldAttrs.postInstall or "" + ''
|
||||
wrapProgram $out/bin/signal-desktop \
|
||||
--add-flags "--enable-features=UseOzonePlatform --ozone-platform=wayland"
|
||||
'';
|
||||
});
|
||||
})
|
|
@ -63,13 +63,7 @@
|
|||
hugo
|
||||
nixos-generators
|
||||
vlc
|
||||
(signal-desktop-bin.overrideAttrs (oldAttrs: {
|
||||
nativeBuildInputs = oldAttrs.nativeBuildInputs ++ [ pkgs.makeWrapper ];
|
||||
postInstall = oldAttrs.postInstall or "" + ''
|
||||
wrapProgram $out/bin/signal-desktop \
|
||||
--add-flags "--enable-features=UseOzonePlatform --ozone-platform=wayland"
|
||||
'';
|
||||
}))
|
||||
signal-desktop-bin
|
||||
];
|
||||
|
||||
programs.light.enable = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue