mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
Oops. Fix the permissions on initialized persistence file for Dia
This commit is contained in:
parent
6b35f37005
commit
ed7b509fbf
1 changed files with 1 additions and 0 deletions
|
@ -36,6 +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 'chmod u+rw "$HOME/.dia/persistence" ' >> dia
|
||||
echo "\"$out/bin/"'.dia-wrapped" "$@"' >> dia
|
||||
chmod a+x dia
|
||||
'';
|
||||
|
|
Loading…
Reference in a new issue