summary refs log tree commit diff
path: root/pkgs/servers/exhibitor
diff options
context:
space:
mode:
authorJoel Thompson <joel@jthompson.io>2017-07-21 16:10:44 -0400
committerJoel Thompson <joel@jthompson.io>2017-07-21 16:14:04 -0400
commit9dc51dc00de33d27fed90faab6c1710655086d69 (patch)
tree4221f39bed02c8d80f5d09819899cd219665baa5 /pkgs/servers/exhibitor
parent1ef6fc96c82f4ed9ced2c32b4272999bb6dcd804 (diff)
downloadnixpkgs-9dc51dc00de33d27fed90faab6c1710655086d69.tar
nixpkgs-9dc51dc00de33d27fed90faab6c1710655086d69.tar.gz
nixpkgs-9dc51dc00de33d27fed90faab6c1710655086d69.tar.bz2
nixpkgs-9dc51dc00de33d27fed90faab6c1710655086d69.tar.lz
nixpkgs-9dc51dc00de33d27fed90faab6c1710655086d69.tar.xz
nixpkgs-9dc51dc00de33d27fed90faab6c1710655086d69.tar.zst
nixpkgs-9dc51dc00de33d27fed90faab6c1710655086d69.zip
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.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/servers/exhibitor/default.nix b/pkgs/servers/exhibitor/default.nix
index 445f52e360b..369ef5a7369 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; {