Skip to content

Commit

Permalink
WIP HACK: login: copy over /etc/linker.config.pb
Browse files Browse the repository at this point in the history
  • Loading branch information
t184256 committed Mar 19, 2023
1 parent e7b7659 commit 67393ac
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions modules/environment/login/login.nix
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,10 @@ writeScript "login" ''
BIND_PROC_UPTIME=""
fi
if [ -r /etc/linker/config.pb ]; then
cp /etc/linker.config.pb ${installationDir}/etc/ # HACK
fi
exec ${installationDir}/bin/proot-static \
-b ${installationDir}/nix:/nix \
-b ${installationDir}/etc:/etc \
Expand Down

0 comments on commit 67393ac

Please sign in to comment.