From 165b47bfe48bc2a51dfaf0056aaab7f3f400d0f2 Mon Sep 17 00:00:00 2001 From: Christian Kampka Date: Sat, 28 Sep 2019 12:32:22 +0200 Subject: [PATCH] zsh-history: Refactor use of `with lib` --- pkgs/shells/zsh/zsh-history/default.nix | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/pkgs/shells/zsh/zsh-history/default.nix b/pkgs/shells/zsh/zsh-history/default.nix index dd04219772a6..7da69ce89ba3 100644 --- a/pkgs/shells/zsh/zsh-history/default.nix +++ b/pkgs/shells/zsh/zsh-history/default.nix @@ -1,6 +1,4 @@ -{ stdenv, lib, fetchFromGitHub, buildGoPackage }: - -with lib; +{ lib, fetchFromGitHub, buildGoPackage }: buildGoPackage rec { pname = "zsh-history"; @@ -22,7 +20,7 @@ buildGoPackage rec { cp -r $out/share/zsh/completions $out/share/zsh/site-functions ''; - meta = { + meta = with lib; { description = "A CLI to provide enhanced history for your shell"; license = licenses.mit; homepage = https://github.com/b4b4r07/history;