Merge pull request #206658 from SamLukeYes/arch-install-scripts

arch-install-scripts: avoid using setuid wrappers
This commit is contained in:
Bobby Rong 2022-12-22 22:55:09 +08:00 committed by GitHub
commit 6686dee834
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -68,8 +68,9 @@ resholve.mkDerivation rec {
# TODO: no good way to resolve mount/umount in Nix builds for now
# see https://github.com/abathur/resholve/issues/29
fake = {
external = [ "mount" "umount" ];
fix = {
mount = true;
umount = true;
};
keep = [ "$setup" "$pid_unshare" "$mount_unshare" "${pacman}/bin/pacman" ];