mirror of
https://github.com/hyprwm/hyprland-protocols.git
synced 2024-11-08 06:45:59 +01:00
flake.nix: fix major lapse in judgement
what the hell did I write
This commit is contained in:
parent
5a11232266
commit
6b3261ee13
1 changed files with 5 additions and 4 deletions
|
@ -28,11 +28,12 @@
|
|||
version = lib.removeSuffix "\n" (builtins.readFile ./VERSION);
|
||||
in {
|
||||
overlays = {
|
||||
hyprland-protocols = final: prev: {
|
||||
hyprland-protocols = final.callPackage ./nix/default.nix {inherit version;};
|
||||
version = version + "+date=" + (mkDate (self.lastModifiedDate or "19700101")) + "_" + (self.shortRev or "dirty");
|
||||
};
|
||||
default = self.overlays.hyprland-protocols;
|
||||
hyprland-protocols = final: prev: {
|
||||
hyprland-protocols = final.callPackage ./nix/default.nix {
|
||||
version = version + "+date=" + (mkDate (self.lastModifiedDate or "19700101")) + "_" + (self.shortRev or "dirty");
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
packages = eachSystem (system: {
|
||||
|
|
Loading…
Reference in a new issue