summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/ci.yaml1
-rw-r--r--flake.nix9
2 files changed, 10 insertions, 0 deletions
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";