| 7 Oct 2021 |
tomberek | trofi: can you look at #5350, i'm trying to figure out what went wrong | 21:14:41 |
trofi | tomberek: sure! nix-shell -A pkgsStatic.nixUnstable; shell> genericBuild reproduces failure locally as well. | 21:19:27 |
tomberek | I’ll try a re-revert. | 21:36:12 |
| 8 Oct 2021 |
trofi | https://github.com/NixOS/nix/pull/5354 fixes static linking for me. I think it's problem in recently added libstore-tests test. | 06:18:46 |
| davidbmjr joined the room. | 16:26:47 |
| 9 Oct 2021 |
Las | niksnut: What's the attitude towards adding Rust dependencies to Nix? | 11:39:40 |
ldesgoui | I was interested in this a while ago, it looked like there was interest in using Rust in Nix, but the lack of a concrete plan meant the first attempt didn't really go anywhere and got in the way of other developments | 11:48:19 |
ldesgoui | I was hoping to make some time to figure some plan in which progress could be made in parallel, and when deemed appropriate, parts could be swapped to their Rust versions. From what I could tell, there would be at least some interest in contributing to such a project, as demonstrated by the existing "re-implementing Nix in Rust" projects | 11:55:11 |
ldesgoui | Also have to mention that one of the pain points experienced in the first attempt, interfacing C++ and Rust+, should have gotten much better with the creation of https://cxx.rs | 11:56:14 |
trofi | Did you notice that CA is somewhat slow when one throws a lot of rebuilds at it? | 19:11:52 |
trofi | I found database side of slowness: https://github.com/NixOS/nix/pull/5366. But there is also downloading 'https://cache.nixos.org/realisations/sha256:... side of slowness. Does nix-daemon do those queries in parallel? It does not seem to saturate my slow internet connection with these queries. | 19:13:16 |
trofi | Filed https://github.com/NixOS/nix/issues/5367 for slow .doi fetch phase. | 20:37:36 |
| 10 Oct 2021 |
balsoft | With nix (Nix) 2.5pre20211008_01e9f04 I'm getting
error: store path '/nix/store/5b3q9s0yima9g8lyfqk7f4l8wkgz5xaw-himalaya-crate2nix' is not allowed to have references
This seems like a regression since it used to build just fine just a week ago. | 09:43:07 |
tomberek | Does turning on ca-references help? | 14:46:26 |
balsoft | "turning on" as in adding to experimental-features ? | 15:17:57 |
balsoft | If so, no, doesn't help | 15:23:11 |
tomberek | Hrm. How can I re-create the bug? Got a flake or script? | 15:55:45 |
balsoft | Yep, a flake | 15:55:53 |
balsoft | github:soywod/himalaya | 15:56:03 |
balsoft | Or github:balsoft/simple-osd-daemons | 15:56:29 |
balsoft | In reply to @tomberek:matrix.org Hrm. How can I re-create the bug? Got a flake or script? It works on 2.4pre20211001_4f49615 | 16:17:15 |
balsoft | Ok, so the problem is almost definitely 4806f2f6b0fd2cae401b89fe19d8c528ffd88b5f | 16:21:38 |
tomberek | Is this doing IFD? | 16:32:33 |
balsoft | Yes | 16:32:45 |
balsoft | It generates a Cargo.nix file from Cargo.toml and then imports that file | 16:32:57 |
tomberek | okay, i've recreated with that flake. can we re-create with a minimal IFD example to confirm that is the issue? | 16:44:40 |
balsoft | Hm, let me try | 16:45:42 |
balsoft | Ok, simple IFD works:
nix-repl> import (pkgs.writeText "file.nix" "{}")
{ }
| 16:46:13 |
balsoft | And even this works:
nix-repl> import (pkgs.writeText "file.nix" ''{ foo = "${pkgs.hello}"; }'')
{ foo = "/nix/store/15c875mwri8xx3s0gqsdkdw7sqqyv55c-hello-2.10"; }
| 16:46:46 |
balsoft | So I think it's a bit more intricate | 16:46:51 |