Get In Touch: Difference between revisions
imported>Vater better (and shorter) declaration as an "unofficial" explanation for the referencing to the official webpage |
imported>Ixxie Added Hack Nixpkgs section |
||
Line 26: | Line 26: | ||
YOUR_GITHUB_NAME=fill-in | YOUR_GITHUB_NAME=fill-in | ||
git remote add $YOUR_GITHUB_NAME git@github.com:$YOUR_GITHUB_NAME/nixpkgs.git | git remote add $YOUR_GITHUB_NAME git@github.com:$YOUR_GITHUB_NAME/nixpkgs.git | ||
</syntaxhighlight> | |||
==== Hack Nixpkgs ==== | |||
Make any modifications you want to your local copy of the repository. To test the changes on a NixOS machine, rebuild the system using your newly hacked Nixpkgs by executing: | |||
<syntaxhighlight lang="bash"> | |||
sudo nixos-rebuild switch -I nixpkgs=/path/to/local/nixpkgs | |||
</syntaxhighlight> | </syntaxhighlight> | ||