mirror of
https://github.com/nix-community/home-manager.git
synced 2026-01-12 01:59:37 +08:00
delta: set wrapper's 'meta'
Notably, this will set `meta.mainProgram`.
This commit is contained in:
committed by
Austin Horstman
parent
189c21cf87
commit
0cb746a743
@@ -79,6 +79,7 @@ in
|
||||
wrapProgram $out/bin/delta \
|
||||
--add-flags "--config ${configFile}"
|
||||
'';
|
||||
inherit (cfg.package) meta;
|
||||
};
|
||||
in
|
||||
if !cfg.enableGitIntegration && cfg.options != { } then wrappedDelta else cfg.package;
|
||||
|
||||
Reference in New Issue
Block a user