1 line
2 KiB
Plaintext
1 line
2 KiB
Plaintext
<!-- SC_OFF --><div class="md"><p>Hi,</p> <p>I have been using GUIX for the last 5 months, and I am very happy with it. It is stable, free and friendly, I want to give back to the community, so I want to start adding packages.</p> <p>I am aware about the docs (<a href="https://guix.gnu.org/manual/en/html_node/Contributing.html">https://guix.gnu.org/manual/en/html_node/Contributing.html</a>) and even watched the great Tropin video about packaging (<a href="https://youtu.be/R8DtPnP4eL8">https://youtu.be/R8DtPnP4eL8</a>). I also checked the personal channel of Daviwil (<a href="https://github.com/daviwil/channel-x">https://github.com/daviwil/channel-x</a>)</p> <p>So, I think that I have a partial notion about what to do. But I am afraid that I don't know how to "isolate", let me try to explain:</p> <p>Ideally, I will bring three or four Emacs packages from melpa, so I can start with <code>guix import elpa -a melpa package</code>, also I will want to add two Python packages from PiPi, so more or less same deal.</p> <p>This will give me several scheme files containing the package definitions.</p> <p>Ideally, I will want to test it before submitting, So I was thinking about using a private channel (like daviwil), so, no problem, I can upload the definitions there.</p> <p>But, my question remains, How to test them? Should I create an environment <code>guix environment --ad-hoc ...</code> and use the package definition? And after that pulling from the private channel? Or should I use <code>guix environment --pure ...</code>?</p> <p>I apologize if this is a silly/obvious question</p> <p>Thanks in advance</p> </div><!-- SC_ON -->   submitted by   <a href="https://www.reddit.com/user/nanounanue"> /u/nanounanue </a> <br/> <span><a href="https://www.reddit.com/r/GUIX/comments/p6wn5s/how_to_create_and_test_new_packages/">[link]</a></span>   <span><a href="https://www.reddit.com/r/GUIX/comments/p6wn5s/how_to_create_and_test_new_packages/">[comments]</a></span> |