Skip to content

Update flake.lock and add new CLI packages #6

Update flake.lock and add new CLI packages

Update flake.lock and add new CLI packages #6

Workflow file for this run

name: check
on:
pull_request:
push:
branches:
- staging
workflow_dispatch:
jobs:
check:
strategy:
matrix:
nixPath:
- nixpkgs-unstable
- nixos-unstable
- nixos-24.05
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install nix
uses: cachix/install-nix-action@v30
with:
nix_path: "nixpkgs=https://github.com/NixOS/nixpkgs/archive/refs/heads/${{ matrix.nixPath }}.tar.gz"
extra_nix_config: |
experimental-features = nix-command flakes
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
- name: Show nixpkgs version
run: nix-instantiate --eval -E '(import <nixpkgs> {}).lib.version'
- name: Check evaluation
run: |
nix-env -f . -qa \* --meta --xml \
--allowed-uris https://static.rust-lang.org \
--option restrict-eval true \
--option allow-import-from-derivation true \
--drv-path --show-trace \
-I nixpkgs=$(nix-instantiate --find-file nixpkgs) \
-I $PWD