Skip to content

Personal GitHub Action and helper script to review nixpkgs in multiple platforms

License

Notifications You must be signed in to change notification settings

kachick/nixpkgs-reviewing-workspace

Repository files navigation

nixpkgs-reviewing-workspace

Dev Shell Status

Motivation

Checking the build result of nixpkgs in multiple platforms is an annoying task.

  • I basically do not use macOS these days and only have an old and slow Intel MacBook.
  • Having few devices or smartphones if I am walking.
  • Several packages are very heavy to build, they take a long time and require many resources.

Solution

  • GitHub Actions are free for pricing in public repositories. 😋

Matrix

As I understand that, Which github provided runner matches the Nix supported systems.

Excluding large runners here. Which cannot be used in free plan.

Nix GitHub
x86_64-linux ubuntu-24.04
aarch64-Linux ubuntu-24.04-arm
x86_64-darwin macos-13
aarch64-darwin macos-15

Usage

Specify the NixOS/nixpkgs PR number with following CLI,

task start -- "$PR_NUMBER"

or input it in workflow_dispatch if you can only use a smartphone.

Image

If you want to get results and reports in another machine, run below

task resume

Traps

I have obtained a different result with the runners and my device once.
I suspect it is caused by pnpm spec, but you should remember this case, especially if the package is using pnpm.fetchDeps.

About

Personal GitHub Action and helper script to review nixpkgs in multiple platforms

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •