Skip to content

Instantly share code, notes, and snippets.

@colemickens
Last active September 7, 2020 22:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save colemickens/42d32a7f52d98e5d10f595ef0d34f5fa to your computer and use it in GitHub Desktop.
Save colemickens/42d32a7f52d98e5d10f595ef0d34f5fa to your computer and use it in GitHub Desktop.
# Prepare Custom Nixpkgs Checkout/branch
cd ~/nixpkgs
git remote update # updates all git remotes and their branches
git checkout -b mypkgs # checkout my own pkg branch
git reset --hard fetched/branch # reset us to the PR commit
git rebase -i nixpkgs/nixos-unstable # rebase us on the nixpkgs channel we use
# Edit your nixos configuration.nix to include a reference to the package
see: https://gist.github.com/colemickens/9c351c0842b0742e9ec7cbee6b9aa585
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment