mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 23:03:40 +01:00
Fix dia when run not from $PATH
This commit is contained in:
parent
7dc09de565
commit
6b35f37005
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue