mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-01-31 04:58:01 +00:00
wrapper-manager-fds/modules: fix default value for executable name
This commit is contained in:
parent
52d8603c12
commit
df9dcfcb21
@ -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