Skip to content
Snippets Groups Projects
Unverified Commit ee71d44e authored by Ludovic Courtès's avatar Ludovic Courtès
Browse files

build-system/glib-or-gtk: Support #:disallowed-references.

* guix/build-system/glib-or-gtk.scm (glib-or-gtk-build): Add
 #:disallowed-references and honor it.
parent 39c0a3fd
No related branches found
No related tags found
No related merge requests found
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2013, 2014, 2015 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2013, 2014, 2015, 2019 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2013 Cyril Roelandt <tipecaml@gmail.com>
;;; Copyright © 2014 Federico Beffa <beffa@fbengineering.ch>
;;;
......@@ -129,7 +129,8 @@ (define* (glib-or-gtk-build store name inputs
(system (%current-system))
(imported-modules %glib-or-gtk-build-system-modules)
(modules %default-modules)
allowed-references)
allowed-references
disallowed-references)
"Build SOURCE with INPUTS. See GNU-BUILD for more details."
(define canonicalize-reference
(match-lambda
......@@ -190,6 +191,10 @@ (define guile-for-build
(and allowed-references
(map canonicalize-reference
allowed-references))
#:disallowed-references
(and disallowed-references
(map canonicalize-reference
disallowed-references))
#:guile-for-build guile-for-build))
(define glib-or-gtk-build-system
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment