From b0ba99354386b8237e33f289021ae024134cb5f2 Mon Sep 17 00:00:00 2001 From: Reinout Meliesie Date: Sun, 9 Mar 2025 13:25:58 +0100 Subject: [PATCH] Fix shell escaping in Bookwyrm package --- packages/bookwyrm/package.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/bookwyrm/package.nix b/packages/bookwyrm/package.nix index efe8d9c..4923fbb 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 [ \$( id -un ) != "bookwyrm" -o \$( id -gn ) != "bookwyrm" ] ; then echo "You are not running as the 'bookwyrm' user and group, quitting" exit 1 fi