diff options
author | Maxime Devos <maximedevos@telenet.be> | 2021-08-24 11:27:47 +0200 |
---|---|---|
committer | Mathieu Othacehe <othacehe@gnu.org> | 2021-09-20 11:11:47 +0000 |
commit | a1b3597ab8538376be0e9bbbe49882c21e78b6df (patch) | |
tree | a3e6d4a7a6f97a2631dac5ffcfcbabbde42a42b4 /gnu/packages/polkit.scm | |
parent | 499dbe0f3c4f9a86b5e44aa415de0bd18146b216 (diff) | |
download | guix-a1b3597ab8538376be0e9bbbe49882c21e78b6df.tar.gz |
gnu: polkit: Prevent cross-compilation build error.
Alternative ‘os types’ include RedHat and Gentoo, which don't seem applicable. * gnu/packages/polkit.scm (polkit)[arguments]<#:configure-flags>: Set "--with-os-type" to "unknown".
Diffstat (limited to 'gnu/packages/polkit.scm')
-rw-r--r-- | gnu/packages/polkit.scm | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/gnu/packages/polkit.scm b/gnu/packages/polkit.scm index f495d51c83..585e0d8087 100644 --- a/gnu/packages/polkit.scm +++ b/gnu/packages/polkit.scm @@ -101,7 +101,12 @@ ("gobject-introspection" ,gobject-introspection))) (arguments `(#:configure-flags '("--sysconfdir=/etc" - "--enable-man-pages") + "--enable-man-pages" + ;; Prevent ‘configure: error: cannot check for + ;; file existence when cross compiling’. + ,@(if (%current-target-system) + '("--with-os-type=unknown") + '())) #:phases (modify-phases %standard-phases (add-after |