mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 21:38:07 -05:00
environment: Fix setting writable? on networking related files
* guix/scripts/environment.scm (launch-environment/container): Include the file name in the call to string=? when deciding if the file should be writable. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
parent
83421fc744
commit
c003546b0c
1 changed files with 2 additions and 1 deletions
|
@ -421,7 +421,8 @@ (define* (launch-environment/container #:key command bash user-mappings
|
|||
;; read-only within the
|
||||
;; container.
|
||||
(writable?
|
||||
(string=? "/etc/resolv.conf")))))
|
||||
(string=? file
|
||||
"/etc/resolv.conf")))))
|
||||
%network-configuration-files)
|
||||
'())
|
||||
;; Mappings for the union closure of all inputs.
|
||||
|
|
Loading…
Reference in a new issue