fix flake stuff

This commit is contained in:
Aaron Bieber 2024-05-29 12:38:40 -06:00
parent 0db519c754
commit e263c64e67
No known key found for this signature in database
2 changed files with 7 additions and 17 deletions

View File

@ -2,16 +2,16 @@
"nodes": { "nodes": {
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1651093906, "lastModified": 1716769173,
"narHash": "sha256-kHXSbv+Hc73eV0/JVJ5YsJGr08bA4vJ3/XZew5PgZg0=", "narHash": "sha256-7EXDb5WBw+d004Agt+JHC/Oyh/KTUglOaQ4MNjBbo5w=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "feea25c58657fa81d16e0e51f80e1a02ef4cbd49", "rev": "9ca3f649614213b2aaf5f1e16ec06952fe4c2632",
"type": "github" "type": "github"
}, },
"original": { "original": {
"id": "nixpkgs", "id": "nixpkgs",
"ref": "nixos-21.11", "ref": "nixos-unstable",
"type": "indirect" "type": "indirect"
} }
}, },

View File

@ -1,8 +1,8 @@
{ {
description = "A simple Go package"; description = "Simple PGP verification tool";
# Nixpkgs / NixOS version to use. # Nixpkgs / NixOS version to use.
inputs.nixpkgs.url = "nixpkgs/nixos-21.11"; inputs.nixpkgs.url = "nixpkgs/nixos-unstable";
outputs = { self, nixpkgs }: outputs = { self, nixpkgs }:
let let
@ -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 = "sha256-9DlIUS3Q3R/W57N/OV5VbPAsWGVH5zM3ZQVyYECtRsA=";
# 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;
vendorSha256 = "sha256-pQpattmS9VmO3ZIQUFn66az8GSmB4IvYhTTCFn6SUmo=";
}; };
}); });