diff options
author | Shawn8901 <shawn8901@googlemail.com> | 2023-01-21 23:06:40 +0100 |
---|---|---|
committer | Shawn8901 <shawn8901@googlemail.com> | 2023-01-21 23:11:12 +0100 |
commit | 3866fa44a7f9fae7c83e53e7eea295e1f9212055 (patch) | |
tree | 516a1bc6c163a49132c65fb1a193757b103706b4 /pkgs/applications/editors/nano | |
parent | 66ed9c811ea3f2a49443b8788b07244d9d982348 (diff) | |
download | nixlib-3866fa44a7f9fae7c83e53e7eea295e1f9212055.tar nixlib-3866fa44a7f9fae7c83e53e7eea295e1f9212055.tar.gz nixlib-3866fa44a7f9fae7c83e53e7eea295e1f9212055.tar.bz2 nixlib-3866fa44a7f9fae7c83e53e7eea295e1f9212055.tar.lz nixlib-3866fa44a7f9fae7c83e53e7eea295e1f9212055.tar.xz nixlib-3866fa44a7f9fae7c83e53e7eea295e1f9212055.tar.zst nixlib-3866fa44a7f9fae7c83e53e7eea295e1f9212055.zip |
treewide: remove global with lib; in pkgs/{audio,blockchain,editors}
Diffstat (limited to 'pkgs/applications/editors/nano')
-rw-r--r-- | pkgs/applications/editors/nano/default.nix | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/pkgs/applications/editors/nano/default.nix b/pkgs/applications/editors/nano/default.nix index cfb1d17c9129..69c7f3eb7af3 100644 --- a/pkgs/applications/editors/nano/default.nix +++ b/pkgs/applications/editors/nano/default.nix @@ -4,8 +4,6 @@ assert enableNls -> (gettext != null); -with lib; - let nixSyntaxHighlight = fetchFromGitHub { owner = "seitz"; @@ -23,7 +21,7 @@ in stdenv.mkDerivation rec { sha256 = "V7p1Hpt1GfD23e5QUgLjh8dd3kQMH3qhuTEMw4FAaDY="; }; - nativeBuildInputs = [ texinfo ] ++ optional enableNls gettext; + nativeBuildInputs = [ texinfo ] ++ lib.optional enableNls gettext; buildInputs = [ ncurses ]; outputs = [ "out" "info" ]; @@ -71,7 +69,7 @@ in stdenv.mkDerivation rec { ''; }; - meta = { + meta = with lib; { homepage = "https://www.nano-editor.org/"; description = "A small, user-friendly console text editor"; license = licenses.gpl3Plus; |