flakelight | 38 Members | |
| https://github.com/nix-community/flakelight | 12 Servers |
| Sender | Message | Time |
|---|---|---|
| 2 Oct 2025 | ||
| * Some folk put per-system things in lib like
| 17:44:38 | |
| * Some folk put per-system things in lib like lib.x86_64-linux.mkShell. You can do that in flakelight with nix/lib.nix: { genSystems, ... }: ({ # regular lib stuff } // genSystems (pkgs: { # per-system lib stuff })) | 17:55:31 | |
| * Some folk put per-system things in lib like lib.x86_64-linux.mkShell. You can do that in flakelight with nix/lib.nix:
| 17:56:10 | |
| 3 Oct 2025 | ||
Is it possible to disable the nixDir feature? Or more fine-grained, disable autoloading of specific outputs in nixDir? | 08:50:02 | |
| yeah, can set it to a non-existing dir iirc. I could add a null option | 16:01:53 | |
| fine-grained, no | 16:02:15 | |
| 4 Oct 2025 | ||
| That would be awesome! :) | 11:25:04 | |
| 7 Oct 2025 | ||
| nixDir can now be set to null: https://github.com/nix-community/flakelight/commit/eda172d7ead89292cb7f9e136a482e97e00873a4 | 06:27:30 | |
| 8 Oct 2025 | ||
| Is there a reason, that the Why this:
And not this:
| 11:40:24 | |
| Some another questions :) Other than populating the Could it potentially be made optional? | 11:42:45 | |
| * Is there a reason, that the Why this:
And not this:
I guess the first is a little shorter, but are there any other reason? | 11:43:46 | |
| Redacted or Malformed Event | 15:19:14 | |
| I had attempted that syntax initially but it led to a bunch of infinite recursions | 15:23:32 | |
| also I couldn't make the flake root a default value of src | 15:24:22 | |
its used for src, nixDir, default package description pulled from flake description, loading default inputs fron your flake.lock, preparing the file tree for flake checks, the formatting check, enabling editorconfig support | 15:31:40 | |
| 22:31:33 | ||
| 9 Oct 2025 | ||
| If it is possible, would you change how lib is exposed? | 09:01:30 | |
| Yeah, it only seems to work with
| 11:36:07 | |
| * Yeah, it only seems to work with
| 12:21:26 | |
| 10 Oct 2025 | ||
| yea, too easy to make self depend on itself if you use its path | 04:09:47 | |
| 13 Oct 2025 | ||
| yeah I don't think applying modifications to lib makes sense. If enabled, then the value of lib would be different when resolving imports vs config | 03:17:22 | |
| I think it'd be confusing to have lib be different values during different parts of evaluation | 03:17:56 | |
| Fair, but it would be nice if Flakelight has a opinionated way to add helper functions, that will be made available everywhere like with packages. It does not have to be by modifying lib, but I'm not sure what the alternative could be. | 09:25:49 | |
| 22 Oct 2025 | ||
| I have noticed that devShells evaluates all nixosConfigurations, if you refer to checks from outputs:
| 10:54:30 | |
| * I have noticed that devShells evaluates all nixosConfigurations, if you refer to checks from outputs:
| 10:54:38 | |
Download flamegraph.svg | 10:55:30 | |
| I have made a flamegraph to demonstrate it | 10:55:44 | |
| The offending code is in
| 11:19:10 | |
| * The offending code is in
| 11:19:36 | |
| hmm, i'll take a look | 16:13:07 | |