From c762f02428b084b638f0c26c563ad4a705493290 Mon Sep 17 00:00:00 2001
From: Soispha <soispha@vhack.eu>
Date: Fri, 20 Oct 2023 23:23:22 +0200
Subject: fix(hm/pkgs/scr/neorg): Add cocogitto and git-crypt as dependencies

These are normally supplied by the devshell, but we can't load that in a
script. Thus, we simply define these as dependencies
---
 hm/soispha/pkgs/scripts.nix | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

(limited to 'hm')

diff --git a/hm/soispha/pkgs/scripts.nix b/hm/soispha/pkgs/scripts.nix
index b65752a6..a5c7655d 100644
--- a/hm/soispha/pkgs/scripts.nix
+++ b/hm/soispha/pkgs/scripts.nix
@@ -48,7 +48,10 @@
   neorg-scr = sysLib.writeShellScriptWithLibraryAndKeepPath {
     name = "neorg";
     src = ./scripts/wrappers/neorg;
-    dependencies = [];
+    dependencies = with pkgs; [
+      cocogitto
+      git-crypt
+    ];
     replacementStrings = {
       DEFAULT_NEORG_PROJECT_DIR =
         config.programs.nixvim.plugins.neorg.modules."core.dirman".config.workspaces.projects;
-- 
cgit 1.4.1