diff options
author | Mathnerd314 <mathnerd314.gph+hs@gmail.com> | 2015-09-14 22:27:19 -0600 |
---|---|---|
committer | Mathnerd314 <mathnerd314.gph+hs@gmail.com> | 2015-09-14 22:27:19 -0600 |
commit | eb7404d97a7e46df1f598a74982ca06e08033a45 (patch) | |
tree | 6b5752df7032ba1efc535cf884db4891f20dd786 /pkgs/tools/system/setserial | |
parent | 7fb1c7efcfa34a4af9f5de5fbde9e12d15017a90 (diff) |
all-packages: Use callPackage where possible
Diffstat (limited to 'pkgs/tools/system/setserial')
-rw-r--r-- | pkgs/tools/system/setserial/default.nix | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/pkgs/tools/system/setserial/default.nix b/pkgs/tools/system/setserial/default.nix index 76bc24c27562c..a35c0d2491855 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"; |