From 227c2899675bf95ed848925378e580ac3973cd21 Mon Sep 17 00:00:00 2001 From: Giulio De Pasquale Date: Sun, 17 Nov 2024 20:16:01 +0000 Subject: [PATCH] fix(home/zsh.nix): correct path for `commitFunctions` - Updated the path to correctly place `commits.sh` inside the `bin` directory --- roles/home/zsh.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/roles/home/zsh.nix b/roles/home/zsh.nix index 8f272b0..67f0596 100644 --- a/roles/home/zsh.nix +++ b/roles/home/zsh.nix @@ -1,7 +1,7 @@ -{ pkgs, lib, ... }: +{ pkgs, ... }: let - commitFunctions = pkgs.writeTextDir "bin" (builtins.readFile ./scripts/commits.sh); + commitFunctions = pkgs.writeTextDir "bin/commits.sh" (builtins.readFile ./scripts/commits.sh); in { home.packages = with pkgs; [ any-nix-shell ];