flake.nix: fix major lapse in judgement

what the hell did I write
This commit is contained in:
Mihai Fufezan 2024-09-27 18:30:46 +03:00
parent 5a11232266
commit 6b3261ee13
Signed by: fufexan
SSH key fingerprint: SHA256:SdnKmEpJrDu1+2UO1QpB/Eg4HKcdDi6n+xSRqFNJVpg

View file

@ -28,11 +28,12 @@
version = lib.removeSuffix "\n" (builtins.readFile ./VERSION); version = lib.removeSuffix "\n" (builtins.readFile ./VERSION);
in { in {
overlays = { overlays = {
default = self.overlays.hyprland-protocols;
hyprland-protocols = final: prev: { hyprland-protocols = final: prev: {
hyprland-protocols = final.callPackage ./nix/default.nix {inherit version;}; hyprland-protocols = final.callPackage ./nix/default.nix {
version = version + "+date=" + (mkDate (self.lastModifiedDate or "19700101")) + "_" + (self.shortRev or "dirty"); version = version + "+date=" + (mkDate (self.lastModifiedDate or "19700101")) + "_" + (self.shortRev or "dirty");
}; };
default = self.overlays.hyprland-protocols; };
}; };
packages = eachSystem (system: { packages = eachSystem (system: {