Sender | Message | Time |
---|---|---|
17 Feb 2025 | ||
any clue what would be causing this?
(installed using the lix module on a flakes system) grepping through my dotfiles for | 02:52:47 | |
yeah i've been seeing this too, i suspect there's something inside lix that's setting this specifically for nix flake update to try to refresh tarballs | 03:24:40 | |
i don't think i've seen those warnings appear when doing any operation other than nix flake update | 03:25:03 | |
friendship ended with nixpkgs.lib.packagesFromDirectoryRecursive , now loadFromDirectoryRecursive and makeScopedPackagesFromDirectoryRecursive are my new best friends: https://gitlab.computer.surgery/charles/dotfiles/-/blob/main/nix/lib/fs.nix?ref_type=heads | 07:25:56 | |
i've just opened an issue about this since i didn't see an existing one: https://git.lix.systems/lix-project/lix/issues/680 | 07:37:06 | |
In reply to @charles:computer.surgery guessing it's this https://git.lix.systems/lix-project/lix/src/commit/d745b28500c4cd9d865e219502e363efd82751f7/lix/nix/flake.cc#L121 | 10:14:24 | |
11:58:51 | ||
“Hmm I wonder why the lack of manpages in 2.26 wasn’t caught by tests” | 15:18:47 | |
https://github.com/NixOS/nix/issues/12382#issuecomment-2661640562 | 15:19:29 | |
.-. | 15:19:36 | |
21:38:25 | ||
Is there any sort of tracker that makes it easy to find out which notable bugfixes, features, etc. have been ported from Lix to og Nix and vice versa? | 23:41:39 | |
Also, I assume it is fine to submit patches to both projects, right? e.g. i landed my first ever patch to nix, which is something that will soon be a hard dep at my company. So I would need to patch Lix if i want to use it. | 23:45:30 | |
Reading the contributing guide, i think so:
| 23:48:19 | |
yes | 23:52:05 | |
18 Feb 2025 | ||
00:10:22 | ||
03:25:12 | ||
13:02:02 | ||
19:44:35 | ||
Hi ppl! I have an issue with Lix on mac (had it with nix too). I installed rustup (with nix-env -iA) to build rust apps, but when linking, cargo/rustc complains: ld: library not found for -liconv . And here’s the weird thing: if I run nix-shell -p libiconv , it works. But if I install the library with nix-env -iA libiconv , cargo/rustc/ld does’t find the library… | 19:49:59 | |
Would someone with more nix knowledge than me be able to tell me why the library is found when inside a nix-shell, but not when the package is installed normally? | 19:51:41 | |
That is normal and working as intended | 19:51:52 | |
nix-shell runs setup hooks, nix-env does not | 19:52:05 | |
not necessarily related to your problem but rustup is not really in the spirit of nix | 19:52:16 | |
In reply to @k900:0upti.meI see… do you know what kind of hook does the magic? Something with otool? I couldn’t find much but… I also don’t know where to look for answers. | 19:54:00 | |
In reply to @charles:computer.surgeryI assume because the nix way would be to build the apps with nix right? I‘m not quite there yet. Or at least, not anymore for now; there used to be a time where I would nixify both my projects and my environment (with nix-darwin + home manager), but it led to me having to invest too much time in learning nix. | 19:56:50 | |
| 19:58:27 | |
Yeah I got my ass bitten by using rustup and not pinning rust in development | 20:00:00 | |
here is the rust project template i maintain and use frequently if it helps you: https://gitlab.computer.surgery/charles/nix-rust-quickstart | 20:01:36 | |
It’s a common problem, which rust also solves outside of nix, even if it’s by far not as reproducible. You can specify which rust toolchain a project targets. | 20:01:56 |