From 355345f34f73ef604ece10fac865603ea848871c Mon Sep 17 00:00:00 2001 From: Bryan Lai Date: Fri, 16 Aug 2024 11:08:52 +0800 Subject: [PATCH] Fix nix-init libgit2 error --- home.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/home.nix b/home.nix index 07f3e9b..1020158 100644 --- a/home.nix +++ b/home.nix @@ -29,7 +29,9 @@ let nil # language server nixpkgs-fmt # the semi official formatter nurl # generate fetcher call - nix-init # generate package + (nix-init.overrideAttrs ({ env, ... }: { + env = removeAttrs env [ "LIBGIT2_NO_VENDOR" ]; + })) # generate package nix-update nix-output-monitor nixpkgs-hammering