Template Blog Entry
first, i create a package in
~/nixos/pkgs/my-package, add it to the
~/nixos/pkgs/overlay.nix, and rebuild.
after i know the package is working reliably i:
- add the package to
git diff HEAD~1.. > ~/nixos/nixpatches/my-package.patch
- link this
my-package.patchinto the nixpatches and remove
after my overlay is working reliably i:
git push colinsane new-pkg-my-packageand open a PR.
as the PR is worked, i'll repeat this process (
git diff into a patch, then commit & push once i see it's working).
once the PR is merged i:
~/nixos/nixpatches/my-package.patchwith a link to the PR's diff instead.
finally as new nixos versions are released my
~/nixos/nixpatches directory shrinks.