[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 2/2] environment: Add --inclusive option.
From: |
Ludovic Courtès |
Subject: |
Re: [PATCH 2/2] environment: Add --inclusive option. |
Date: |
Fri, 20 Mar 2015 20:20:14 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux) |
David Thompson <address@hidden> skribis:
> From 3d97dbcf1907a67ed25fd90c09eb88d1b136d31a Mon Sep 17 00:00:00 2001
> From: David Thompson <address@hidden>
> Date: Wed, 18 Mar 2015 20:01:12 -0400
> Subject: [PATCH 2/2] environment: Add --inclusive option.
>
> * guix/scripts/environment.scm (show-help): Add help.
> (%default-options): Add 'inclusive?'.
> (%options): Add 'inclusive' option.
> (packages->transitive-inputs): Add 'inclusive?' argument.
> (guix-environment): Use 'inclusive' option.
It’s a good idea.
Though I guess in the SDL example and similar use cases, it’s often
enough to make an environment that contains PACKAGES as their propagated
inputs (recursively), but not their inputs.
> address@hidden --inclusive
> address@hidden -i
> +Include @address@hidden in the new environment in addition to
> +their inputs. Useful for creating an environment from arbitrary
^^
“This is useful for”
> + -i, --inclusive include PACKAGE... in new environment"))
“in the new environment”
OK to push with these changes, thank you!
Ludo’.