diff options
author | Robin Gloster <mail@glob.in> | 2016-01-17 23:04:40 +0000 |
---|---|---|
committer | Vladimír Čunát <vcunat@gmail.com> | 2016-01-18 10:45:31 +0100 |
commit | 53b389327e34de319dc0dbda2b6bcab1a69db69d (patch) | |
tree | 04dece6a1e346ccb4563f61ec206cf03dc46e77f /pkgs/servers/shellinabox | |
parent | 620c147ccee09d7d068fa21b2b5b94b6695993a5 (diff) |
refactor to use autoreconfHook where possible
Close #12446.
Diffstat (limited to 'pkgs/servers/shellinabox')
-rw-r--r-- | pkgs/servers/shellinabox/default.nix | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/pkgs/servers/shellinabox/default.nix b/pkgs/servers/shellinabox/default.nix index ed859ac344b8..0a651762f185 100644 --- a/pkgs/servers/shellinabox/default.nix +++ b/pkgs/servers/shellinabox/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchFromGitHub, autoconf, automake, libtool, pam, openssl, openssh, shadow, makeWrapper }: +{ stdenv, fetchFromGitHub, autoreconfHook, pam, openssl, openssh, shadow, makeWrapper }: stdenv.mkDerivation rec { version = "2.19"; @@ -13,7 +13,7 @@ stdenv.mkDerivation rec { patches = [ ./shellinabox-minus.patch ]; - buildInputs = [ autoconf automake libtool pam openssl openssh makeWrapper]; + buildInputs = [ autoreconfHook pam openssl openssh makeWrapper ]; # Disable GSSAPIAuthentication errors. Also, paths in certain source files are # hardcoded. Replace the hardcoded paths with correct paths. @@ -23,7 +23,6 @@ stdenv.mkDerivation rec { substituteInPlace ./shellinabox/service.c --replace "/bin/login" "${shadow}/bin/login" substituteInPlace ./shellinabox/launcher.c --replace "/bin/login" "${shadow}/bin/login" substituteInPlace ./libhttp/ssl.c --replace "/usr/bin" "${openssl}/bin" - autoreconf -vfi ''; postInstall = '' |