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