Skip to content

Commit

Permalink
Merge pull request #28 from thiagokokada/add-events-to-flake
Browse files Browse the repository at this point in the history
flake: add examples/events as sub-package
  • Loading branch information
thiagokokada authored Sep 2, 2024
2 parents 0db2154 + 2e60e52 commit 07f0b53
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 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,11 +156,12 @@
default = hyprland-go;
hyprland-go = pkgs.buildGoModule {
pname = "hyprland-go";
version = "0.0.1";
version = self.shortRev or "dirty";

src = ./.;

subPackages = [
"examples/events"
"examples/hyprctl"
"examples/hyprtabs"
];
Expand Down

0 comments on commit 07f0b53

Please sign in to comment.