skhd: add passthru.updateScript
This commit is contained in:
parent
3582fa96ee
commit
8c77632c33
1 changed files with 8 additions and 3 deletions
|
@ -4,6 +4,7 @@
|
|||
, Carbon
|
||||
, Cocoa
|
||||
, testers
|
||||
, nix-update-script
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
|
@ -34,9 +35,13 @@ stdenv.mkDerivation (finalAttrs: {
|
|||
substituteInPlace $out/Library/LaunchDaemons/org.nixos.skhd.plist --subst-var out
|
||||
'';
|
||||
|
||||
passthru.tests.version = testers.testVersion {
|
||||
package = finalAttrs.finalPackage;
|
||||
version = "skhd-v${finalAttrs.version}";
|
||||
passthru = {
|
||||
tests.version = testers.testVersion {
|
||||
package = finalAttrs.finalPackage;
|
||||
version = "skhd-v${finalAttrs.version}";
|
||||
};
|
||||
|
||||
updateScript = nix-update-script { };
|
||||
};
|
||||
|
||||
meta = {
|
||||
|
|
Loading…
Reference in a new issue