nix fixups

This commit is contained in:
Seán C McCord 2025-07-08 15:17:41 -04:00
parent 606f46027d
commit 9429b056de
Signed by: scm
GPG key ID: 07AE1E7F9CC5165B
4 changed files with 30 additions and 14 deletions

1
.gitignore vendored Normal file
View file

@ -0,0 +1 @@
/result

View file

@ -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
View 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
}

View file

@ -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=";
}; };
}); });