gabriella439 gabriella439
  • Joined on 2024-03-19
gabriella439 commented on issue lix-project/lix#209 2024-04-02 16:15:20 +00:00
support toml configuration

Yeah, I'm really not a fan of the machines file format

gabriella439 commented on issue lix-project/lix#206 2024-04-02 16:15:00 +00:00
audit store gc code

I also sometimes have the opposite problem where it's not deleting enough. In other words, even when I remove all the relevant GC roots for a path it still won't get deleted even if `nix-store…

gabriella439 commented on issue lix-project/lix#209 2024-04-02 16:12:34 +00:00
support toml configuration

By config file do you mean nix.conf?

gabriella439 commented on issue lix-project/lix#183 2024-03-26 21:13:40 +00:00
Deprecate online flake registries

i think the one case where i can see wanting to change it is if, say, one of the repos in the registry were to ever change from master to main as the trunk development branch? or do we plan…

gabriella439 commented on issue lix-project/lix#186 2024-03-26 15:40:00 +00:00
Make print-build-logs a setting

Yeah, I'd even suggest going further and making all of the nix command-line options automatically also configurable via nix.conf, although that's outside of the scope of this issue

gabriella439 commented on issue lix-project/lix#1 2024-03-26 15:38:19 +00:00
Overlaying nix does not propagate up to NixOS systems definitions

My best guess is that reason for the reimport of Nixpkgs is this:

4f7fd6dded/pkgs/build-support/testers/default.nix (L126)

Th…

gabriella439 commented on issue lix-project/lix#186 2024-03-26 14:55:18 +00:00
Make print-build-logs a setting

I thought log-format = bar-with-logs was equivalent to setting --print-build-logs. See: 6c10cc0eda/src/libmain/loggers.cc (L33-L36)

gabriella439 commented on issue lix-project/lix#183 2024-03-26 14:51:43 +00:00
Deprecate online flake registries

Ah, okay, that makes sense. I agree that the online registry doesn't provide a lot of value: the entries there change slowly enough (almost never?) that changing them at lix upgrade time should…

gabriella439 commented on issue lix-project/lix#186 2024-03-26 14:39:56 +00:00
Make print-build-logs a setting

Maybe make the --log-format option to many nix commands a global option one can set? Then I believe you could set log-format = bar-with-logs to get your desired behavior

gabriella439 commented on issue lix-project/lix#182 2024-03-25 20:16:44 +00:00
Add :write to nix repl

Yeah, that's true, although the commands wouldn't have been lost; they would have just been written to the default history file path.

Another possible option that might give the best of both…

gabriella439 commented on issue lix-project/lix#183 2024-03-25 19:24:03 +00:00
Deprecate online flake registries

Can you explain a bit more then? I don't understand what the online flake registry is if it's different from the flake registry. More generally, I think perhaps I don't understand what is being…

gabriella439 commented on issue lix-project/lix#183 2024-03-25 19:01:04 +00:00
Deprecate online flake registries

I'm a little biased here because I actually use the indirect flake input feature all the time for quick and dirty local testing. I'll often do:

{ outputs = { nixpkgs, flake-utils,
gabriella439 commented on issue lix-project/lix#183 2024-03-25 18:11:01 +00:00
Deprecate online flake registries

I mean, you could make a similar argument against most things that rely on the --impure flag (like reading environment variables, local filesystem paths), but I don't think we're proposing to…

gabriella439 commented on issue lix-project/lix#182 2024-03-25 18:08:56 +00:00
Add :write to nix repl

What I'm proposing is that if we added support for history files then we could include support for specifying the path to use for the history file in the REPL, like this:

nix-repl>…
gabriella439 commented on issue lix-project/lix#183 2024-03-25 18:05:09 +00:00
Deprecate online flake registries

Or to put it another way: my understanding is that @jade is proposing to ban the use of the flake registry in flake.nix whereas I'm proposing to instead just require --impure to use the flake…

gabriella439 commented on issue lix-project/lix#183 2024-03-25 18:01:42 +00:00
Deprecate online flake registries

I think it wouldn't be basic daily usage, though? I'm not proposing that the CLI would require the --impure flag to use the flake registry. Only if you used the flake registry in flake.nix

gabriella439 commented on issue lix-project/lix#183 2024-03-25 17:52:35 +00:00
Deprecate online flake registries

Or perhaps permit the use of the flake registry (in flake.nix) if the user supplies the --impure flag?

gabriella439 commented on issue lix-project/lix#182 2024-03-25 16:44:36 +00:00
Add :write to nix repl

I believe making the history file location configurable (e.g. via a command-line option or REPL command) would address that

gabriella439 commented on issue lix-project/lix#175 2024-03-25 16:42:33 +00:00
No such file or directory in flakes is a terrible error message

Is there any reason we don't want to check the original directory to see if the file was there?

gabriella439 commented on issue lix-project/lix#182 2024-03-25 16:36:53 +00:00
Add :write to nix repl

Would a .history file solve your issue? That seems to be like a more standard REPL feature that lots of line editing packages support out of the box. I think that would be simpler than rolling…