mirror of
https://github.com/foo-dogsquared/nix-module-wrapper-manager-fds.git
synced 2025-02-07 12:19:21 +00:00
wrapper-manager-fds/modules: fix default value for executable name
This commit is contained in:
parent
33746744c3
commit
a9992ee194
@ -78,7 +78,7 @@ in
|
|||||||
'';
|
'';
|
||||||
default =
|
default =
|
||||||
if config.build.variant == "executable" then
|
if config.build.variant == "executable" then
|
||||||
lib.tail (lib.path.subpath.components config.arg0)
|
lib.last (lib.path.subpath.components (lib.removePrefix "/" config.arg0))
|
||||||
else
|
else
|
||||||
config.package.meta.mainProgram or config.package.pname;
|
config.package.meta.mainProgram or config.package.pname;
|
||||||
example = "custom-name";
|
example = "custom-name";
|
||||||
|
Loading…
Reference in New Issue
Block a user