mirror of
https://github.com/NotAShelf/go-grep-cache.git
synced 2024-11-22 15:40:42 +00:00
feat(nix): improve packaging
This commit is contained in:
parent
c19a9126b6
commit
0476f4d523
2 changed files with 28 additions and 2 deletions
|
@ -1,11 +1,11 @@
|
|||
{buildGoModule}:
|
||||
buildGoModule {
|
||||
pname = "sample-go";
|
||||
pname = "go-grep-cache";
|
||||
version = "0.0.1";
|
||||
|
||||
src = ./.;
|
||||
|
||||
vendorHash = null;
|
||||
vendorHash = "sha256-gJ0+2ZSng9/6hQ6hUqcNnwwaWSBWoXP9DgaNtq/lWXQ=";
|
||||
|
||||
ldflags = ["-s" "-w"];
|
||||
}
|
||||
|
|
26
flake.lock
Normal file
26
flake.lock
Normal file
|
@ -0,0 +1,26 @@
|
|||
{
|
||||
"nodes": {
|
||||
"nixpkgs": {
|
||||
"locked": {
|
||||
"lastModified": 1698326157,
|
||||
"narHash": "sha256-FRtEwiGZ9MXz5N58yELqaL+MrvBpDFuKsgIkH56p51s=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "064419789ff197042d9ff894892b87d63594c6d7",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "NixOS",
|
||||
"repo": "nixpkgs",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"root": {
|
||||
"inputs": {
|
||||
"nixpkgs": "nixpkgs"
|
||||
}
|
||||
}
|
||||
},
|
||||
"root": "root",
|
||||
"version": 7
|
||||
}
|
Loading…
Reference in a new issue