using upstream zettlr
This commit is contained in:
parent
5907f14e91
commit
f6d939d2e9
1 changed files with 11 additions and 8 deletions
|
@ -15,14 +15,17 @@ let
|
||||||
in pkgs.writers.writeBashBin "all-licenses"
|
in pkgs.writers.writeBashBin "all-licenses"
|
||||||
(lib.concatStringsSep "\n" licenses);
|
(lib.concatStringsSep "\n" licenses);
|
||||||
|
|
||||||
zettlr = pkgs.writers.writeBashBin "zettlr" ''
|
#zettlr = pkgs.writers.writeBashBin "zettlr" ''
|
||||||
if [[ ! -x "$HOME/programs/Zettlr.AppImage" ]]
|
# if [[ ! -x "$HOME/programs/Zettlr.AppImage" ]]
|
||||||
then
|
# then
|
||||||
echo "$HOME/programs/Zettlr.AppImage does not exist or is not executable";
|
# echo "$HOME/programs/Zettlr.AppImage does not exist or is not executable";
|
||||||
exit 1
|
# exit 1
|
||||||
fi
|
# fi
|
||||||
exec ${pkgs.appimage-run}/bin/appimage-run "$HOME/programs/Zettlr.AppImage"
|
# exec ${pkgs.appimage-run}/bin/appimage-run "$HOME/programs/Zettlr.AppImage"
|
||||||
'';
|
#'';
|
||||||
|
|
||||||
|
zettlr = unstablePkgs.zettlr;
|
||||||
|
|
||||||
replaceLinks = pkgs.writers.writeBashBin "replace-link-with-content" # sh
|
replaceLinks = pkgs.writers.writeBashBin "replace-link-with-content" # sh
|
||||||
''
|
''
|
||||||
if [ ! -L "$1" ]
|
if [ ! -L "$1" ]
|
||||||
|
|
Loading…
Reference in a new issue