nixos/overlays/qmk-udev-rules.nix

16 lines
460 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 {
owner = lock.nodes.qmk-udev-rules.locked.owner;
repo = lock.nodes.qmk-udev-rules.locked.repo;
rev = lock.nodes.qmk-udev-rules.locked.rev;
sha256 = lock.nodes.qmk-udev-rules.locked.narHash;
};
});
}