!9IQChSjwSHXPPWTa:lix.systems

Lix

639 Members
Lix user channel. Feel free to discuss on-topic issues here and give each other help. For matrix.to links to the rest of the Lix channels, see: https://wiki.lix.systems/books/lix-organisation/page/matrix-rooms199 Servers

Load older messages


SenderMessageTime
23 Oct 2024
@kfears:matrix.orgKFears (annoying)But not sure if I'll have the time to check the PR code to write a good issue text08:15:46
@kfears:matrix.orgKFears (annoying)So feel free to beat me to it indeed08:15:53
@anton:gersthof.comAnton
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:0upti.meK900 You can just do :lf path/to/your/flake 08:23:22
@k900:0upti.meK900To load a flake into the repl08:23:28
@kfears:matrix.orgKFears (annoying)So Lix just has it as a feature? No experimental flag required?08:43:10
@uep:matrix.orguep I think that's standard for both 08:48:04
@uep:matrix.orguepthe feature flag is for doing it on the command line rather than once the repl starts, iirc08:48:33
@uep:matrix.orguepbut memory is hazy here08:48:39
@kfears:matrix.orgKFears (annoying) Wait, why is it a feature flag 08:53:21
@uep:matrix.orguepguess: so you acknowledge being dependent on 'experimental' cli syntax? not sure 08:55:04
@k900:0upti.meK900The feature flag changes the semantics09:11:18
@k900:0upti.meK900 nix repl foo used to load foo/default.nix 09:11:27
@k900:0upti.meK900 With repl-flake it loads foo/flake.nix as flake instead 09:11:36
@kfears:matrix.orgKFears (annoying)Uhh, I don't think those two are in much of a conflict, even10:06:40
@kfears:matrix.orgKFears (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:matrix.orgKFears (annoying)I'll put out an issue for this, I guess10:07:48
@kfears:matrix.orgKFears (annoying) I don't think we need this to be a feature flag, just a backport with --extra-deprecated-features 10:08:05
@kfears:matrix.orgKFears (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:matrix.orgKFears (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:matrix.orgKFears (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:matrix.orgKFears (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:matrix.orgdyniec changed their profile picture.12:10:48
@aloisw:kde.orgaloisw
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:kde.orgaloiswBut as you've already seen yourself, this already throws a warning for quite some time.15:29:15
@redsycamore:matrix.orgredsycamore
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:matrix.orgredsycamore
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:matrix.orgredsycamorethanks to everyone for your explanations - I appreciate it =15:39:03
@redsycamore:matrix.orgredsycamore * thanks to everyone for your explanations - I appreciate it15:39:05
@federicodschonborn:matrix.orgFederico 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

Show newer messages


Back to Room ListRoom Version: 10