Skip to content

nix-2.21.0pre20240208_1ba9780

Compare
Choose a tag to compare
@github-actions github-actions released this 11 Feb 00:53
· 2 commits to master since this release
f4bce8c

Release Information

Usage

Linux + macOS Systems

sh <(curl -L https://github.com/nix-community/nix-unstable-installer/releases/download/nix-2.21.0pre20240208_1ba9780/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@v25
        with:
          install_url: https://github.com/nix-community/nix-unstable-installer/releases/download/nix-2.21.0pre20240208_1ba9780/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.21.0pre20240208_1ba9780