[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
08/11: environment: Autoload some modules.
From: |
guix-commits |
Subject: |
08/11: environment: Autoload some modules. |
Date: |
Mon, 25 Oct 2021 14:13:29 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit 3c96158438e3a813fb98f0eba78ee5c3ae93f065
Author: Ludovic Courtès <ludo@gnu.org>
AuthorDate: Fri Oct 1 22:22:18 2021 +0200
environment: Autoload some modules.
This further speeds up the 'guix environment -p PROFILE' case.
* guix/scripts/environment.scm: Autoload a bunch of modules.
---
guix/scripts/environment.scm | 19 +++++++++++--------
1 file changed, 11 insertions(+), 8 deletions(-)
diff --git a/guix/scripts/environment.scm b/guix/scripts/environment.scm
index e23d52d..05a4365 100644
--- a/guix/scripts/environment.scm
+++ b/guix/scripts/environment.scm
@@ -34,15 +34,18 @@
#:use-module (guix scripts)
#:use-module (guix scripts build)
#:use-module (guix transformations)
- #:use-module (gnu build linux-container)
- #:use-module (gnu build accounts)
- #:use-module ((guix build syscalls) #:select (set-network-interface-up))
- #:use-module (gnu system linux-container)
+ #:autoload (gnu build linux-container) (call-with-container %namespaces
+ user-namespace-supported?
+
unprivileged-user-namespace-supported?
+ setgroups-supported?)
+ #:autoload (gnu build accounts) (password-entry group-entry
+ password-entry-name
password-entry-directory
+ write-passwd write-group)
+ #:autoload (guix build syscalls) (set-network-interface-up)
#:use-module (gnu system file-systems)
- #:use-module (gnu packages)
- #:use-module (gnu packages bash)
- #:use-module ((gnu packages bootstrap)
- #:select (bootstrap-executable %bootstrap-guile))
+ #:autoload (gnu packages) (specification->package+output)
+ #:autoload (gnu packages bash) (bash)
+ #:autoload (gnu packages bootstrap) (bootstrap-executable %bootstrap-guile)
#:use-module (ice-9 match)
#:use-module (srfi srfi-1)
#:use-module (srfi srfi-11)
- branch master updated (e4276fc -> 4aa41a3), guix-commits, 2021/10/25
- 01/11: packages: Add 'package-development-inputs'., guix-commits, 2021/10/25
- 02/11: profiles: Add 'package->development-manifest'., guix-commits, 2021/10/25
- 03/11: Add 'guix shell'., guix-commits, 2021/10/25
- 04/11: shell: By default load the local 'manifest.scm' or 'guix.scm' file., guix-commits, 2021/10/25
- 08/11: environment: Autoload some modules.,
guix-commits <=
- 07/11: environment: Do not connect to the daemon when '--profile' is used., guix-commits, 2021/10/25
- 05/11: environment: Add tests for '--profile'., guix-commits, 2021/10/25
- 10/11: shell: Maintain a profile cache., guix-commits, 2021/10/25
- 11/11: news: Add entry about "guix shell"., guix-commits, 2021/10/25
- 06/11: environment: Skip derivation computation when '--profile' is used., guix-commits, 2021/10/25
- 09/11: cache: Gracefully handle non-existent cache., guix-commits, 2021/10/25