diff --git a/test/Dockerfile b/test/Dockerfile
index 59005af97e05035cf48d1a92dd977ff3b44a5cab..14e29649a0c9d4182d0ed3683f970b2915e826b8 100644
--- a/test/Dockerfile
+++ b/test/Dockerfile
@@ -7,7 +7,7 @@ RUN pacman -Syu --noconfirm --needed \
 		subversion \
 		make \
 		kcov \
-		bash-bats \
+		bats \
 		gettext \
 		grep \
 		tree \
@@ -55,10 +55,6 @@ RUN pacman-key --init && \
 		/srv/ftp/{{core,extra,multilib}{,-testing,-staging},gnome-unstable}/os/x86_64/ && \
 	echo -e "[safe]\n\tdirectory = *\n" > /etc/gitconfig
 
-# TODO: temporary hack to work around bats packaging bug
-RUN sed 's/libexec/lib/g' -i /usr/lib/bats/* && \
-	sed 's/bats-core/bats/g' -i /usr/lib/bats/*
-
 USER tester
 
 RUN sq key generate --userid "Bob Tester <tester@localhost>" --output /build/private.key && \