gnu: git-minimal: Fix locating /etc/gitconfig.

* gnu/packages/version-control.scm (git-minimal)[arguments]<configure-flags>:
  Add configure flag to properly recognize the system gitconfig.
  (git-minimal/pinned)[arguments]: Use old arguments as to not force rebuild.

Change-Id: I7f31d16aa6c7ab062f300019f1f862b561ece2d3
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
This commit is contained in:
Lilah Tascheter 2025-01-22 16:31:09 -06:00 committed by Sharlatan Hellseher
parent 1960f3cb8a
commit e173e222e6
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -339,9 +339,8 @@ Python 3.3 and later, rather than on Python 2.")
#:disallowed-references (list bash perl)
#:test-target "test"
#:configure-flags
(if (%current-target-system)
git-cross-configure-flags
#~(list))
#~(cons "--with-gitconfig=/etc/gitconfig"
#$(if (%current-target-system) git-cross-configure-flags #~(list)))
#:make-flags
#~(list "V=1" ;more verbose compilation
(string-append "SHELL_PATH="
@ -820,7 +819,12 @@ everything from small to very large projects with speed and efficiency.")
version ".tar.xz"))
(sha256
(base32
"0if0vqn3fj22p95a0125zpgwz3mqfqxqnvwa7fkf7b00wh0c1wyz"))))))
"0if0vqn3fj22p95a0125zpgwz3mqfqxqnvwa7fkf7b00wh0c1wyz"))))
;; Temporary measure to prevent unneccessary package rebuilds.
(arguments
(substitute-keyword-arguments (package-arguments git-minimal)
((#:configure-flags flags #~'())
(if (%current-target-system) git-cross-configure-flags #~(list)))))))
(define-public python-klaus
(package