nix: Prevent spurious bindgen rebuilds in the devshell (#31083)

Julia Ryan created

Release Notes:

- N/A

Change summary

nix/build.nix | 2 ++
1 file changed, 2 insertions(+)

Detailed changes

nix/build.nix 🔗

@@ -191,6 +191,8 @@ let
             wayland
           ]
         }";
+
+        NIX_OUTPATH_USED_AS_RANDOM_SEED = "norebuilds";
       };
 
       # prevent nix from removing the "unused" wayland/gpu-lib rpaths