guile-lint: patchPhase -> prePatch

This commit is contained in:
xd1le 2017-09-27 23:42:16 +10:00
parent e7e52d4b83
commit ea4adc5f5f

View File

@ -15,7 +15,7 @@ in stdenv.mkDerivation {
unpackPhase = ''tar xjvf "$src" && sourceRoot="$PWD/${name}"''; unpackPhase = ''tar xjvf "$src" && sourceRoot="$PWD/${name}"'';
patchPhase = '' prePatch = ''
cat guile-lint.in | \ cat guile-lint.in | \
sed 's|^exec guile|exec $\{GUILE:-${guile}/bin/guile}|g' > ,,tmp && \ sed 's|^exec guile|exec $\{GUILE:-${guile}/bin/guile}|g' > ,,tmp && \
mv ,,tmp guile-lint.in mv ,,tmp guile-lint.in