<jD91mZM2>
Dealing with the AST is basically Scratch lol
<sphalerit>
Blargh matrix
<jD91mZM2>
?
<jD91mZM2>
The worst part about writing the parser gotta be constantly breaking all 30 unit tests btw :|
<ldlework>
i think i have really improved nix-mode
<joepie91>
jD91mZM2: :D
<joepie91>
(re: working)
Lisanna has joined #nixos-chat
LnL has quit [Read error: Connection reset by peer]
LnL has joined #nixos-chat
<jD91mZM2>
ldlework: I've been looking forever but can't even find what port a language server should use lol
<jD91mZM2>
Oh wait, maybe it's just sending json through stdin... I should try that
<jD91mZM2>
Oh yeah that's it...
<jD91mZM2>
They should probably specify that somewhere :P
__monty__ has joined #nixos-chat
sir_guy_carleton has joined #nixos-chat
<jD91mZM2>
ldlework: Oh, language servers seem relatively easy! Started work on one, but it's nowhere near working yet. But it logs requests to a (hardcoded) file, and I could that as an accomplishment :)
<gchristensen>
LnL: ^ instead of passing `--option sandbox false` for the vm tests and possibly building multiple drvs without it, I chose something more precise and much worse :P
<LnL>
euh...
<LnL>
we added something like that for local networking because that isn't allowed in the darwin sandbox by default
<LnL>
but _any_ networking doesn't sound like a greatidea
<gchristensen>
that is why I have to make such promises to turn it on:)
<LnL>
a drv can make all the promises it wants
<gchristensen>
:P
<LnL>
this would atleast need a nix.conf setting IMHO
<LnL>
btw. I had a feeling that I was partially responsible for shlevy's tweet
<LnL>
can you explain what the problem is?
<gchristensen>
oh I'm not going to upstream this patch
<gchristensen>
and you weren't :)
<LnL>
I'm pretty sure I'm the one that told you about it
<gchristensen>
nah, I knew about it :P
<gchristensen>
LnL: I want to run my Nix install tests inside a nix-build, but still have all the benefits of sandboxing, minus the network sandbox
<LnL>
gchristensen: assuming this is using a vm and you're talking about sandboxingn on the host
<gchristensen>
yea
<LnL>
then why does the host or vm need internet access?
<gchristensen>
to talk to nixos.org and cache.nixos.org
<LnL>
I assumed that, but why? ;)
<gchristensen>
first half is to run the installer, second half is to ... access the cache ..., without having to set up a custom certificate authority and fake certs
<LnL>
the installer tarball should be a build input
<gchristensen>
yeah but I want to do truly end to end tests
<LnL>
hmm ok, I feel like that doesn't really belong in a nix build tho
<gchristensen>
it doesn't :)
<LnL>
you can't express what it depends on
<gchristensen>
I agreue
<LnL>
thought you where just doing the tarball -> install part
<gchristensen>
no
<gchristensen>
after I have it working for Nix, I'm going to update it to test the way Target installs Nix which uses something then calls the Nix installer
<infinisil>
Hey, I remember there being some convention for not having to specify the full LICENSE in your projects, but instead just use the spdx identifier
<infinisil>
Anybody know what I mean/has a link to it?
<LnL>
doesn't ring a bell
<LnL>
what a weird day, feel like I've been preparing food since I woke up :p