From 0b1b7f4d509071601b85170fdc18dc2f00f378a8 Mon Sep 17 00:00:00 2001 From: Jean-Paul Calderone <exarkun@twistedmatrix.com> Date: Mon, 4 Oct 2021 16:14:04 -0400 Subject: [PATCH] export some package metadata so a test derivation can respect it (with Tom) --- new.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/new.nix b/new.nix index 7223f96..9d32ef3 100644 --- a/new.nix +++ b/new.nix @@ -3,10 +3,11 @@ let in { pkgs ? import sources.release2015 {} , pypiData ? sources.pypi-deps-db -, mach-nix ? import sources.mach-nix { inherit pkgs pypiData; python = "python27"; } +, mach-nix ? import sources.mach-nix { inherit pkgs pypiData; } , }: mach-nix.buildPythonApplication rec { + python = "python27"; name = "zero-knowledge-access-pass-authorizer"; src = ./.; providers = { @@ -36,5 +37,5 @@ in format = "setuptools"; requirements = builtins.readFile ./requirements/base.txt; # Record some settings here, so downstream nix files can consume them. - #meta.mach-nix = { inherit python providers; }; + meta.mach-nix = { inherit python providers; }; } -- GitLab