-
-
Notifications
You must be signed in to change notification settings - Fork 13.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
guix: init at 1.4.0 #246975
guix: init at 1.4.0 #246975
Conversation
This comment was marked as resolved.
This comment was marked as resolved.
Probably because EDIT: |
I just want to mention that @foo-dogsquared packaged guix some time ago: https://github.com/foo-dogsquared/nix-overlay-guix/blob/master/pkgs/guix.nix |
Ohh, that's saves some work, why isn't it in nixpkgs (should guix not be nixpkgs for some reason)? |
Hello! I do plan it to eventually upstream the package (and the module) in nixpkgs. (I mean there is a Nix service module in Guix so why not do the same here?) It's just that the Guix package in the overlay is not exactly complete which is why it's not in nixpkgs yet. Usable, but not complete where everything works. Also, testing the package for it to be acceptable in nixpkgs is time-consuming. Basically, I bit off more than I can chew and eventually my time was spent somewhere else. More hands on packaging it is definitely appreciated! |
Looking over it, my time would probably be best spent getting some of the guile packages in nixpkgs? Perhaps adding https://github.com/foo-dogsquared/nix-overlay-guix/blob/master/pkgs/guile/build-guile-module.nix? |
Ideally
As for That said, this should definitely go through a discussion with the community before implementing it. I'll make a mental note to file an issue later (or tomorrow) about this. |
238b309
to
9b2d85e
Compare
Did you ever get around to this? |
No, I haven't yet. Sorry, I entirely forgot since I was in a short vacation after I made that comment. Though, I already have some notes in mind regarding how Guile packages could be structured so it shouldn't take long in this night or tomorrow morning in my time. |
NW, and no rush! Looking forward to seeing what you've thought of. |
Hello! I'm going to say the issue may not be filed after all. After reviewing the state of Guile ecosystem, what I'm supposed to propose which is a restructuring of Guile modules similarly to Python and Lua in nixpkgs (i.e.,
Much of the problems have already been addressed some time ago. You can package Guile modules just fine with At this point, you could move on to upstreaming some of the packages from the overlay to nixpkgs. Feel free to add me as a co-maintainer to those upstreamed packages. Also be sure to ping me as well so you have an extra pair of eyes for review. edit: I've recently pushed some changes to the |
f8190aa
to
86c3e63
Compare
363ba3e
to
9257136
Compare
It seems to be working: $ sudo result/bin/guix-daemon --build-users-group=nixbld
accepted connection from pid 730770, user weijia $ result/bin/guix build hello --check
La dérivation suivante sera compilée :
/gnu/store/as3n66w4nd9s0lrq8i0w6xlh58hps9p1-hello-2.12.1.drv
construction de /gnu/store/as3n66w4nd9s0lrq8i0w6xlh58hps9p1-hello-2.12.1.drv...
starting phase `set-SOURCE-DATE-EPOCH'
phase `set-SOURCE-DATE-EPOCH' succeeded after 0.0 seconds
starting phase `set-paths'
...
phase `compress-documentation' succeeded after 0.1 seconds
construction de /gnu/store/as3n66w4nd9s0lrq8i0w6xlh58hps9p1-hello-2.12.1.drv réussie
construction de /gnu/store/as3n66w4nd9s0lrq8i0w6xlh58hps9p1-hello-2.12.1.drv réussie
/gnu/store/s2qnbdlrwlx47h5p6rxlylny1259srmj-hello-2.12.1
$ result/bin/guix shell hello
$ hello
Hello, world! |
Signed-off-by: Christina Sørensen <christina@cafkafk.com>
Description of changes
This is a work in progress to add guix to nix once again.
Things done
sandbox = true
set innix.conf
? (See Nix manual)nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)