Require python3

master
0xee 2019-10-31 18:17:06 +01:00
parent b645143b60
commit 8b38a8d944
3 changed files with 4 additions and 4 deletions

View File

@ -1,5 +1,5 @@
{ python }: { python3 }:
with python.pkgs; with python3.pkgs;
buildPythonApplication rec { buildPythonApplication rec {
name = "mqtt-dash"; name = "mqtt-dash";
src = ./.; src = ./.;

View File

@ -5,5 +5,5 @@
let let
pkgs = import <nixpkgs> { inherit system; }; pkgs = import <nixpkgs> { inherit system; };
in in
pkgs.callPackage ./. { python = pkgs.python3; }; pkgs.callPackage ./. {};
} }

View File

@ -1,2 +1,2 @@
{ pkgs ? import <nixpkgs> {} }: { pkgs ? import <nixpkgs> {} }:
pkgs.callPackage ./. { python = pkgs.python3; } pkgs.callPackage ./. {}