| 21 Aug 2023 |
| daxvena removed their profile picture. | 23:41:33 |
| daxvena set a profile picture. | 23:42:26 |
| 22 Aug 2023 |
| chvp changed their profile picture. | 13:03:26 |
metasyntactic | So, I have my main flake that I use for all my configs, and then I can add inputs at the top level, and import module configurations for all of my setup. Is there and idiomatic way for one of those modules included by modules to also be able to add their own flakes, or do you need to bring them in at the top level input and pass them down to the module using the various ways? | 16:08:45 |
ttamttam | In reply to @metasyntactic:matrix.org So, I have my main flake that I use for all my configs, and then I can add inputs at the top level, and import module configurations for all of my setup. Is there and idiomatic way for one of those modules included by modules to also be able to add their own flakes, or do you need to bring them in at the top level input and pass them down to the module using the various ways? You could turn your module into a flake, and then include that in the inputs. I'm not aware of a way to add inputs from inside a module, although that doesn't mean it doesn't exist. I just pass them down from the top level. | 21:57:38 |
| 23 Aug 2023 |
| Michael joined the room. | 03:14:30 |
| @rover:aguiarvieira.pt joined the room. | 07:30:51 |
| @brian:bmcgee.ie left the room. | 09:57:34 |
| @aloisw:kde.org joined the room. | 12:13:56 |
| @aloisw:kde.org | 12:14:08 |
| 25 Aug 2023 |
| @lenny:flipdot.org changed their display name from Lenny. 7913 to Lenny.. | 12:05:03 |
| 27 Aug 2023 |
@antifuchs:asf.computer | so I have a github job that regularly runs nix flake update and files a PR with the version bump. Is there a nice way to visualize the things that change, especially around what packages got updated? Ideally as a follow-up github action? (: | 16:21:04 |
Ilan Joselevich (Kranzes) | nix flake update --commit-lock-file | 16:22:10 |
Ilan Joselevich (Kranzes) | This commits the file after an update with a commit description/message indicating which things got updated | 16:22:28 |
@antifuchs:asf.computer | oooooh, TIL! | 16:23:16 |
CRTified | But that only shows what changed for the inputs, i.e. the git rev | 16:24:12 |
Ilan Joselevich (Kranzes) | yup, if you want something for actual derivations you could use nix store diff-closures | 16:24:35 |
@antifuchs:asf.computer | Hm hm hm. I think yeah, the closure diff would be preferable. Guess I’d have to identify the thing I would like to diff; but it would probably work. Hmmmmm. | 17:17:23 |
| Moritz joined the room. | 17:21:26 |
@antifuchs:asf.computer | the alternative would be to not open a PR and push to the default branch directly, it's about the same amount of scrutiny that these updates get (: | 18:18:32 |
| lord_fomo joined the room. | 21:22:29 |
| catch22 joined the room. | 22:08:15 |
| 30 Aug 2023 |
mewp | what is the proper method to have a nixos module use a package defined in the same flake? is there a current system available somewhere so that I could use packages.${currentSystem}. something? | 10:50:22 |
mewp | oh, Imanaged to find pkgs.system, nevermind | 10:56:09 |
mewp | * oh, I managed to find `pkgs.system`, nevermind | 10:56:17 |
@petrichor:envs.net | mewp: see also https://github.com/hercules-ci/flake-parts which might help with maintainability in the long run | 11:00:14 |
| @adham-omran:matrix.org left the room. | 16:00:08 |
| Chinchilla Optional joined the room. | 22:08:00 |
Chinchilla Optional | How can I specify a branch for a local (git+file:) flake? | 22:11:05 |
Chinchilla Optional | Oh, looks like `?ref=<branchname>' | 22:13:30 |