From f80a216e4bd9c6801fe7d6102d5abdede2dd65b4 Mon Sep 17 00:00:00 2001 From: Adithya Nair Date: Sun, 26 May 2024 16:02:53 +0530 Subject: [PATCH] add extra-substituters --- flake.nix | 9 +++++++++ govarnam/default.nix | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/flake.nix b/flake.nix index d1d2dad..608b92f 100644 --- a/flake.nix +++ b/flake.nix @@ -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"; diff --git a/govarnam/default.nix b/govarnam/default.nix index 014efcb..50680b4 100644 --- a/govarnam/default.nix +++ b/govarnam/default.nix @@ -37,7 +37,7 @@ buildGoModule rec { CGO_ENABLED = 1; - nativeBuildInputs = [ pkg-config libgovarnam makeWrapper]; + nativeBuildInputs = [ pkg-config libgovarnam makeWrapper ]; buildInputs = [ pkg-config libgovarnam ]; ldflags = [