From 8b38a8d944b056b4f9c6738727bfc1a6a75fe272 Mon Sep 17 00:00:00 2001 From: 0xee Date: Thu, 31 Oct 2019 18:17:06 +0100 Subject: [PATCH] Require python3 --- default.nix | 4 ++-- release.nix | 2 +- shell.nix | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/default.nix b/default.nix index a38b7c5..052acbb 100644 --- a/default.nix +++ b/default.nix @@ -1,5 +1,5 @@ -{ python }: -with python.pkgs; +{ python3 }: +with python3.pkgs; buildPythonApplication rec { name = "mqtt-dash"; src = ./.; diff --git a/release.nix b/release.nix index b3d9bad..2b53762 100644 --- a/release.nix +++ b/release.nix @@ -5,5 +5,5 @@ let pkgs = import { inherit system; }; in - pkgs.callPackage ./. { python = pkgs.python3; }; + pkgs.callPackage ./. {}; } diff --git a/shell.nix b/shell.nix index 1c20729..d0cf41d 100644 --- a/shell.nix +++ b/shell.nix @@ -1,2 +1,2 @@ { pkgs ? import {} }: -pkgs.callPackage ./. { python = pkgs.python3; } +pkgs.callPackage ./. {}