nix fixups
This commit is contained in:
parent
606f46027d
commit
9429b056de
4 changed files with 30 additions and 14 deletions
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
/result
|
|
@ -8,11 +8,10 @@ buildGoModule {
|
||||||
|
|
||||||
src = fetchGit {
|
src = fetchGit {
|
||||||
url = "https://git.cycore.io/scm/pass-totp.git";
|
url = "https://git.cycore.io/scm/pass-totp.git";
|
||||||
ref = "master";
|
ref = "main";
|
||||||
sha256 = "sha256-XgHxRChcyeoUibIFAleROUCPskHDzZSD1Kl7FUMVt7U=";
|
|
||||||
};
|
};
|
||||||
|
|
||||||
vendorSha256 = "sha256-rixop68iSE+OHjtMyLBbnphnjFBEtItqgheq2MyEfnc=";
|
vendorHash = null;
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "totp plugin for pass";
|
description = "totp plugin for pass";
|
||||||
|
|
26
flake.lock
Normal file
26
flake.lock
Normal file
|
@ -0,0 +1,26 @@
|
||||||
|
{
|
||||||
|
"nodes": {
|
||||||
|
"nixpkgs": {
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1751741127,
|
||||||
|
"narHash": "sha256-t75Shs76NgxjZSgvvZZ9qOmz5zuBE8buUaYD28BMTxg=",
|
||||||
|
"owner": "NixOS",
|
||||||
|
"repo": "nixpkgs",
|
||||||
|
"rev": "29e290002bfff26af1db6f64d070698019460302",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"id": "nixpkgs",
|
||||||
|
"ref": "nixos-25.05",
|
||||||
|
"type": "indirect"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"root": {
|
||||||
|
"inputs": {
|
||||||
|
"nixpkgs": "nixpkgs"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"root": "root",
|
||||||
|
"version": 7
|
||||||
|
}
|
12
flake.nix
12
flake.nix
|
@ -38,17 +38,7 @@
|
||||||
# in the Nix store.
|
# in the Nix store.
|
||||||
src = ./.;
|
src = ./.;
|
||||||
|
|
||||||
# This hash locks the dependencies of this package. It is
|
vendorHash = null;
|
||||||
# necessary because of how Go requires network access to resolve
|
|
||||||
# VCS. See https://www.tweag.io/blog/2021-03-04-gomod2nix/ for
|
|
||||||
# details. Normally one can build with a fake sha256 and rely on native Go
|
|
||||||
# mechanisms to tell you what the hash should be or determine what
|
|
||||||
# it should be "out-of-band" with other tooling (eg. gomod2nix).
|
|
||||||
# To begin with it is recommended to set this, but one must
|
|
||||||
# remeber to bump this hash when your dependencies change.
|
|
||||||
#vendorSha256 = pkgs.lib.fakeSha256;
|
|
||||||
|
|
||||||
vendorHash = "sha256-rixop68iSE+OHjtMyLBbnphnjFBEtItqgheq2MyEfnc=";
|
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue