Skip to content
This repository has been archived by the owner on Apr 29, 2024. It is now read-only.

Commit

Permalink
nix: set binary cache hint for flake
Browse files Browse the repository at this point in the history
Summary: Now, people will be asked to trust the cache on first use. This will
need to go through CI to make sure it works.

Signed-off-by: Austin Seipp <[email protected]>
Change-Id: I1b519dd32f69a8669a333eb9a65dbdab
  • Loading branch information
thoughtpolice committed Aug 14, 2023
1 parent 6ae40ed commit 85e956d
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,16 @@
flake-utils.url = "github:numtide/flake-utils";
};

nixConfig = {
extra-substituters = [
"https://nix-postgres-artifacts.s3.amazonaws.com"
];

extra-trusted-public-keys = [
"nix-cache.supabase.com-1:ZfEc7Qb7SN+qOTJGMtCz54rnVQ1W2ZI2ROCSSD6YQYc="
];
};

outputs = { self, nixpkgs, flake-utils }: let
gitRev = "vcs=${self.shortRev or "dirty"}+${builtins.substring 0 8 (self.lastModifiedDate or self.lastModified or "19700101")}";

Expand Down

0 comments on commit 85e956d

Please sign in to comment.