env: Fix mount-environment bug — remove hardcoded 'current
This commit is contained in:
parent
93f6c9989b
commit
dd295d30ad
1 changed files with 1 additions and 1 deletions
2
env.scm
2
env.scm
|
@ -387,7 +387,7 @@ by other environments made."
|
|||
(tree (environment-tree env))
|
||||
;; TODO sanity check
|
||||
(current (environment-current env))
|
||||
(layers-stack (environment-tag-layers env 'current)))
|
||||
(layers-stack (environment-tag-layers env tag)))
|
||||
|
||||
(when (or (not layers-stack) (null? layers-stack))
|
||||
(throw 'no-layers-stack-found))
|
||||
|
|
Loading…
Reference in a new issue