guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 0/1] OpenSSL 1.1.0


From: Ludovic Courtès
Subject: Re: [PATCH 0/1] OpenSSL 1.1.0
Date: Mon, 05 Sep 2016 22:35:09 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)

Leo Famulari <address@hidden> skribis:

> From 2e6f500c7876733206e231fd98ebe7419d9b076f Mon Sep 17 00:00:00 2001
> From: Leo Famulari <address@hidden>
> Date: Fri, 2 Sep 2016 16:07:29 -0400
> Subject: [PATCH] gnu: Add openssl-next.
>
> * gnu/packages/tls.scm (openssl-next): New variable.
> * gnu/packages/patches/openssl-1.1.0-c-rehash-in.patch: New file.
> * gnu/local.mk (dist_patch_DATA): Add it.

[...]

> +    (arguments
> +     `(#:disallowed-references (,perl)
> +       #:parallel-build? #f
> +       #:parallel-tests? #f
> +       #:test-target "test"
> +
> +       ;; Changes to OpenSSL sometimes cause Perl to "sneak in" to the 
> closure,
> +       ;; so we explicitly disallow it here.
> +       #:disallowed-references ,(list (canonical-package perl))
> +       #:phases

Seems like most of the arguments and phases are shared with ‘openssl’,
right?  What about using ‘substitute-keyword-arguments’ to reduce
duplication?  Or are you concerned about potential breakage when one
series or the other changes?

  (arguments
   (substitute-keyword-arguments (package-arguments openssl)
     ((#:phase phases)
      `(modify-phases ,phases
         (add-after 'something 'some-openssl-1.1-specific-phase …)))))

Thanks!

Ludo’.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]