easyrsa: use autoreconfHook
This commit is contained in:
parent
35d836660f
commit
d8679e4957
@ -1,5 +1,5 @@
|
||||
{ stdenv, fetchurl, autoconf, automake111x, makeWrapper
|
||||
, gnugrep, openssl}:
|
||||
{ stdenv, fetchurl, autoreconfHook, makeWrapper
|
||||
, gnugrep, openssl }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "easyrsa-2.2.0";
|
||||
@ -9,20 +9,12 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "1xq4by5frb6ikn53ss3y8v7ss639dccxfq8jfrbk07ynkmk668qk";
|
||||
};
|
||||
|
||||
# Copy missing files and autoreconf
|
||||
preConfigure = ''
|
||||
cp ${automake111x}/share/automake/install-sh .
|
||||
cp ${automake111x}/share/automake/missing .
|
||||
|
||||
autoreconf
|
||||
'';
|
||||
|
||||
preBuild = ''
|
||||
mkdir -p $out/share/easy-rsa
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [ autoconf makeWrapper automake111x ];
|
||||
buildInputs = [ gnugrep openssl];
|
||||
nativeBuildInputs = [ autoreconfHook makeWrapper ];
|
||||
buildInputs = [ gnugrep openssl ];
|
||||
|
||||
# Make sane defaults and patch default config vars
|
||||
postInstall = ''
|
||||
|
Loading…
Reference in New Issue
Block a user