David Thompson <dthomps...@worcester.edu> skribis: > From 3d97dbcf1907a67ed25fd90c09eb88d1b136d31a Mon Sep 17 00:00:00 2001 > From: David Thompson <dthomps...@worcester.edu> > 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. > +@item --inclusive > +@item -i > +Include @var{packages}@dots{} 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’.