Fix dia when run not from $PATH
This commit is contained in:
parent
7dc09de565
commit
6b35f37005
@ -36,7 +36,7 @@ stdenv.mkDerivation rec {
|
||||
mv dia .dia-wrapped
|
||||
echo '#! ${stdenv.shell}' >> dia
|
||||
echo 'test -f "$HOME/.dia/persistence" || cp ${correctPersistence} "$HOME/.dia/persistence" ' >> dia
|
||||
echo '.dia-wrapped "$@"' >> dia
|
||||
echo "\"$out/bin/"'.dia-wrapped" "$@"' >> dia
|
||||
chmod a+x dia
|
||||
'';
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user