mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 08:53:21 +00:00
clash-geoip: use new update script
This commit is contained in:
parent
231da669c3
commit
62fa8fe959
@ -1,4 +1,4 @@
|
|||||||
{ lib, stdenvNoCC, fetchurl }:
|
{ lib, stdenvNoCC, fetchurl, nix-update-script }:
|
||||||
|
|
||||||
stdenvNoCC.mkDerivation rec {
|
stdenvNoCC.mkDerivation rec {
|
||||||
pname = "clash-geoip";
|
pname = "clash-geoip";
|
||||||
@ -18,7 +18,11 @@ stdenvNoCC.mkDerivation rec {
|
|||||||
runHook postInstall
|
runHook postInstall
|
||||||
'';
|
'';
|
||||||
|
|
||||||
passthru.updateScript = ./update.sh;
|
passthru = {
|
||||||
|
updateScript = nix-update-script {
|
||||||
|
attrPath = pname;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "A GeoLite2 data created by MaxMind";
|
description = "A GeoLite2 data created by MaxMind";
|
||||||
|
Loading…
Reference in New Issue
Block a user