No description
  • Rust 66.8%
  • JavaScript 26.5%
  • Nix 6.7%
Find a file
2026-03-15 17:58:10 +01:00
scripts claudius kann bischen besser js als ich 2025-05-07 12:17:42 +02:00
src feat: small notice before unlocking 2026-03-15 17:58:10 +01:00
.envrc init 2024-11-11 17:43:58 +01:00
.gitignore feat: add remote builder capabilities 2026-03-15 16:27:50 +01:00
Cargo.lock update 2026-03-15 17:40:29 +01:00
Cargo.toml update 2026-03-15 17:40:29 +01:00
CLAUDE.md chore: update Claude.md 2026-03-15 17:40:27 +01:00
flake.lock update 2026-03-15 17:40:29 +01:00
flake.nix update 2026-03-15 17:40:29 +01:00
README.md feat: remove tracking file 2024-12-01 20:45:49 +01:00

nixp-meta

General purpose meta tool for all things nix.

Currently implemented modules

PR tracking

Using nixp-meta track <pr> on can see which nixpkgs branches a pull requests has reached, to gauge if updating is worth it yet.

Live PR diffs

If you cannot wait for a PR to be merged, or just want to test it while it's still being worked on, this module is for you.

nixp-meta add-pr <pr> Downloads the diff for the specified PR to a folder (default ./patches/PR) nixp-meta update-prs updates all prs.

Then using below module one can alter nixpkgs to use these patches

{
  inputs,
  ...
}:
{
  flake = {
    nixpkgs-patched =
      let
        system = "x86_64-linux";
        pkgs = import inputs.nixpkgs { inherit system; };
      in
      pkgs.stdenvNoCC.mkDerivation {
        name = "Nixpkgs with patches from open PRs";
        src = inputs.nixpkgs;
        dontConfigure = true;
        dontBuild = true;
        doCheck = false;
        dontFixup = true;
        installPhase = ''
          cp -r ./ $out
        '';
        patches =
          if builtins.pathExists ../patches then pkgs.lib.filesystem.listFilesRecursive ../patches else [ ];
      };
  };
}