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:
@@ -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=";
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user