~ruther/guix-local

c003546b0c2a7a61958f5bfac04b25020d41e402 — Christopher Baines 9 years ago 83421fc
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>
1 files changed, 2 insertions(+), 1 deletions(-)

M guix/scripts/environment.scm
M guix/scripts/environment.scm => guix/scripts/environment.scm +2 -1
@@ 421,7 421,8 @@ host file systems to mount inside the container."
                                             ;; 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.