From eb7404d97a7e46df1f598a74982ca06e08033a45 Mon Sep 17 00:00:00 2001 From: Mathnerd314 Date: Mon, 14 Sep 2015 22:27:19 -0600 Subject: all-packages: Use callPackage where possible --- pkgs/tools/system/setserial/default.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'pkgs/tools/system/setserial') diff --git a/pkgs/tools/system/setserial/default.nix b/pkgs/tools/system/setserial/default.nix index 76bc24c27562..a35c0d249185 100644 --- a/pkgs/tools/system/setserial/default.nix +++ b/pkgs/tools/system/setserial/default.nix @@ -1,8 +1,8 @@ -a : -let +a @ { groff, ... } : +let fetchurl = a.fetchurl; - version = a.lib.attrByPath ["version"] "2.17" a; + version = a.lib.attrByPath ["version"] "2.17" a; buildInputs = with a; [ groff ]; @@ -26,7 +26,7 @@ rec { '') ["minInit" "doUnpack" "doConfigure"]; neededDirs = ["$out/bin" "$out/share/man/man8"]; - + name = "setserial-" + version; meta = { description = "Serial port configuration utility"; -- cgit 1.4.1