I’m trying to use the hold-delay branch of libinput-gestures to test a feature that I requested, and I tried adding the following to install this branch:
error:
… while updating the lock file of flake 'git+file:///home/guttermonk/.dotfiles?ref=refs/heads/master&rev=2fa838554e068511edc0cca157cac14814aca450'
… while updating the flake input 'libinput-gestures'
… while fetching the input 'github:bulletmark/libinput-gestures/tree/hold-delay'
error: unable to download 'https://api.github.com/repos/bulletmark/libinput-gestures/commits/tree/hold-delay': HTTP error 422
response body:
{
"message": "No commit found for SHA: tree/hold-delay",
"documentation_url": "https://docs.github.com/rest/commits/commits#get-a-commit",
"status": "422"
}
Thanks for the suggestion. That made some progress, but when I update nix and home manager I get:
error:
… while updating the lock file of flake 'git+file:///home/guttermonk/.dotfiles?ref=refs/heads/master&rev=817dabb74544e64ba4ee65d458454bae35f5ed82'
… while updating the flake input 'libinput-gestures'
error: getting status of '/nix/store/0mdjd7f5ca8y9f9x9yqrczkasjdjfpq8-source/flake.nix': No such file or directory
Looking at the repo, it’s not a flake, so you wouldn’t use it as a flake input.
This also seems to have nothing to do with HM, probably you need an overlay in your NixOS config to point at the new src.
See the nixpkgs manual on how to use overrideAttrs and write overlays.