diff options
author | Joachim Fasting <joachifm@users.noreply.github.com> | 2016-06-03 15:50:21 +0200 |
---|---|---|
committer | Joachim Fasting <joachifm@users.noreply.github.com> | 2016-06-03 15:50:21 +0200 |
commit | 47b1c5368ece3d3735c4781e56d9bd548b4991c6 (patch) | |
tree | 4e76221e0b09293cb574b5faf28ed8d7ab367c73 | |
parent | c3a522c0547ad9a0ac4a3d824643326193faa833 (diff) | |
parent | 1ce9da0aa9d26eeb6ac342aeb684484f82e5534a (diff) |
Merge pull request #15868 from mbakke/less-483
less: 481 -> 483
-rw-r--r-- | pkgs/tools/misc/less/default.nix | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/pkgs/tools/misc/less/default.nix b/pkgs/tools/misc/less/default.nix index 75e00635320a..910b4963f012 100644 --- a/pkgs/tools/misc/less/default.nix +++ b/pkgs/tools/misc/less/default.nix @@ -1,17 +1,15 @@ -{ stdenv, fetchurl, ncurses }: +{ stdenv, fetchurl, ncurses, lessSecure ? false }: stdenv.mkDerivation rec { - name = "less-481"; + name = "less-483"; src = fetchurl { url = "http://www.greenwoodsoftware.com/less/${name}.tar.gz"; - sha256 = "19fxj0h10y5bhr3a1xa7kqvnwl44db3sdypz8jxl1q79yln8z8rz"; + sha256 = "07z43kwbmba2wh3q1gps09l72p8izfagygmqq1izi50s2h51mfvy"; }; - # Look for ‘sysless’ in /etc. - configureFlags = "--sysconfdir=/etc"; - - preConfigure = "chmod +x ./configure"; + configureFlags = [ "--sysconfdir=/etc" ] # Look for ‘sysless’ in /etc. + ++ stdenv.lib.optional lessSecure [ "--with-secure" ]; buildInputs = [ ncurses ]; |