ncro/nix/package.nix
NotAShelf 578e0b2d5e
nix: update vendorHash for cobra/viper deps
Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: Ic1f423124d308ca1604872506ebbd02b6a6a6964
2026-04-05 22:48:16 +03:00

26 lines
402 B
Nix

{
lib,
buildGoModule,
}:
buildGoModule {
pname = "ncro";
version = "0.1.0";
src = let
fs = lib.fileset;
s = ../.;
in
fs.toSource {
root = s;
fileset = fs.unions [
(s + /cmd)
(s + /internal)
(s + /go.mod)
(s + /go.sum)
];
};
vendorHash = "sha256-vhCOK0cD92F9xMBS4APH+0nvLftaPuRl2LJio4mYWhY=";
ldflags = ["-s" "-w"];
}