Revert "sudo: fix for structured attrs"

This broke sudo.

This reverts commit 91a1f2043f4b3df24c37e88ee5840499f9258462.

+1 -9
+1 -9
pkgs/tools/security/sudo/default.nix
··· 41 "--with-passprompt=[sudo] password for %p: " # intentional trailing space 42 ]; 43 44 - installFlags = [ 45 - "sudoers_uid=$(shell id -u)" 46 - "sudoers_gid=$(shell id -g)" 47 - "sysconfdir=${placeholder ''out''}/etc" 48 - "rundir=$(TMPDIR)/dummy" 49 - "vardir=$(TMPDIR)/dummy" 50 - "DESTDIR=/" 51 - ]; 52 - 53 postConfigure = 54 '' 55 cat >> pathnames.h <<'EOF' ··· 57 #define _PATH_MV "${coreutils}/bin/mv" 58 EOF 59 makeFlags="install_uid=$(id -u) install_gid=$(id -g)" 60 ''; 61 62 nativeBuildInputs = [ groff ];
··· 41 "--with-passprompt=[sudo] password for %p: " # intentional trailing space 42 ]; 43 44 postConfigure = 45 '' 46 cat >> pathnames.h <<'EOF' ··· 48 #define _PATH_MV "${coreutils}/bin/mv" 49 EOF 50 makeFlags="install_uid=$(id -u) install_gid=$(id -g)" 51 + installFlags="sudoers_uid=$(id -u) sudoers_gid=$(id -g) sysconfdir=$out/etc rundir=$TMPDIR/dummy vardir=$TMPDIR/dummy DESTDIR=/" 52 ''; 53 54 nativeBuildInputs = [ groff ];