add zettlr
This commit is contained in:
parent
a010015c89
commit
f3bf333947
1 changed files with 10 additions and 9 deletions
|
@ -8,10 +8,6 @@ let
|
||||||
|
|
||||||
library = import <library> { inherit pkgs lib; };
|
library = import <library> { inherit pkgs lib; };
|
||||||
|
|
||||||
#seafileClient = unstablePkgs.seafile-client.override{
|
|
||||||
# seafile-shared = unstablePkgs.seafile-shared;
|
|
||||||
#};
|
|
||||||
|
|
||||||
allLicenses = let
|
allLicenses = let
|
||||||
licenses = builtins.map
|
licenses = builtins.map
|
||||||
(license: "echo '${license.shortName} : ${license.fullName}'")
|
(license: "echo '${license.shortName} : ${license.fullName}'")
|
||||||
|
@ -19,9 +15,14 @@ let
|
||||||
in pkgs.writers.writeBashBin "all-licenses"
|
in pkgs.writers.writeBashBin "all-licenses"
|
||||||
(lib.concatStringsSep "\n" licenses);
|
(lib.concatStringsSep "\n" licenses);
|
||||||
|
|
||||||
seafileClient =
|
zettlr = pkgs.writers.writeBashBin "zettlr" ''
|
||||||
pkgs.seafile-client.override { seafile-shared = pkgs.seafile-shared; };
|
if [[ ! -x "$HOME/programs/Zettlr.AppImage" ]]
|
||||||
|
then
|
||||||
|
echo "$HOME/programs/Zettlr.AppImage does not exist or is not executable";
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
exec ${pkgs.appimage-run}/bin/appimage-run "$HOME/programs/Zettlr.AppImage"
|
||||||
|
'';
|
||||||
replaceLinks = pkgs.writers.writeBashBin "replace-link-with-content" # sh
|
replaceLinks = pkgs.writers.writeBashBin "replace-link-with-content" # sh
|
||||||
''
|
''
|
||||||
if [ ! -L "$1" ]
|
if [ ! -L "$1" ]
|
||||||
|
@ -134,6 +135,8 @@ in {
|
||||||
disconnectToSpeaker "brullrohre" "FC:A8:9A:ED:B8:FA";
|
disconnectToSpeaker "brullrohre" "FC:A8:9A:ED:B8:FA";
|
||||||
in [
|
in [
|
||||||
|
|
||||||
|
zettlr
|
||||||
|
|
||||||
weight
|
weight
|
||||||
|
|
||||||
connectToMyPortable
|
connectToMyPortable
|
||||||
|
@ -158,8 +161,6 @@ in {
|
||||||
bank
|
bank
|
||||||
borrow
|
borrow
|
||||||
|
|
||||||
seafileClient
|
|
||||||
|
|
||||||
irc
|
irc
|
||||||
|
|
||||||
manpages
|
manpages
|
||||||
|
|
Loading…
Reference in a new issue