1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2025-11-29 05:31:03 +01:00

sketchybar: inherit meta in finalPackage (#7276)

Since we're creating a new derivation, we drop the original package
attributes. Add our own meta.mainProgram to resolve those warnings.

Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
This commit is contained in:
Austin Horstman 2025-06-15 18:37:49 -05:00 committed by GitHub
parent 30b6daf872
commit 676e40a246
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -247,6 +247,7 @@ in
postBuild = '' postBuild = ''
wrapProgram $out/bin/sketchybar ${lib.escapeShellArgs makeWrapperArgs} wrapProgram $out/bin/sketchybar ${lib.escapeShellArgs makeWrapperArgs}
''; '';
inherit (cfg.package) meta;
} }
else else
cfg.package; cfg.package;