Merge pull request #145258 from Ma27/steam-resolv-conf-override

steam: fix `/etc/resolv.conf` reference in FHS env
This commit is contained in:
Linus Heckemann 2022-01-18 22:59:08 +01:00 committed by GitHub
commit f76bef6136
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -71,7 +71,7 @@ let
"pki" "pki"
]; ];
in concatStringsSep "\n " in concatStringsSep "\n "
(map (file: "--ro-bind-try /etc/${file} /etc/${file}") files); (map (file: "--ro-bind-try $(${coreutils}/bin/readlink -f /etc/${file}) /etc/${file}") files);
# Create this on the fly instead of linking from /nix # Create this on the fly instead of linking from /nix
# The container might have to modify it and re-run ldconfig if there are # The container might have to modify it and re-run ldconfig if there are