Nix Flakes | 864 Members | |
| 167 Servers |
| Sender | Message | Time |
|---|---|---|
| 10 Mar 2024 | ||
| Is the flake.lock file format documented anywhere? | 21:12:15 | |
| 11 Mar 2024 | ||
| 00:34:57 | ||
| * Hey! I am currently on the jouney of learning nix and modularizing my config. I tried adding a basePath to my flake.nix because I thought it's a good idea to make the paths absolute but now when I try to rebuild I get the error "error: cannot coerce a set to a string" and I have no clue what that even means and also didn't find a clear explanation on the internet. It would be amazing if someone could help me. my code for flake.nix looks like this:
The reason the let in is not at the start but at the outputs section is this issue: | 02:16:11 | |
| 12 Mar 2024 | ||
| 22:24:59 | ||
In reply to @accelbread:matrix.org https://github.com/NixOS/nix/blob/bff5c94184e0eee2a093f3e04d4cec5010de81c7/src/nix/flake.md#lock-files This goes technical in-detail, overall searching for | 22:30:31 | |
In reply to @phileas:asra.grthanks! | 23:11:24 | |
| accelbread: note that we are considering a lock format change in the future, prior to flake stabilization | 23:14:23 | |
| Makes sense; i needed to parse current lockfiles to get inputs. Can just update logic to add support for new version when that arrives | 23:16:40 | |
| 13 Mar 2024 | ||
| 13:46:58 | ||
| 14 Mar 2024 | ||
| 02:04:00 | ||
| 14:09:38 | ||
| 18:44:47 | ||
| 15 Mar 2024 | ||
| 09:48:29 | ||
| Hi :) I have a dotfiles repo with multiple flake.nix / flake.lock for different computers nixos/hm setup, where most of the conf is in a common modules. They all have the same inputs, and I would like to keep the locks synchronized. What would be the recommended way ? Make only one lock at the root and symlink it everywhere ? | 13:07:50 | |