From 7f895766239221307519f39b4e9269202f35a2ba Mon Sep 17 00:00:00 2001 From: Seth Flynn Date: Mon, 10 Mar 2025 22:11:39 -0400 Subject: add binary cache --- .github/workflows/ci.yaml | 1 + flake.nix | 9 +++++++++ 2 files changed, 10 insertions(+) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 60a22a6..453e579 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -64,6 +64,7 @@ jobs: BASE_ATTRIBUTE: "${{ matrix.target}}-lwjgl" run: | nix build \ + --accept-flake-config \ --fallback \ --keep-going \ --print-build-logs \ diff --git a/flake.nix b/flake.nix index 4bea99c..cd24fe4 100644 --- a/flake.nix +++ b/flake.nix @@ -1,4 +1,13 @@ { + nixConfig = { + # TODO: Move to lwjgl-cache.prismlauncher.org + # Thank you Soopy + extra-substituters = [ "https://s3.soopy.moe/lwjgl-nix" ]; + extra-trusted-public-keys = [ + "lwjgl-cache.prismlauncher.org:ucMitaRYTISlJtFr5ETPsDm8UCBAQ4+PTj2rBVlK8IQ=" + ]; + }; + inputs = { nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; -- cgit v1.2.3