Skip to content
vic

cachix/devenv-nixpkgs

Tested nixpkgs pins that work with devenv

cachix/devenv-nixpkgs.json
{
"createdAt": "2024-03-03T11:51:40Z",
"defaultBranch": "main",
"description": "Tested nixpkgs pins that work with devenv",
"fullName": "cachix/devenv-nixpkgs",
"homepage": null,
"language": "Python",
"name": "devenv-nixpkgs",
"pushedAt": "2025-11-24T11:24:54Z",
"stargazersCount": 23,
"topics": [],
"updatedAt": "2025-11-24T11:24:58Z",
"url": "https://github.com/cachix/devenv-nixpkgs"
}

Battle-tested nixpkgs using devenv’s extensive testing infrastructure.

Currently, the only supported release is rolling.

Rolling is based on nixpkgs-unstable plus any patches that improve the integrations and services offered by devenv.

View the currently applied patches: https://github.com/cachix/devenv-nixpkgs/tree/main/patches

If the directory is empty, then all patches have been upstreamed into nixpkgs.

Latest test results from devenv’s comprehensive test suite:

Status: ❌ Some tests failing

Nixpkgs revision: 2409677

Test run: View detailed results

Last updated: 2025-11-24 11:24:53 UTC

PlatformTests Failed/TotalSuccess Rate
aarch64-linux3/7095.7%
x86_64-linux4/7194.3%
aarch64-darwin10/7185.9%
x86_64-darwin5/7092.8%
  • Total test jobs: 283
  • Successful: 261 ✅
  • Failed: 22 ❌
  • Success rate: 92%

This repository maintains (semi-)automated weekly updates from nixpkgs-unstable. The system automatically:

  • Fetches the latest nixpkgs-unstable commits
  • Applies any patches from the [patches directory]!(./patches)
  • Runs the comprehensive devenv test suite across multiple platforms
  • Updates the bump-rolling branch weekly every Monday at 9:00 UTC

To manually trigger an update outside the weekly schedule:

  1. Add patches (if needed): Place .patch files in the [patches directory]!(./patches)

  2. Run the sync workflow:

    Terminal window
    gh workflow run "Sync and test rolling"

    You can also specify custom parameters:

    Terminal window
    gh workflow run "Sync and test rolling" \
    -f target-branch=bump-rolling \
    -f upstream-ref=nixpkgs-unstable

To promote changes from bump-rolling to the stable rolling branch:

  1. Fetch latest changes:

    Terminal window
    git fetch origin
  2. Reset rolling to bump-rolling and deploy:

    Terminal window
    git checkout rolling
    git reset --hard origin/bump-rolling
    git push origin rolling --force-with-lease
  3. Create a timestamped backup of the released rolling branch:

    This will safe-guard the release from garbage-collection when rolling is bumped again.

    Terminal window
    git checkout -b rolling-$(date +%Y-%m-%d)
    git push origin rolling-$(date +%Y-%m-%d)

This ensures that the stable rolling branch contains thoroughly tested changes while maintaining historical snapshots of previous releases.