treewide: add update script
This commit is contained in:
parent
410bef4679
commit
36404f27d3
2 changed files with 5 additions and 0 deletions
|
@ -2,6 +2,7 @@
|
|||
lib,
|
||||
stdenvNoCC,
|
||||
fetchurl,
|
||||
nix-update-script,
|
||||
}:
|
||||
stdenvNoCC.mkDerivation (finalAttrs: {
|
||||
pname = "metacubexd";
|
||||
|
@ -21,6 +22,8 @@ stdenvNoCC.mkDerivation (finalAttrs: {
|
|||
cp -r ./* $out
|
||||
'';
|
||||
|
||||
passthru.updateScript = nix-update-script {};
|
||||
|
||||
meta = with lib; {
|
||||
description = "Clash.Meta Dashboard, The Official One, XD";
|
||||
homepage = "https://github.com/MetaCubeX/metacubexd";
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
lib,
|
||||
stdenvNoCC,
|
||||
fetchFromGitHub,
|
||||
nix-update-script,
|
||||
}:
|
||||
# TODO: use buildLua
|
||||
# error: evaluation aborted with the following error message: 'lib.customisation.callPackageWith: Function called without required argument "buildLua"
|
||||
|
@ -29,6 +30,7 @@ stdenvNoCC.mkDerivation (finalAttrs: {
|
|||
'';
|
||||
|
||||
passthru.scriptName = "modernx.lua";
|
||||
passthru.updateScript = nix-update-script {};
|
||||
|
||||
meta = with lib; {
|
||||
description = "A modern OSC UI replacement for MPV that retains the functionality of the default OSC. (@zydezu's fork)";
|
||||
|
|
Loading…
Reference in a new issue