From ee53f78d674efafe30aa055532fe3185a806fc78 Mon Sep 17 00:00:00 2001 From: Peder Bergebakken Sundt Date: Fri, 21 Feb 2025 17:42:25 +0100 Subject: [PATCH] altdns: migrate to pythonRelaxDepsHook --- pkgs/by-name/al/altdns/package.nix | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/pkgs/by-name/al/altdns/package.nix b/pkgs/by-name/al/altdns/package.nix index f9e701eb91d5..549576644db7 100644 --- a/pkgs/by-name/al/altdns/package.nix +++ b/pkgs/by-name/al/altdns/package.nix @@ -16,12 +16,7 @@ python3.pkgs.buildPythonApplication { hash = "sha256-ElY6AZ7IBnOh7sRWNSQNmq7AYGlnjvYRn8/U+29BwWA="; }; - prePatch = '' - substituteInPlace requirements.txt \ - --replace-fail "argparse" "" - substituteInPlace setup.py \ - --replace-fail "argparse" "" - ''; + pythonRemoveDeps = [ "argparse" ]; build-system = with python3.pkgs; [ setuptools