Nix Package Manager development | 893 Members | |
| For people hacking on Nix: https://github.com/NixOS/nix Nix maintainers can be reached here. | 188 Servers |
| Sender | Message | Time |
|---|---|---|
| 6 Mar 2026 | ||
| 01:45:50 | ||
| 03:32:29 | ||
there's no way to do this without running nix shell with root permissions | 05:01:17 | |
| see https://man7.org/linux/man-pages/man7/user_namespaces.7.html "In order for a process to write to the /proc/pid/uid_map", currently bullet 5, (b), bullet 1 | 05:02:16 | |
| * see https://man7.org/linux/man-pages/man7/user_namespaces.7.html "In order for a process to write to the /proc/pid/uid_map ...", currently bullet 5, (b), bullet 1 | 05:02:25 | |
| and we have to be in a new user namespace to create a mount namespace and start mounting stuff | 05:03:36 | |
| * see https://man7.org/linux/man-pages/man7/user_namespaces.7.html "In order for a process to write to the /proc/pid/uid_map ...", currently bullet 5, (b), bullet 1
| 05:04:37 | |
side note, don't you love it when all you need to understand is 1 and 2 and 3 and ( 4(a) or 4(b) ) and ( 5(a) or ( 5(b)1 and 5(b)2 and 5(b)3 ) ) | 05:06:11 | |
so just, to clarify, putting aside everything else, 5(b)1 says that if you don't have CAP_SETUID, then you can only map yourself in the parent userns to any uid in the child userns. everyone else in the parent userns becomes nobody in the child | 05:07:56 | |
* so just, to clarify, putting aside everything else, 5(b)1 says that if you don't have CAP_SETUID, then you can only map yourself in the parent userns to any uid in the child userns. everyone else in the parent userns becomes nobody in the child userns | 05:08:26 | |
* so just, to clarify, putting aside everything else, 5(b)1 says that if you don't have CAP_SETUID in the parent userns, then you can only map yourself in the parent userns to any uid in the child userns. everyone else in the parent userns becomes nobody in the child userns | 05:08:36 | |
| 17:45:26 | ||
| Hey yall, via nix I installed "jasp-desktop", and it installed the binary "JASP" (in all caps), I'm pretty sure that most binaries are not capitialized, so is this a problem I could make a PR for, or is this normal for nix? (It is just a bit confusing that I cant just run the program with "jasp"). | 18:23:47 | |
| That's mostly up to upstream | 18:38:24 | |
| 19:57:47 | ||
| 7 Mar 2026 | ||
| Did I hear someone say freebsd sandbox building? | 16:22:04 | |
| 8 Mar 2026 | ||
| 23:28:36 | ||
| 9 Mar 2026 | ||
| 22:05:42 | ||
| 10 Mar 2026 | ||
| Sharing this from Spack (spack.io) how they handle OpenGL or runtime type library dependencies:
| 00:18:29 | |
| tl;dr; Spack puts a 128 length padded entry in RPATH for the library (i.e. OpenGL). At realisation, the ELF binary is modified to point to the live running library. | 00:19:15 | |
| not reaaaly an option for nix | 02:24:10 | |
| and for regular rpath rewriting while building, we've been patchelf-ing everything which handles making a new PT_DYNAMIC | 02:25:21 | |
| so that's also not a problem | 02:25:25 | |
| * so that's also "not" a problem | 02:25:35 | |
| Speaking about patchelf, there has been discussion about using fixpath instead. | 07:25:44 | |
| * Speaking about patchelf, there has been discussion about using fixpath or some alternative instead, which I don't remember. | 07:26:18 | |
| * Speaking about patchelf, there has been discussion about using fixpath or some alternative instead, which I don't remember. But the reason is for windows and unix are very different binary formats eg. windows being Pe (portable exe), linux being elf, macos being mach-o. | 07:29:18 | |
| if you mean https://github.com/nixcloud/fixPath i think that's PE-only, so "additionally", not "instead" | 07:33:45 | |
| 08:45:47 | ||
| 12:07:25 | ||