From 25c606cc4ef7e47087cfe732a3fc78743206405b Mon Sep 17 00:00:00 2001 From: Timothy DeHerrera Date: Tue, 17 Dec 2019 20:47:43 -0700 Subject: [PATCH] call exec from wrapper scripts --- profiles/develop/kakoune/default.nix | 2 +- profiles/graphical/default.nix | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/profiles/develop/kakoune/default.nix b/profiles/develop/kakoune/default.nix index 338aa9c..f3e583e 100644 --- a/profiles/develop/kakoune/default.nix +++ b/profiles/develop/kakoune/default.nix @@ -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 ( diff --git a/profiles/graphical/default.nix b/profiles/graphical/default.nix index a305d1f..8813491 100644 --- a/profiles/graphical/default.nix +++ b/profiles/graphical/default.nix @@ -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 ]; }