Skip to content

nix-2.23.0pre20240603_da92ad7

Latest
Compare
Choose a tag to compare
@github-actions github-actions released this 09 Jun 01:01
10d98a3

Release Information

Usage

Linux + macOS Systems

sh <(curl -L https://github.com/nix-community/nix-unstable-installer/releases/download/nix-2.23.0pre20240603_da92ad7/install)

GitHub Actions

Example using Flakes:

name: "Example Flake Workflow"

on:
  pull_request:
  push:

jobs:
  tests:
    name: Run tests
    runs-on: ubuntu-latest
    steps:
      - uses: cachix/install-nix-action@V27
        with:
          install_url: https://github.com/nix-community/nix-unstable-installer/releases/download/nix-2.23.0pre20240603_da92ad7/install

      - uses: actions/checkout@v3

      # Run the general flake checks
      - run: nix flake check

      # Verify that the main program builds
      - run: nix shell -c echo OK

Docker / Podman

docker run --rm -ti ghcr.io/nix-community/nix-unstable-installer/nix:2.23.0pre20240603_da92ad7