diff options
author | Maxime Devos <[email protected]> | 2021-03-29 17:14:08 +0200 |
---|---|---|
committer | Ludovic Courtès <[email protected]> | 2024-08-31 10:44:41 +0200 |
commit | 7c7ca0b62579838e3929e808a9b475ecc59f1515 (patch) | |
tree | c13458d01e1605446a090b38b507b6a4c19f9058 | |
parent | 94153591c5178a78b7bd0343cc514ce6f4a60ec4 (diff) |
guix: build-system: qt: Support #:disallowed-references.
* guix/build-system/qt.scm
(qt-build): Support #:allowed-references and #:disallowed-references.
(qt-cross-build): Likewise.
Signed-off-by: Maxim Cournoyer <[email protected]>
Modified-by: Maxim Cournoyer <[email protected]>
Change-Id: Ia2c36152bc3500a4e73b204b0a006f3bb9405d58
-rw-r--r-- | guix/build-system/qt.scm | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/guix/build-system/qt.scm b/guix/build-system/qt.scm index dc5d65436e..d1f721c54e 100644 --- a/guix/build-system/qt.scm +++ b/guix/build-system/qt.scm @@ -4,6 +4,7 @@ ;;; Copyright © 2017 Ricardo Wurmus <[email protected]> ;;; Copyright © 2019 Hartmut Goebel <[email protected]> ;;; Copyright © 2020 Jakub Kądziołka <[email protected]> +;;; Copyright © 2021 Maxime Devos <[email protected]> ;;; Copyright © 2022 Maxim Cournoyer <[email protected]> ;;; ;;; This file is part of GNU Guix. @@ -142,7 +143,9 @@ (system (%current-system)) (imported-modules %qt-build-system-modules) (modules '((guix build qt-build-system) - (guix build utils)))) + (guix build utils))) + allowed-references + disallowed-references) "Build SOURCE using CMAKE, and with INPUTS. This assumes that SOURCE provides a 'CMakeLists.txt' file as its build system." (define builder @@ -181,7 +184,9 @@ provides a 'CMakeLists.txt' file as its build system." (gexp->derivation name builder #:graft? #f ;consistent with 'gnu-build' #:system system - #:guile-for-build guile))) + #:guile-for-build guile + #:allowed-references allowed-references + #:disallowed-references disallowed-references))) ;;; @@ -214,7 +219,9 @@ provides a 'CMakeLists.txt' file as its build system." (build (nix-system->gnu-triplet system)) (imported-modules %qt-build-system-modules) (modules '((guix build qt-build-system) - (guix build utils)))) + (guix build utils))) + allowed-references + disallowed-references) "Cross-build NAME using CMAKE for TARGET, where TARGET is a GNU triplet and with INPUTS. This assumes that SOURCE provides a 'CMakeLists.txt' file as its build system." @@ -268,7 +275,9 @@ build system." (gexp->derivation name builder #:graft? #f ;consistent with 'gnu-build' #:system system - #:guile-for-build guile))) + #:guile-for-build guile + #:allowed-references allowed-references + #:disallowed-references disallowed-references))) (define qt-build-system (build-system |