utils: nix-shell-wrapper: Fix #:environment-keep appending.

This commit is contained in:
Hilton Chain committed 2026-07-01 18:28:06 +08:00
1 parent 7a2f31556f
commit 3f77432233
1 file changed
+2 -2
+2 -2
View File
@@ -107,8 +107,8 @@ Examples:
'("--ignore-env"))
(else
(cons "--ignore-env"
(map (cut list "--keep-env-var" <>)
environment-keep))))
(append-map (cut list "--keep-env-var" <>)
environment-keep))))
(append-map (match-lambda
((name . value)
(list "--set-env-var" name value)))