Skip to content

Commit 81e033c

Browse files
committed
nix: Expand variables as late as possible
This makes overrides easier in my experience.
1 parent f64da89 commit 81e033c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

default.nix

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -133,9 +133,9 @@ pkgs.stdenvNoCC.mkDerivation rec {
133133
runHook preInstall
134134
135135
# install jars in "$out"
136-
install -Dm644 "target/diffdetective-${version}.jar" "$out/share/java/DiffDetective.jar"
136+
install -Dm644 "target/diffdetective-$version.jar" "$out/share/java/DiffDetective.jar"
137137
local jar="$out/share/java/DiffDetective/DiffDetective-jar-with-dependencies.jar"
138-
install -Dm644 "target/diffdetective-${version}-jar-with-dependencies.jar" "$jar"
138+
install -Dm644 "target/diffdetective-$version-jar-with-dependencies.jar" "$jar"
139139
makeWrapper "${pkgs.jdk}/bin/java" "$out/bin/DiffDetective" --add-flags "-cp \"$jar\"" \
140140
--prefix PATH : "${pkgs.graphviz}/bin"
141141

0 commit comments

Comments
 (0)