Skip to content

Commit

Permalink
sympow: don't use placeholder
Browse files Browse the repository at this point in the history
  • Loading branch information
LnL7 committed Apr 26, 2018
1 parent be3c4cf commit bae15c8
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions pkgs/development/libraries/science/math/sympow/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,13 @@ stdenv.mkDerivation rec {
makeWrapper "$out/share/sympow/sympow" "$out/bin/sympow" \
--run 'export SYMPOW_LOCAL="$HOME/.local/share/sympow"' \
--run 'if [ ! -d "$SYMPOW_LOCAL" ]; then
mkdir -p "$SYMPOW_LOCAL"
cp -r ${placeholder "out"}/share/sympow/* "$SYMPOW_LOCAL"
mkdir -p "$SYMPOW_LOCAL"
cp -r @out@/share/sympow/* "$SYMPOW_LOCAL"
chmod -R +xw "$SYMPOW_LOCAL"
fi' \
--run 'cd "$SYMPOW_LOCAL"'
substituteInPlace $out/bin/sympow --subst-var out
runHook postInstall
'';

Expand Down

0 comments on commit bae15c8

Please sign in to comment.