diff options
Diffstat (limited to 'nixpkgs/pkgs/applications/editors/nano/default.nix')
-rw-r--r-- | nixpkgs/pkgs/applications/editors/nano/default.nix | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/nixpkgs/pkgs/applications/editors/nano/default.nix b/nixpkgs/pkgs/applications/editors/nano/default.nix index bd8ad4b3d20d..cb53eb9d9d45 100644 --- a/nixpkgs/pkgs/applications/editors/nano/default.nix +++ b/nixpkgs/pkgs/applications/editors/nano/default.nix @@ -1,10 +1,10 @@ -{ stdenv, fetchurl, fetchFromGitHub, ncurses, texinfo, writeScript +{ lib, stdenv, fetchurl, fetchFromGitHub, ncurses, texinfo, writeScript , common-updater-scripts, git, nix, nixfmt, coreutils, gnused, nixosTests , gettext ? null, enableNls ? true, enableTiny ? false }: assert enableNls -> (gettext != null); -with stdenv.lib; +with lib; let nixSyntaxHighlight = fetchFromGitHub { @@ -16,11 +16,11 @@ let in stdenv.mkDerivation rec { pname = "nano"; - version = "5.4"; + version = "5.5"; src = fetchurl { url = "mirror://gnu/nano/${pname}-${version}.tar.xz"; - sha256 = "1sc6xl9935k9s9clkv83hapijka4qknfnj6f15c3b1i2n84396gy"; + sha256 = "0jkyd3yzcidnvnj1k9bmplzlbd303x6xxblpp5np7zs1kfzq22rr"; }; nativeBuildInputs = [ texinfo ] ++ optional enableNls gettext; @@ -30,8 +30,8 @@ in stdenv.mkDerivation rec { configureFlags = [ "--sysconfdir=/etc" - (stdenv.lib.enableFeature enableNls "nls") - (stdenv.lib.enableFeature enableTiny "tiny") + (lib.enableFeature enableNls "nls") + (lib.enableFeature enableTiny "tiny") ]; postInstall = '' @@ -47,7 +47,7 @@ in stdenv.mkDerivation rec { #!${stdenv.shell} set -o errexit PATH=${ - stdenv.lib.makeBinPath [ + lib.makeBinPath [ common-updater-scripts git nixfmt |