Use nix-env for dependencies instead of container
Some checks failed
Build and Release / build (push) Failing after 24s

Match runner's NixOS environment.

💘 Generated with Crush

Assisted-by: Claude Opus 4.5 via Crush <crush@charm.land>
This commit is contained in:
Chris Kruining 2026-02-03 14:41:16 +01:00
parent fafb6b4ff8
commit 94ecaa7755
No known key found for this signature in database
GPG key ID: EB894A3560CCCAD2

View file

@ -9,13 +9,10 @@ on:
jobs:
build:
runs-on: default
container:
image: mcr.microsoft.com/dotnet/sdk:9.0
steps:
- name: Install dependencies
run: |
apt-get update
apt-get install -y git ssh nodejs
run: nix-env -iA nixpkgs.nodejs nixpkgs.dotnet-sdk_9 nixpkgs.openssh nixpkgs.git
- name: Checkout
uses: actions/checkout@v4