git.iko.soy/typeable/nixpkgs
on master help sign in
mtr: build a -gui option as well
commit49e61479d4a5b7e091f55af9f63ca79ddf9b0227 authorPeter Hoeg <peter@hoeg.com> dateMon 5 Aug 2019, 17:39 (7 years ago) parent89721e4
2 files changed+4−2
pkgs/tools/networking/mtr/default.nix+2−2 pkgs/top-level/all-packages.nix+2
pkgs/tools/networking/mtr/default.nix+2−2
@@ -1,11 +1,11 @@
1−{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig
1+{ stdenv, lib, fetchFromGitHub, autoreconfHook, pkgconfig
22, libcap, ncurses
33, withGtk ? false, gtk2 ? null }:
44
55assert withGtk -> gtk2 != null;
66
77stdenv.mkDerivation rec {
8− pname = "mtr";
8+ pname = "mtr${lib.optionalString withGtk "-gui"}";
99 version = "0.93";
1010
1111 src = fetchFromGitHub {
pkgs/top-level/all-packages.nix+2
@@ -4781,6 +4781,8 @@ in
47814781
47824782 mtr = callPackage ../tools/networking/mtr {};
47834783
4784+ mtr-gui = callPackage ../tools/networking/mtr { withGtk = true; };
4785+
47844786 mtx = callPackage ../tools/backup/mtx {};
47854787
47864788 mt-st = callPackage ../tools/backup/mt-st {};