Skip to content
This repository has been archived by the owner on Aug 30, 2024. It is now read-only.

Commit

Permalink
Add key to run default program w 'nix run .#'
Browse files Browse the repository at this point in the history
nix run takes the name of the derivation by default
As the binary is called hyprkeys, not Hyprkeys it was necessary to use 'nix shell .# -c hyprkeys'
  • Loading branch information
sbatial committed Jun 24, 2023
1 parent 8f5dd97 commit 29643bd
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions nix/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,14 @@
];
}
),
lib,
}:
pkgs.buildGoApplication {
pname = "Hyprkeys";
version = "1.0.0";
pwd = ../.;
src = ../.;
modules = ./gomod2nix.toml;

meta = with lib; {mainProgram = "hyprkeys";};
}

0 comments on commit 29643bd

Please sign in to comment.