mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-04-06 21:20:33 +02:00
environment: Remove deprecated -E/--exec option.
* guix/scripts/environment.scm (%options): Remove "--exec", which was
deprecated in commit 1de2fe95e0 in 2015.
* tests/guix-environment.sh: Remove use of '-E'.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user