ryanartecona has joined #nix-darwin
ryanartecona has quit [Quit: ryanartecona]
philr has quit [Quit: WeeChat 2.0.1]
philr has joined #nix-darwin
Lisanna has joined #nix-darwin
philr has quit [Ping timeout: 260 seconds]
johnw has joined #nix-darwin
<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> oh, Sonarpulse ^
<LnL> or is your thing unrelated
<Sonarpulse> matthewbauer opened it
<Sonarpulse> I have yet to look
<Sonarpulse> my PR is unrelated
<LnL> yes, that's the issue
<LnL> ah ok
<LnL> I wanted to look at it but can't repro :/
<Sonarpulse> no repro...weird...
<LnL> nix-build ./pkgs/top-level/release.nix -A stdenvBootstrapTools.x86_64-darwin.stdenv
<LnL> I would expect that to be the same as hydra
<LnL> wat!
<LnL> it's the same drv path
<LnL> copumpkin: gchristensen: what's the sw_vers of mac2 vs mac5?
<copumpkin> I'm at work right now so can't look, sorry :(
<copumpkin> don't have those keys on this machine and won't be home until Thursday night
<gchristensen> LnL: how do I find out?
<copumpkin> we've generally just left sw_vers out of our envs in the past
<LnL> by running sw_vers :D
<copumpkin> or I think in my fake xnu build, I stubbed it out
<LnL> I'm thinking something else...
<copumpkin> gchristensen: it's just a command you can run on any mac terminal
<copumpkin> ?
<LnL> ok, probably not then
<LnL> but can you check the filesystems
<gchristensen> what for?
<gchristensen> yes I can, but what for? :)
<LnL> if they are all case insensitive
<gchristensen> is there an easy way to do that?
<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...
<gchristensen> :)
<LnL> it's a patch that failed to apply
<gchristensen> heh ...
<gchristensen> what mc?
<gchristensen> mac
<LnL> mac2 failed, mac5 succeeded
<gchristensen> welp
ryanartecona has quit [Quit: ryanartecona]
<LnL> btw, mac1,4,6 don't look very healthy
ryanartecona has joined #nix-darwin
<LnL> error: executing SQLite statement 'pragma synchronous = normal': disk I/O error (in '/nix/var/nix/db/db.sqlite')
<gchristensen> uhoh
<LnL> you get that with a full disk IIRC
<gchristensen> I need a personal assistant to handle all the things I'm supposed to be doing :P
<LnL> sorry :/
<gchristensen> it is ok :)
<gchristensen> LnL: is there a way to see a log from nix-darwin's nix-gc run?
<LnL> no, you have to set StandardOutPath
<gchristensen> is it possible to know if it _has_ run?
<LnL> sudo launchctl list | grep org.nixos
<LnL> first number is the pid second the last exit code
<gchristensen> thanks for being such a big help
<gchristensen> -1org.nixos.nix-gc
<gchristensen> hmm
<gchristensen> that is, "- 1 org.nixos.nix-gc"
<LnL> so the last gc failed
<gchristensen> I wonder if it reached 100% and couldn't GC by the time it started the GC
<LnL> yeah probably
<LnL> have you seen the new auto-gc options?
<gchristensen> I haven't
<LnL> oh they are not in the manpage
<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
<LnL> oh right, not with the plugin
<gchristensen> can you link me to the not-plugin-one?
<gchristensen> oooh I'll try it
<gchristensen> I suspect the magic behind script:// is causing this
<LnL> also, evaluation/building seems to work now probably just an issue from my side during testing
<gchristensen> hmm 10,000 PRs since september
<LnL> :o
<gchristensen> PRs & issues*
ryanartecona has joined #nix-darwin
periklis has joined #nix-darwin
<LnL> we're also getting kind of close to 1000 open merge requests :/
ryanartecona has quit [Read error: Connection reset by peer]
ryanarte_ has joined #nix-darwin
<gchristensen> 150 of them are from ryantm
<LnL> yeah, but still I remember getting back to 250 after some effort
<gchristensen> yeah
<gchristensen> me too :')
uglyfigurine has joined #nix-darwin
uglyfigurine has quit [Remote host closed the connection]
uglyfigurine has joined #nix-darwin
pikajude has quit [Quit: ZNC 1.6.5 - http://znc.in]
pikajude has joined #nix-darwin
<uglyfigurine> my cabal/nix build fails with a "Setup: Encountered missing dependencies:"
<uglyfigurine> this is my first attempt with nix, any guides that might help me?
periklis has quit [Ping timeout: 255 seconds]
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> gchristensen: cat /var/run/nix/linuxkit-builder/nix-state/console-ring
<gchristensen> puffnfresh: http://ix.io/16iJ
<puffnfresh> yeah bugger I've seen this before
<gchristensen> it is a shame our timezones are SO far apart :o
<puffnfresh> gchristensen: sudo rm -r /var/run/nix/linuxkit-builder
<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
jtojnar has quit [Ping timeout: 264 seconds]
jtojnar_ is now known as jtojnar
philr has joined #nix-darwin