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 }:
with python.pkgs;
{ python3 }:
with python3.pkgs;
buildPythonApplication rec {
name = "mqtt-dash";
src = ./.;

View File

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

View File

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