mirror of
https://github.com/anotherhadi/spilltea.git
synced 2026-07-06 20:42:33 +02:00
feat: add pre-configured librewolf browser
Signed-off-by: Hadi <112569860+anotherhadi@users.noreply.github.com>
This commit is contained in:
+3
-1
@@ -2,6 +2,7 @@
|
||||
pkgs,
|
||||
buildGoApplication,
|
||||
}: let
|
||||
browser = import ./browser.nix {inherit pkgs;};
|
||||
pname = "spilltea";
|
||||
version = "0.0.6";
|
||||
ldflags = ["-s" "-w" "-X main.version=${version}"];
|
||||
@@ -9,7 +10,7 @@
|
||||
inherit pname version ldflags;
|
||||
src = ../.;
|
||||
modules = ./gomod2nix.toml;
|
||||
nativeBuildInputs = [ pkgs.installShellFiles ];
|
||||
nativeBuildInputs = [pkgs.installShellFiles];
|
||||
env.GOTOOLCHAIN = "local";
|
||||
postInstall = ''
|
||||
installShellCompletion --cmd spilltea \
|
||||
@@ -26,4 +27,5 @@
|
||||
in {
|
||||
"${pname}" = pkg;
|
||||
default = pkg;
|
||||
browser = browser;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user