Subject: Re: [bug#74517] [PATCH v3 01/10] gnu: Add v4l-utils-minimal.

From: Maxim Cournoyer <[email-masked]>
Date: Sat, 28 Dec 2024 11:02:18 +0900

Hi Nicolas,

Nicolas Graves <[email-masked]> writes:

> * gnu/packages/video.scm (v4l-utils-minimal): New variable.
> ---
>  gnu/packages/video.scm | 14 ++++++++++++++
>  1 file changed, 14 insertions(+)
>
> diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm
> index 2da458ed01..6f9eea6fc2 100644
> --- a/gnu/packages/video.scm
> +++ b/gnu/packages/video.scm
> @@ -4035,6 +4035,20 @@ (define-public v4l-utils
>      ;; libv4l2 is LGPL2.1+, while utilities are GPL2 only.
>      (license (list license:lgpl2.1+ license:gpl2))))
>  
> +(define-public v4l-utils-minimal
> +  (package/inherit v4l-utils
> +    (name "v4l-utils-minimal")
> +    (arguments
> +     (substitute-keyword-arguments (package-arguments v4l-utils)
> +       ((#:phases phases)
> +        #~(modify-phases #$phases
> +            (delete 'split)))
> +       ((#:disallowed-references _)
> +        #~("qtbase"))))

I think the value of #:disallowed-references need to be a list of
packages, not strings.

-- 
Thanks,
Maxim