nova-shell-cli: wrap with config path instead of bare symlink

This commit is contained in:
Damocles 2026-04-13 09:51:29 +02:00
parent 9804ed2287
commit 51ef4c9fb3

View file

@ -56,9 +56,10 @@
in
rec {
nova-shell = pkgs.callPackage ./nix/package.nix { quickshell = qs; };
nova-shell-cli = pkgs.runCommand "nova-shell-cli" { } ''
nova-shell-cli = pkgs.runCommand "nova-shell-cli" { nativeBuildInputs = [ pkgs.makeWrapper ]; } ''
mkdir -p $out/bin
ln -s ${qs}/bin/quickshell $out/bin/nova-shell
makeWrapper ${qs}/bin/quickshell $out/bin/nova-shell \
--add-flags "-p ${nova-shell}/share/nova-shell/shell.qml"
'';
default = nova-shell;
}