File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -27,8 +27,10 @@ pkgs.stdenvNoCC.mkDerivation rec {
2727 maven
2828 makeWrapper
2929 graphviz
30- ( ruby . withPackages ( pkgs : with pkgs ; [ github-pages jekyll-theme-cayman ] ) )
31- ] ;
30+ ] ++ pkgs . lib . optional buildGitHubPages ( ruby . withPackages ( pkgs : with pkgs ; [
31+ github-pages
32+ jekyll-theme-cayman
33+ ] ) ) ;
3234
3335 mavenRepo = pkgs . stdenv . mkDerivation {
3436 pname = "${ pname } -mavenRepo" ;
@@ -95,7 +97,7 @@ pkgs.stdenvNoCC.mkDerivation rec {
9597 local jar="$out/share/java/DiffDetective/DiffDetective.jar"
9698 install -Dm644 "target/diffdetective-${ version } -jar-with-dependencies.jar" "$jar"
9799 makeWrapper "${ pkgs . jdk } /bin/java" "$out/bin/DiffDetective" --add-flags "-cp \"$jar\"" \
98- --prefix PATH : "${ pkgs . graphviz } "
100+ --prefix PATH : "${ pkgs . graphviz } /bin "
99101
100102 ${
101103 if buildGitHubPages
You can’t perform that action at this time.
0 commit comments