nixos/overlays/qmk-udev-rules.nix

12 lines
369 B
Nix

self: super: let
lock = builtins.fromJSON (builtins.readFile ../flake.lock);
in {
qmk-udev-rules = super.qmk-udev-rules.overrideAttrs (old: {
version = lock.nodes.qmk-udev-rules.locked.rev;
src = super.fetchFromGitHub {
inherit (lock.nodes.qmk-udev-rules.locked) owner repo rev;
sha256 = lock.nodes.qmk-udev-rules.locked.narHash;
};
});
}