about summary refs log tree commit diff stats
path: root/pkgs
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2025-04-14 15:54:21 +0200
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2025-04-14 15:54:21 +0200
commitcf6d6271d36b057bea55afa725571ee5274e0e7a (patch)
tree0f9dc501c0d37dbc58aedd1dbaf3e2a79f3cc7ab /pkgs
parentpkgs/aumo: Correctly deal with an unset argument (diff)
downloadnixos-config-cf6d6271d36b057bea55afa725571ee5274e0e7a.zip
pkgs/fupdate-flake: Keep it's path
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/by-name/fu/fupdate-flake/package.nix5
1 files changed, 4 insertions, 1 deletions
diff --git a/pkgs/by-name/fu/fupdate-flake/package.nix b/pkgs/by-name/fu/fupdate-flake/package.nix
index 96493139..5b2d7d29 100644
--- a/pkgs/by-name/fu/fupdate-flake/package.nix
+++ b/pkgs/by-name/fu/fupdate-flake/package.nix
@@ -7,12 +7,14 @@
   bat-extras, # For `batgrep`
   bat, # used by batgrep
   gnused, # required by batgrep
+  git,
 }:
 writeShellApplication {
   name = "fupdate-flake";
   text = builtins.readFile ./fupdate-flake.sh;
 
-  inheritPath = false;
+  # The `update.sh` script might actually want to keep the path.
+  inheritPath = true;
 
   runtimeInputs = [
     coreutils
@@ -21,5 +23,6 @@ writeShellApplication {
     bat-extras.batgrep
     bat # Used by `batgrep`
     gnused # Required by `batgrep`
+    git
   ];
 }