From e8e76ac12e30dac1d029d5d97743e49919821633 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Forsman?= Date: Fri, 30 Aug 2013 18:43:54 +0200 Subject: [PATCH] dstat: enable color output Give dstat access to the "curses" module in the Python standard library so that it can color its output. This is similar to how other distros package it (e.g. Fedora, Ubuntu). --- pkgs/top-level/all-packages.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 1ab78b6f9f1d..07fc77789221 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -6285,7 +6285,11 @@ let drbd = callPackage ../os-specific/linux/drbd { }; - dstat = callPackage ../os-specific/linux/dstat { }; + dstat = callPackage ../os-specific/linux/dstat { + # pythonFull includes the "curses" standard library module, for pretty + # dstat color output + python = pythonFull; + }; libuuid = if crossSystem != null && crossSystem.config == "i586-pc-gnu"