mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 12:53:59 +03:00
sympow: don't use placeholder
This commit is contained in:
parent
be3c4cfad7
commit
bae15c811f
@ -34,11 +34,13 @@ 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 ${placeholder "out"}/share/sympow/* "$SYMPOW_LOCAL"
|
cp -r @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
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user