mirror of
https://github.com/foo-dogsquared/nix-module-wrapper-manager-fds.git
synced 2025-02-07 06:19:02 +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 =
|
||||
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
|
||||
config.package.meta.mainProgram or config.package.pname;
|
||||
example = "custom-name";
|
||||
|
Loading…
Reference in New Issue
Block a user