From 0683a72e35b31ca8b3d25def0670839ad0d4e874 Mon Sep 17 00:00:00 2001 From: rnhmjoj Date: Sun, 3 Jun 2018 11:03:37 +0200 Subject: [PATCH] nox: remove pythonPackages references --- pkgs/tools/package-management/nox/default.nix | 8 ++++---- pkgs/top-level/all-packages.nix | 4 +--- 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/pkgs/tools/package-management/nox/default.nix b/pkgs/tools/package-management/nox/default.nix index f6c5c7b53e13..c22a8a5e85ec 100644 --- a/pkgs/tools/package-management/nox/default.nix +++ b/pkgs/tools/package-management/nox/default.nix @@ -1,6 +1,6 @@ -{ lib, pythonPackages, fetchurl, git }: +{ lib, python3Packages, fetchurl, git }: -pythonPackages.buildPythonApplication rec { +python3Packages.buildPythonApplication rec { name = "nox-${version}"; version = "0.0.6"; namePrefix = ""; @@ -12,9 +12,9 @@ pythonPackages.buildPythonApplication rec { patches = [ ./nox-review-wip.patch ]; - buildInputs = [ pythonPackages.pbr git ]; + buildInputs = [ python3Packages.pbr git ]; - propagatedBuildInputs = with pythonPackages; [ + propagatedBuildInputs = with python3Packages; [ dogpile_cache click requests diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 93804e0ea1da..9c08c9be7a51 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -4222,9 +4222,7 @@ with pkgs; notify-osd = callPackage ../applications/misc/notify-osd { }; - nox = callPackage ../tools/package-management/nox { - pythonPackages = python3Packages; - }; + nox = callPackage ../tools/package-management/nox { }; nq = callPackage ../tools/system/nq { };