Skip to content

Commit 82cb10c

Browse files
committed
i actually wrote some nix code i am so proud of myself i am going to cry just like natsuki subaru i cant believe the lenght of this commit message is getting too long i dont even know if this sentence makes grammatical sense anymore
1 parent d9bb81e commit 82cb10c

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

modules/services/cloudflare-dyndns.nix

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,16 @@
77
let
88
# https://github.com/NixOS/nixpkgs/pull/394352
99
cloudflare-dyndns-5-3 = pkgs.cloudflare-dyndns.overrideAttrs rec {
10-
version = "5.3";
10+
version = lib.warnIfNot (pkgs.cloudflare-dyndns.version == "5.0") "The cloudflare-dyndns package is updated, you should remove this override" "5.3";
1111
src = pkgs.fetchFromGitHub {
1212
owner = "kissgyorgy";
1313
repo = "cloudflare-dyndns";
1414
rev = "v${version}";
1515
hash = "sha256-t0MqH9lDfl+cAnPYSG7P32OGO8Qpo1ep0Hj3Xl76lhU=";
1616
};
17+
build-system = with pkgs.python3Packages; [
18+
hatchling
19+
];
1720
dependencies = with pkgs.python3Packages; [
1821
click
1922
httpx

0 commit comments

Comments
 (0)