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
|
, Carbon
|
||||||
, Cocoa
|
, Cocoa
|
||||||
, testers
|
, testers
|
||||||
|
, nix-update-script
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation (finalAttrs: {
|
stdenv.mkDerivation (finalAttrs: {
|
||||||
|
@ -34,9 +35,13 @@ stdenv.mkDerivation (finalAttrs: {
|
||||||
substituteInPlace $out/Library/LaunchDaemons/org.nixos.skhd.plist --subst-var out
|
substituteInPlace $out/Library/LaunchDaemons/org.nixos.skhd.plist --subst-var out
|
||||||
'';
|
'';
|
||||||
|
|
||||||
passthru.tests.version = testers.testVersion {
|
passthru = {
|
||||||
package = finalAttrs.finalPackage;
|
tests.version = testers.testVersion {
|
||||||
version = "skhd-v${finalAttrs.version}";
|
package = finalAttrs.finalPackage;
|
||||||
|
version = "skhd-v${finalAttrs.version}";
|
||||||
|
};
|
||||||
|
|
||||||
|
updateScript = nix-update-script { };
|
||||||
};
|
};
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
|
|
Loading…
Reference in a new issue