diff options
author | Joel Thompson <joel@jthompson.io> | 2017-07-21 16:10:44 -0400 |
---|---|---|
committer | Joel Thompson <joel@jthompson.io> | 2017-07-21 16:14:04 -0400 |
commit | 9dc51dc00de33d27fed90faab6c1710655086d69 (patch) | |
tree | 4221f39bed02c8d80f5d09819899cd219665baa5 /pkgs/servers/exhibitor | |
parent | 1ef6fc96c82f4ed9ced2c32b4272999bb6dcd804 (diff) |
exhibitor: Fix bugs in previous package
The previous package didn't build properly due to a bug in the build script, and the nixos module didn't evaluate due to missing descriptions in the options. This fixes both issues. It also adds missing command-line options that weren't able to be set and properly converts bools to the strings exhibitor expects.
Diffstat (limited to 'pkgs/servers/exhibitor')
-rw-r--r-- | pkgs/servers/exhibitor/default.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/servers/exhibitor/default.nix b/pkgs/servers/exhibitor/default.nix index 445f52e360bc5..369ef5a736929 100644 --- a/pkgs/servers/exhibitor/default.nix +++ b/pkgs/servers/exhibitor/default.nix @@ -15,7 +15,7 @@ stdenv.mkDerivation rec { name = "exhibitor-${version}-maven-deps"; inherit src nativeBuildInputs; buildPhase = '' - cd $pomFileDir; + cd ${pomFileDir}; while timeout --kill-after=21m 20m mvn package -Dmaven.repo.local=$out/.m2; [ $? = 124 ]; do echo "maven hangs while downloading :(" done @@ -34,7 +34,7 @@ stdenv.mkDerivation rec { nativeBuildInputs = [ maven ]; buildInputs = [ makeWrapper ]; buildPhase = '' - cd $pomFileDir + cd ${pomFileDir} mvn package --offline -Dmaven.repo.local=$(cp -dpR ${fetchedMavenDeps}/.m2 ./ && chmod +w -R .m2 && pwd)/.m2 ''; meta = with stdenv.lib; { |