23 Oct 2024 |
KFears (annoying) | But not sure if I'll have the time to check the PR code to write a good issue text | 08:15:46 |
KFears (annoying) | So feel free to beat me to it indeed | 08:15:53 |
Anton | In reply to @kfears:matrix.org Is there some issue you run into, or is the feature just absent? I haven't found anything about it on the bug tracker The feature is just absent | 08:19:08 |
K900 | You can just do :lf path/to/your/flake | 08:23:22 |
K900 | To load a flake into the repl | 08:23:28 |
KFears (annoying) | So Lix just has it as a feature? No experimental flag required? | 08:43:10 |
uep | I think that's standard for both | 08:48:04 |
uep | the feature flag is for doing it on the command line rather than once the repl starts, iirc | 08:48:33 |
uep | but memory is hazy here | 08:48:39 |
KFears (annoying) | Wait, why is it a feature flag | 08:53:21 |
uep | guess: so you acknowledge being dependent on 'experimental' cli syntax? not sure | 08:55:04 |
K900 | The feature flag changes the semantics | 09:11:18 |
K900 | nix repl foo used to load foo/default.nix | 09:11:27 |
K900 | With repl-flake it loads foo/flake.nix as flake instead | 09:11:36 |
KFears (annoying) | Uhh, I don't think those two are in much of a conflict, even | 10:06:40 |
KFears (annoying) | Like sure, that's a breaking change for people who expect to load foo/default.nix even when foo/flake.nix exists, but I would assume that's like 0 people | 10:07:04 |
KFears (annoying) | I'll put out an issue for this, I guess | 10:07:48 |
KFears (annoying) | I don't think we need this to be a feature flag, just a backport with --extra-deprecated-features | 10:08:05 |
KFears (annoying) | * I don't think we need this to be a feature flag, just a backport with --extra-deprecated-features option | 10:08:11 |
KFears (annoying) | But I'm a little out of spoons due to IRL mess and still figuring out the backport for nix-shell shebang shenanigans | 10:12:01 |
KFears (annoying) | In reply to @anton:gersthof.com The feature is just absent Can you provide a repro? I think there's something wonky going on that would be nice to investigate, but it looks like the feature works
~/D/P/l/lix on backport-shell-relativity [!?] via 🦀 v1.77.2 on ☁️ kfearsoff@gmail.com took 51s ❯ nix repl --extra-experimental-features 'repl-flake' flake.nix
Lix 2.92.0-dev
Type :? for help.
path '/home/nixchad/Documents/Projects/lix/lix/flake.nix' does not contain a 'flake.nix', searching up
Loading installable 'git+file:///home/nixchad/Documents/Projects/lix/lix#'...
Added 8 variables.
nix-repl> :q
~/D/P/l/lix on backport-shell-relativity [!?] via 🦀 v1.77.2 on ☁️ kfearsoff@gmail.com took 7s ❯ nix repl --extra-experimental-features 'repl-flake' .
Lix 2.92.0-dev
Type :? for help.
Loading installable 'git+file:///home/nixchad/Documents/Projects/lix/lix#'...
Added 8 variables.
nix-repl> checks
nix-repl> :q
~/D/P/l/lix on backport-shell-relativity [!?] via 🦀 v1.77.2 on ☁️ kfearsoff@gmail.com took 6s ❯ nix repl .
warning: future versions of Lix will require using `--file` to load a file
Lix 2.92.0-dev
Type :? for help.
Loading installable ''...
Added 21 variables.
| 10:44:49 |
KFears (annoying) | In reply to @anton:gersthof.com The feature is just absent * Can you provide a repro? I think there's something wonky going on that would be nice to investigate, but it looks like the feature works
~/D/P/l/lix on backport-shell-relativity [!?] via 🦀 v1.77.2 on ☁️ kfearsoff@gmail.com took 7s ❯ nix repl --extra-experimental-features 'repl-flake' .
Lix 2.92.0-dev
Type :? for help.
Loading installable 'git+file:///home/nixchad/Documents/Projects/lix/lix#'...
Added 8 variables.
nix-repl> checks
nix-repl> :q
~/D/P/l/lix on backport-shell-relativity [!?] via 🦀 v1.77.2 on ☁️ kfearsoff@gmail.com took 6s ❯ nix repl .
warning: future versions of Lix will require using `--file` to load a file
Lix 2.92.0-dev
Type :? for help.
Loading installable ''...
Added 21 variables.
| 10:45:29 |
| dyniec changed their profile picture. | 12:10:48 |
aloisw | In reply to @kfears:matrix.org Like sure, that's a breaking change for people who expect to load foo/default.nix even when foo/flake.nix exists, but I would assume that's like 0 people The problem is also breaking people who expect it to load foo/default.nix , and it tries (and fails) to load the foo/flake.nix that doesn't exist. | 15:28:56 |
aloisw | But as you've already seen yourself, this already throws a warning for quite some time. | 15:29:15 |
redsycamore | In reply to @kfears:matrix.org Yeah, the AWS auth is a monster even when you're not working with 20 years of Eelcode what is Eelcode? I can't say I've heard of it lol | 15:37:19 |
redsycamore | In reply to @federicodschonborn:matrix.org Am I missing something? I have done .override { aws-sdk-cpp = null; } and it has been working fine, or do you mean the current tagged release? hmm and you can put this in a flake? | 15:38:43 |
redsycamore | thanks to everyone for your explanations - I appreciate it = | 15:39:03 |
redsycamore | * thanks to everyone for your explanations - I appreciate it | 15:39:05 |
Federico Damián Schonborn | In reply to @redsycamore:matrix.org hmm and you can put this in a flake? How are you installing Lix? I'm using the overlay provided in lix-module and then applying a second overlay with the override | 15:53:34 |