Skip to content

Commit

Permalink
flake: make the package version be the short revision
Browse files Browse the repository at this point in the history
  • Loading branch information
thiagokokada committed Sep 2, 2024
1 parent ce7a568 commit 2e60e52
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
};

outputs =
{ nixpkgs, ... }:
{ self, nixpkgs, ... }:
let
supportedSystems = [
"x86_64-linux"
Expand Down Expand Up @@ -156,7 +156,7 @@
default = hyprland-go;
hyprland-go = pkgs.buildGoModule {
pname = "hyprland-go";
version = "0.0.1";
version = self.shortRev or "dirty";

src = ./.;

Expand Down

0 comments on commit 2e60e52

Please sign in to comment.