Nixpkgs/Building RPM DEB with nixpkgs: Difference between revisions

imported>Das-g
spell out what is supposedly meant by "the curl->sh"
imported>Das-g
m fix/wikify numbered list
Line 36: Line 36:
The author used a simple approach:
The author used a simple approach:


1. Clone the official nixpkgs repository into <code>~/nixpkgs</code>
# Clone the official nixpkgs repository into <code>~/nixpkgs</code>
2. Add a file to the nixpkgs repository <code>./deb.nix</code> with the following contents:
# Add a file to the nixpkgs repository <code>./deb.nix</code> with the following contents:


(In this scenario, ncurses was built for testing the whole approach)
(In this scenario, ncurses was built for testing the whole approach)