!etBYPdyCKgnXJSXexD:matrix.org

NixOS GSoC

125 Members
14 Servers

Load older messages


SenderMessageTime
18 Mar 2024
@thatliuser:matrix.orgEric

Hi all! My name is Eric and I'm a 3rd year undergraduate Computer Engineering student at UC Irvine. I have been daily driving NixOS for roughly two years now, and I love how reusable my config is across different machines, along with how simple it is to tinker with your system without having to worry about breaking anything you've already set up. I'm intrigued by the "Build GCC libraries and compiler separately" project but I believe I don't fully understand the premise of the project from the GSoC page. Initially I thought the proposal was referring to glibc, but from a preliminary search and what I've previously heard, glibc is already distributed separately from gcc.

  • Is the proposal referring to compiling libgcc separately from the main compiler process? (https://github.com/NixOS/nixpkgs/blob/nixos-23.11/pkgs/development/compilers/gcc/common/libgcc.nix)? This feels like the wrong idea (since I don't see how this is more flexible), but I couldn't seem to find much else from looking around at nixpkgs and a brief look into GCC's components.

  • It isn't immediately obvious to me why compiling the library separately from the compiler would be helpful for bootstrapping (I'm also not exactly sure what this term refers to. What's being bootstrapped?)

  • I (briefly) looked into Exherbo to see what their approach to compiling GCC is, but I can't really tell what they're doing differently from a glance. I found this article (https://www.exherbolinux.org/docs/multiarch-pr.html) which seems to explain a similar concept, but I'm not sure if this is what's being referred to. It's also not a very detailed article about how Exherbo accomplishes this goal.

May I have some more clarification on the goals of this project? I tried to search for an issue mentioned in the nixpkgs repository as well, but I didn't find any relevant results.
I'm very excited by the opportunity to help out my favorite Linux distro and thank you in advance for the feedback!

23:13:33
19 Mar 2024
@mjolnir:nixos.orgNixOS Moderation Botchanged room power levels.00:29:54
@siddhant_codes:matrix.orgFPenjoyer
In reply to @janik0:matrix.org
yes, but afaik he ist still a bit tired because of jetlag after nixcon na.
no problem. I have posted a draft proposal on github (https://github.com/siddhantk232/nix_gsoc) and created a post on discourse (https://discourse.nixos.org/t/request-for-review-of-my-gsoc24-proposal/41721).
06:15:22
@siddhant_codes:matrix.orgFPenjoyerseems like GSOC does allow to change proposals after submission before the deadline. Should I upload my draft proposal (https://github.com/siddhantk232/nix_gsoc/blob/main/gsoc_proposal.pdf) on the gsoc dashboard for review purposes? I need some help with splitting the work into small manageable chunks, please see https://discourse.nixos.org/t/request-for-review-of-my-gsoc24-proposal/41721 for more context06:24:35
@janik0:matrix.orgJanik (they/them)
In reply to @siddhant_codes:matrix.org
seems like GSOC does allow to change proposals after submission before the deadline. Should I upload my draft proposal (https://github.com/siddhantk232/nix_gsoc/blob/main/gsoc_proposal.pdf) on the gsoc dashboard for review purposes? I need some help with splitting the work into small manageable chunks, please see https://discourse.nixos.org/t/request-for-review-of-my-gsoc24-proposal/41721 for more context
either is fine I think.
06:59:58
@siddhant_codes:matrix.orgFPenjoyerCool, I'll wait for Ericson2314 to respond before making submission on GSOC dashboard then.07:05:24
@torelli:matrix.orgGiovanni TorelliThanks Janik, I will ask the especific questions to the potential mentor then11:21:13
@torelli:matrix.orgGiovanni TorelliIs "Ericson2314" in this room?11:22:08
@torelli:matrix.orgGiovanni Torelli
In reply to @siddhant_codes:matrix.org
Cool, I'll wait for Ericson2314 to respond before making submission on GSOC dashboard then.
Hey, how did you find his contact? I only found him on GitHub
11:25:31
@atticuskuhn:matrix.orgatticuskuhn joined the room.11:48:36
@atticuskuhn:matrix.orgatticuskuhnHello everyone, my name is Atticus, and I am a first-year undergrad student at Cambridge. I have recently gotten into using NixOS, and I am a fan of NixOS. I also have experience using Node.JS, so I was thinking about writing up a proposal for the pnpm idea from the ideas page.11:50:19
@siddhant_codes:matrix.orgFPenjoyer
In reply to @torelli:matrix.org
Hey, how did you find his contact? I only found him on GitHub
I made a post on discourse and tagged him there. He has his email listed on his github profile but I didn't try that
13:44:07
@ss:someonex.netSomeoneSerge (back on matrix)
In reply to @sinan:sinanmohd.com

I'm interested in Nixpkgs analytics: nixpkgs-review with a time-budget and
adding nixpkgs library networking functions, it will directly help me as I'm
running NixOS on my PC and servers I maintain,

I'd also like to improve support for pppd and stalwart mail (something like
simple-nixos-mailserver, but fully upstreamed), as of now I'm using an out of
tree module for both

I'm comfortable with c, go, nix, /bin/sh, python, oop, and lua. I'm not as good
with python, but I've written python libraries for a networking project before.

Hi! Would you like to chat about the time-budget project in some more detail? We can do DM
16:32:54
@cldrpr:matrix.org@cldrpr:matrix.orgHi all - my name is Tim. After several years in the work force and with a previous non-STEM education background, I have returned to school to study CS. In addition to much self-study, work-related and personal projects over the past several years, I am continuing to build my CS fundamentals as a part-time student while working full-time and preparing MSCS program applications. I have used NixOS as my daily driver for nearly a year and have become a committed believer in the potential of Nix. I have long aspired to become an open-source contributor and passionate about Nix. I know I have a ton to learn - but am self-driven and love a good challenge. If I am chosen as a GSoC contributor, I will be grateful for any guidance/mentorship I receive and look forward to making positive contributions well into the future. I am researching devenv for a possible proposal - and am also generally very curious about nixpkgs' FHS build environment/bubblewrap implementation, mkDerivation, and Nix's approach to cross-compilation. If anyone has any guidance in how I may best contribute in any of these areas, please DM. (I apologize for the belated introduction. I have been lurking for a few weeks in preparation for my application.)17:01:05
@cldrpr:matrix.org@cldrpr:matrix.org * Hi all - my name is Tim. After several years in the work force and with a previous non-STEM education background, I have returned to school to study CS. In addition to much self-study, work-related and personal projects over the past several years, I am continuing to build my CS fundamentals as a part-time student while working full-time and preparing MSCS program applications. I have used NixOS as my daily driver for nearly a year and have become a committed believer in the potential of Nix. I have long aspired to become an open-source contributor and am passionate about Nix. I know I have a ton to learn - but am self-driven and love a good challenge. If I am chosen as a GSoC contributor, I will be grateful for any guidance/mentorship I receive and look forward to making positive contributions well into the future. I am researching devenv for a possible proposal - and am also generally very curious about nixpkgs' FHS build environment/bubblewrap implementation, mkDerivation, and Nix's approach to cross-compilation. If anyone has any guidance in how I may best contribute in any of these areas, please DM. (I apologize for the belated introduction. I have been lurking for a few weeks in preparation for my application.)17:01:54
@sinan:sinanmohd.com@sinan:sinanmohd.com
In reply to @ss:someonex.net
Hi! Would you like to chat about the time-budget project in some more detail? We can do DM
yes, I've sent a request
17:09:29
@Ericson2314:matrix.orgJohn Ericson
In reply to @thatliuser:matrix.org

Hi all! My name is Eric and I'm a 3rd year undergraduate Computer Engineering student at UC Irvine. I have been daily driving NixOS for roughly two years now, and I love how reusable my config is across different machines, along with how simple it is to tinker with your system without having to worry about breaking anything you've already set up. I'm intrigued by the "Build GCC libraries and compiler separately" project but I believe I don't fully understand the premise of the project from the GSoC page. Initially I thought the proposal was referring to glibc, but from a preliminary search and what I've previously heard, glibc is already distributed separately from gcc.

  • Is the proposal referring to compiling libgcc separately from the main compiler process? (https://github.com/NixOS/nixpkgs/blob/nixos-23.11/pkgs/development/compilers/gcc/common/libgcc.nix)? This feels like the wrong idea (since I don't see how this is more flexible), but I couldn't seem to find much else from looking around at nixpkgs and a brief look into GCC's components.

  • It isn't immediately obvious to me why compiling the library separately from the compiler would be helpful for bootstrapping (I'm also not exactly sure what this term refers to. What's being bootstrapped?)

  • I (briefly) looked into Exherbo to see what their approach to compiling GCC is, but I can't really tell what they're doing differently from a glance. I found this article (https://www.exherbolinux.org/docs/multiarch-pr.html) which seems to explain a similar concept, but I'm not sure if this is what's being referred to. It's also not a very detailed article about how Exherbo accomplishes this goal.

May I have some more clarification on the goals of this project? I tried to search for an issue mentioned in the nixpkgs repository as well, but I didn't find any relevant results.
I'm very excited by the opportunity to help out my favorite Linux distro and thank you in advance for the feedback!

Hi Eric! Glad you are interested:

  1. Yes libgcc, but also the other gcc runtime libraries. (libssp, libstdc++ are two of them off hand)

  2. Don't worry about "bootstrapping" too much, just consider that before we build libgcc we may not have a libgcc, etc. A lot of compiler devs are working on regular machines and doing builds where they already have 1 copy of everything, which allows being more sloppy about depedencies and breaking cycles. Building compiler and libraries together is bad for a few reasons, but those reasons might mainly be in my head haha. Examples:

    • cross compiling mean can mean the libraries are for one platform and the compiler itself is for another. But having the installed outputs of a package involve two platforms that way is really messy and breaks assumptions in other packaging infra
    • That fact that some of the libraries do need a libc, and the libc is a separate package, means we have zig-zag problem (finishing the compiler build depeneds on downstream package build which depends on the compielr build) we can get around this by building things twice but that is ugly and wasteful
18:16:31
@Ericson2314:matrix.orgJohn EricsonFor exerhob I would gather a list of gcc libs (like libssp, libgcc. libstdc++) and see how they build those libs, they should be in separate libraries18:17:24
@daniel_kriz:matrix.orgkostrak joined the room.21:59:42
@eureka-cpu:matrix.orgeureka-cpu joined the room.23:33:06
@eureka-cpu:matrix.orgeureka-cpu

Hello, my name is Chris and I'm an open source Rust developer. This is my third year writing software, and second year using Nix/NixOS for personal and work use. Until 2021 I was a full time music instructor, I learned entirely via online resources and have been working on language compilers and blockchain networks for about 2 years now. I'm interested in taking on a small to medium sized task for GSoC, and the proposals that interest me the most are nixpkgs library networking functions and Nix Internals: Use std::filesystem::path for Path. I also have a personal Nix project I'm working on, though I feel that it's more of a community project than something that would make for a good proposal. Nonetheless, it's called mynixui (My Nix UI), and it aims to give those developing their own desktop environments (or rices) robust scripts written in rust, and allow users to quickly and seamlessly switch between different desktop interfaces. It's currently a flake for convenience, though I could see it being integrated with home-manager later on. Writing Nix is extremely exciting to me, and I've also been using it to package and cross compile binaries for work using crane, lately.

I'm happy to take on any challenge, and I would greatly appreciate the mentorship.

23:45:40
20 Mar 2024
@dverane:matrix.orgdverane joined the room.01:27:58
@rafaelsgirao:matrix.org@rafaelsgirao:matrix.org joined the room.09:34:00
@siddhant_codes:matrix.orgFPenjoyer
In reply to @siddhant_codes:matrix.org
no problem. I have posted a draft proposal on github (https://github.com/siddhantk232/nix_gsoc) and created a post on discourse (https://discourse.nixos.org/t/request-for-review-of-my-gsoc24-proposal/41721).
Hey John Ericson I sent this message when you were not in this channel. Please provide your feedback on the draft proposal and help me come up with a better "Suggested approach".
Thank you.
12:30:01
@Ericson2314:matrix.orgJohn Ericson FPenjoyer: thanks! 15:54:19
@Ericson2314:matrix.orgJohn Ericson FPenjoyer: yeah a frustrating thing with me and GSOC is that it makes "agile" stuff hard 16:00:32
@Ericson2314:matrix.orgJohn Ericsonbut this task is inherently a pretty agile process16:00:39
@Ericson2314:matrix.orgJohn Ericsonit is normal to have e.g. a long-running PR, and then be splitting things out as they are ready for review, for example16:01:00
@Ericson2314:matrix.orgJohn Ericsonand there is definitely a creative "learn as we go how std::filesystem" should be used with this16:01:25
@Ericson2314:matrix.orgJohn EricsonI forget to what extent google rejects even if mentor/org accepts, so maybe these things are less of an issue, not sure16:01:52

Show newer messages


Back to Room ListRoom Version: 10