Skip to content

Commit

Permalink
cuter: fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
globin committed Mar 2, 2017
1 parent eebb5f2 commit feffa1a
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions pkgs/development/tools/erlang/cuter/default.nix
Original file line number Diff line number Diff line change
@@ -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";
Expand All @@ -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 = ''
Expand Down

0 comments on commit feffa1a

Please sign in to comment.