add extra-substituters

This commit is contained in:
Adithya 2024-05-26 16:02:53 +05:30
parent 09d03342d7
commit f80a216e4b
Signed by: adtya
GPG key ID: B8857BFBA2C47B9C
2 changed files with 10 additions and 1 deletions

View file

@ -1,6 +1,15 @@
{
description = "Varnam on Nix";
nixConfig = {
extra-substituters = [
"https://varnam-nix.cachix.org"
];
extra-trusted-public-keys = [
"varnam-nix.cachix.org-1:IduaZzaMOJmY32L11e+a4fDDq6Xnq9/NcocAPcIbX9Y="
];
};
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
flake-utils.url = "github:numtide/flake-utils";

View file

@ -37,7 +37,7 @@ buildGoModule rec {
CGO_ENABLED = 1;
nativeBuildInputs = [ pkg-config libgovarnam makeWrapper];
nativeBuildInputs = [ pkg-config libgovarnam makeWrapper ];
buildInputs = [ pkg-config libgovarnam ];
ldflags = [