cuter: fix build

This commit is contained in:
Robin Gloster 2017-03-02 13:00:25 +01:00
parent eebb5f20a3
commit feffa1aabf
No known key found for this signature in database
GPG Key ID: 5E4C836C632C2882
1 changed files with 5 additions and 3 deletions

View File

@ -1,5 +1,5 @@
{stdenv, autoconf, which, writeText, makeWrapper, fetchFromGitHub, erlang,
beamPackages, z3, python27 }:
{ stdenv, autoreconfHook, which, writeText, makeWrapper, fetchFromGitHub, erlang
, beamPackages, z3, python27 }:
stdenv.mkDerivation rec {
name = "cuter";
@ -15,7 +15,9 @@ stdenv.mkDerivation rec {
setupHook = writeText "setupHook.sh" ''
addToSearchPath ERL_LIBS "$1/lib/erlang/lib/"
'';
buildInputs = with beamPackages; [ autoconf erlang z3 python27 makeWrapper which ];
nativeBuildInputs = [ autoreconfHook ];
buildInputs = with beamPackages; [ python27.pkgs.setuptools erlang z3 python27 makeWrapper which ];
buildFlags = "PWD=$(out)/lib/erlang/lib/cuter-${version} cuter_target";
configurePhase = ''