1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-04-14 09:00:39 +02:00

gnu: talloc: Remove reference to crypt.

* gnu/packages/samba.scm (talloc): Remove reference to crypt header.

Change-Id: I370069acdd7992f2660aae0b1840ea7756befe13
This commit is contained in:
Josselin Poiret
2024-02-18 12:07:09 +01:00
committed by Ludovic Courtès
parent f0778b0d4d
commit 19c153c15e

View File

@@ -322,6 +322,14 @@ Desktops into Active Directory environments using the winbind daemon.")
(arguments
'(#:phases
(modify-phases %standard-phases
(add-after 'unpack 'remove-crypt-reference
;; The following is needed because Python.h propagates
;; HAVE_CRYPT_H, which is then seen from lib/replace/ but talloc
;; doesn't need it at all.
(lambda _
(substitute* "lib/replace/replace.h"
(("#include <crypt.h>")
""))))
(replace 'configure
(lambda* (#:key outputs #:allow-other-keys)
;; talloc uses a custom configuration script that runs a Python