From 307dee979ac75e2e81754dbf0825863518eae4b8 Mon Sep 17 00:00:00 2001 From: Zuckerberg Date: Sat, 29 Apr 2023 10:48:12 -0600 Subject: [PATCH] Try to allow cross build --- .gitea/workflows/check-flake.yaml | 1 + machines/phil/default.nix | 2 ++ 2 files changed, 3 insertions(+) diff --git a/.gitea/workflows/check-flake.yaml b/.gitea/workflows/check-flake.yaml index 1ab56fe..b459444 100644 --- a/.gitea/workflows/check-flake.yaml +++ b/.gitea/workflows/check-flake.yaml @@ -20,6 +20,7 @@ jobs: uses: https://github.com/cachix/install-nix-action@v20 with: github_access_token: ${{ secrets.__GITHUB_TOKEN }} + extra_nix_config: "system-features = nixos-test benchmark big-parallel kvm" - name: Checkout the repository uses: actions/checkout@v3 diff --git a/machines/phil/default.nix b/machines/phil/default.nix index 5cc61c7..d6a0211 100644 --- a/machines/phil/default.nix +++ b/machines/phil/default.nix @@ -10,4 +10,6 @@ enable = true; instanceUrl = "https://git.neet.dev"; }; + + boot.binfmt.emulatedSystems = [ "x86_64-linux" ]; }