diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index ee669b68c150ad252622c34ea338f3683621a997..29fa4b2b6e73ab1feeb43a57fc99b913f178f91f 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -45,6 +45,6 @@ build-coq.8.6.1:
 build-iris.dev:
   <<: *template
   variables:
-    OPAM_PINS: "coq version 8.6.1   coq-mathcomp-ssreflect version 1.6.1   coq-iris.dev git https://gitlab.mpi-sws.org/FP/iris-coq.git#$REV"
+    OPAM_PINS: "coq version 8.6.1   coq-mathcomp-ssreflect version 1.6.1   coq-iris.dev git https://gitlab.mpi-sws.org/FP/iris-coq.git#$IRIS_REV"
   only:
   - triggers