mirror of
https://github.com/kittywitch/nixfiles.git
synced 2026-02-09 20:39:18 -08:00
17 lines
348 B
Nix
17 lines
348 B
Nix
{
|
|
lib,
|
|
writeShellScriptBin,
|
|
coreutils,
|
|
wine-tkg-ntsync,
|
|
wine-discord-ipc-bridge,
|
|
}: let
|
|
inherit (lib) makeBinPath;
|
|
in
|
|
writeShellScriptBin "katwine" ''
|
|
export PATH="$PATH:${lib.makeBinPath [
|
|
coreutils
|
|
wine-tkg-ntsync
|
|
]}"
|
|
export DISCORDINTEGRATION="${wine-discord-ipc-bridge}";
|
|
exec ${./script.sh} "$@"
|
|
''
|