com um clique
apply-pr-to-flake
Apply a nixpkgs PR override to the flake.nix configuration
Instalar com Codex ou Claude Copie este prompt, cole no Codex, Claude ou outro assistente e deixe que ele revise a página da skill e instale para você.
Menu
Apply a nixpkgs PR override to the flake.nix configuration
Instalar com Codex ou Claude Copie este prompt, cole no Codex, Claude ou outro assistente e deixe que ele revise a página da skill e instale para você.
Baseado na classificação ocupacional SOC
Commit the current working-tree changes with a well-formed message. Use when the user says "commit", "commit this", "do a commit", "stage and commit", or otherwise asks to commit the current changes.
Create a new NixOS host configuration in this repository
| name | apply-pr-to-flake |
| description | Apply a nixpkgs PR override to the flake.nix configuration |
| license | MIT |
| metadata | {"audience":"nixos-admins","workflow":"pr-application"} |
Apply a nixpkgs PR to flake.nix by creating an input and overlay to override a specific package version. This follows the documented pattern in flake.nix lines 120-137.
Use this when you want to apply a PR from the main nixpkgs repository to override a package version in your flake without merging it upstream yet.
modules/pr-overlays.nix for declarative management?
myconfig.prOverlays.enable and list of overlays [{package, prNumber, inputName, maxVersion?, prUrl}]inputs section after other inputs:
{input}.url = "github:{owner}/{repo}/{commit-hash}";
nixpkgs.overlays = map
({ input, pkg }:
(_: _:
{ "${pkg}" =
(import inputs."${input}" {
inherit (pkgs) config system;
})."${pkg}";
})
)
[
{ input = "{input}"; pkg = "{package}"; }
];
./nixfmtall.sh to format all Nix filesnix flake check to validate the configurationpr<PR-number> is preferred (e.g., pr500995)nix flake check after making changes to ensure validity