!9IQChSjwSHXPPWTa:lix.systems

Lix

1107 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-rooms295 Servers

Load older messages


SenderMessageTime
16 May 2024
@firefly:raccoon.collegeFireFlyoki02:22:21
@jade_:matrix.org@jade_:matrix.org there might be some nonsense to get it to work exactly as you expect with --apply, but the json printer should be largely not broken even on 2.18 02:23:30
@jade_:matrix.org@jade_:matrix.org * there might be some nonsense to get it to work exactly as you expect and you may need to use --apply for certain things to extract them, but the json printer should be largely not broken even on 2.18 02:23:47
@firefly:raccoon.collegeFireFly I mean nix eval has --raw which means I don't even need to abuse that 02:23:59
@jade_:matrix.org@jade_:matrix.org because builtins.getFlake is busted garbabe 02:23:59
@jade_:matrix.org@jade_:matrix.org * because builtins.getFlake is busted garbage 02:24:00
@firefly:raccoon.collegeFireFly can just output the raw string, which is what I want anyway (but for some reason nix-instantiate --eval can't do that :v 02:24:16
@firefly:raccoon.collegeFireFly * can just output the raw string, which is what I want anyway (but for some reason nix-instantiate --eval can't do that :v) 02:24:19
@jade_:matrix.org@jade_:matrix.orgloll02:24:27
@firefly:raccoon.collegeFireFlyI thought it had an option like that too, but apparently not02:24:45
@jade_:matrix.org@jade_:matrix.org if i recall correctly the only way to get the loaded flake as if it's the repl is to do something like nix eval .# --apply '(x: x.some.attr.path)' and of course you can import your script into there if necessary 02:25:41
@jade_:matrix.org@jade_:matrix.orgit's horrid lol02:25:49
@qyriad:katesiria.orgQyriad https://github.com/NixOS/nix/pull/6333 02:27:30
@qyriad:katesiria.orgQyriad why is this even specific to nix eval 02:27:57
@firefly:raccoon.collegeFireFly hum, I don't understand what --arg{,str} does for nix eval since it doesn't seem to actually auto-call functions (and if I need to manually write an expr with --apply to call the function, then it won't pick those up anyway? o.o) 02:28:43
@firefly:raccoon.collegeFireFly(I'm probably holding it wrong)02:29:34
@jade_:matrix.org@jade_:matrix.org
In reply to @firefly:raccoon.college
hum, I don't understand what --arg{,str} does for nix eval since it doesn't seem to actually auto-call functions (and if I need to manually write an expr with --apply to call the function, then it won't pick those up anyway? o.o)
ahahahahahahahahaha
02:30:02
@jade_:matrix.org@jade_:matrix.orghahahahahahahahahahahahahahahahahahahahahhahahaha02:30:08
@jade_:matrix.org@jade_:matrix.org(you can guess what i am about to tell you) (the nix team wontfix'd this)02:30:23
@firefly:raccoon.collegeFireFly ...don't tell me nix eval just doesn't support asoetnuhnsaoedusnd 02:30:31
@jade_:matrix.org@jade_:matrix.orghttps://git.lix.systems/lix-project/lix/issues/26302:30:35
@firefly:raccoon.collegeFireFly but the options are literally documented in the nix help eval.. 02:30:50
@polygon:catgirl.cloudUnit 1721344 [polygon] (it/its, es/ihr) 🤡 02:31:10
@julia:the-apothecary.clubjulia
In reply to @firefly:raccoon.college
but the options are literally documented in the nix help eval..
"common evaluations" aren't actually common! because yay
02:31:28
@julia:the-apothecary.clubjulia
In reply to @firefly:raccoon.college
but the options are literally documented in the nix help eval..
* "common options" aren't actually common! because yay
02:31:34
@puck:puck.moepuck
In reply to @firefly:raccoon.college
but the options are literally documented in the nix help eval..
they were just never implemented!!
02:31:37
@firefly:raccoon.collegeFireFly;_;02:31:43
@jade_:matrix.org@jade_:matrix.orgso obviously they are silently ignored!02:31:48
@jade_:matrix.org@jade_:matrix.orgnaturally!02:31:50
@firefly:raccoon.collegeFireFly
In reply to @puck:puck.moe
they were just never implemented!!
and wontfix'd which is even more 🍿
02:31:55

Show newer messages


Back to Room ListRoom Version: 10