From 6b3261ee13a6d2b99de79a31d352f6996e35bde3 Mon Sep 17 00:00:00 2001 From: Mihai Fufezan Date: Fri, 27 Sep 2024 18:30:46 +0300 Subject: [PATCH] flake.nix: fix major lapse in judgement what the hell did I write --- flake.nix | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/flake.nix b/flake.nix index 34e0f65..0ce6c61 100644 --- a/flake.nix +++ b/flake.nix @@ -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: {