call exec from wrapper scripts

This commit is contained in:
Timothy DeHerrera 2019-12-17 20:47:43 -07:00
parent a4f5fa9692
commit 25c606cc4e
No known key found for this signature in database
GPG key ID: 8985725DB5B0C122
2 changed files with 4 additions and 4 deletions

View file

@ -30,7 +30,7 @@
};
kakoune-config = super.writeShellScriptBin "k" ''
XDG_CONFIG_HOME=/etc/xdg ${self.kakoune}/bin/kak "$@"
XDG_CONFIG_HOME=/etc/xdg exec ${self.kakoune}/bin/kak "$@"
'';
kakoune-unwrapped = super.kakoune-unwrapped.overrideAttrs (

View file

@ -81,9 +81,9 @@ in
};
nixpkgs.overlays = let
qutebrowser = self: super: {
overlay = self: super: {
qute = super.writeShellScriptBin "qute" ''
${super.qutebrowser}/bin/qutebrowser -C /etc/xdg/qutebrowser/config.py "$@"
exec ${super.qutebrowser}/bin/qutebrowser -C /etc/xdg/qutebrowser/config.py "$@"
'';
cursor = super.writeTextDir "share/icons/default/index.theme" ''
@ -92,5 +92,5 @@ in
'';
};
in
[ qutebrowser ];
[ overlay ];
}