Conversation
|
Since the update to support deno 2, the app needs to manage a cache dir for remote deno packages ... This fixes the service for the default index a6a830e674b4..0d5ab8df1e83 100644
--- a/nixos/modules/services/web-apps/silverbullet.nix
+++ b/nixos/modules/services/web-apps/silverbullet.nix
@@ -100,6 +100,8 @@ in
User = "${cfg.user}";
Group = "${cfg.group}";
EnvironmentFile = lib.mkIf (cfg.envFile != null) "${cfg.envFile}";
+ Environment = lib.mkIf (lib.hasPrefix "/var/lib/" cfg.spaceDir) "DENO_DIR=/var/cache/silverbullet/deno";
+ CacheDirectory = "silverbullet";
StateDirectory = lib.mkIf (lib.hasPrefix "/var/lib/" cfg.spaceDir) (lib.last (lib.splitString "/" cfg.spaceDir));
ExecStart = "${lib.getExe cfg.package} --port ${toString cfg.listenPort} --hostname '${cfg.listenAddress}' '${cfg.spaceDir}' " + lib.concatStringsSep " " cfg.extraArgs;
Restart = "on-failure";Cache dir after startup: If someone wants to upgrade to this version overriding the package, it will need the cache-dir: But we'll need to find another way to package this. |
Thanks for the info! |
|
Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/silverbulletmd/silverbullet/releases. meta.description for silverbullet is: Open-source, self-hosted, offline-capable Personal Knowledge Management (PKM) web application meta.homepage for silverbullet is: https://silverbullet.md meta.changelog for silverbullet is: https://github.com/silverbulletmd/silverbullet/blob/0.10.4/website/CHANGELOG.md Updates performed
To inspect upstream changesImpactChecks done
Caution A test defined in
Rebuild report (if merged into master) (click to expand)Instructions to test this update (click to expand)Either download from the cache: (The nixpkgs-update cache is only trusted for this store-path realization.) Or, build yourself: Or: After you've downloaded or built it, look at the files and if there are any, run the binaries: Pre-merge build resultsWe have automatically built all packages that will get rebuilt due to This gives evidence on whether the upgrade will break dependent packages.
|
f37b12f to
217562d
Compare
|
Any update on this? Looks like it's been sitting for a while. |
|
Drive-by: There are at least two first-time contributors wasted on this PR: |
|
Now there's a new release: https://github.com/silverbulletmd/silverbullet/releases/tag/2.0.0 |
Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/silverbulletmd/silverbullet/releases.
meta.description for silverbullet is: Open-source, self-hosted, offline-capable Personal Knowledge Management (PKM) web application
meta.homepage for silverbullet is: https://silverbullet.md
meta.changelog for silverbullet is: https://github.com/silverbulletmd/silverbullet/blob/0.10.1/website/CHANGELOG.md
Updates performed
To inspect upstream changes
Release on GitHub
Compare changes on GitHub
Impact
Checks done
Caution
A test defined in
passthru.testsdid not pass.Rebuild report (if merged into master) (click to expand)
Instructions to test this update (click to expand)
Either download from Cachix:
(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the
trusted-userslist or you can usesudosince root is effectively trusted.Or, build yourself:
Or:
After you've downloaded or built it, look at the files and if there are any, run the binaries:
Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
nixpkgs-reviewresultGenerated using
nixpkgs-review.Command:
nixpkgs-reviewx86_64-linux✅ 1 package built:
Maintainer pings
cc @aorith for testing.
Tip
As a maintainer, if your package is located under
pkgs/by-name/*, you can comment@NixOS/nixpkgs-merge-bot mergeto automatically merge this update using thenixpkgs-merge-bot.Add a 👍 reaction to pull requests you find important.