nova-shell-cli: wrap with config path instead of bare symlink
This commit is contained in:
parent
9804ed2287
commit
51ef4c9fb3
1 changed files with 3 additions and 2 deletions
|
|
@ -56,9 +56,10 @@
|
||||||
in
|
in
|
||||||
rec {
|
rec {
|
||||||
nova-shell = pkgs.callPackage ./nix/package.nix { quickshell = qs; };
|
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
|
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;
|
default = nova-shell;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue