nixos/overlays/qmk-udev-rules.nix

12 lines
371 B
Nix
Raw Normal View History

_self: super: let
lock = builtins.fromJSON (builtins.readFile ../flake.lock);
2022-03-06 14:42:26 +01:00
in {
qmk-udev-rules = super.qmk-udev-rules.overrideAttrs (_old: {
2022-03-06 14:42:26 +01:00
version = lock.nodes.qmk-udev-rules.locked.rev;
src = super.fetchFromGitHub {
2022-05-30 18:35:52 +02:00
inherit (lock.nodes.qmk-udev-rules.locked) owner repo rev;
2022-03-06 14:42:26 +01:00
sha256 = lock.nodes.qmk-udev-rules.locked.narHash;
};
});
}