From 96e4c469183463e426a13d442fd50c62cb7d9315 Mon Sep 17 00:00:00 2001 From: Jean-Paul Calderone <exarkun@twistedmatrix.com> Date: Mon, 27 Dec 2021 10:33:55 -0500 Subject: [PATCH] parameterize python version in the nix package --- default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/default.nix b/default.nix index 4e8ad45..e68d6e0 100644 --- a/default.nix +++ b/default.nix @@ -6,10 +6,10 @@ in , mach-nix ? import sources.mach-nix { inherit pkgs pypiData; } , tahoe-lafs-source ? "tahoe-lafs" , tahoe-lafs-repo ? sources.${tahoe-lafs-source} +, python ? "python27" }: let lib = pkgs.lib; - python = "python27"; providers = { _default = "sdist,nixpkgs,wheel"; # mach-nix doesn't provide a good way to depend on mach-nix packages, -- GitLab