diff --git a/packages/bookwyrm/package.nix b/packages/bookwyrm/package.nix index 4923fbb..47e00c5 100644 --- a/packages/bookwyrm/package.nix +++ b/packages/bookwyrm/package.nix @@ -144,7 +144,7 @@ mkDerivation { cat <<- EOF > $out/bin/bookwyrm-env #!${bash}/bin/sh - if [ \$( id -un ) != "bookwyrm" -o \$( id -gn ) != "bookwyrm" ] ; then + if [ \$( ${coreutils-full}/bin/id -un ) != "bookwyrm" -o \$( ${coreutils-full}/bin/id -gn ) != "bookwyrm" ] ; then echo "You are not running as the 'bookwyrm' user and group, quitting" exit 1 fi