Update flake to latest nixpkgs

- invalidateFetcherByDrvHash is now under testers
- Trim monado-rev to not break fetchFromGitlab if the file has trailing
  whitespace
This commit is contained in:
Antti Keränen
2026-01-11 18:02:26 -06:00
committed by Sapphire
parent cdc4a8f3d6
commit bf0a1bc184
2 changed files with 11 additions and 11 deletions
+2 -2
View File
@@ -52,11 +52,11 @@
monado = pkgs.applyPatches {
inherit (oldAttrs.monado) patches postPatch;
# Force a refetch when the monado rev changes.
src = pkgs.invalidateFetcherByDrvHash pkgs.fetchFromGitLab {
src = pkgs.testers.invalidateFetcherByDrvHash pkgs.fetchFromGitLab {
inherit (oldAttrs.monado.src) owner repo;
domain = "gitlab.freedesktop.org";
# Keep in sync with CMakeLists.txt monado rev
rev = builtins.readFile ./monado-rev;
rev = lib.strings.trim (builtins.readFile ./monado-rev);
# Nix will output the correct hash when it doesn't match
hash = "sha256-nlfrx6NRYV9eMs+Rb9JBh+mwucL6v+bB3jBrPsSxh+Q=";
};