diff --git a/ci-tools/update-nixpkgs b/ci-tools/update-nixpkgs
index 6f6e4e7c00b28a6a35cd3cea7de25ca8e09d2def..23eb7520fe896987c02cf13082ccfb3eea7c065d 100755
--- a/ci-tools/update-nixpkgs
+++ b/ci-tools/update-nixpkgs
@@ -15,7 +15,7 @@ setup_ssh() {
     eval $(ssh-agent -s)
 
     # A GitLab CI/CD variable set for us to use.
-    ssh-add <(echo "${UPDATE_NIXPKGS_PRIVATE_SSHKEY_BASE64}" | base64 -d)
+    echo "${UPDATE_NIXPKGS_PRIVATE_SSHKEY_BASE64}" | base64 -d | ssh-add -
 
     # We may not know the git/ssh server's host key yet.  In that case, learn
     # it and proceed.