povray: do not use nobody/nogroup
Instead of patching the user to nobody, point HOME to TMPDIR, so the configure script discovers the build user on its own.
This commit is contained in:
@@ -51,10 +51,9 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
cd unix
|
||||
./prebuild.sh
|
||||
cd ..
|
||||
export HOME=$TMPDIR
|
||||
sed -i -e 's/^povconfuser.*/povconfuser=$(TMPDIR)\/povray/' Makefile.{am,in}
|
||||
sed -i -e 's/^povuser.*/povuser=$(TMPDIR)\/.povray/' Makefile.{am,in}
|
||||
sed -i -e 's/^povowner.*/povowner=nobody/' Makefile.{am,in}
|
||||
sed -i -e 's/^povgroup.*/povgroup=nogroup/' Makefile.{am,in}
|
||||
'';
|
||||
|
||||
# https://github.com/POV-Ray/povray/issues/460
|
||||
|
||||
Reference in New Issue
Block a user