me
/
guix
Archived
1
0
Fork 0

gnu: sssd: Fix build

* gnu/packages/sssd.scm (sssd) [native-inputs]: Add python-toolchain.
[ensure-no-mtimes-pre-1980]: New phase.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
master
Brian Cully 2023-05-03 21:14:05 -04:00 committed by Ludovic Courtès
parent 379432f410
commit f1400fe08f
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5
1 changed files with 7 additions and 1 deletions

View File

@ -27,6 +27,7 @@
#:use-module (guix download) #:use-module (guix download)
#:use-module (guix gexp) #:use-module (guix gexp)
#:use-module (guix git-download) #:use-module (guix git-download)
#:use-module (guix modules)
#:use-module (guix utils) #:use-module (guix utils)
#:use-module (guix build utils) #:use-module (guix build utils)
#:use-module (guix build-system gnu) #:use-module (guix build-system gnu)
@ -151,6 +152,8 @@ fundamental object types for C.")
(build-system gnu-build-system) (build-system gnu-build-system)
(arguments (arguments
(list (list
#:imported-modules (source-module-closure
'((guix build python-build-system)))
#:make-flags #:make-flags
#~(list (string-append "CFLAGS=-DRENEWAL_PROG_PATH=\\\"" #~(list (string-append "CFLAGS=-DRENEWAL_PROG_PATH=\\\""
#$(this-package-input "adcli") "/sbin/adcli" #$(this-package-input "adcli") "/sbin/adcli"
@ -184,6 +187,8 @@ fundamental object types for C.")
"/xml/dtd/docbook/catalog.xml")) "/xml/dtd/docbook/catalog.xml"))
#:phases #:phases
#~(modify-phases %standard-phases #~(modify-phases %standard-phases
(add-after 'unpack 'ensure-no-mtimes-pre-1980
(@@ (guix build python-build-system) ensure-no-mtimes-pre-1980))
(add-after 'patch-source-shebangs 'patch-more-shebangs (add-after 'patch-source-shebangs 'patch-more-shebangs
(lambda _ (lambda _
(substitute* '("src/tools/analyzer/sss_analyze" (substitute* '("src/tools/analyzer/sss_analyze"
@ -266,7 +271,7 @@ fundamental object types for C.")
p11-kit ; for PKCS#11 support p11-kit ; for PKCS#11 support
pcre2 pcre2
popt popt
python python ; for wrap-program phase
samba/pinned samba/pinned
talloc talloc
tdb tdb
@ -286,6 +291,7 @@ fundamental object types for C.")
libxslt libxslt
openssh ; for tests openssh ; for tests
pkg-config pkg-config
python-toolchain
po4a po4a
softhsm ; for tests softhsm ; for tests
`(,util-linux "lib"))) ; for uuid.h, reqired for KCM `(,util-linux "lib"))) ; for uuid.h, reqired for KCM