Sender | Message | Time |
---|---|---|
11 Oct 2025 | ||
so it won't cause "that bad" of UB | 20:07:09 | |
and we just saw the issue from the first commit | 20:07:15 | |
so I am back to my "one bug, two symptoms" theory | 20:07:31 | |
20:27:33 | ||
nix, or nixpkgs, does not really have a concept of multiple extant versions of a package. i see this worked around in cases of overwhelming importance with e.g. python312, python313 etc. but in general if you need an older version of package XYZ you are dealing with a git history search and pinning to a commit there is no fundamental reason why nixpkgs HEAD could not contain the logic for multiple versions of package XYZ so - to start from the beginning - is there something in background: i want to introduce nix devshells in a company where this kind of situation happens all the time (i.e. some project has to be checked out from github and worked on using a list of software versions that is both brittle and not recent) | 22:35:31 | |
12 Oct 2025 | ||
John Ericson, Sergei Zimmerman (xokdvium) why do we run functional tests against an old version of Nix? It's causing my new multiple-outputs cycle detection functional tests to fail under nix-daemon-compat-tests | 00:05:50 | |
Should I make the test agnostic to the old version or just not have it run when in compat tests? | 00:06:10 | |
02:45:01 | ||
02:45:11 | ||
(i made the test agnostic) | 02:46:01 | |
Yea, you're not technically wrong that packages on the same version of nixpkgs could have different versions. But you'd have to have a package for every version of its dependencies as well. At which point, it is usually easier to dig through git or just override the package with a different version of source. That said, you'd have to do the same for its dependencies as well. But it's much easier to push this unto the user than force all of the nixpkgs maintainers to keep every package up to date. That said, I do agree that there should be an easier CLI interface to dig through nixpkgs and find necessary package versions or versions within requirements such as version ranges | 03:26:54 | |
So for some packages, yes, we do support multiple versions b/c we need to in the current version of nixpkgs (clang, python, gcc, glibc, etc). But for most packages, that is very unnecessary to maintain the current round of packages in nixpkgs | 03:28:01 | |
Thanks midischwarz12 I guess I am just looking for a framework to approach the problem. I would not have minded contributing the code to nixpkgs for packaging specific old versions of this or that. But it was pointed out to me that it would have an infeasible impact on Hydra -- a piece of the puzzle I wasn't seeing until now.
Sounds like what I am looking for... this means using "overlays" then? | 09:22:08 | |
09:55:46 | ||
@lovesegfault:matrix.org: we make tests require a new enough daemon version all the time | 14:04:52 | |
If you grep for DaemonVersion I think you'll see it | 14:05:28 | |
Hello! Any chance there's a spec about the different Fields provided for each ActivityType in the nix logger? Right now to answer this question I'm grepping the nix codebase for each ActivityType and looking at the arguments to the Activity::Activity constructor to infer the field types and number (if any exist). I'm wondering if there's an easier/more canonical way to do this. | 15:30:35 | |
You overlay when you want to stitch multiple overrides together or want the package that's available across your entire package set such as nixpkgs. What you're really desiring is just a single override and probably not overriding every package that consumes this package as a dependency. So an overlay would be unnecessary | 16:39:36 | |
* You overlay when you want to stitch multiple overrides together or want the override available across your entire package set such as nixpkgs. What you're really desiring is just a single override and probably not overriding every package that consumes this package as a dependency. So an overlay would be unnecessary | 16:40:03 | |
* You overlay when you want to stitch multiple overrides together or want the override available across your entire package set such as nixpkgs when used as a dependency. What you're really desiring is just a single override and probably not overriding every package that consumes this package as a dependency. So an overlay would be unnecessary | 16:40:25 | |
I think overlays are often reached for a bit too early and people should take note more often that this ruins a lot of the reproducible nature of nix. Your nixpkgs will no longer be the same as everyone else's when you use an overlay | 16:41:25 | |
Adding builds with ASAN/UBSAN to hydraJobs: https://github.com/NixOS/nix/pull/14227 | 16:59:48 | |
21:27:43 | ||
21:28:17 | ||
21:28:28 | ||
13 Oct 2025 | ||
ok did you mean doing something like what's described on this page? https://nixos.org/guides/nix-pills/17-nixpkgs-overriding-packages.html | 10:27:48 | |
Hi everyone, i want to know what's the recommendation to work on nixpkgs. Currently, i tried to open nixpkgs project on vscode and neovim. But it's very slow because nixpkgs have a lot of folders. Maybe open only the correct directory ? | 17:12:11 | |
Wrong room | 17:16:05 | |
You want #Nixpkgs / NixOS contributions | 17:16:14 | |
thx | 17:16:40 |