<ldlework>
holy crap is nodejs really version 6 when latest is ~9?
<johnw>
maybe the person who Nixified nodejs doesn't use 9, or lost interest in one or the other
johnw has quit [Ping timeout: 260 seconds]
<thefloweringash>
there are current versions of node, they're just under nodejs-8_x and nodejs-9_x
<ldlework>
what's the point of that
<thefloweringash>
no idea! seems like a bug to me. the nodejs.org landing page recommends 8.11.1 to most users
johnw has joined #nix-darwin
Lisanna has quit [Quit: Lisanna]
periklis has joined #nix-darwin
zzamboni has joined #nix-darwin
zzamboni has quit [Client Quit]
zzamboni has joined #nix-darwin
zzamboni has quit [Client Quit]
zzamboni has joined #nix-darwin
zzamboni has quit [Client Quit]
zzamboni has joined #nix-darwin
zzamboni has quit [Client Quit]
zzamboni has joined #nix-darwin
zzamboni has quit [Quit: Leaving.]
zzamboni has joined #nix-darwin
zzamboni has quit [Ping timeout: 256 seconds]
zzamboni has joined #nix-darwin
zzamboni has quit [Ping timeout: 256 seconds]
zzamboni has joined #nix-darwin
zzamboni has quit [Remote host closed the connection]
periklis has quit [Ping timeout: 256 seconds]
zzamboni has joined #nix-darwin
zzamboni has quit [Client Quit]
zzamboni has joined #nix-darwin
zzamboni has quit [Client Quit]
zzamboni has joined #nix-darwin
zzamboni has quit [Client Quit]
zzamboni has joined #nix-darwin
zzamboni has quit [Client Quit]
periklis has joined #nix-darwin
zzamboni has joined #nix-darwin
Lisanna has joined #nix-darwin
zzamboni has quit [Quit: Leaving.]
zzamboni has joined #nix-darwin
zzamboni has quit [Client Quit]
philr has joined #nix-darwin
zzamboni has joined #nix-darwin
periklis has quit [Ping timeout: 240 seconds]
<puffnfresh>
copumpkin: you know a lot about the sandboxing right?
<LnL>
I'm also pretty familiar with it
jtojnar has quit [Remote host closed the connection]
jtojnar has joined #nix-darwin
<gchristensen>
puffnfresh: 'round? I seem to be having trouble with the remote builder setup, are there any tools I should know about which make debugging / hacking on this easier? I'm not afraid of getting my hands dirty, I'm just brand new to linuxkit and hyperkit and friends
<gchristensen>
puffnfresh: psst -- can you license the linuxkit-builder? :) I'd love to send contributions, something like Apache / BSD / MIT would be ideal
zzamboni has quit [Quit: Leaving.]
zzamboni has joined #nix-darwin
periklis has joined #nix-darwin
zzamboni has quit [Ping timeout: 256 seconds]
zzamboni has joined #nix-darwin
zzamboni has quit [Remote host closed the connection]
zzamboni has joined #nix-darwin
zzamboni has quit [Ping timeout: 248 seconds]
zzamboni has joined #nix-darwin
zzamboni has quit [Ping timeout: 256 seconds]
zzamboni has joined #nix-darwin
zzamboni has quit [Ping timeout: 256 seconds]
zzamboni has joined #nix-darwin
zzamboni has quit [Client Quit]
Lisanna has quit [Quit: Lisanna]
ryanartecona has joined #nix-darwin
ryanartecona has quit [Client Quit]
ryanartecona has joined #nix-darwin
ryanartecona has quit [Client Quit]
ryanartecona has joined #nix-darwin
philr has quit [Ping timeout: 255 seconds]
periklis has quit [Ping timeout: 276 seconds]
<copumpkin>
puffnfresh: I hope so :)
<copumpkin>
what's up?
ryanartecona has quit [Quit: ryanartecona]
ryanartecona has joined #nix-darwin
ryanartecona has quit [Client Quit]
ryanartecona has joined #nix-darwin
ryanartecona has quit [Client Quit]
ryanartecona has joined #nix-darwin
<LnL>
copumpkin: ping
<copumpkin>
hi :)
<LnL>
I'm confused by the bootstrap tools error, can't reproduce it
<LnL>
I was thinking maybe some of the newer nodes didn't have hfs+
<LnL>
good question, not sure how you see that
<LnL>
maybe mount?
<LnL>
let me check
<gchristensen>
copumpkin: do you have a favorite way to transfer money to the EU?
<gchristensen>
to / from
<LnL>
diskutil info disk$i | grep 'File System'
<gchristensen>
can I assume disk0 or no?
<copumpkin>
gchristensen: transferwise has been my recent vendor of choice. In the past I did direct international wires (but those cost a fair amount of money even beyond the obvious fee) and bitcoin, but transferwise seemed better :)
<LnL>
yeah, probably just 0
<gchristensen>
ok, cool
<LnL>
unless filevault is enabled but that would be a bit weird
<copumpkin>
I don't think macOS works very well if you install it on a case sensitive root
<gchristensen>
macos does okk
<gchristensen>
adobe products were always the problem
<copumpkin>
vilefault!
<gchristensen>
ok LnL for disk0 they all say File System: None
<gchristensen>
which seems like a lie, but I'm assuming it is missing some context ;)
<LnL>
hmm, try 1 then
<gchristensen>
mac1
<gchristensen>
/dev/disk0s2 on / (hfs, local, journaled)
<gchristensen>
how about disk0s2?
<LnL>
ah yes it should probably be the partition
<gchristensen>
mac1
<gchristensen>
File System Personality: Journaled HFS+
<LnL>
yep
<gchristensen>
they all say thes ame
<LnL>
thanks
<LnL>
well, I have no clue how to explain the build error...
<LnL>
"Nix can now automatically trigger a garbage collection if free disk space drops below a certain level during a build. This is configured using the min-free and max-free options."
<johnw>
tfw you gc and free >100G
<gchristensen>
I think I done broke mac1
<gchristensen>
my ssh connection dropped and I can't open an ew one
<gchristensen>
LnL if I omit the `Hour` from nix.gc.interval, it'll run every hour, right?
<LnL>
it's the same as crontab IIRC
<gchristensen>
any tricks to getting around executing SQLite statement 'pragma synchronous = normal': file is not a database (in '/nix/var/nix/db/db.sqlite') ?
<LnL>
euh file is not a database?
<gchristensen>
:|
<gchristensen>
sounds like mac2 is very very unhealthy
<LnL>
what does `file` think about the db?
<gchristensen>
`data`;
<gchristensen>
let's come back to mac2...
<LnL>
yeah, might not be a bad idea to run an fsck on that
<gchristensen>
can it be run online?
<LnL>
yes, but it's pretty slow and for a repair you need to boot into the recovery mode
<gchristensen>
I can't do it offline
<gchristensen>
I wish these macs could be reimaged easily
<LnL>
that would be really cool
<gchristensen>
how does `fsck -n /dev/disk0s2` sound?
<LnL>
don't know if there's a difference with diskutil
<gchristensen>
what would you recommend?
<LnL>
I assume diskutil verifyDisk /dev/disk0 is similar to what you'd do with the ui
<gchristensen>
verifyDisk worked fine, now verifyVolume ...
<gchristensen>
verifyVolume is, indeed, slow
ryanarte_ has joined #nix-darwin
<johnw>
nothing is as slow as preparing a core data volume for encryption
<johnw>
for a 2TB drive it can take 4-5 days
<johnw>
which is ridiculous, since there's nothing even on the drive!
prooftechnique_ has joined #nix-darwin
ryanartecona has quit [*.net *.split]
thefloweringash[ has quit [*.net *.split]
prooftechnique has quit [*.net *.split]
qqlq has quit [Ping timeout: 260 seconds]
qqlq has joined #nix-darwin
thefloweringash[ has joined #nix-darwin
ryanarte_ has quit [Quit: ryanarte_]
<gchristensen>
puffnfresh: could we chat some time when it is convenient for you about the builder and how I can most help? I've not made it work yet, due to various issues, and I'm not sure if the things I'm thinking about "fixing" should be fixed or are designed to work this way
<LnL>
oh really? I was able to get it working when I tested the pr
uglyfigurine has quit [Read error: Connection reset by peer]
<pikajude>
i'm thinking it would be neat to write a tool that takes the output of cabal freeze and creates a derivation out of it
<pikajude>
just had a bit of a catastrophe where a new version of conduit removed some functionality i was relyingon
<pikajude>
for a package that i didn't specify bounds on because i'm the only one who ever builds it
<puffnfresh>
gchristensen: hey I'm around now
<gchristensen>
oh cool! can we talk in ~10min?
<puffnfresh>
yeah sure thing, I've added a license, same as nixpkgs
<puffnfresh>
goal is to get this code there :)
<gchristensen>
cool, doing my favorite three things today, bank stuff, insurance stuff, and tax stuff :P
<gchristensen>
puffnfresh: I can't get the linux builder to work, it starts and copies a bunch of stuff over to the VM and then fails. I'm not sure how to debug it, though
<puffnfresh>
try again and let me know if it works
<puffnfresh>
oh actually I think that was due to the sandbox
<puffnfresh>
gchristensen: I updated the README last night, it says to build with --no-sandbox now
<puffnfresh>
this is what I want to talk to copumpkin about at some point
<copumpkin>
the sandbox isn't turned on though?
<puffnfresh>
it's not on by default?
<puffnfresh>
oh wow sandbox = false in my nix.conf
<puffnfresh>
I guess I saw some nondeterminism and attributed it to adding --no-sandbox :(
<puffnfresh>
well bugger this error happens sometimes and I'm not sure why, it only seems to happen when the daemon is running LinuxKit
<gchristensen>
what if I ran the builder by hand for now, to try?
<gchristensen>
or better to do it directly with script:// ?
<puffnfresh>
if I run LinuxKit myself or with NIX_REMOTE=, works every time
<copumpkin>
yeah, not on by default yet :(
<puffnfresh>
gchristensen: try noacpi instead of acpi=debug
<copumpkin>
I got very busy so wasn't able to get over the last hurdles :)
<gchristensen>
omg it seems to be working now??
<gchristensen>
DNS is busted, but otherwise working
<puffnfresh>
gchristensen: it should hopefully work after you rm /var/run/nix
<gchristensen>
it successfully copied files to script:///nix/var.... but now started "downloading 'https://cache.nixos.org..." and that is unable to resolve DNS
<gchristensen>
incoming paste
<puffnfresh>
gchristensen: did you do the noacpi change?
<puffnfresh>
or just retried?
<gchristensen>
just retried
<puffnfresh>
ah bugger :(
<gchristensen>
search for killing process 62737 inn http://ix.io/16j7
<puffnfresh>
gchristensen: LinuxKit is meant to spin up something called VPNKit
<gchristensen>
yeah, I don't see any vpnkit processes
<puffnfresh>
VPNKit is well a VPN service thingo for the VM
<gchristensen>
I have to leave the place I can access the mac laptop, and will be back to it in 14 hours
<puffnfresh>
alright, check in /var/run/nix/linuxkit-builder/nix-state/ when you get back to it
<puffnfresh>
there will be some vpnkit files there
<gchristensen>
what should I be looking for?
<puffnfresh>
hopefully
<puffnfresh>
I think vpnkit.uuid should say the MAC of the interface
<puffnfresh>
which should just confirm that vpnkit did something
<puffnfresh>
gchristensen: try changing -networking vpnkit to -networking vmnet
<puffnfresh>
vmnet requires root, but I think the Nix daemon runs as root...
<gchristensen>
ok, cool, yeah it does
<puffnfresh>
cool, if that works better we should switch over
<puffnfresh>
would also remove my dodgy binary package of VPNKit
<gchristensen>
hm I might have to go back and try this ...
<puffnfresh>
thanks heaps for testing this out <3
<puffnfresh>
I'm actually running this all in a macOS VM
<puffnfresh>
I can send you some instructions for that if it's useful
<gchristensen>
oh really? what for?
<puffnfresh>
I don't otherwise use macOS :)
<puffnfresh>
it's all I got
<gchristensen>
ohh haha, nice
ryanarte_ has quit [Quit: ryanarte_]
<gchristensen>
ok there are some vpnkit bits
jtojnar_ has joined #nix-darwin
<gchristensen>
still getting the same "cannot to resolve host name" error