From 4b103ef6b00d18cbc02f9184b97b67e5dcf97097 Mon Sep 17 00:00:00 2001 From: Sapphire Date: Wed, 21 May 2025 07:54:34 -0500 Subject: [PATCH] Force a refetch when the revision changes --- flake.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/flake.nix b/flake.nix index df94fe73..1121315e 100644 --- a/flake.nix +++ b/flake.nix @@ -27,7 +27,8 @@ monado = pkgs.applyPatches { inherit (oldAttrs.monado) patches postPatch; - src = pkgs.fetchFromGitLab { + # Force a refetch when the monado rev changes. + src = pkgs.invalidateFetcherByDrvHash pkgs.fetchFromGitLab { inherit (oldAttrs.monado.src) owner repo; domain = "gitlab.freedesktop.org"; # Keep in sync with CMakeLists.txt monado rev