nixos-config/modules/nixos/graphical/compositor/launcher.nix
Charlotte Van Petegem ae71eca94a
All checks were successful
Cachix / build (elendel) (push) Successful in 3m24s
Cachix / build (kholinar) (push) Successful in 6m32s
Cachix / build (marabethia) (push) Successful in 5m15s
Replace substituteAll with replaceVars
2025-04-30 19:13:06 +02:00

18 lines
317 B
Nix

{ pkgs, stdenv }:
let
script = pkgs.replaceVars ./launcher.zsh {
inherit (pkgs)
fzy
libqalculate
nix
uni
zsh
;
wlClipboard = pkgs.wl-clipboard;
};
in
pkgs.runCommand "launcher" { } ''
mkdir -p $out/bin
cp ${script} $out/bin/launcher
chmod +x $out/bin/launcher
''