Update nix setup

This commit is contained in:
eikek
2022-05-22 12:04:02 +02:00
parent f593b76389
commit b0ebf8b390
2 changed files with 13 additions and 2 deletions

View File

@ -1,5 +1,16 @@
rec { rec {
cfg = { cfg = {
v0_36_0 = rec {
version = "0.36.0";
server = {
url = "https://github.com/eikek/docspell/releases/download/v${version}/docspell-restserver-${version}.zip";
sha256 = "sha256-0qDsvEN5ohv/xvkHywonfMtf3p871VdegJqrg7DaAak=";
};
joex = {
url = "https://github.com/eikek/docspell/releases/download/v${version}/docspell-joex-${version}.zip";
sha256 = "sha256-ovNSdjEKY1oaQruTQN23sGK4lHuBoYgTLVocVNYIt9Y=";
};
};
v0_35_0 = rec { v0_35_0 = rec {
version = "0.35.0"; version = "0.35.0";
server = { server = {
@ -87,7 +98,7 @@ rec {
}; };
}; };
pkg = v: import ./pkg.nix v; pkg = v: import ./pkg.nix v;
currentPkg = pkg cfg.v0_35_0; currentPkg = pkg cfg.v0_36_0;
module-joex = ./module-joex.nix; module-joex = ./module-joex.nix;
module-restserver = ./module-server.nix; module-restserver = ./module-server.nix;
modules = [ module-joex modules = [ module-joex

View File

@ -1,7 +1,7 @@
#!/usr/bin/env bash #!/usr/bin/env bash
# Creates the documentation website and pushes it to the branch # Creates the documentation website and pushes it to the branch
# 'current-docs' in order to be published. # 'gh-pages' in order to be published.
# #
# It is a fallback, when `sbt publish-website` is not working due to # It is a fallback, when `sbt publish-website` is not working due to
# too large payloads (as it seems) that prohibit uploading through # too large payloads (as it seems) that prohibit uploading through