name: "Build legacy Nix package on Ubuntu" on: push: branches: - main jobs: build: runs-on: ubuntu-latest steps: - uses: https://github.com/actions/checkout@v4 - name: Install sudo run: apt update && apt install sudo - uses: https://github.com/cachix/install-nix-action@v30 with: nix_path: nixpkgs=channel:nixos-unstable - name: Building package run: nix build