Nixpkgs/Create and debug packages: Difference between revisions

Das-g (talk | contribs)
m Using nix-shell for package development: Improve grammar in note about preConfigurePhase
m Use blobless clone instead of shallow clone for nixpkgs clone
 
Line 16: Line 16:


# Fork the repo (e.g. click the fork button on https://github.com/nixos/nixpkgs).
# Fork the repo (e.g. click the fork button on https://github.com/nixos/nixpkgs).
# Clone your fork <code><nowiki>git clone --depth 1 https://github.com/YOURNAME/nixpkgs.git</nowiki></code>
# Clone your fork <code>git clone --filter=blob:none <nowiki>https://github.com/YOURNAME/nixpkgs.git</nowiki></code>
# Hack hack hack
# Hack hack hack
# Push your changes to your fork
# Push your changes to your fork