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:
rnhmjoj
2026-04-13 10:23:25 +02:00
parent 4d90b8bb6c
commit 1f35c7befe
+1 -2
View File
@@ -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