jerzy has quit [(Ping timeout: 260 seconds)]
herzmeister has quit [(Quit: Leaving)]
herzmeister has joined #nixos
glines has joined #nixos
wkennington has joined #nixos
lverns has joined #nixos
oida has quit [(Ping timeout: 250 seconds)]
newhoggy2 has joined #nixos
danharaj has quit [(Ping timeout: 244 seconds)]
amyers has quit [(Ping timeout: 240 seconds)]
digitus has quit [(Quit: digitus)]
erasmas has quit [(Ping timeout: 250 seconds)]
justanotheruser is now known as Hismione
<jaym> anybody having issues with gtk programs... i ahve multiple ones of them segfaulting: eclipse, chromium, terminator with: segfault at 10 ip 00007f5cf7ddd500 sp 00007ffc28004930 error 4 in libgdk-x11-2.0.so.0.2400.31[7f5cf7d6a000+b0000]
markus1189 has joined #nixos
magnetophon has quit [(Ping timeout: 258 seconds)]
markus1199 has quit [(Ping timeout: 265 seconds)]
oida has joined #nixos
ambro718 has quit [(Ping timeout: 260 seconds)]
goibhniu has quit [(Ping timeout: 245 seconds)]
Shou has joined #nixos
Wizek has quit [(Ping timeout: 240 seconds)]
glines has quit [(Ping timeout: 250 seconds)]
<jaym> now i cant launch firefox :(
<clever> jeaye: you there?
Sonarpulse has joined #nixos
<jeaye> clever: Yes.
<clever> jeaye: ive got some other ideas on how to do things like nixos-in-place, have you seen the current netboot stuff?
<jeaye> Nope.
<jeaye> I haven't installed NixOS since I put it on my VPS a year or so ago.
<clever> jeaye: this creates a directory containing netboot.ipxe, and if you point ipxe at it, you get a nixos env
<clever> jeaye: it works, by putting the entire root.squashfs from the install cd into the initrd
<jeaye> Seems like it could be a simpler approach.
<jeaye> Simpler than what nixos-in-place is doing, I mean.
<clever> jeaye: i have an idea on how to abuse that for even more powerfull stuff, one sec
<eacameron> What's the difference between || and or?
<Sonarpulse> or is a mess
<Sonarpulse> or is a function
<Sonarpulse> that is basically fold (||)
<Sonarpulse> list: (fold (a: b: a || b) list
<Sonarpulse> or is also used for undefined fields
<Sonarpulse> a.b or foo
<Sonarpulse> uses foo if a has no b
<eacameron> Sonarpulse: Ah so "or" is like Python's "or" whereas || is a true boolean operator
<jaym> thoughts on what to do when a vm based on your configuration works fine, but your machine itself does not... what are places besides the home directory i should be looking for gtk related state
<Sonarpulse> eacameron: I don't konw python
<eacameron> Sonarpulse: Well it sounds like Python: None or 3 = 3
<Sonarpulse> || is the boolean op yes
<Sonarpulse> ah
<Sonarpulse> kind of
<Sonarpulse> but only for foo.field
<Sonarpulse> like can't do
<Sonarpulse> null or 3 == 4
<Sonarpulse> * == 3
<clever> jeaye: basicaly, my idea is to download the kernel+initrd for netboot, then just kexec them from the current OS
AllanEspinosa has quit [(Ping timeout: 258 seconds)]
<eacameron> Sonarpulse: LOL i was like O_o
<clever> jeaye: and if the netboot image is configured correctly, you will get a sshd running purely from ram, that is capable of partitioning and doing nixos-install
slack1256 has joined #nixos
<eacameron> How do I bring "or" into scope?
<clever> jeaye: but it fails for the same reason boot.crashdump.enable is broken
<clever> jeaye: if this kexec bug can be fixed (does it even happen on another distro?) you can get full control of the partitioning
<jeaye> It's a neat idea.
joelmo has quit [(Quit: Connection closed for inactivity)]
<clever> and the kexec gets rid of the need to control the network boot stuff
<clever> so it could be used in any environment, but if you brick the machine, there is no recovering it (but cloud providers usualy have a button to re-image a base OS)
glines has joined #nixos
<eacameron> Well this sucks: error: a ‘x86_64-linux’ is required to build ‘/nix/store/8zc4snq7pcha87nhbmdvfpnnn8660alx-users-groups.json.drv’, but I am a ‘x86_64-darwin’
<clever> "This kinds of errors usually caused by gcc unnecesarrily add options like -fexception, -fPIC, -fstack-protetor-* for building kexec purgatory which runs in kernel mode."
<clever> jeaye: ah, it might be some of the hardening stuff
<clever> eacameron: nixops?
<eacameron> clever: Yah. Apparently it can't build a user/groups json file on darwin (my host) for a vbox deploy??
<clever> eacameron: yeah, it needs a linux build of "echo" to create files, its a bit silly
<eacameron> clever: :/
<clever> eacameron: if you already have a virtualbox with nixos, you should be able to make it a build slave
<eacameron> clever: Yes I do. You've told me about this option 5 times now I still haven't actually used it because it scares me ;)
<clever> lol
<clever> why does it scare you?
<eacameron> clever: I don't quite understand it...
<clever> clever@c2d.localnet x86_64-linux,i686-linux /etc/nixos/keys/distro 1 1 nixos-test,big-parallel,kvm
<clever> eacameron: you put a line like this into a text file, and any time it has to build something for "x86_64-linux" it will just "ssh clever@c2d.localnet" and use that to do the build
Rotaerk has joined #nixos
<clever> eacameron: and it will use nix-copy-closure to push the build inputs out, and pull the result bac
<clever> k
<NixOS_GitHub> [nixpkgs] acowley opened pull request #20847: ignition: init messages, tools, and transport2 (master...ignition) https://git.io/v1naQ
angerman has joined #nixos
<eacameron> clever: Ah so I need to have ssh keys installed for that?
<eacameron> The other machines I have were also deployed with nixops so I would have to copy the ssh keys somehow
<clever> eacameron: yep, in my case /etc/nixos/keys/distro is a private key without any pw
<clever> which nix will use to get access to c2d
<clever> the matching public has to be in the ~/.ssh/authorized_keys of c2d
<clever> and the slave doesnt have to be nixos, i have 2 gentoo slaves, and 1 mac slave
eacamero_ has joined #nixos
<NixOS_GitHub> [nixpkgs] NeQuissimus pushed 1 new commit to master: https://git.io/v1nVO
<NixOS_GitHub> nixpkgs/master 5afc6b5 Tim Steinbach: linux: 4.1.35 -> 4.1.36
<NixOS_GitHub> [nixpkgs] NeQuissimus pushed 1 new commit to release-16.09: https://git.io/v1nVc
<NixOS_GitHub> nixpkgs/release-16.09 0dcdb9b Tim Steinbach: linux: 4.1.35 -> 4.1.36...
eacameron has quit [(Ping timeout: 244 seconds)]
<clever> jeaye: aha, the problem is in the build of kexec, not the kernel
<clever> though it just hangs upon executing
<clever> and the laptop even shut itself off
<jeaye> hah
Wizek has joined #nixos
slack1256 has quit [(Remote host closed the connection)]
eacamero_ has quit [(Remote host closed the connection)]
glines has quit [(Ping timeout: 245 seconds)]
<Profpatsch> Sucessfully nixos-infected online.net dedibox \o/
<Profpatsch> Easier than expected and it even booted right away.
Shou has quit [(Ping timeout: 268 seconds)]
oida has quit [(Ping timeout: 248 seconds)]
AllanEspinosa has joined #nixos
oida has joined #nixos
mkoenig has quit [(Read error: Connection reset by peer)]
mkoenig has joined #nixos
glines has joined #nixos
derjohn_mobi has joined #nixos
glines has quit [(Ping timeout: 265 seconds)]
aj__ has quit [(Ping timeout: 258 seconds)]
<NixOS_GitHub> [nixpkgs] joachifm closed pull request #20845: ponyc: 0.6.0 -> 0.9.0 (master...ponyc) https://git.io/v1nJ1
<clever> jeaye: doing the kexec trick under virtualbox, i do see tty output on the serial port
josdotso has quit [(Quit: Leaving)]
<clever> jeaye: ah, so the console driver fails to load, atleast in virtualbox, but the serial port is up&working
<clever> i'll need to experiment with this more...
mkoenig has quit [(Ping timeout: 250 seconds)]
mkoenig has joined #nixos
eacameron has joined #nixos
<NixOS_GitHub> [nixpkgs] joachifm pushed 1 new commit to master: https://git.io/v1nor
<NixOS_GitHub> nixpkgs/master 4e2e203 Joachim Fasting: pythonPackages.acoustic: fix meta.license...
echo-area has joined #nixos
<eacameron> clever: what do "nixos-test" "big-parallel" and "kvm" mean?
seanz has joined #nixos
<clever> eacameron: features that the slave supports, big-parallel is the only one that may concern you, the kernel needs that feature to compile
<clever> eacameron: its used to limit qemu based testing to certain build slaves, that have kvm pre-configured
eacameron has quit [(Remote host closed the connection)]
mbrgm has quit [(Ping timeout: 244 seconds)]
mbrgm has joined #nixos
<angerman> So I've been reading the nix manual: https://nixos.org/nix/manual/ and got lost in https://nixos.org/nix/manual/#ss-functions, as it uses the "//" operator without prior introduction.
slack1256 has joined #nixos
hexagoxel has quit [(Ping timeout: 245 seconds)]
<clever> angerman: it will merge 2 attribute sets, overwriting upon collisions
<clever> angerman: and it is a shallow merge, so { a={b=2;}; } and { a={c=3;}; d=4; } will overwrite the whole .a attribute
<angerman> clever, I think the operators sections that comes later should come earlier, or a note should say that "//" is the merge operator, (see Operators below) or something.
hexagoxel has joined #nixos
<jeaye> clever: Which host distro are you using?
herzmeister has quit [(Quit: Leaving)]
herzmeister has joined #nixos
eacameron has joined #nixos
<clever> jeaye: nixos
<clever> jeaye: this nix file generates a bash script, i can then nix-copy-closure it to a device, and execute it, and nixos takes over
mizu_no_oto has joined #nixos
glines has joined #nixos
mizu_no_oto has quit [(Client Quit)]
mizu_no_oto has joined #nixos
mkoenig has quit [(Read error: Connection reset by peer)]
marusich has joined #nixos
<clever> jeaye: it works enough that i could deploy it against any cloud provider using dhcp: https://gist.github.com/cleverca22/48c4254508ecc10c213e97c2dd8f9502#file-gistfile3-txt
<clever> jeaye: hosters using static ip like digital ocean would need more config
seanz has quit [(Quit: Leaving.)]
mkoenig has joined #nixos
Sonarpulse has quit [(Ping timeout: 250 seconds)]
zraexy has joined #nixos
PragCyph1 has joined #nixos
eacameron has quit [(Quit: Leaving...)]
mguentner2 has quit [(Quit: WeeChat 1.6)]
PragCyphr has quit [(Ping timeout: 250 seconds)]
newhoggy_ has joined #nixos
<jeaye> Very neat.
eacameron has joined #nixos
newhoggy_ has quit [(Remote host closed the connection)]
newhoggy_ has joined #nixos
<clever> jeaye: though so far, i have only gotten it to work on virtualbox, when i target my laptop, the network never comes back online
<clever> and i cant find the serial adapter to check the console
newhoggy2 has quit [(Ping timeout: 245 seconds)]
<clever> oh ait
<clever> network came back!
mguentner has joined #nixos
<clever> @ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @
<clever> thats a good sign
<clever> yep, it worked
<clever> jeaye: i just had a thought, https://en.wikipedia.org/wiki/Loadlin
<clever> jeaye: but it would never work, the dos machine in the hallway doesnt even have enough ram to play duke nukem
newhoggy_ has quit [(Ping timeout: 260 seconds)]
<eacameron> WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!
<eacameron> I just got that warning trying to SSH into a vbox deployment
<eacameron> could nixops exoprt have changed my host identification?
<clever> eacameron: if you had deleted it, and redeployed, then the ssh keys may have been lost (and re-created)
newhoggy2 has joined #nixos
<eacameron> clever: I didn't delete it...I just exported it.
<clever> not sure then
<clever> i got the exact same warning for unrelated reasons, i kexec'd a nixos image from ram, so it lacked the keys of the original host
danharaj has joined #nixos
<eacameron> clever: How do I ... fix it?
<clever> eacameron: delete the offending line in ~/.ssh/known_hosts
nh2_ has quit [(Ping timeout: 260 seconds)]
mizu_no_oto has quit [(Quit: Computer has gone to sleep.)]
mkoenig has quit [(Ping timeout: 246 seconds)]
newhoggy2 has quit [(Ping timeout: 258 seconds)]
<eacameron> clever: ah yes. It's coming back to me now. After about 4 years of windows and other things...
<eacameron> clever: I wonder if it was that I deployed a different vbox machine and it stole the IP address
<clever> thats also possible
<eacameron> clever: Thanks that worked.
mkoenig has joined #nixos
<NixOS_GitHub> [nixpkgs] ericsagnes opened pull request #20848: urlwatch: 2.2 -> 2.5 (master...fix/urlwatch) https://git.io/v1nXd
mkoenig has quit [(Ping timeout: 260 seconds)]
mkoenig has joined #nixos
marusich has quit [(Ping timeout: 265 seconds)]
mkoenig has quit [(Ping timeout: 248 seconds)]
mkoenig has joined #nixos
mkoenig has quit [(Ping timeout: 250 seconds)]
georges-duperon has quit [(Ping timeout: 260 seconds)]
mkoenig has joined #nixos
danharaj has quit [(Ping timeout: 250 seconds)]
uralbash has joined #nixos
marusich has joined #nixos
ugjka has quit [(Ping timeout: 260 seconds)]
NEo4v8_ has quit [(Ping timeout: 268 seconds)]
ifur_ is now known as ifur
glines has quit [(Ping timeout: 260 seconds)]
<eacameron> clever: WOW. It works. Distributed builds work. Floored.
<clever> main limitation, is that it splits it up at a derivation level, so the entire package gets built on 1 machine
<clever> but if you have 2 slaves, and try to build 10 packages at once, it will send 5 to each
<clever> so things like gcc and the kernel wont go any faster, but it can do the kernel at the same time as other stuff
<clever> and they wont compete for resources
AllanEspinosa has quit [(Ping timeout: 260 seconds)]
<eacameron> clever: Heck I don't care if it goes slower right now. I can actually deploy which all that matters ATM ;)
<eacameron> clever: Yah so VirtualBox assigned an IP to one deploy that had historically belonged to another deploy. They weren't both running at once. But once I tried to run the older one it broke. And now the new one can't be accessed.
<eacameron> Because I changed the known_hosts.
<eacameron> ATM it's no sweat: destroy/deploy but that's a pretty annoying "gotcha" I'll have to look out for.
<clever> static IP's can prevent issues, but not sure how to mix those into nixops+vbox
<eacameron> clever: Yah...I'm not sure how to tell nixops that it should use a different IP
<eacameron> clever: I think I'll have to write a blog post about this soon. With a couple scripts it could be entirely automated to bootstrap a virtualbox buildmachine for nixops to use...by using nixops to build the bootstrap
lverns has quit [(Ping timeout: 260 seconds)]
mkoenig has quit [(Read error: Connection reset by peer)]
redmq has quit [(Ping timeout: 250 seconds)]
mkoenig has joined #nixos
mkoenig has quit [(Remote host closed the connection)]
jgertm has joined #nixos
7ITAAUKMB has joined #nixos
17WAAOKPN has joined #nixos
RayNbow`TU has joined #nixos
Wizek has quit [(Ping timeout: 265 seconds)]
proteusguy has quit [(Ping timeout: 250 seconds)]
marusich has quit [(Ping timeout: 260 seconds)]
zagy has joined #nixos
Hismione is now known as justanotheruser
slack1256 has quit [(Ping timeout: 250 seconds)]
<pikajude> hey, I'm having some trouble with bower2nix, or more specifically fetchbower
<pikajude> it doesn't actually seem to be fetching packages afaict
<pikajude> it just produces a cache entry for the requested package
<pikajude> can anyone try to verify?
amarsman has joined #nixos
newhoggy2 has joined #nixos
7ITAAUKMB has quit [(Ping timeout: 250 seconds)]
17WAAOKPN has quit [(Ping timeout: 265 seconds)]
marusich has joined #nixos
zraexy has quit [(Ping timeout: 248 seconds)]
newhoggy2 has quit [(Remote host closed the connection)]
<jophish> Is it going to be a problem if I run nix-build inside of buildPhase
<jophish> The result shouldn't depend on the result of that derivation
<clever> jophish: when the sandbox is doing its job, that wont work
<jophish> clever: sandbox builds are out of the window anyway here I'm afraid
<jophish> :D
jacob_ has joined #nixos
<jophish> This is running some tests on an external bit of hardware, but to build the software for this hardware I'd like to use nix
<jophish> I wonder if I can split it up into two stages
jacob_ is now known as Guest92738
<clever> splitting it up is best
<jophish> I think for now I'll keep this program calling nix, but not run this program from inside the derivation
<jophish> and have the user run these tests manually
<jophish> they take hours anyway, so shouldn't go on hydra as is
<clever> jophish: you can still do some pretty neat stuff with nix in the mix, https://gist.github.com/cleverca22/48c4254508ecc10c213e97c2dd8f9502#file-gistfile3-txt
<jophish> clever: very nice
<jophish> We're already running cabal2nix to generate the derivations to build, something like this https://github.com/expipiplus1/dotfiles/blob/master/nix-haskell-skeleton/default.nix
<clever> that script basicaly hijacks the cpu on whatever it gets ran on
<clever> and loads a nixos env up, purely in ram
<jophish> It's nice to not have to repeat oneself in the default.nix of each project
<clever> and ssh is included, so you can ssh into it, format the hdd, and nixos-install
<jophish> do the assimilation thing
<clever> the main limit of nixos-in-place, was that you cant repartition, and old files from the previous os can cause some problems
NEo4v8_ has joined #nixos
<clever> but once your running out of a ramdisk, the hdd means nothing to nixos
katyucha has joined #nixos
katyucha_ has joined #nixos
jedai has quit [(Read error: Connection reset by peer)]
lonokhov has joined #nixos
<lonokhov> o/
katyucha has quit [(Killed (verne.freenode.net (Nickname regained by services)))]
Guest67779 is now known as katyucha
katyucha1 has joined #nixos
herzmeister has quit [(Ping timeout: 250 seconds)]
systemfault has quit [(Quit: Bye!)]
ebzzry has quit [(Ping timeout: 260 seconds)]
<clever> eacameron: if you are not on linux, and $NIX_REMOTE isnt setup, it will try to use your deploy target as a build slave automaticaly
<eacameron> clever: Yes I've noticed that. There's one catch though.
<clever> i havent played with nixops heavily yet, so i dont know how it works in actual use
katyucha1 has quit [(Ping timeout: 240 seconds)]
katyucha_ has quit [(Ping timeout: 240 seconds)]
<eacameron> clever: Yah...if the machine is *being* built and it needs something that the host can't provide...you're stuck.
<clever> there is a special exception thing that should cover that
<clever> nixops needs a fully working nixos install on the target, that is already booted, which it will just ssh into and take over
<clever> that could be used as a build slave, before the image is ready
<eacameron> clever: Right...but what if it doesn't have a working nixos on the target yet?
<clever> but in the case of situations like AWS, it means having to provision a EC2 server before the deployment is ready
<NixOS_GitHub> [nixpkgs] FRidh closed pull request #20848: urlwatch: 2.2 -> 2.5 (master...fix/urlwatch) https://git.io/v1nXd
<lonokhov> how do I take head of string in nix?
ebzzry has joined #nixos
<eacameron> clever: In my case, as you saw earlier probably, it was trying to create users for the target but for some reason (echo?) it can't do that on macOS...
<eacameron> Which means I'm in a catch 22
<clever> eacameron: i believe the user-groups.json eventualy gets written to disk in this derivation
<clever> which uses the linux builds of mkdir, mv, and bash
<clever> it doesnt have the ability to throw in a different arch for such basic tasks
<clever> and due to how the rest of nix works, everything depending on this file would have to re-compile, so mac users cant make use of hydra builds (because hydra happened to use linux, and mac users want to use mac)
<lonokhov> ok, found `substring 0 1`
<eacameron> clever: Yah and that's not a problem as long as the target works...but for things like user config it doesn't work (unless you already deployed earlier with a different setup)
<clever> eacameron: one key part though, to deploy, you must be able to ssh into the machine
<clever> and being able to ssh into it, is also what you need to make it a build slave
<eacameron> clever: Right. Which is why But I've found that I can have nixops just deploy an "empty" vbox server (only has sshd) and then use your trick to make it a slave.
ebzzry has quit [(Ping timeout: 245 seconds)]
<clever> thats one way to fix things
<eacameron> clever: :D
<eacameron> I consider myself very clever
<eacameron> clever: but certainly not as clever as you
herzmeister has joined #nixos
<eacameron> clever: whew...vaguely
Mercuria1Alchemi has joined #nixos
<eacameron> clever: It's like...a container almost?
<eacameron> but with a different kernel?
<clever> kexec will hijack the cpu from the host
<eacameron> clever: yikes...that sounds...scary
<clever> when the correct nix-build command is ran, it will create a bash script, you can then nix-copy-closure that script to a target server, and run it
<clever> the current OS will immediately die, and nixos will rise from the ashes
<eacameron> clever: That's absolutely insane...and awesome
<clever> and it runs purely from a ramdisk, so you are now free to format the hdd
<eacameron> LOL...terrifying.
newhoggy2 has joined #nixos
<clever> and nixos-install is available
<clever> so you can treat the system like it had just booted an install ISO
stepcut has quit [(Remote host closed the connection)]
<eacameron> That's insanely clever.
<clever> even if its 2000 miles away in a datacenter
<eacameron> clever: You have earned your name.
<clever> heh
<eacameron> clever: So you could use this for IaaS that don't let you have your own images?
<eacameron> or VPS
<eacameron> like DO?
<clever> yeah, as long as they run the bootloader in the MBR
<clever> digital ocean is a bit special though, they dont offer DHCP
<eacameron> static IP right out of the gate?
<clever> so you have to set a static ip in the original configuration2.nix in the gist, that matches your droplet
<clever> another oddity on DO, that can break nixos easily
stepcut has joined #nixos
<clever> they have tools to snapshot your entire vm, and spawn a copy at a new IP
proteusguy has joined #nixos
<clever> those tools mount your rootfs, and alter /etc/network/interfaces to update the static IP
<clever> nixos never reads that
<eacameron> clever: ah...so you'd need to sort of plan that ahead of time.
<clever> yeah
<clever> and you cant just make a single base nixos install, that you clone endlessly for nixops use
<eacameron> is that what this is for then? DO?
<clever> this is more of a generic tool for any datacenter that offers dhcp
<eacameron> clever: oh yes. I see.
<eacameron> clever: well...couldn't you have a service that runs on bootup and syncs the IP?
<clever> yeah, thats something i thought of, a service you can enable in nixos that will just obey /etc/network/interfaces
<clever> as a replacement for dhcp
<eacameron> clever: yah...which would obviously be enabled for nixops + DO
<clever> which reminds me, one datacenter i have used in the past, did static dhcp (you get the same ip every time, based on your mac)
<clever> but one day, the server just dropped off the internet, yet was still on my custom VPN
<clever> and after some investigating, i discovered it had an ip in the 172.16.0.0/12 block
<eacameron> public IP you mean?
<eacameron> or...what should have been public.
<clever> the dhcp was giving out a static publicly routable IP
<clever> then one day, it gave me a private ip instead
<clever> and i had other servers in that datacenter, a quick check confirmed, the 2 servers shared a broadcast domain
<clever> even though they where on different subnets entirely (private and public ip's)
<clever> i highly suspect i could arp poison the switches in that datacenter and mitm my neighbors
<eacameron> bizarre
<clever> the support guys where also unable to figure out what was wrong
<clever> and i had to solve it myself by telling dhcpcd to renew the lease
<eacameron> clever: that's way above my head...
<clever> it was also above the heads of the guys being paid to keep the servers online, lol
zagy has quit [(Quit: Leaving.)]
<eacameron> clever: I would have fit right in!
<eacameron> so you found a new provider
<eacameron> I take it?
<clever> the project fizzled out for other reasons
<clever> the boss kept changing the goals right as it was nearing completion
<clever> it started with a windows only client, then as that was nearly done, he wanted mac support
<clever> then he wanted mobile support
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #20805: urxvt: add vtwheel extension (master...rxvt-vtwheel) https://git.io/v1YKY
<eacameron> clever: ... clients don't grow on trees.
<jophish> That's the recommended way to get buildPhase to not buffer stdout quite as much?
<clever> i wound up taking over for the client guy, and redid the entire thing in QT
<clever> and QT has support for windows, linux, mac, ios, android, windows phone, and blackberry
<eacameron> clever: wow...NICE
<clever> the ios stuff was a bit tricky, apple does not allow openssl in the apps
<clever> you must use the ssl that they provide
<clever> so i had to use an alpha version of QT that implemented QSslSocket on the apply ssl libs
<clever> which also returned different error codes and made new bugs
chattered has joined #nixos
<eacameron> clever: anytime you support that many devices your bound to wind up in junk like that.
<clever> yeah
<clever> another major problem, the QT android stuff, behaves more like QT desktop
<clever> so instead of scrolling by flinging the list up/down, you have to drag the scroll bar, in the oposite direction (exactly like you do on a desktop)
<eacameron> clever: heh, fast. quality. cheap. pick 2
<clever> to make mobile stuff feel mobily, you have to redo the entire UI for the mobile platform
<clever> and i didnt see anything that would just reuse the existing stuff android has to do mobily things
<clever> so now you have to reimplement all of that
<clever> the QT mobile stuff is more geared towards something that already has a 100% custom UI, and wants to use it on all mobile devices
MinceR has quit [(Ping timeout: 260 seconds)]
MinceR has joined #nixos
stepcut has quit [(Remote host closed the connection)]
stepcut has joined #nixos
<eacameron> clever: makes sense.
<eacameron> what the world needs is Windows 8. They unified the experience.
<eacameron> :P
rardiol has quit [(Ping timeout: 268 seconds)]
<clever> lol
<eacameron> clever: thanks tons for the help. I'll be back at it tomorrow.
<clever> kk
eacameron has quit [(Remote host closed the connection)]
eacameron has joined #nixos
stepcut has quit [(Ping timeout: 244 seconds)]
zagy has joined #nixos
jgertm_ has joined #nixos
bin7me has joined #nixos
newhoggy2 has quit [(Remote host closed the connection)]
eacameron has quit [(Ping timeout: 268 seconds)]
<NixOS_GitHub> [nixpkgs] sheenobu opened pull request #20849: spotify: 1.0.42.151 -> 1.0.43.125 (master...spotify/upgrade/1_0_43_125) https://git.io/v1ndd
Itkovian has joined #nixos
<NixOS_GitHub> [nixpkgs] sheenobu opened pull request #20850: spotify: 1.0.42.151 -> 1.0.43.125 , for 16.09 (release-16.09...spotify/upgrade_1609/1_0_43_125) https://git.io/v1nFU
echo-area has quit [(Remote host closed the connection)]
pi3r has joined #nixos
echo-area has joined #nixos
johann__ has joined #nixos
echo-area has quit [(Remote host closed the connection)]
FRidh has joined #nixos
FRidh has quit [(Remote host closed the connection)]
signal4 has joined #nixos
ilja_kuklic has joined #nixos
<signal4> greetings o/
<signal4> so a few days ago i asked how to recompile the whole os with custom flags and someone recommended to override the stdenv
christine_ has joined #nixos
<signal4> it sort of works but i get an error when it gets to building systemd
<signal4> something about references of some sort
<signal4> it's not a compiler error, it's https://github.com/NixOS/nix/issues/481
rly has joined #nixos
<signal4> is that normal?
<signal4> as far as i understand i only changed (NIX_)CFLAGS to include "-march=native -mtune=native", everything else remains the same. and yet it can't build the derivation for some reason
FRidh has joined #nixos
takle has quit [(Remote host closed the connection)]
takle has joined #nixos
eacameron has joined #nixos
johann__ has quit [(Quit: Leaving.)]
takle has quit [(Ping timeout: 265 seconds)]
aboseley has joined #nixos
aboseley_ has joined #nixos
aboseley has quit [(Client Quit)]
jgertm_ has quit [(Ping timeout: 240 seconds)]
eacameron has quit [(Ping timeout: 265 seconds)]
johann__ has joined #nixos
derjohn_mobi has quit [(Ping timeout: 260 seconds)]
eacameron has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh force-pushed python-wip from 7a49b43 to 7f80872: https://git.io/vzaOS
<NixOS_GitHub> nixpkgs/python-wip 86864d1 danbst: urxvt: add vtwheel extension...
<NixOS_GitHub> nixpkgs/python-wip 54149d1 Frederik Rietdijk: pythonPackages: use fixed-point combinator
<NixOS_GitHub> nixpkgs/python-wip 7f80872 Frederik Rietdijk: undo makeOverridable
eacameron has quit [(Ping timeout: 246 seconds)]
johann__ has quit [(Quit: Leaving.)]
johann__ has joined #nixos
eacameron has joined #nixos
<viric> niksnut: what operation in nixos-rebuild (with a nixpkgs from a git checkout) makes it write the .git/index file? I hate that... :)
<viric> niksnut: because I use a nixpkgs checkout from user 'viric', and git chowns it to root every time I run nixos-rebuild
takle has joined #nixos
<clever> viric: that sounds weird, i would just throw strace at the thing, "strace -ff -o logfiles -s 5000 nixos-rebuild build"
eacameron has quit [(Ping timeout: 260 seconds)]
<clever> viric: then grep the resulting files for chown
<viric> meh
<viric> only .git/index is chowned
takle has quit [(Remote host closed the connection)]
<viric> I suffer that since years :)
takle has joined #nixos
xadi has joined #nixos
thc202 has joined #nixos
jensens has joined #nixos
<clever> viric: are you sure its nixos-rebuild doing it, and not things like git pull?
bin8me has joined #nixos
root____6 has joined #nixos
__Sander__ has joined #nixos
<niksnut> viric: maybe nixos/modules/installer/tools/get-version-suffix
bin8me_ has joined #nixos
<clever> ah, i was wondering where that M was coming from
<clever> sounds like a sid-effect of running git describe --always --dirty
fritschy has joined #nixos
jgertm_ has joined #nixos
bin7me has quit [(Ping timeout: 260 seconds)]
<clever> ah, and that explains why i couldnt recreate the issue with dry-run, only switch/boot/test run that
bin8me has quit [(Ping timeout: 250 seconds)]
<signal4> clever: o/ do you know what "cycle detected in the references of..." error means? I followed your advice about stdenv but now i get that error
<clever> signal4: you need to grab the 2 outputs it mentions, for the other output, and find out why there is a cycle
ThatDocsLady has joined #nixos
<NixOS_GitHub> [nixpkgs] montag451 opened pull request #20851: nautilus: 3.20.2 -> 3.20.3 (master...nautilus-3.20.3) https://git.io/v1nhb
root____6 has quit [(Ping timeout: 250 seconds)]
<signal4> 2 outputs? but it only listed one. am i somehow running an outdated nix?
<clever> can you pastebin the exact error
<signal4> dang it i don't have acces to my guinea pig laptop at the moment
goibhniu has joined #nixos
<signal4> but nevertheless isn't it weird i get any errors at all just by adding CFLAGS?
<NixOS_GitHub> [nixpkgs] montag451 closed pull request #20851: nautilus: 3.20.2 -> 3.20.3 (master...nautilus-3.20.3) https://git.io/v1nhb
<clever> the cflag change likely caused a path to something to get stuck somewhere
<clever> we need to grep the paths to find out what and fix it
<viric> niksnut: clever: can't we change "get-version-suffix" to a read-only operation?
ugjka has joined #nixos
<NixOS_GitHub> [nixpkgs] montag451 opened pull request #20853: nautilus: 3.20.2 -> 3.20.3 (master...nautilus-3.20.3) https://git.io/v1cen
<clever> viric: i think part of the problem is in git, when you ask it what files have been modified, it updates the .git/index to speed up future operations
johann__ has quit [(Quit: Leaving.)]
<viric> clever: maybe git can be told not to update the index with some flag
<viric> clever: moreover! I have the file with mode 600, so root cannot write it - then git overrides the ownership
Guest92738 has quit [(Ping timeout: 260 seconds)]
jacob_ has joined #nixos
roxma has quit [(Ping timeout: 246 seconds)]
oleks has quit [(Ping timeout: 246 seconds)]
oleks has joined #nixos
<clever> viric: some programs dont open the file for writing, because thats not atomic
jacob_ is now known as Guest69519
<NixOS_GitHub> [nixpkgs] FRidh pushed 1 new commit to master: https://git.io/v1cvc
<NixOS_GitHub> nixpkgs/master da3d8d0 Frederik Rietdijk: pythonPackages.django_guardian: add missing pytest
<clever> viric: so they typicaly open a file like index.tmp, write to it, then use the rename() syscall to atomicly update it
<viric> ah maybe that
<viric> makes sense, because I tried the permissions thing before without success
roxma has joined #nixos
<clever> removing root's write to the directory may stop that
<viric> root can't write to it
<viric> it's owned by viric.viric
<clever> but root also has the magic ability to just ignore chmod values entirely
<viric> well, it obviously can
<viric> exactly
<clever> root is all powerfull
<clever> it may also help to read the git source code
<viric> the first answer here seems to indicate that modern git refreshes the index on describe. http://stackoverflow.com/questions/16035240/why-is-git-describe-dirty-adding-a-dirty-suffix-when-describing-a-clean-ch
<clever> and its getting pretty late here, i should get off to bed
<viric> damn it...
<clever> good luck :)
<viric> I'm doomed :)
<viric> good night, clever
<the-kenny> Anyone have an idea why my synaptics touchpad (on a lenovo x260) is in absolute mode?
<clever> the-kenny: mine is doing the same thing, i have caused that problem before when i was messing with custom kernel builds and turned on a synaptics driver, but i havent looked into fixing nixos yet
<clever> dell d630 in my case
<clever> and i'm off to bed, goodnight
<the-kenny> clever: hm, but I haven't even touched the touchpad. I had it disabled completely until now
<the-kenny> Maybe I need to restart X with synaptics.enable = true;
johann__ has joined #nixos
<the-kenny> okay that did it :)
hlavaty has quit [(Read error: Connection reset by peer)]
johann__ has quit [(Quit: Leaving.)]
phanimahesh has joined #nixos
johann__ has joined #nixos
civodul has joined #nixos
eacameron has joined #nixos
derjohn_mobi has joined #nixos
eacameron has quit [(Ping timeout: 260 seconds)]
Itkovian_ has joined #nixos
pstn_ has quit [(Quit: leaving)]
Itkovian has quit [(Ping timeout: 250 seconds)]
georges-duperon has joined #nixos
christine_ has quit [(Ping timeout: 245 seconds)]
johann__ has quit [(Quit: Leaving.)]
arjen-jonathan has joined #nixos
LysergicDreams has quit [(Ping timeout: 256 seconds)]
<arjen-jonathan> Hi all
NEo4v8_ has quit [(Ping timeout: 258 seconds)]
<signal4> hi arjen-jonathan
LysergicDreams has joined #nixos
<NixOS_GitHub> [nixpkgs] proteansec opened pull request #20854: rox-filer: init at 2.11 (master...pkgs/rox-filer) https://git.io/v1cIA
edvorg has joined #nixos
<goibhniu> hrm, both screen and tmux fail to start in a fresh 16.09 container
<goibhniu> I found some things online about dev/pts configuration on other distros, but it looks the same (via `mount`) as in an older working container
<goibhniu> ... where screen works
NEo4v8_ has joined #nixos
eacameron has joined #nixos
<NixOS_GitHub> [nixpkgs] the-kenny closed pull request #20807: teensyduino: init at 1.31 (master...Teensyduino-squash) https://git.io/v1YQ2
bin7me has joined #nixos
ilja_kuklic has quit [(Ping timeout: 248 seconds)]
eacameron has quit [(Ping timeout: 244 seconds)]
NEo4v8_ has quit [(Ping timeout: 246 seconds)]
bin8me_ has quit [(Ping timeout: 248 seconds)]
bin8me has joined #nixos
bin7me has quit [(Ping timeout: 258 seconds)]
<NixOS_GitHub> [nixpkgs] proteansec opened pull request #20855: mail-notification: init at 5.4 (master...pkgs/mail-notification) https://git.io/v1cmt
x1n4u has joined #nixos
TroniQ89 has quit [(Read error: Connection reset by peer)]
iyzsong has joined #nixos
newhoggy2 has joined #nixos
proteusguy has quit [(Ping timeout: 260 seconds)]
<NixOS_GitHub> [nixpkgs] fpletz closed pull request #20849: spotify: 1.0.42.151 -> 1.0.43.125 (master...spotify/upgrade/1_0_43_125) https://git.io/v1ndd
[0x4A6F] has quit [(Ping timeout: 265 seconds)]
<NixOS_GitHub> [nixpkgs] fpletz pushed 1 new commit to release-16.09: https://git.io/v1cOc
<NixOS_GitHub> nixpkgs/release-16.09 046229b Sheena Artrip: spotify: 1.0.42.151 -> 1.0.43.125...
[0x4A6F] has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz closed pull request #20850: spotify: 1.0.42.151 -> 1.0.43.125 , for 16.09 (release-16.09...spotify/upgrade_1609/1_0_43_125) https://git.io/v1nFU
christine_ has joined #nixos
kier has quit [(Remote host closed the connection)]
newhoggy2 has quit [(Remote host closed the connection)]
phanimahesh has quit [(Ping timeout: 240 seconds)]
phanimahesh has joined #nixos
bigvalen has left #nixos ["Leaving"]
Shou has joined #nixos
Shoue has joined #nixos
herzmeister has quit [(Quit: Leaving)]
herzmeister has joined #nixos
Shou has quit [(Ping timeout: 248 seconds)]
jensens has quit [(Ping timeout: 250 seconds)]
<goibhniu> FTR other weird things were broken in this container too (I can't see a pattern), e.g. installing a python package in a virtualenv failed (complaining about absolute paths in setup.py!?), luckily switching to 16.03 works!
Shoue has quit [(Ping timeout: 245 seconds)]
newhoggy2 has joined #nixos
stepcut has joined #nixos
zagy has quit [(Quit: Leaving.)]
zagy has joined #nixos
newhoggy2 has quit [(Ping timeout: 260 seconds)]
wkennington has quit [(Read error: Connection reset by peer)]
stepcut has quit [(Ping timeout: 258 seconds)]
edvorg has quit [(Ping timeout: 256 seconds)]
<LnL> goibhniu: how did you create it?
<goibhniu> imperatively, with nixos-container create
<LnL> do you see the same if create a new container when 16.09 is active?
<goibhniu> I noticed there was also a fairly recent change which stopped openvpn working from my containers, not sure if that's related
<goibhniu> sorry, I don't understand, do you mean when the host system is using 16.09? ... my host system is on nixos-unstable
<LnL> I have a feeling that the container did not upgrade
<goibhniu> ah, so my procedure was to create the container, copy over configuration.nix, add the 16.09 channel, use nixos-container root-login to get into the container and then run nixos-rebuild switch --upgrade
<goibhniu> and now, I've changed the channel to 16.03, and run nixos-rebuild switch --upgrade to switch the container to 16.03
<goibhniu> I hope that makes sense
<goibhniu> I've also upgraded the 16.09 container (there was a new channel since I created it yesterday)
<goibhniu> nixos-rebuild switch completed without errors
<NixOS_GitHub> [nixpkgs] viric pushed 1 new commit to master: https://git.io/v1cCo
<NixOS_GitHub> nixpkgs/master 19fd547 Lluís Batlle i Rossell: Fixing the patch for icu for ARM....
<LnL> goibhniu: did you run nixos-container update after the system upgrade?
<goibhniu> ah, nope
<goibhniu> I've never used nixos-container update actually
<LnL> that's what I was talking about
<LnL> you are essentially trying to run a 16.03 container in a 16.09 system
<goibhniu> yeah, that's the idea ... well, I wanted to run a 16.09 container in a nixos-unstable system
<goibhniu> running a 16.03 container in a nixos-unstable system works great
<goibhniu> does that sound like trouble?
Shou has joined #nixos
* goibhniu hopes this is actually supported, and didn't just work by accident until now
<LnL> nixos conainers are very light weight, I've seen issues before if your host system diverges to much
<LnL> but I'm not sure if this is supposed to work or not
<goibhniu> ok, thanks for the pointer
<goibhniu> I'll also have a closer look at the change mentioned in the 16.09 release notes:
<goibhniu> Special filesystems, like /proc, /run and others, now have the same mount options as recommended by systemd and are unified across different places in NixOS. Mount options are updated during nixos-rebuild switch if possible. One benefit from this is improved security — most such filesystems are now mounted with noexec, nodev and/or nosuid options.
<goibhniu> at least it sounds similar to reports I've read about screen not working on other distros
kier has joined #nixos
<christine_> If I'm just using the Nix package manager and not NixOS: Is there a way to enable and configure a database?
<goibhniu> Sorry christine_, I don't think there's a convenient way to do that
<goibhniu> hrm, maybe you can use nix to create a docker container, or something like that
pi3r has quit [(Ping timeout: 260 seconds)]
<christine_> goibhniu: yeah, Docker containers are very convenient for development if you quickly need a database or multiple ones in multiple versions. Just hoped there would be a Nix way to do the same.
<christine_> Thanks! This looks interesting, have to check
signal4 has left #nixos ["Leaving"]
<goibhniu> here's a related ticket https://github.com/NixOS/nixpkgs/issues/1689 that might also be useful
<goibhniu> I'd love to know if you get this working
<christine_> If I get it working, I will let you know
TheAppleMan has joined #nixos
TheAppleMan has quit [(Changing host)]
TheAppleMan has joined #nixos
newhoggy2 has joined #nixos
<NixOS_GitHub> [nixpkgs] avnik opened pull request #20856: qt5: more reproducible builds (master...qt5-mktemp) https://git.io/v1c46
eacameron has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 opened pull request #20857: gajim: add enableOmemoPluginDependencies option (master...gajim) https://git.io/v1c4F
FRidh has quit [(Remote host closed the connection)]
eacameron has quit [(Read error: Connection reset by peer)]
eacameron has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #20857: gajim: add enableOmemoPluginDependencies option (master...gajim) https://git.io/v1c4F
eacameron has quit [(Ping timeout: 260 seconds)]
<NixOS_GitHub> [nixpkgs] Mic92 opened pull request #20858: lxcfs: init at 2.0.4 (master...lxcfs) https://git.io/v1cBD
pi3r has joined #nixos
derjohn_mobi has quit [(Ping timeout: 260 seconds)]
derjohn_mobi has joined #nixos
eacameron has joined #nixos
amyers has joined #nixos
lverns has joined #nixos
<NixOS_GitHub> [nix] jamesbroadhead opened pull request #1143: Update wording on root install (master...root_install_warning) https://git.io/v1cEa
eacameron has quit [(Ping timeout: 260 seconds)]
<NixOS_GitHub> [nix] jamesbroadhead opened pull request #1144: shellcheck scripts/install-nix-from-closure.sh (master...shellcheck_install) https://git.io/v1cES
lonokhov has quit [(Quit: leaving)]
georges-duperon has quit [(Ping timeout: 260 seconds)]
<angerman> can I in principle import multiple channels? 'with import <nixpkgs> {}; with import <mypkgs> {}; ...'?
<jophish> angerman: sure, why not :)
<jophish> You may want to consider making mypkgs a superset of nixpkgs
glines has joined #nixos
<angerman> jophish got an example how to do that?
<jophish> callPackage = pkgs.newScope self;
<jophish> angerman: this is quite a nice thing to do. This goes in mypkgs. pkgs here is nixpkgs
<jophish> this means that mypkgs.callPackage will have all of your own packages in scope too
<angerman> so it's essentially an overlay?
<jophish> yeah, you can think of it like that
johann__ has joined #nixos
georges-duperon has joined #nixos
automaton has joined #nixos
<__Sander__> christine_: that's beyond nix's scope
<__Sander__> initialising databases, and anything state related
<angerman> jophish how do I find out where newScope is defined?
<jophish> angerman: grep for 'newScope ='
glines has quit [(Ping timeout: 258 seconds)]
<angerman> jophish the repl can't report file:line info, right?
<christine_> __Sander__: ok, too bad, then I stop trying ¯\_(ツ)_/¯
automaton has quit [(Ping timeout: 260 seconds)]
derjohn_mobi has quit [(Ping timeout: 265 seconds)]
jensens has joined #nixos
mizu_no_oto has joined #nixos
<NixOS_GitHub> [nixpkgs] proteansec opened pull request #20859: gopenvpn: init at 0.8 (master...pkgs/gopenvpn) https://git.io/v1caT
mizu_no_oto has quit [(Quit: Computer has gone to sleep.)]
<jophish> angerman: I don't think so
<angerman> jophish thanks, I guessed so.
derjohn_mobi has joined #nixos
<gchristensen> ~24 hours to put in big mass rebuilds and ship updates. that isn't bad!
angerman has quit [(Quit: Gone)]
amarsman has quit [(Ping timeout: 260 seconds)]
rardiol has joined #nixos
<LnL> would be nice if we had substitutes like guix
rly has quit [(Ping timeout: 258 seconds)]
<civodul> LnL: not sure what you mean, because Nix had substitutes before Guix existed :-)
<gchristensen> I think lnl means the feature where we can do an emergency update to a base lib without rebuilding the world
proteusguy has joined #nixos
<LnL> yeah, that. I thought they called it substitutes
kampfschlaefer has joined #nixos
<gchristensen> I'm sure I'm in the minority here, but that tooling spooks me
amyers has quit [(Ping timeout: 244 seconds)]
msd has joined #nixos
<msd> Hey
<LnL> true, I would still want hydra to build without substitutes on staging or something
<jophish> hi msd
<msd> Is there any way to specify a tag version for fetchFromGitHub?
<LnL> otherwise you might not even notice broken stuff
<jophish> msd: can you put the tag name as "rev"|?
<LnL> msd: ^ that should just work
<LnL> civodul: yeah that's it
<msd> For example: I want a repo checked out with tag version "OTP_R16B02_basho8" . Is there a way to pipe that straight into fetchFromGitHub? Or must I use the rev?
<avn> msd: tag should work I think
rly has joined #nixos
<msd> avn: LnL jophish using src = fetchgit { url = "https://github.com/basho/otp"; rev = "OTP_R16B02_basho8"; sha256 = "0xn28cxlq0ya1aww9q14rg8jf3x2flwxrz6wdnpb0l2h2dasr655"; }; fails
<jophish> msd: you said fetchFromGitHub
<msd> jophish: Ah, oh shit
<msd> jophish: my b
<LnL> fetchFromGitHub does not use git, it downloads a tarball
<msd> jophish: now I see my mistake :P
<jophish> :)
teoma has joined #nixos
<avn> msd: for fetchgit you need rev="refs/tags/$tagname";
<msd> avn: for packages, is fetchgit preferred over fetchFromGitHub?
<msd> Is either preferred over the other?
<peti> fetchFromGitHub is preferrable since it doesn't depend on git.
amyers has joined #nixos
<teoma> After upgrading to 16.09, xinit gives this error: Couldn't open libEGL.so.1: libEGL.so.1: cannot open shared object file: No such file or directory
<teoma> How would I go about fixing this?
zagy has quit [(Quit: Leaving.)]
<teoma> Xorg.0.log says it happens while loading sub module glamoregl.
posco_ has joined #nixos
<msd> peti: alright, switching over some packages to fetchFromGitHub
<msd> peti: thanks
bin7me has joined #nixos
Mercuria1Alchemi has quit [(Ping timeout: 246 seconds)]
glines has joined #nixos
bin8me_ has joined #nixos
bin8me has quit [(Ping timeout: 260 seconds)]
bin7me has quit [(Ping timeout: 265 seconds)]
posco has quit [(Ping timeout: 268 seconds)]
posco__ has joined #nixos
erasmas has joined #nixos
<NixOS_GitHub> [nixpkgs] mdaiter opened pull request #20860: erlang_basho_R16: B03-1 -> B02-8 (master...correctBashoErlangVersion) https://git.io/v1cXm
Seichi has joined #nixos
posco___ has joined #nixos
<msd> LnL: could I please get a review on this PR (https://github.com/NixOS/nixpkgs/pull/20860)? Just a quick upgrade, and you have the background context for this package/why it's necessary for Riak CS/Stanchion.
posco_ has quit [(Ping timeout: 268 seconds)]
<LnL> sure, I'll take a look when I get home
johann__ has quit [(Quit: Leaving.)]
<teoma> Looks like libEGL.so.1 is produced by mesa_noglu, so I guess mesa_noglu should be added to buildInputs of some X server related package -- any idea which package?
posco__ has quit [(Ping timeout: 243 seconds)]
posco____ has joined #nixos
johann__ has joined #nixos
Damas has joined #nixos
posco___ has quit [(Ping timeout: 266 seconds)]
posco_____ has joined #nixos
<Damas> hey everyone? Is there an idiot install guide for OSX with Fish? I would like to use also Nix versions of bash and fish. But the part with setting paths + fish is kinda confusing
uralbash has quit [(Quit: Leaving.)]
jensens has quit [(Ping timeout: 265 seconds)]
<msd> LnL: thanks
<LnL> Damas: I don't think our installer supports fish
<Damas> well, what about zsh?
<Damas> LnL: the way, that terminal will be fired with bash version installed by Nix - is it possible? Last time I tried I broke OSX
posco______ has joined #nixos
posco____ has quit [(Ping timeout: 268 seconds)]
<LnL> you changed your login shell to the one from nix?
johann__ has quit [(Quit: Leaving.)]
<Damas> not the login shell, just the one behind Terminal app (was easy to fix, but still)
<Damas> just wanted Terminal to use as a default bash4 from Nix
acertainkind has quit [(Quit: Leaving)]
posco_______ has joined #nixos
posco_____ has quit [(Ping timeout: 268 seconds)]
georges-duperon has quit [(Ping timeout: 260 seconds)]
amyers has quit [(Ping timeout: 250 seconds)]
<teoma> Apparently the epoxy library "picks the OpenGL library to load dynamically", but adding mesa to propagatedBuildInputs of epoxy triggers recompiling tons of packages including libreoffice. Does this look like the right thing to try?
katyucha_ has joined #nixos
katyucha1 has joined #nixos
Shou has quit [(Ping timeout: 265 seconds)]
derjohn_mobi has quit [(Ping timeout: 256 seconds)]
posco______ has quit [(Ping timeout: 264 seconds)]
posco________ has joined #nixos
posco_______ has quit [(Ping timeout: 273 seconds)]
posco________ is now known as posco_______
ryanartecona has joined #nixos
danielrf has joined #nixos
amyers has joined #nixos
nh2_ has joined #nixos
<LnL> Damas: if you want to do that you should use /nix/var/nix/profiles/default/bin/<shell>
<LnL> that way it won't break if you update the version
<LnL> (unless you remove it from your profile)
Damas has quit [(Quit: Page closed)]
johann__ has joined #nixos
katyucha1 has quit [(Ping timeout: 250 seconds)]
katyucha_ has quit [(Ping timeout: 245 seconds)]
damas has joined #nixos
bin8me_ has quit [(Remote host closed the connection)]
roconnor has joined #nixos
pi3r has quit [(Ping timeout: 250 seconds)]
nh2_ has quit [(Quit: Leaving.)]
cpennington has joined #nixos
roconnor has quit [(Ping timeout: 246 seconds)]
jgertm_ has quit [(Read error: Connection reset by peer)]
jgertm__ has joined #nixos
digitalmentat has joined #nixos
mde_ has joined #nixos
<digitalmentat> I've put a fresh install of NixOS onto my laptop but installing KDE5 is giving me a collision with phonon-backend-gstreamer-qt and the qt4 version of the same package; has anyone run into this?
glines has quit [(Ping timeout: 265 seconds)]
<digitalmentat> I've gone through my configuration.nix mulitple times to make sure I'm not by accident installing something else that might depend on the older package but that is to no avail
<goibhniu> can you post your configuration.nix?
<mde_> hello guys, i have ntfs partitions and i cant copy anything from nixos to ntfs partitions, what i need to do ? i ve installed ntfs3g
<digitalmentat> it's a little tough to copy it over right now since it's on the other laptop
<digitalmentat> it's a *very* basic config
<digitalmentat> like, the stock config + xserver + a new user + kde5 + networkmanager + a few editor tools and that's it
<digitalmentat> how do I figure out what package is causing the phonon qt4 dependency?
<digitalmentat> err "has"
damas has quit [(Quit: Page closed)]
<goibhniu> digitalmentat: how are you installing kde5?
<goibhniu> can you post the error? ... maybe use sprunge or something like that
<digitalmentat> goibhniu, (thanks for helping me) I have this line in my configuration.nix: `services.xserver.desktopManager.kde5.enable = true;`
<digitalmentat> I can type out the error I think
danharaj has joined #nixos
georges-duperon has joined #nixos
<gchristensen> digitalmentat: cat configuration.nix | curl -F 'f:1=<-' ix.io
<digitalmentat> `collision between `/nix/store/<hash>-phonon-backend-gstreamer-qt5-4.9.0/share/icons/hicolor/<resolution>/apps/phonon-gstreamer.png` and `/nix/store/<hash>-phonon-backend-gstreamer...`
<digitalmentat> kk
<gchristensen> digitalmentat: nixos-rebuild build 2>&1 | curl -F 'f:1=<-' ix.io
lverns has quit [(Ping timeout: 240 seconds)]
roconnor_ has joined #nixos
<digitalmentat> that's a nifty trick, thanks gchristensen
digitus has joined #nixos
johann__ has quit [(Quit: Leaving.)]
<digitalmentat> http://ix.io/1JBW
<digitalmentat> and the error
<digitalmentat> http://ix.io/1JC5
<digitalmentat> of note: I did have kde4 enabled _before_ this
<digitalmentat> I've since run garbage collection though
<mde_> hello guys, i have ntfs partitions and i cant copy anything from nixos to ntfs partitions, what i need to do ? i ve installed ntfs3g
arjen-jonathan has quit [(Ping timeout: 258 seconds)]
<goibhniu> digitalmentat: oh, I think I've seen this ... you can try enabling the sandbox
<Dezgeg> did you mount it with '-t ntfs' instead of '-t ntfs-3g'?
<mde_> Dezgeg: i use nautilus to mount partitions
<mde_> gnome file manager.
<mde_> i didnt do any extra thing
<Dezgeg> well, no idea about how that one can be made to prefer ntfs-3g instead of the kernel driver
<digitalmentat> goibhniu, interesting, I've never heard of the sandbox before - docs to help me figure out what you mean?
Kamil__ has joined #nixos
stepcut has joined #nixos
<goibhniu> digitalmentat: you can try that, by making a copy of the symlinked file /etc/nix/nix.conf, and setting build-use-sandbox = true
<Kamil__> how can I search pkgs from nix-env command using reges?
<mde_> kernel driver doesnt allow me to copy too thats why i ve installed ntfs-3g
<Kamil__> *regex
<goibhniu> digitalmentat: you also need to restart nix-daemon
* goibhniu doesn't know if there's an easier way
<digitalmentat> goibhniu, okay thanks I'll give that a shot
mitchty has quit [(Remote host closed the connection)]
mitchty has joined #nixos
mde_ has quit [(Quit: Page closed)]
<digitalmentat> goibhniu, interesting so I still received the collision errors but the build succeeded
<digitalmentat> in-general why is the sandbox off by default?
<goibhniu> it's faster to have it disabled
<digitalmentat> ahh ok
<goibhniu> but I think this is a bug
<digitalmentat> so it sounds like I'm going to need to keep it enabled even for future builds
<goibhniu> great that it worked!
<digitalmentat> goibhniu, also - what is the sandbox doing that makes this succeed now so that I understand
<digitalmentat> thank you for moving me forward, I appreciate that
<goibhniu> lemme find the issue
<digitalmentat> kk
<goibhniu> https://github.com/NixOS/nixpkgs/issues/19673 is the one it reminds me of
<digitalmentat> okay
<digitalmentat> also - other laptop is booted up now into KDE5, nice and smooth
<goibhniu> nice
amarsman has joined #nixos
christine_ has quit [(Ping timeout: 260 seconds)]
jgertm__ has quit [(Ping timeout: 240 seconds)]
seanz has joined #nixos
Kamil__ has quit [(Quit: Page closed)]
digitalmentat has quit [(Ping timeout: 250 seconds)]
magnetophon has joined #nixos
teoma has quit [(Remote host closed the connection)]
johnsonav has quit [(Ping timeout: 240 seconds)]
georges-duperon has quit [(Ping timeout: 260 seconds)]
ambro718 has joined #nixos
Judson1 has quit [(Ping timeout: 265 seconds)]
fritschy has quit [(Quit: Leaving.)]
johnsonav has joined #nixos
<magnetophon> Hi. yesterday I spent a lot of time trying to install nixos on my parents imac, but was not able to run X. I just finished installing debian on it, and everything works now. I'd prefer nixos though. Can the debian installation give me cues as to what to do different on nixos? Ralith, avn.
<Ralith> interesting!
ryanartecona has quit [(Quit: ryanartecona)]
<Ralith> check the kernel and video driver and versions thereof, and maybe see if debian has relevant patches in their versions of those
<Ralith> or just run nix on debian and call it a day
Shou has joined #nixos
georges-duperon has joined #nixos
<magnetophon> Ralith: nix on debian doesn't help me much. my parents don't need multiple versions of programs or anything. In this case I want nixos cause it's a rolling release with rollback.
<magnetophon> how do I check the videodriver?
<magnetophon> nm I can google that
sigmundv_ has joined #nixos
<Ralith> if it's for nontechnical users, do they even need rolling release?
<magnetophon> Ralith no they don't, but it would save me a reinstall in a few years. no biggie
noexcept_ has joined #nixos
<magnetophon> All they need is a browser and a VM for their bridge game. Probably the wise thing to do is to call it a day...
Dezgeg has quit [(Ping timeout: 250 seconds)]
civodul has quit [(Quit: ERC (IRC client for Emacs 25.1.1))]
<noexcept_> hi, can anyone comment on nix vs guix? I like the idea of using Guile for the package definitions but I would prefer if GuixSD used systemd instead of some relatively unknown init system
<simpson> noexcept_: I use NixOS because I want nixops.
<Ralith> I use NixOS because it's more active
__Sander__ has quit [(Quit: Konversation terminated!)]
<noexcept_> also I currently use Gentoo and the (broken) dependency resolution is driving me crazy
<magnetophon> noexcept_: I use nixos because there's more pkgs
<Ralith> if I'd known guix didn't use systemd I'd use NixOS for that reason too though
<Ralith> systemd is the best
<noexcept_> like portage (the gentoo package manager) will take 5-10 minutes to resolve dependencies for a system upgrade and still require me to manually resolve dependencies from use flags and generally takes a lot of tinkering to solve conflicts
<Ralith> o_O
<Ralith> yeah there's none of that
<Ralith> the package search is a little slow at worst
ryanartecona has joined #nixos
schneefux has quit [(Quit: ZNC 1.6.3 - http://znc.in)]
Judson has joined #nixos
<Judson> Is there a tidy way to determine the current "ld-linux.so"?
<Judson> i.e. I want to be able to use patchelf to fix downloaded exes without needing to add them to an overlay necessarily
schneefux has joined #nixos
georges-duperon has quit [(Ping timeout: 260 seconds)]
Itkovian_ has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<noexcept_> Ralith: the only thing that's worrying me a bit about NixOS is that there seems to be a lot of focus on making everything functional even when that does not necessarily make sense. The reason NixOS looks appealing to me is because every package is slotted and there are no conflicts, so dependency resolution is polynomial-time and not NP-hard.
rly has quit [(Ping timeout: 246 seconds)]
<gchristensen> noexcept_: how do you mean?
<Ralith> well, don't worry, it turns out to make sense
<noexcept_> Ralith: and not because they use monads to express mutable computations as an immutable program description
<noexcept_> I don't know if this is really the case for NixOS
<noexcept_> just an impression I get from the description on the home page :)
<simpson> noexcept_: The Nix language doesn't have monads. I'm not sure what you're getting at.
<noexcept_> simpson: "Purely Functional Linux Distribution" makes it sound like it's a project by some haskell zealots. Again, I may be getting the wrong impression :)
<magnetophon> noexcept_: a pkg can only run after it has been "nixified", if that's what you mean. That is the biggest advantage and disadvantage at the same time, imho.
<simpson> noexcept_: Thankfully, "purely functional" doesn't mean anything. NixOS is just a distro that uses Nix as its package manager. Nix itself enforces purity in builds.
roconnor_ has quit [(Ping timeout: 248 seconds)]
eacameron has joined #nixos
<noexcept_> simpson: If all that is meant by purity here is that each version of a package gets put into its own (immutable) directory, then that's perfect. :)
<simpson> noexcept_: Slightly stronger: A package's output artifacts are parameterized solely on the build inputs.
<kmicu> noexcept_: taking into account your requirements you could use NixOS (systemd) as an OS and Guix with Guile as a package manager.
octalsrc has joined #nixos
<noexcept_> kmicu: interesting
MarcelineVQ has quit [(Ping timeout: 265 seconds)]
<octalsrc> has anyone used the beamer package in texlive recently?
<octalsrc> "texlive.combine { inherit (texlive) beamer; }" fails to build
<octalsrc> on nixos-unstable
<noexcept_> Do I understand it correctly that the reason it's impractical to install nix entirely without root is because the /nix/store prefix is hardcoded into the checksums?
<shlevy> noexcept_: Sort of
<kmicu> noexcept_: You maybe interested in http://wingolog.org/archives/2015/08/04/developing-v8-with-guix
<simpson> noexcept_: The paths are also baked into the artifacts, so they're not relocatable.
<noexcept_> if yes, why is there not a way to specify a custom prefix that is not included in checksum calculation?
<octalsrc> am I using it wrong or should I report an issue?
<shlevy> You can in fact do it in another store path and most of nixpkgs should work
<shlevy> But you don't get any binaries
<shlevy> the store should be included in the checksum
<shlevy> as it affects the results, significantly
<shlevy> as simpson says they're not reolcatable
<noexcept_> ah, I assume that's because of hard coded runtime linker paths, etc?
newhoggy_ has joined #nixos
<kmicu> octalsrc: what’s the error message? ‘nix-shell --pure -p "(texlive.combine { inherit (texlive) scheme-basic beamer; })"’ works correctly.
<shlevy> noexcept_: Yeah
<octalsrc> ah I wasn't including scheme-basic
<octalsrc> that seems to make the difference
newhoggy2 has quit [(Ping timeout: 265 seconds)]
<octalsrc> without it I get the error: "/nix/store/1rfr9q6xly91i2jjsf3s3lrl39a7a8yh-stdenv/setup: line 864: cd: /nix/store/ml5n8mx9msg5q5mgj31kqz35zg2za5fd-texlive-combined-2016/share/texmf/scripts/texlive: No such file or directory"
georges-duperon has joined #nixos
<octalsrc> thanks! should scheme-basic more or less always be included?
<kmicu> What packages are required depends on your *.tex file.
<kmicu> (You could use scheme-full to install almost all TexLive packages.)
<octalsrc> yes, I was trying to avoid that :P
eacamero_ has joined #nixos
jgertm__ has joined #nixos
eacameron has quit [(Ping timeout: 245 seconds)]
evangeline has joined #nixos
eacamero_ has quit [(Remote host closed the connection)]
eacameron has joined #nixos
<evangeline> hi, I've added a new package to my own nixpkgs and installed it with nix-env -i while testing; after everything was working I removed it with nix-env -e, but after redoing nix-env -i the package is installed instantly, so it must be somewhere in the cache; is there a flag to nix-env, which would force the rebuilding of the package ?
<simpson> evangeline: Why would you need a rebuild?
<simpson> (You can remove the package from the store with nix-store.)
<evangeline> simpson: to test if everything still works, since I've updated the package definition ...
<simpson> evangeline: Huh, but the hashes didn't change? That's a little strange
<evangeline> I've modified the license field.
<kmicu> You could change anything (not meta) in package’s recipe or remove the package from the store with ‘nix-store --delete’ command or ‘nix-collect-garbage’.
newhoggy2 has joined #nixos
<magnetophon> evangeline: the package was not cashed, it was just never actually removed from the store. installing/uninstalling is separate from actualy removing it fro disk. that's a feature, not aq bug. :)
<kmicu> Sometimes you can lost build logs and you want to rebuild the same thing with the same hash.
<rardiol> can't "nix-store --read-log" solve that problem?
newhoggy_ has quit [(Ping timeout: 248 seconds)]
iyzsong has quit [(Quit: bye.)]
<evangeline> simpson: magnetophon kmicu hmm, the package is not being recompiled and I've ran both commands: ‘nix-store --delete’ command or ‘nix-collect-garbage’ command.
<evangeline> I'm running this command: nix-env -f $NIXPKGS -i rox-filer
<kmicu> Oh I’m sorry, those are not exact commands, only pointers.
MVQq has joined #nixos
<magnetophon> evangeline: are you sure the pkg was not installed at the time you ran nix-collect-garbage?
<evangeline> yeah, it wasn't, I did: 'nix-env -f $NIXPKGS -e rox-filer' prior to that; the 'nix-collect-garbage -d' also doesn't solve this
jgrasser has quit [(Ping timeout: 245 seconds)]
msd has quit [()]
<evangeline> after doing the 'nix-env -f $NIXPKGS -e rox-filer' the binary is still in nix store, so I guess the packet wasn't removed at all ...
<kmicu> You could try ‘nix-store --delete /nix/store/*-rox-filer*’
<evangeline> error: cannot delete path ‘/nix/store/1512wjx8vnbcxyf71yfmp62c7jm7fcn8-rox-filer-2.11’ since it is still alive
<magnetophon> evangeline: mayb it's still installed in another profile?
pi3r has joined #nixos
<magnetophon> or in sytem pkgs?
jgertm__ has quit [(Ping timeout: 240 seconds)]
<evangeline> magnetophon: it's not in the system and it shouldn't be installed as another profile, since I'm only using the system as my current user.
<simpson> evangeline: I bet that your user profile has a generation with it.
<evangeline> simpson: how can I verify that?
redmq has joined #nixos
<kmicu> evangeline: could you check with ‘nix-store --gc --print-roots’ if there is a ‘.result’ symlink somewhere?
<simpson> evangeline: `nix-store -q --roots /nix/store/1512...`
<NixOS_GitHub> [nixpkgs] montag451 opened pull request #20862: gnome-control-center: provides access to the tracker gsettings schemas (master...gnome-control-center-tracker) https://git.io/v1CIl
Seichi_ has joined #nixos
Seichi has quit [(Ping timeout: 250 seconds)]
<kmicu> (You can safely remove any symlink from ‘/somewhere/result -> /nix/store/HASH-rox-filler’ and after that try ‘nix-store --delete …’ command on rox-filler once again.)
<evangeline> kmicu: there is a result yeah; how can I remove that?
<kmicu> Plain old ‘rm /path/to/result’ is ok.
Seichi_ has quit [(Client Quit)]
danielrf has quit [(Quit: WeeChat 1.6)]
<evangeline> kmicu: I'm still getting the same error about the package being active, but I've remove the result symlink
<evangeline> however, now I'm getting this about a derivation:
<evangeline> error: cannot delete path ‘/nix/store/6jrl2w5lnd1qw9rnasym548r0pg0lxw9-rox-filer-2.11.tar.bz2.drv’ since it is still alive
<kmicu> Could you check that command linked by simpson: ‘nix-store -q --roots /nix/store/1512wjx8vnbcxyf71yfmp62c7jm7fcn8-rox-filer-2.11’?
<evangeline> kmicu: sure, it returns empty result and status code 0
Shou has quit [(Ping timeout: 250 seconds)]
<kmicu> Hmm, maybe it will be easier if you go to rox-filer’s recipe and change sequence of buildInputs’ entries. It will trigger the rebuild and give you the same package.
<evangeline> kmicu: that does it; so if I change the meta tags, the hash of the package won't change meaning it won't be reinstalled?
<kmicu> Or we could investigate further with ‘nix-store -q --references …’. I’m not sure what could keep it alive and it ‘sucks’ that ‘nix-store --delete …’ does not print that info ( ͡~ ͜ʖ ͡°)
LysergicDreams has quit [(Ping timeout: 260 seconds)]
<kmicu> Iirc, yep, meta.* is ignored.
<evangeline> kmicu: what do I need to pass to nix-store -q --references ?
<evangeline> ah I got it
<evangeline> kmicu: http://dpaste.com/237753Q
goibhniu has quit [(Ping timeout: 260 seconds)]
MVQq is now known as MarcelineVQ
<kmicu> evangeline: could you do the same for ‘nix-store -q --referers …’?
<noexcept_> how often does the configuration.nix
<noexcept_> how often does the configuration.nix format change and does nix warn about outdated entries?
<kmicu> configuration.nix is a function and Nix, the expression language, has almost no changes. Some packages have a proper deprecation warning, but some of them not; depends on maintainers.
<magnetophon> kmicu: interesting. coud you point me to a pkg that has such a warning?
<noexcept_> reason I asked is because I read this: https://nixos.org/wiki/Encrypted_Root_on_NixOS#Updating_from_how_it_was_previously and it looks like if one didn't notice the change on the mailing list one could have ended up with an unbootable system?
<kmicu> Nah, you would get an error during nixos-rebuild. That’s all.
<magnetophon> one of the perks of nixos is that it's REALLY hard to end up with an unbootable system
sigmundv_ has quit [(Ping timeout: 244 seconds)]
<evangeline> hi, I would like to pull in these changes: https://github.com/NixOS/nixpkgs/blob/release-16.09/nixos/modules/services/cluster/kubernetes.nix ; I've set myself on unstable branch with "nixos https://nixos.org/channels/nixpkgs-unstable", updated with "nix-channel --update", but the /root/.nix-defexpr/channels/nixos/nixos/modules/services/cluster/kubernetes.nix doesn't contain the kube2sky (for example). I guess
<evangeline> those changes are not yet in the nixpkgs-17.03pre96585.fa4212e/nixexprs.tar.xz archive, so I probably have to pull directly from github. I have my own nixpkgs on developement machine, but this is server machine! What would be the best way to pull in those changes?
pi3r has quit [(Ping timeout: 265 seconds)]
<kmicu> Watch out for ‘nixpkgs-unstable’ as NixOS channel, b/c it can brick NixOS. You should use ‘nixos-unstable’ for NixOS’ unstable channel.
<gchristensen> kmicu: I wonder if we could add a check in there somehow
<kmicu> evangeline: ‘kube2sky’ is in nixos-unstable.
RayNbow` has joined #nixos
<evangeline> kmicu: so this is right "nix-channel --add https://nixos.org/channels/nixos-unstable" right?
kiki9922 has joined #nixos
<kiki9922> hello
<kiki9922> I do not understand why it does not work. http://pastebin.com/abFn7naE
<kmicu> evangeline: ‘sudo nix-channel --add https://nixos.org/channels/nixos-unstable nixos’, ‘sudo nix-channel --update’ and ‘sudo nixos-rebuild boot’, and finally a reboot if you want to switch system to the nixos-unstable channel.
RayNbow`TU has quit [(Ping timeout: 265 seconds)]
<kmicu> kiki9922: ‘nix-env -iA myphpstorm’.
<kiki9922> nop :( i try with recurseIntoAttrs
<kmicu> kiki9922: ‘nix-env -iA nixos.myphpstorm’ or ‘nix-env -f "<nixpkgs>" -iA myphpstorm’.
akaWolf has quit [(Quit: leaving)]
<kmicu> ‘nixos.’ prefix if you are on NixOS and ‘nixpkgs.’ prefix if you are on a standalone Nix (or ‘-f '<nixpkgs>"’ to avoid prefixing). ⸮ Idiosyncrasies FTW!
<kmicu> (‘myphpstorm’ is an ‘attribute path’ and you need to use ‘nix-env -iA …’ to install it.)
tv has quit [(Ping timeout: 245 seconds)]
eacamero_ has joined #nixos
<kmicu> evangeline: I’m sorry, but I’ve misread your situation. ‘kube2sky’ is available in nixos-16.09. It was removed from nixos-unstable or nixpkgs-unstable.
eacameron has quit [(Read error: Connection reset by peer)]
evangeline has quit [(Quit: ZNC 1.6.3 - http://znc.in)]
georges-duperon has quit [(Quit: Leaving)]
<kmicu> (5bc7ae7 ‘kubernetes module: support for kubernetes 1.4’ redesigned that module and dropped ‘kube2sky’ in favor of ‘dns’ suboption.)
markus1189 has quit [(Remote host closed the connection)]
agjacome has joined #nixos
<sphalerite> why does `nix-env -q --profile /run/current-system` not output anything?
jedai has joined #nixos
markus1189 has joined #nixos
pi3r has joined #nixos
<NixOS_GitHub> [nixpkgs] NeQuissimus opened pull request #20865: linux: 4.4.35 -> 4.4.36 (master...linux_4_4_36) https://git.io/v1CWq
<NixOS_GitHub> [nixpkgs] NeQuissimus opened pull request #20866: linux: 4.8.11 -> 4.8.12 (master...linux_4_8_12) https://git.io/v1CWs
ryantm____ has quit [(Remote host closed the connection)]
cstrahan has quit [(Remote host closed the connection)]
monad_cat has quit [(Remote host closed the connection)]
SovereignBleak has quit [(Remote host closed the connection)]
jmeredith has quit [(Remote host closed the connection)]
sjanssen has quit [(Remote host closed the connection)]
jml has quit [(Remote host closed the connection)]
ericbmerritt_ has quit [(Remote host closed the connection)]
manveru has quit [(Remote host closed the connection)]
ocharles_ has quit [(Remote host closed the connection)]
mbrock has quit [(Remote host closed the connection)]
<kmicu> sphalerite: ‘/run/current-system’ is not a profile. Try e.g. ‘nix-env -q --profile ~/.nix-profile’
<sphalerite> so what is /run/current-system, and how can I list the packages linked into it? Or is that a question that doesn't make sense for whatever /run/current-system is?
markus1189 has quit [(Remote host closed the connection)]
seanz has quit [(Quit: Leaving.)]
ryanartecona has quit [(Quit: ryanartecona)]
<dtzWill> sphalerite: well something like 'nix-store -qR /run/current-system' lists the derivations
ryanartecona has joined #nixos
manveru has joined #nixos
ocharles_ has joined #nixos
cstrahan has joined #nixos
MarcelineVQ has quit [(Ping timeout: 250 seconds)]
sjanssen has joined #nixos
ixxie has joined #nixos
kiki9922 has quit [(Read error: No route to host)]
ryantm____ has joined #nixos
<dtzWill> sphalerite: bit of a kludge, but the wiki suggests the following (or something like it): nix-store -q --references /var/run/current-system/sw | cut -d'-' -f2-
<sphalerite> ah yes, that looks like what I wanted
<sphalerite> Thanks!
<dtzWill> \o/
ericbmerritt_ has joined #nixos
Itkovian has joined #nixos
mbrock has joined #nixos
mguentner has quit [(Ping timeout: 250 seconds)]
<NixOS_GitHub> [nixpkgs] vbgl opened pull request #20867: omake: update to 0.10.1 (master...omake-0.10.1) https://git.io/v1CEk
MarcelineVQ has joined #nixos
AllanEspinosa has joined #nixos
redmq has quit [(Ping timeout: 246 seconds)]
SovereignBleak has joined #nixos
monad_cat has joined #nixos
jml has joined #nixos
<NixOS_GitHub> [nixpkgs] viric pushed 1 new commit to release-16.09: https://git.io/v1Czo
<NixOS_GitHub> nixpkgs/release-16.09 7015964 Lluís Batlle i Rossell: Fixing the patch for icu for ARM....
seanz has joined #nixos
jmeredith has joined #nixos
markus1189 has joined #nixos
mguentner has joined #nixos
seanz has quit [(Ping timeout: 260 seconds)]
redmq has joined #nixos
<viric> I get a segfault reported in dmesg if I run "upower -d"
<viric> [ 8110.233653] upowerd[13764]: segfault at 20 ip 00007f2ed634e350 sp 00007ffc3d00b258 error 4 in libglib-2.0.so.0.4800.2[7f2ed62ca000+10d000]
mguentner has quit [(Ping timeout: 246 seconds)]
lverns has joined #nixos
<gchristensen> viric: hrmm nice
<gchristensen> I think icu_54 is broken too :(
<gchristensen> :o
danielrf has joined #nixos
seanz has joined #nixos
mguentner has joined #nixos
newhoggy2 has quit [(Remote host closed the connection)]
akaWolf has joined #nixos
newhoggy2 has joined #nixos
<LnL> is there some way to get a passhru variable into the output of a derivation
<LnL> I want need the path of the buildEnv that the derivation will end up in
ixxie has quit [(Ping timeout: 250 seconds)]
slack1256 has joined #nixos
civodul has joined #nixos
<michalrus> Hey, how can I set a profile picture for a regular user in GNOME?
Guest69519 has quit [(Remote host closed the connection)]
AllanEspinosa has quit [(Ping timeout: 260 seconds)]
amyers has quit [(Ping timeout: 260 seconds)]
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
evangeline has joined #nixos
<evangeline> hi, I turned to nixos-unstable branch, which contains the latest version of kubernetes, but while building it with "nixos-rebuild switch", the build failed: http://dpaste.com/3AANFEK : does anybody know how to go about it? I realize I'm running the unstable branch and this is bound to happen, but even so there are many people out there running nixos on unstable branch.
goibhniu has joined #nixos
<clever> evangeline try running it again with -j1 and see what happens
evangeline has quit [(Quit: Quit)]
aboseley_ has quit [(Remote host closed the connection)]
<Ralith> wow, that looks really broken
AllanEspinosa has joined #nixos
<NixOS_GitHub> [nixpkgs] e-user opened pull request #20868: sisco.lv2: init at 0.7.0 (master...pkgs/sisco.lv2) https://git.io/v1C6e
glines has joined #nixos
<glines> clever: my teensyduino patch was merged, just fyi
<clever> glines: ah, nice
<viric> gchristensen: who needs it?
<NixOS_GitHub> [nixpkgs] wavewave opened pull request #20869: nixos-container: support bridge and port forwarding for imperative nixos-container (master...nixos-container) https://git.io/v1C6R
<gchristensen> viric: zoom-us apparently? will test later if it actually needs it.
<clever> gchristensen: ive tried patching zoom-us before, and it was a nightmare, lol
<gchristensen> well
<gchristensen> damn :(
<gchristensen> would you like to try instead applying sec patches to icu 54.1? :)
<gchristensen> I need a todo list, or a secretary, heh
evangeline has joined #nixos
<evangeline> clever: yeah the -j1 works, why is that?
<clever> evangeline: i think it tried to tar up files inside /nix/store, while other jobs modified /nix/store
<clever> evangeline: hence the error: tar: /nix/store: file changed as we read it
<evangeline> ah, that explains it
systemfault has joined #nixos
lverns has quit [(Ping timeout: 258 seconds)]
<viric> gchristensen: do you run ARM?
hiratara has quit [(Ping timeout: 240 seconds)]
<viric> hm I should get an hdmi screen
hiratara has joined #nixos
octalsrc has quit [(Quit: WeeChat 1.6)]
<clever> viric: ive got 4 rpi's, and an HDMI on one of them, along with network boot configured
<viric> brave.
<viric> There is something I want since years and nixos lacks it
<clever> ?
<viric> I want a Karaoke program
<clever> ah
<viric> there was one thing in freepascal but that never worked iirc
<clever> i know somebody that had one in java
<viric> "ultrastar deluxe"
Wizek has joined #nixos
<viric> that's not only karaoke... It evaluates the singing and makes it a competition with scores :)
<clever> ah, neat
<viric> but never worked
<viric> (in NixOS)
<viric> oh I just found this http://performous.org/download
<viric> cd
<viric> in nixpkgs!
glines has quit [(Ping timeout: 250 seconds)]
pi3r has quit [(Quit: Nettalk6 - www.ntalk.de)]
systemfault has quit [(Quit: Bye!)]
glines has joined #nixos
Sonarpulse-Work has quit [(Remote host closed the connection)]
hiratara has quit [(Quit: ZNC - http://znc.in)]
hiratara has joined #nixos
<x1n4u> hi there is any one using rkt and also having problems to with not being able to ping or curl containers by their ip
georges-duperon has joined #nixos
glines has quit [(Ping timeout: 268 seconds)]
pi3r has joined #nixos
<NixOS_GitHub> [nixpkgs] layus opened pull request #20871: Ensure dbus detects new services (master...dbus-reload) https://git.io/v1C7B
johnsonav has quit [(Ping timeout: 258 seconds)]
<viric> clever: performous works fine in nixos. :)
takle has quit [(Remote host closed the connection)]
<clever> viric: nice
mizu_no_oto has joined #nixos
<gchristensen> viric: I don't run ARM
slack1256 has quit [(Remote host closed the connection)]
pi3r has quit [(Quit: Nettalk6 - www.ntalk.de)]
<eacamero_> Is there a way to pull down proprietary source code from within nix?
pi3r has joined #nixos
<eacamero_> E.g. private GitHub repos
<NixOS_GitHub> [nixpkgs] romildo opened pull request #20873: mkvtoolnix: 9.5.0 -> 9.6.0 (master...upd.mkvtoolnix) https://git.io/v1Cd2
pi3r has quit [(Quit: Nettalk6 - www.ntalk.de)]
cpennington has quit [(Remote host closed the connection)]
<Ralith> eacamero_: at the bare minimum you should be able to make a version of fetchgit that has a passwordless ssh key or something
<Ralith> there may be better ways
<gchristensen> check fetchgitPrivate
georges-duperon has quit [(Ping timeout: 260 seconds)]
justbeingglad has joined #nixos
justbeingglad has left #nixos []
<gchristensen> sometimes I look at some script I wrote and think "how the heck did this ever work"
georges-duperon has joined #nixos
* gchristensen is trying
<gchristensen> which part exactly?
<clever> what configuration2.nix does
<clever> once compiled and ran
<gchristensen> oh no way, is this doing a kexec, in-place kernel update?
<clever> not exactly
<clever> but close
* gchristensen looks
<clever> (and nixos has kexec already, systemctl start kexec i think, will reboot without involving the bootloader)
<gchristensen> is this -assimilate, booting to a nixos kernel to wipe away another distro?
<clever> exactly
<gchristensen> no way
<clever> and unlike assimulate/nixos-in-place, it runs entirely from a ramdisk
<gchristensen> this is so elegant
<clever> so you can repartition the drive
<gchristensen> yeah
<gchristensen> so nice
<clever> the build of kexectools is also broken on nixpkgs, the patch to fix it is included
<gchristensen> so wild
<clever> and in gistfile3, you can see be pushing it to a virtualbox, executing it (remotely!), and then reconnecting
<clever> the text console breaks entirely, on both my laptop and vbox, so the machine looks like it just crashed
<clever> but the network comes up after a few minutes, and serial console works while booting
<clever> video cards dont like the OS changing
<gchristensen> haha yeah
<clever> ive had similar problems with pci passthru
<clever> the sync ; kexec -e could use work, it essentialy just kills the host without even trying to umount the FS's
<clever> but that requires manipulating the init system, and you usualy format right afterwards
<NixOS_GitHub> [nixpkgs] NeQuissimus pushed 2 new commits to master: https://git.io/v1CNj
<NixOS_GitHub> nixpkgs/master 654f5df Tim Steinbach: linux: 4.4.35 -> 4.4.36
<NixOS_GitHub> nixpkgs/master 4190a9a Tim Steinbach: Merge pull request #20865 from NeQuissimus/linux_4_4_36...
<NixOS_GitHub> [nixpkgs] NeQuissimus closed pull request #20866: linux: 4.8.11 -> 4.8.12 (master...linux_4_8_12) https://git.io/v1CWs
digitalmentat has joined #nixos
<NixOS_GitHub> [nixpkgs] NeQuissimus pushed 2 new commits to release-16.09: https://git.io/v1CAR
<NixOS_GitHub> nixpkgs/release-16.09 2ddf554 Tim Steinbach: Merge pull request #20866 from NeQuissimus/linux_4_8_12...
<NixOS_GitHub> nixpkgs/release-16.09 33287d9 Tim Steinbach: Merge pull request #20865 from NeQuissimus/linux_4_4_36...
thc202 has quit [(Ping timeout: 260 seconds)]
takle has joined #nixos
takle has quit [(Ping timeout: 245 seconds)]
digitalmentat has quit [(Ping timeout: 258 seconds)]
<dmj`> peti: ping
* gchristensen prepares a security announcement
civodul has quit [(Quit: ERC (IRC client for Emacs 25.1.1))]
Fare has joined #nixos
erasmas has quit [(Quit: leaving)]
<gchristensen> *sigh* so many security things to do :P
seanz has quit [(Quit: Leaving.)]
<seanparsons> If I include emacsWithPackages in my system config, nixos-rebuild switch goes bang, --show-trace gives me this: https://gist.github.com/seanparsons/f863fd6932c478faa2a1a276a5fbe4d1
<clever> seanparsons: order of operations, environment.systemPackages = [ foo bar function baz ]; is a list with 4 items, one of them a function
<clever> it didnt run the function
<seanparsons> But it works if I use nix-shell and the same expression.
justanotheruser has quit [(Ping timeout: 268 seconds)]
justan0theruser has joined #nixos
<seanparsons> Ah...
<clever> environment.systemPackages = [ foo bar (function baz) ];
<clever> this will run the function, and put the result in the list
<seanparsons> clever: Yes, that's it, you took like 3 seconds to find the thing I've been staring at for 2 hours... :/
<clever> and i didnt even read the error or see the source
<clever> its a common issue that comes up in here atleast twice a month
<seanparsons> I wonder if there's a way to make nix highlight it in some slightly more useful way, as I was staring up and down the chain picking through nixpkgs to no avail.
<clever> cannot coerce a function to a string, at /nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs/lib/strings.nix:442:44
<clever> one of the elements in systemPackages was a function
<clever> but there error messages are a bit difficult to read
<seanparsons> Yeah, but I mean I was seeing references to config.system.path in the gnome3 config in the trace, which made me think I'd done something super crazy somehow.
<clever> thats because gnome3 wants the absolute path for the systemPackages buildEnv
<clever> so it depends on systemPackages being valid