44 lines
1.5 KiB
Diff
44 lines
1.5 KiB
Diff
From 81bc5f7e4f9d0386d2be6773336b43c54098854e Mon Sep 17 00:00:00 2001
|
|
From: loli <loli@headpats.uk>
|
|
Date: Mon, 31 Oct 2022 01:51:36 +0100
|
|
Subject: [PATCH] cloudflare-dyndns: use toPythonApplication fixes #198736
|
|
|
|
---
|
|
pkgs/applications/networking/cloudflare-dyndns/default.nix | 4 ++--
|
|
pkgs/top-level/all-packages.nix | 2 +-
|
|
2 files changed, 3 insertions(+), 3 deletions(-)
|
|
|
|
diff --git a/pkgs/applications/networking/cloudflare-dyndns/default.nix b/pkgs/applications/networking/cloudflare-dyndns/default.nix
|
|
index 9b5abcbcbf397..b0cbab4adeeff 100644
|
|
--- a/pkgs/applications/networking/cloudflare-dyndns/default.nix
|
|
+++ b/pkgs/applications/networking/cloudflare-dyndns/default.nix
|
|
@@ -1,5 +1,5 @@
|
|
{ lib
|
|
-, buildPythonApplication
|
|
+, buildPythonPackage
|
|
, attrs
|
|
, click
|
|
, cloudflare
|
|
@@ -11,7 +11,7 @@
|
|
, requests
|
|
}:
|
|
|
|
-buildPythonApplication rec {
|
|
+buildPythonPackage rec {
|
|
pname = "cloudflare-dyndns";
|
|
version = "4.1";
|
|
format = "pyproject";
|
|
diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix
|
|
index dc860b31194c6..0d60542528aa8 100644
|
|
--- a/pkgs/top-level/all-packages.nix
|
|
+++ b/pkgs/top-level/all-packages.nix
|
|
@@ -3429,7 +3429,7 @@ with pkgs;
|
|
|
|
cloudflared = callPackage ../applications/networking/cloudflared { };
|
|
|
|
- cloudflare-dyndns = python3Packages.cloudflare-dyndns;
|
|
+ cloudflare-dyndns = with python3Packages; toPythonApplication cloudflare-dyndns;
|
|
|
|
cloudmonkey = callPackage ../tools/virtualization/cloudmonkey { };
|
|
|