Skip to content

nix-2.12.0pre20221025_b154070

Compare
Choose a tag to compare
@github-actions github-actions released this 25 Oct 10:56
· 15 commits to master since this release
4cd5c9b

Release Information

Usage

Linux + macOS Systems

sh <(curl -L https://github.com/nix-community/nix-unstable-installer/releases/download/nix-2.12.0pre20221025_b154070/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@v18
        with:
          install_url: https://github.com/nix-community/nix-unstable-installer/releases/download/nix-2.12.0pre20221025_b154070/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.12.0pre20221025_b154070