This is a temporary place to host Nix Flakes releases, until the NixOS project publishes official releases.
- Release:
nix-2.4pre20201203_8ad2c9c - Hydra eval: https://hydra.nixos.org/eval/1632527
sh <(curl -L https://github.com/sandhose/nix-flakes-installer/releases/download/nix-2.4pre20201203_8ad2c9c/install)name: "Test"
on:
pull_request:
push:
jobs:
tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
# Nix Flakes doesn't work on shallow clones
fetch-depth: 0
- uses: cachix/install-nix-action@v11
with:
install_url: https://github.com/sandhose/nix-flakes-installer/releases/download/nix-2.4pre20201203_8ad2c9c/install
# Configure Nix to enable flakes
extra_nix_config: |
experimental-features = nix-command flakes
# Run the general flake checks
- run: nix flake check
# Verify that the main program builds
- run: nix shell -c echo OK- Go to https://hydra.nixos.org/jobset/nix/master
- Find the latest eval ID
- Run
./update.rb <eval ID> - Tag with the release ID.
- Push to GitHub
- Create a new GitHub release and attach all those files in the ./dist folder.