From bc74b7d42be7f4fd687283de39b4bbf221692c70 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aleix=20Bon=C3=A9?= Date: Wed, 26 Nov 2025 18:49:19 +0100 Subject: [PATCH] Set pyproject=true in buildPythonApplication Fixes: ``` To build with setuptools as before, set `pyproject = true` and `build-system = [ setuptools ] ``` --- pkgs/meteocat-exporter/default.nix | 4 +++- pkgs/upc-qaire-exporter/default.nix | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/pkgs/meteocat-exporter/default.nix b/pkgs/meteocat-exporter/default.nix index 5bc4f096..470d658b 100644 --- a/pkgs/meteocat-exporter/default.nix +++ b/pkgs/meteocat-exporter/default.nix @@ -1,9 +1,11 @@ { python3Packages, lib }: -python3Packages.buildPythonApplication rec { +python3Packages.buildPythonApplication { pname = "meteocat-exporter"; version = "1.0"; + pyproject = true; + src = ./.; doCheck = false; diff --git a/pkgs/upc-qaire-exporter/default.nix b/pkgs/upc-qaire-exporter/default.nix index b5c14cb2..ea3dc89b 100644 --- a/pkgs/upc-qaire-exporter/default.nix +++ b/pkgs/upc-qaire-exporter/default.nix @@ -1,9 +1,11 @@ { python3Packages, lib }: -python3Packages.buildPythonApplication rec { +python3Packages.buildPythonApplication { pname = "upc-qaire-exporter"; version = "1.0"; + pyproject = true; + src = ./.; doCheck = false;