rycee changed the topic of #home-manager to: Support and discussion around the Home Manager project (https://github.com/rycee/home-manager) | Logs: https://logs.nix.samueldr.com/home-manager
mexisme_ has quit [Ping timeout: 240 seconds]
boxscape has quit [Remote host closed the connection]
evanjs has quit [Quit: ZNC 1.7.5 - https://znc.in]
evanjs has joined #home-manager
<NemesisD> does anyone have suggestions for installing python programs that are not in the python*Packages set? i need to install certbot and certbot-s3front and make the s3front plugin available to the former
malSet has quit [Ping timeout: 255 seconds]
<mmatthieu> Like creating your own derivations ?
<mmatthieu> I used that, for example, that fetches and uses a python package from pip ; https://0bin.net/paste/fcZAO2bOL19I3A3X#rQJlwr3EVRb454zFNuh39ICLcW+w5u0nRZzpuXo01da
<mmatthieu> Something like that, I think.
malSet has joined #home-manager
<NemesisD> mmatthieu: ok so i'd probably pull certbot out of the default packageset and then write a derivation like you did for certbot-s3front but with cerbot in the propagatedBuildInputs?
<mmatthieu> Yes. You should add, here, every dependency : https://github.com/dlapiduz/certbot-s3front/blob/master/setup.py#L8
malSet has quit [Ping timeout: 240 seconds]
malSet has joined #home-manager
malSet has quit [Ping timeout: 256 seconds]
<mmatthieu> 'night
mexisme_ has joined #home-manager
mexisme_ has quit [Ping timeout: 256 seconds]
malSet has joined #home-manager
malSet_ has joined #home-manager
malSet has quit [Ping timeout: 255 seconds]
malSet_ has quit [Ping timeout: 256 seconds]
<NemesisD> mmatthieu: i think i'm in a bit of a pickle. i've got the deps building but certbot is still behaving as if certbot-s3front isn't installed. i can't put certbot-s3front into certbot's propagatedBuildInputs because certbot is a dependency of certbot-s3front so that's infinite recursion: https://0bin.net/paste/kt-s6PKn13BFAoGs#osv3ZC5fcpuvFkikTG3alOPREBRQRIOFgn9LUjOYnWf
malSet has joined #home-manager
malSet has quit [Ping timeout: 240 seconds]
mexisme_ has joined #home-manager
mexisme_ has quit [Ping timeout: 255 seconds]
cole-h has quit [Ping timeout: 256 seconds]
mexisme_ has joined #home-manager
mexisme_ has quit [Ping timeout: 256 seconds]
__monty__ has joined #home-manager
__monty__ has quit [Client Quit]
mexisme_ has joined #home-manager
__monty__ has joined #home-manager
mexisme_ has quit [Ping timeout: 272 seconds]
__monty__ has quit [Quit: leaving]
__monty__ has joined #home-manager
<mmatthieu> NemesisD: No, you should add certbot as a certbot-s3front dependency.
mexisme_ has joined #home-manager
mexisme_ has quit [Ping timeout: 256 seconds]
mexisme_ has joined #home-manager
mexisme_ has quit [Ping timeout: 240 seconds]
greizgh has quit [Quit: greizgh]
greizgh has joined #home-manager
mexisme_ has joined #home-manager
klntsky has quit [Ping timeout: 240 seconds]
klntsky has joined #home-manager
cole-h has joined #home-manager
malSet has joined #home-manager
kp125 has joined #home-manager
malSet has quit [Ping timeout: 260 seconds]
kp125 has quit [Quit: Leaving]
malSet has joined #home-manager
mexisme_ has quit [Ping timeout: 272 seconds]
malSet has quit [Read error: Connection reset by peer]
malSet_ has joined #home-manager
malSet_ has quit [Ping timeout: 256 seconds]
malSet has joined #home-manager
malSet has quit [Ping timeout: 255 seconds]
mexisme_ has joined #home-manager
mexisme_ has quit [Ping timeout: 255 seconds]
mexisme_ has joined #home-manager
<NemesisD> mmatthieu: it currently is that way in the paste
<mmatthieu> I'm just saying that "i can't put certbot-s3front into certbot's propagatedBuildInputs" this is not what you have to do.
<mmatthieu> It's the opposite, actually.
<mmatthieu> Certbot is already packaged.
<mmatthieu> And there's already an acme-client package as well.
<mmatthieu> I don't think you need to create a derivation for them.
<mmatthieu> I hope I'm not wrong ^^{
<mmatthieu> * I hope I'm not wrong ^^'
<NemesisD> mmatthieu: yeah i've seen that certbot is already packged. the problem is i need a plugin for that called certbot-s3front which they recommend you install with python, so i'm not sure how i could get that base certbot package to pick up on certbot-s3front. alternatively certbot-s3front publishes a docker container, but i also failed to writing a nix expression to ensure that image is pulled (maybe misguided)
<mmatthieu> Let's see the nixpkgs certbot derivation
<mmatthieu> Sources are directly imported from github. They are probably more up to date than the ones from pypi. I think you could just give it a try, and if this not works, you could try another way. But first, just try the easyiest way ^^
<NemesisD> mmatthieu: so what's the idea here? copy this derivation and append certbot-s3front to the propagatedBuildInputs?
<mmatthieu> Nope
<mmatthieu> Do you really need acme ? I think that acme actually is certbot ?
<mmatthieu> https://pypi.org/project/acme/ when you follow the "homepage" link here, it opens the certbot github repo.
<mmatthieu> https://0bin.net/paste/D4epZnaxdVREzc2T#OwPEfzeW+imjhgsgN+jg0VC0p563hR2dQCeTTJV9lR+
<mmatthieu> oops, it's actually pkgs.certbot, my bad.
<cole-h> https://github.com/rycee/home-manager/pull/1063/ First real contribution! 🎉
<mmatthieu> Well done :)
<cole-h> It looks pretty ugly, but it works, so I can't complain. Hopefully I don't have to do much cleaning up before it gets merged
<cole-h> Comments, criticisms, etc welcome
<mmatthieu> I'm a noob, I also created my first PR a yesterday ^^
<cole-h> mmatthieu: 🎉
<mmatthieu> 👍️
__monty__ has quit [Quit: leaving]
mexisme_ has quit [Ping timeout: 255 seconds]
malSet has joined #home-manager
mexisme_ has joined #home-manager