Revert "sympow: don't use placeholder"

This reverts commit bae15c811f182132c77f3c20b6785c9297e8498f.
This commit is contained in:
Jan Tojnar 2018-04-26 23:00:36 +02:00
parent 6cefc9c1b0
commit c1e53166ad
No known key found for this signature in database
GPG Key ID: 7FAB2A15F7A607A4

View File

@ -34,13 +34,11 @@ stdenv.mkDerivation rec {
makeWrapper "$out/share/sympow/sympow" "$out/bin/sympow" \ makeWrapper "$out/share/sympow/sympow" "$out/bin/sympow" \
--run 'export SYMPOW_LOCAL="$HOME/.local/share/sympow"' \ --run 'export SYMPOW_LOCAL="$HOME/.local/share/sympow"' \
--run 'if [ ! -d "$SYMPOW_LOCAL" ]; then --run 'if [ ! -d "$SYMPOW_LOCAL" ]; then
mkdir -p "$SYMPOW_LOCAL" mkdir -p "$SYMPOW_LOCAL"
cp -r @out@/share/sympow/* "$SYMPOW_LOCAL" cp -r ${placeholder "out"}/share/sympow/* "$SYMPOW_LOCAL"
chmod -R +xw "$SYMPOW_LOCAL" chmod -R +xw "$SYMPOW_LOCAL"
fi' \ fi' \
--run 'cd "$SYMPOW_LOCAL"' --run 'cd "$SYMPOW_LOCAL"'
substituteInPlace $out/bin/sympow --subst-var out
runHook postInstall runHook postInstall
''; '';