[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
05/09: environment: Remove deprecated -E/--exec option.
From: |
guix-commits |
Subject: |
05/09: environment: Remove deprecated -E/--exec option. |
Date: |
Mon, 4 Mar 2019 09:24:16 -0500 (EST) |
civodul pushed a commit to branch master
in repository guix.
commit bab9cc4aff09a14fdd4178c479becf932992b5b5
Author: Ludovic Courtès <address@hidden>
Date: Mon Mar 4 13:58:38 2019 +0100
environment: Remove deprecated -E/--exec option.
* guix/scripts/environment.scm (%options): Remove "--exec", which was
deprecated in commit 1de2fe95e017c42aacbaa34f5dab8d48249cc064 in 2015.
* tests/guix-environment.sh: Remove use of '-E'.
---
guix/scripts/environment.scm | 3 ---
tests/guix-environment.sh | 10 ----------
2 files changed, 13 deletions(-)
diff --git a/guix/scripts/environment.scm b/guix/scripts/environment.scm
index 3966531..0cf7b3f 100644
--- a/guix/scripts/environment.scm
+++ b/guix/scripts/environment.scm
@@ -220,9 +220,6 @@ COMMAND or an interactive shell in that environment.\n"))
(alist-cons 'inherit-regexp
(make-regexp* arg)
result)))
- (option '(#\E "exec") #t #f ; deprecated
- (lambda (opt name arg result)
- (alist-cons 'exec (list %default-shell "-c" arg) result)))
(option '("search-paths") #f #f
(lambda (opt name arg result)
(alist-cons 'search-paths #t result)))
diff --git a/tests/guix-environment.sh b/tests/guix-environment.sh
index ccbe027..d6df623 100644
--- a/tests/guix-environment.sh
+++ b/tests/guix-environment.sh
@@ -117,16 +117,6 @@ case "`uname -m`" in
;;
esac
-
-# Same as above, but with deprecated -E flag.
-if guix environment --bootstrap --ad-hoc guile-bootstrap --pure \
- -E "guile -c '(exit 42)'"
-then
- false
-else
- test $? = 42
-fi
-
# Make sure we can build the environment of 'guix'. There may be collisions
# in its profile (e.g., for 'gzip'), but we have to accept them.
guix environment guix --bootstrap -n
- branch master updated (3a0baba -> c364481), guix-commits, 2019/03/04
- 01/09: tests: Use non-deprecated (guix store) API., guix-commits, 2019/03/04
- 04/09: doc: Better explain the 'password' field of <user-account>., guix-commits, 2019/03/04
- 06/09: environment: Rename '--inherit' to '--preserve'., guix-commits, 2019/03/04
- 02/09: activation: Make home directories #o700 by default., guix-commits, 2019/03/04
- 05/09: environment: Remove deprecated -E/--exec option.,
guix-commits <=
- 07/09: gnu: emacs: Add modules support., guix-commits, 2019/03/04
- 09/09: gnu: Add arcan-sdl., guix-commits, 2019/03/04
- 08/09: gnu: Add arcan., guix-commits, 2019/03/04
- 03/09: services: Use 'file-append' for user account shells., guix-commits, 2019/03/04