<NixOS_GitHub>
[nixpkgs] fpletz pushed 1 new commit to master: https://git.io/vMhmU
<NixOS_GitHub>
nixpkgs/master f1ba2c8 Franz Pletz: nginxMainline: 1.11.8 -> 1.11.9
<Fare>
sphalerite, I'm having trouble telling ubuntu about the encrypted root disk in lvm :-/
<digitalmentat>
teh__, you're awesome, thank you so much for helping
<digitalmentat>
see my PR comments - so I can try and continue pushing it forward tonight while we have momentum
teh__ has quit [(Ping timeout: 248 seconds)]
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
Mic92 has joined #nixos
<Benrob0329[m]>
gchristensen: thanks for the github repo! CUDA works like a charm!
erasmas has quit [(Quit: leaving)]
eacameron has joined #nixos
<gchristensen>
Benrob0329[m]: great!!
eacameron has quit [(Ping timeout: 256 seconds)]
t7 has quit [(Quit: ChatZilla 0.9.93 [Firefox 50.1.0/20161209093710])]
IdentService has joined #nixos
IdentService has left #nixos []
<fresheyeball>
Can anyone tell me how "undefined symbol" happens? or how to recover?
markus1189 has joined #nixos
danharaj has joined #nixos
markus1199 has quit [(Ping timeout: 260 seconds)]
digitalmentat has quit [(Ping timeout: 255 seconds)]
xwvvvvwx has quit [(Ping timeout: 264 seconds)]
<gchristensen>
fresheyeball: never heard of it, I think. can you post more info?
danharaj has quit [(Ping timeout: 260 seconds)]
mizu_no_oto has joined #nixos
filterfish has joined #nixos
<fpletz>
fresheyeball: generally speaking when a function or variable from a library is not present anymore but required by an executable linking to it, but depends on where you got that error and the full message :)
<NixOS_GitHub>
[nixpkgs] jwiegley pushed 1 new commit to master: https://git.io/vMhGP
<NixOS_GitHub>
nixpkgs/master 1294909 John Wiegley: lens-family-th_0_4_1_0: Add to hackage-packages.nix for GHC 7.10
ilja_kuklic has quit [(Ping timeout: 258 seconds)]
<joepie91>
(missing libs now at the bottom)
mudri has quit [(Quit: WeeChat 1.6)]
<gchristensen>
fpletz I'm going to merge my WIP roundup PR and backport. SGTY?
<k0001>
gchristensen: is there something written somewhere about the vulnerability roundup process? I mean, how do the vulnerabilities come to be in that list?
loupgaroublond has joined #nixos
<loupgaroublond>
k0001: o/
<gchristensen>
k0001: sure, all the tooling is open source. basically every posting to LWN becomes an item to check, and we've created a DB of LWN postings we've checked. each week the tool goes through pages on LWN until it finds 2 consecutive pages where we've examined everything.
<k0001>
And is LWN supposed to be comprehensive enough?
<gchristensen>
LWN aggregates all security announcements from debian, redhat, fedora, suse, gentoo, arch, magiea (sp?)
<k0001>
Ah, quite nice.
<globin>
gchristensen: btw, just restarted a bunch of hydra builds of which some of them were transient, in hope of getting a new unstable channel bump
<gchristensen>
so it maybe isn't 100% comprehensive (ex: debian hasn't announced anything about openjpeg2 yet, since they don't have a fix) but it is pretty close
<gchristensen>
globin: nice, maybe I won't merge just yet, then
<k0001>
gchristensen: So, if I wanted to help there, what's the best way to do it? Patching/upgrading whatever package needs to be fixed, basically?
<globin>
go ahead :)
newhoggy2 has joined #nixos
<gchristensen>
here is an interesting example of that, k0001: https://lwn.net/Vulnerabilities/480386/ where basically everybody covered this issue in 2012 but Gentoo finally got around to it this last week
<gchristensen>
it is very nice having that context, and having LWN aggregate Gentoo's report with everyone else's (note: we were still vulnerable to it!)
panostimos has quit [(Ping timeout: 258 seconds)]
<fpletz>
gchristensen: yup :)
<k0001>
gchristensen: this is very enlightening, thanks. I'll try and lend a hand.
<gchristensen>
k0001: yes! so you can comment on the latest issue (https://github.com/NixOS/nixpkgs/issues/22128) and I'll tag you when the next one happens. then, it is sort of a free-for-all for determining if things are vulnerable or not and submitting PRs until it is done
<gchristensen>
I would love to have your help :)
<gchristensen>
sometimes they take several days, sometimes they take 30 minutes. depends on how hard they are to solve
Rotaerk has joined #nixos
<k0001>
gchristensen: Great. I'll add myself to the permanent CC.
<gchristensen>
even better! :D
<k0001>
gchristensen: and is the intention to backport fixes to the latest stable release (i.e., 16.09 as of today)?
<gchristensen>
the changes will almost always be backported to stable, though sometimes smaller patches will be backported
Kingsquee has quit [(Read error: Connection reset by peer)]
Kingsquee has joined #nixos
<k0001>
gchristensen: oh yeah, I actually left a comment down there now that you remind me of this :P
<gchristensen>
yeah :)
* gchristensen
remembers now, too
<gchristensen>
fpletz: libav doesn't apply cleanly to 16.09 :(
p0le has joined #nixos
<gchristensen>
also, sha1s? yuck! :)
newhoggy2 has quit [(Remote host closed the connection)]
<fpletz>
gchristensen: why? did we miss a point release? or the sha1 on libav 11?
<gchristensen>
yeah, missed backporting a point release. it is okay, though, I've got it here
<fpletz>
if it's libav 11, just keep the version in 16.09 :)
<gchristensen>
oh?
<gchristensen>
oh, no, the issue is 0.8 -- solved!
eacameron has quit [(Ping timeout: 276 seconds)]
<fpletz>
ist just the base32 variant of the sha1, I just picked the sha1 provided by upstream
<fpletz>
yup, thanks :)
eacameron has joined #nixos
<NixOS_GitHub>
[nixpkgs] globin pushed 1 new commit to master: https://git.io/vMhCr
<NixOS_GitHub>
nixpkgs/master 5de731c Robin Gloster: tests.bittorrent: use a file instead of a directory...
<Benrob0329[m]>
Kdenlive crashes when i try to use the timeline with hardware acceleration
p0le has quit [(Quit: WeeChat 1.6)]
johbo has quit [(Ping timeout: 248 seconds)]
johbo has joined #nixos
kosmikus has quit [(Ping timeout: 248 seconds)]
systemfault has quit [(Quit: Bye!)]
kosmikus has joined #nixos
<NixOS_GitHub>
[nixpkgs] grahamc pushed 6 new commits to release-16.09: https://git.io/vMhWI
<NixOS_GitHub>
nixpkgs/release-16.09 f97f679 Graham Christensen: libnl: 3.2.28 -> 3.2.29 for CVE-2017-0386...
<NixOS_GitHub>
nixpkgs/release-16.09 633bba5 Graham Christensen: mariadb: 10.1.19 -> 10.1.21 for multiple CVEs...
<NixOS_GitHub>
nixpkgs/release-16.09 529231c Franz Pletz: libav_0_8: 0.8.17 -> 0.8.20 for multiple CVEs...
<NixOS_GitHub>
[nixpkgs] grahamc pushed 5 new commits to master: https://git.io/vMhW4
<NixOS_GitHub>
nixpkgs/master 8d342d2 Graham Christensen: libnl: 3.2.28 -> 3.2.29 for CVE-2017-0386
<NixOS_GitHub>
nixpkgs/master 111b4e4 Graham Christensen: mariadb: 10.1.19 -> 10.1.21 for multiple CVEs
<NixOS_GitHub>
nixpkgs/master 5f3c626 Franz Pletz: libav_0_8: 0.8.19 -> 0.8.20 for multiple CVEs...
<gchristensen>
lots of ocaml activity this past week in nixpkgs
AllanEspinosa has joined #nixos
eacamero_ has joined #nixos
<corngood>
Benrob0329: is that opencl?
<Benrob0329[m]>
not sure
<Benrob0329[m]>
it uses movit
<puffnfresh>
I'm trying to cross compile something and there's a derivation which has "stdenv.isLinux"
eacameron has quit [(Ping timeout: 240 seconds)]
<puffnfresh>
which is giving true, because my host is Linux
<puffnfresh>
but my target is Windows
roconnor has joined #nixos
<puffnfresh>
I can't figure out what I should replace stdenv.isLinux with
<Benrob0329[m]>
win32 or win64 i would think
<Benrob0329[m]>
or false
<puffnfresh>
yes, I want it to return false, what should I use instead of stdenv.isLinux?
* Benrob0329[m]
realises his mistake
<Ralith>
he's trying to work out how to test the properties of the target, not the host
<Benrob0329[m]>
is there a platform, or isWindows?
<roconnor>
Is Raskin around?
<gchristensen>
fpletz: to make the roundup notes, I review every commit since the last notes ... there are like ~70 commits a day, or more! this is so exciting / exhausting!
<roconnor>
Ah I see. In Nixos the store directory is has some sort of sticky bit that prevents you from deleting things from it, IIUC.
<Dezgeg>
you get: rm: cannot remove '/nix/store/n223gcv03ikq6a9mxbhd1288hpz76nmd-bash-4.4-p0/bin/bash': Read-only file system
edvorg has quit [(Ping timeout: 276 seconds)]
derjohn_mobi has joined #nixos
acarrico has quit [(Ping timeout: 255 seconds)]
dramforever has joined #nixos
<Rotaerk>
is a given derivation supposed to always generate the same result?
<Rotaerk>
and if that's not actually an expectation, then how do you build a derivation that's expected to produce different output depending on the time you run it
mkoenig has quit [(Remote host closed the connection)]
<roconnor>
They are supposed always generate `equivalent` results, but not necessarily bit identical equal results.
<Rotaerk>
so a derivation that runs cabal update (i.e. producing different results if hackage has been updated) is wrong?
<roconnor>
Rotaerk: to build one that produces different results, make a program with a race condition in it, and run it.
<Rotaerk>
I mean, I made one that runs cabal update, but when I build it again, it just gives me the existing store path
<roconnor>
Rotaerk: yes, such a deriviation would be wrong.
<Rotaerk>
k
<roconnor>
Rotaerk: any program that does network access is probably wrong, other than the existing fetchurl / fetchgit / etc ones.
systemfault has joined #nixos
<Rotaerk>
and even those would be wrong if the contents of the specified URL change
<roconnor>
fetchurl and fetchgit are "fixed-output" derivations which specify the hash of the output derivation as part of the definition.
<roconnor>
those are allowed to do network access.
<NixOS_GitHub>
[nixpkgs] fpletz pushed 18 new commits to master: https://git.io/vMhB3
justanotheruser has quit [(Ping timeout: 255 seconds)]
cyraxjoe has quit [(Ping timeout: 255 seconds)]
cyraxjoe has joined #nixos
rly has joined #nixos
iyzsong has joined #nixos
teh__ has joined #nixos
filterfish has quit [(Ping timeout: 240 seconds)]
civodul has joined #nixos
newhoggy has joined #nixos
goibhniu has joined #nixos
justanotheruser has joined #nixos
filterfish has joined #nixos
newhoggy has quit [(Ping timeout: 256 seconds)]
arjen-jonathan has quit [(Quit: WeeChat 1.7)]
feepo has joined #nixos
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
Itkovian has joined #nixos
ugjka has quit [(Quit: ByE ByE)]
<sphalerite>
rsa: "Currently, NixOS containers are not perfectly isolated from the host system. This means that a user with root access to the container can do things that affect the host. So you should not give container root access to untrusted users." ~ NixOS manual
ckauhaus has joined #nixos
MoreTea has joined #nixos
ThatDocsLady has quit [(Quit: Arma-geddin-outta-here!)]
thc202 has joined #nixos
ixxie has joined #nixos
ThatDocsLady has joined #nixos
jgertm has joined #nixos
newhoggy has joined #nixos
panostimos has joined #nixos
newhoggy has quit [(Remote host closed the connection)]
newhoggy has joined #nixos
newhoggy has quit [(Remote host closed the connection)]
<sphalerite>
Is there a way to delete old generations of the channels environment?
<rsa>
sphalerite: but it's even worse than root on the host, root on the host sees it as read only, but root in the container does not
<sphalerite>
root on the host can remount it read-write ;)
<rsa>
mm
<sphalerite>
I really don't know why this would happen, maybe it's an oversight in how the mount namespacing happens. I don't know, maybe check the issues to see if anyone's found this before, and if not report it :)
athan has quit [(Read error: Connection reset by peer)]
georges-duperon has joined #nixos
ilja_kuklic has joined #nixos
eacameron has joined #nixos
georges-duperon has quit [(Ping timeout: 252 seconds)]
<NixOS_GitHub>
[nixpkgs] joachifm pushed 1 new commit to release-16.09: https://git.io/vMjqc
<NixOS_GitHub>
nixpkgs/release-16.09 7274b07 Joachim Fasting: torbrowser: 6.0.8 -> 6.5...
Itkovian has joined #nixos
newhoggy has quit [(Ping timeout: 260 seconds)]
<gchristensen>
LnL: trying to prune the (hundreds) of PRs has been awful
<gchristensen>
LnL: each delete can take several seconds _each_
pi3r has quit [(Ping timeout: 264 seconds)]
<nogacto>
Hi All, I’m having trouble booting a fresh install of NixOS on my Kangaroo Mini Desktop PC. Please let me know if you can help. I believe the issue is minor. My problem seems to be that the /boot filesystem fails to load. The message I see output by `journalctl -xb` is “Dependency failed for /boot”. So, I tried running `systemctl status boot.mount`, and what I see again is “Dependency failed for /boot”. I have one 28GB SSD drive that
<nogacto>
want to be encrypted and to use ext4. To install my system, I used this guide nearly verbatim: https://chris-martin.org/2015/installing-nixos. This guide does indeed use encryption, and I used this guide to install nixos successfully on an older desktop machine. So, I believe the guide is correct. One difference I experience with my new, problem machine is that the nixos installer system assigns to my SSD drive the entry /dev/mmcblk0, not /dev/
<nogacto>
as in the guide and on my old desktop pc. Any ideas where I should look next? Thanks!
<NixOS_GitHub>
[nixpkgs] NeQuissimus pushed 2 new commits to master: https://git.io/vMjqp
<NixOS_GitHub>
nixpkgs/master 4908138 Tim Steinbach: ammonite-repl: 0.8.1 -> 0.8.2
<NixOS_GitHub>
nixpkgs/master 1c3b906 Tim Steinbach: Merge pull request #22153 from NeQuissimus/ammonite_0_8_2...
<NixOS_GitHub>
[nixpkgs] joachifm pushed 1 new commit to master: https://git.io/vMjmI
<NixOS_GitHub>
nixpkgs/master 4a4bc14 Joachim Fasting: torbrowser: fix url typo...
<gchristensen>
nogacto: your message cut off I think at "assigns to my SSD drive the entry /dev/mmcblk0, not /dev/" that or it doens't make sense tome
<nogacto>
gchristensen: thanks, here’s the rest.
<nogacto>
One difference I experience with my new, problem machine is that the nixos installer system assigns to my SSD drive the entry /dev/mmcblk0, not /dev/sda as in the guide and on my old desktop pc. Any ideas where I should look next? Thanks!
<nogacto>
you should see that this line is terminated by “Thanks!”
<gchristensen>
yep :)
<NixOS_GitHub>
[nixpkgs] joachifm pushed 1 new commit to release-16.09: https://git.io/vMjmO
<NixOS_GitHub>
nixpkgs/release-16.09 ffd8181 Joachim Fasting: torbrowser: fix url typo...
<nogacto>
today is the day that my digital devices routinely surprise and frustrate me
<nogacto>
hehe
<rly>
nogacto: a "guide" is not the same as a program, unfortunately.
<gchristensen>
rly: please be nice to the new person :)
<nogacto>
i’m not sure i understand
<nogacto>
guide == program
<nogacto>
cs 101
<nogacto>
;)
<gchristensen>
nogacto: can you paste your configuration.nix?
<nogacto>
sure, one sec
newhoggy has joined #nixos
<rly>
I am not sure what the argument is for naming some block devices /dev/sda and other devices differently, myself.
edvorg has joined #nixos
<rly>
It seems a rather boring implementation detail.
edvorg has quit [(Remote host closed the connection)]
<nogacto>
it’s a bit mysterious to me how these names are assigned in linux
<rly>
nogacto: I think a kernel developer likes to match device names with interfaces.
<rly>
It's also easier from their point of view.
edvorg has joined #nixos
<rly>
They don't have to solve the problem of abstracting over it then.
<rly>
I think such abstractions could be implemented in NixOS, though.
<nogacto>
gchristensen: should i paste my configuration.nix into the channel or pm?
<gchristensen>
nogacto: please paste to gist.github.com ix.io or hastebin.com or pastebin.com
<gchristensen>
nogacto: why did you set boot.loader.grub.device?
<nogacto>
only because it’s a step in the install guide i linked
ixxie has joined #nixos
<nogacto>
i assumed that nixos uses grub by default
<gchristensen>
gosh, I think I'm out of my league here nogacto
<nogacto>
ok no worries
<nogacto>
i’m getting closer to the solution
tvon has joined #nixos
<LnL>
gchristensen: did you use the ui for that?
newhoggy has quit [(Ping timeout: 260 seconds)]
<Unode>
I'm basically looking for some sort of software that allows me to monitor a single process over its lifetime and see what the memory, disk, cpu (threads+load) usage is over time.
iyzsong has quit [(Quit: bye)]
<Unode>
I know of similar tools for system wide monitoring but for individual processes I'm getting mostly top, htop, dstat and similar tools which seem suboptimal for what I'm trying to do.
<Unode>
ideally I'd use it like /usr/bin/time, except with some sort of history report.
<Unode>
anyone knows anything like this?
cpennington has joined #nixos
<gchristensen>
LnL: I made a CLI script
<gchristensen>
LnL: which uses a bunch of curl calls :)
<LnL>
gchristensen: my branch already had one that you could use with the webhook
<gchristensen>
wait what? really? :o
<LnL>
;)
<gchristensen>
yay :D
<gchristensen>
I'll re-sync my patches against your branch and add it support
<nogacto>
interesting: when i run `mount -v /dev/mmcblk0p2 /boot && umount /boot`, I see: “mount: /dev/mmcblk0p2 mounted on /boot” and on the next line “umount: /boot not mounted”
newhoggy has joined #nixos
alx741 has quit [(Quit: alx741)]
alx741 has joined #nixos
<LnL>
gchristensen: I can after work if you want
<ZoomZoomZoom>
Hi. I'm new to Nix, so sorry if this is improper place to ask. Basically, I'd like to run Nix as a host for a QEMU Windows VM which should be accessible by a user via RDP, instead of installing Win on a bare metal. Is it a good idea? Is there any examples of using NixOS as a host for Qemu/KVM VMs?
newhoggy has quit [(Ping timeout: 260 seconds)]
slyfox_ has joined #nixos
<jophish>
ZoomZoomZoom: there's lots of activity involved in hosting other linux systems (check out NixOps)
<gchristensen>
but I don't know of anyone running windows guests on linux hosts. which doesn't necessarily mean anything, other than exactly that :)
slyfox has quit [(Ping timeout: 260 seconds)]
<ZoomZoomZoom>
The thing is, I'd like to keep the overall configuration as simple and pure as possible. Will I be able, for example, to use .nix configuration files to share a folder with a guest system and control it's network traffic somehow?
newhoggy has joined #nixos
<gchristensen>
not sure :)
newhoggy has quit [(Ping timeout: 240 seconds)]
newhoggy has joined #nixos
<NixOS_GitHub>
[nixpkgs] vcunat pushed 1 new commit to release-16.09: https://git.io/vMjZo
<clever>
which state that each LV is a single segment
regnat[m] has left #nixos ["User left"]
uralbash has quit [(Quit: Leaving.)]
newhoggy has joined #nixos
<avn>
clever: 9 segments under vg0/tank ;)
<clever>
avn: the PE numbers are also in the same unit pvmove operates on, so you can use pvmove to shuffle segments around manualy
georges-duperon has quit [(Quit: Leaving)]
<avn>
clever: or just claimed time to resilver, and kick lvm away ;)
<clever>
avn: yeah, this is experience from before i knew of zfs
<clever>
i had a 500gig lvm array, that was in 400 segments
<clever>
because i was too resize happy, and constantly adding "new" drives to the array
<clever>
it died about a year ago, about 4 of the LV's could be recovered
<clever>
but a large chunk of the main lv was on that bad disk
<clever>
along with the dpkg database
<clever>
which made the system essentialy unfixable
<avn>
clever: on my size is a pure migration issue -- I copy lv to zfs datasets, then kill them, and expand vg0/tank
kostja has joined #nixos
newhoggy has quit [(Ping timeout: 240 seconds)]
proteusguy has quit [(Ping timeout: 256 seconds)]
<gchristensen>
fpletz: very timely :D
MercurialAlchemi has quit [(Ping timeout: 260 seconds)]
<kostja>
hello! I have nix store installed in a non default location. why did the following config.nix file stopped working and produces a nix that expects nix store at /nix again? http://lpaste.net/351671
edvorg has quit [(Ping timeout: 260 seconds)]
mrkgnao has joined #nixos
Fare has joined #nixos
teh__ has joined #nixos
<clever>
kostja: did you always install nixUnstable, or did you maybe install .nix by chance?
teh__ has quit [(Remote host closed the connection)]
simendsjo has joined #nixos
[0__0] has quit [(Remote host closed the connection)]
[0__0] has joined #nixos
sellout- has quit [(Quit: Leaving.)]
fritschy has quit [(Quit: Leaving.)]
<nogacto>
Hi All, I’m having trouble manually changing my mac address. There is already a bug report on this issue, but I’m still having trouble implementing a solution. The bug report suggests taking the ethernet interface down first, then setting the mac address and gives code to put into network-interfaces.nix. Can someone tell me how to achieve this solution on my system?
xadi has joined #nixos
eacameron has joined #nixos
kriztw has quit [(Ping timeout: 256 seconds)]
kriztw has joined #nixos
eacameron has quit [(Remote host closed the connection)]
eacameron has joined #nixos
<Benrob0329[m]>
Does anyone know if the python bindings for mlt are included in the main mlt package?
ixxie has quit [(Ping timeout: 264 seconds)]
<Benrob0329[m]>
They are both in the same repo on github
tempest has quit [(Ping timeout: 264 seconds)]
ZoomZoomZoom has quit [(Quit: Leaving)]
reinzelmann has quit [(Quit: Leaving)]
JagaJaga has quit [(Ping timeout: 240 seconds)]
JagaJaga has joined #nixos
<NixOS_GitHub>
[nixpkgs] vcunat pushed 1 new commit to staging: https://git.io/vMjz0
<NixOS_GitHub>
nixpkgs/staging 6973c77 Vladimír Čunát: Merge branch 'master' into staging...
<fpletz>
gchristensen: yeah, awesome! we have our slack day tomorrow and I hope to test it on the odroid c2 and hopefully get an expression to build a bootable image going :)
<gchristensen>
nice
<NixOS_GitHub>
[nixpkgs] globin pushed 1 new commit to staging: https://git.io/vMj1Y
<NixOS_GitHub>
nixpkgs/staging a38f191 Robin Gloster: systemd: 231 -> 232...
<globin>
niksnut: would you mind checking that ^
ertes has quit [(Ping timeout: 255 seconds)]
<globin>
oh damn pushed with the wrong repository url :(
<clever>
gchristensen: i should look into getting aarch64 on my rpi3
feepo has quit [(Quit: Connection closed for inactivity)]
mkoenig has quit [(Read error: Connection reset by peer)]
<niksnut>
globin: looks good to me, thanks
pi3r has joined #nixos
mkoenig has joined #nixos
newhoggy has joined #nixos
__Sander__ has quit [(Quit: Konversation terminated!)]
cpennington has joined #nixos
civodul has quit [(Quit: ERC (IRC client for Emacs 25.1.1))]
xadi1 has joined #nixos
newhoggy has quit [(Ping timeout: 240 seconds)]
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
xadi has quit [(Ping timeout: 260 seconds)]
newhoggy has joined #nixos
newhoggy has quit [(Ping timeout: 245 seconds)]
newhoggy has joined #nixos
deepfire has quit [(Ping timeout: 240 seconds)]
newhoggy has quit [(Ping timeout: 256 seconds)]
newhoggy has joined #nixos
derjohn_mob has quit [(Ping timeout: 240 seconds)]
mkoenig has quit [(Ping timeout: 240 seconds)]
newhoggy has quit [(Ping timeout: 252 seconds)]
mkoenig has joined #nixos
civodul has joined #nixos
thaega has joined #nixos
newhoggy has joined #nixos
goibhniu has quit [(Ping timeout: 256 seconds)]
nh2_ has joined #nixos
<nh2_>
hi, IPv6 doesn't seem to work on my nixos machine, I can't ping6 ipv6.google.com, while on Ubuntu on the same machine it works
<nh2_>
ipv6 is enabled, I do have some ipv6 entries in ifconfig
newhoggy has quit [(Ping timeout: 240 seconds)]
digitalmentat has joined #nixos
<nh2_>
what could be the problem here?
t7 has joined #nixos
<clever>
nh2_: do you see v6 routing entries in "ip -6 route" ?
pi3r has quit [(Ping timeout: 260 seconds)]
<NixOS_GitHub>
[nixpkgs] mythmon opened pull request #22178: Fix typo in pulseaudio.nix (master...patch-1) https://git.io/vMjbj
derjohn_mob has joined #nixos
newhoggy has joined #nixos
<simpson>
mythmon-: Yessss. Let the Nix flow through you.
<nh2_>
clever: doesn't look like it, my only `default` is `default via fe80::1 dev eth0`
newhoggy has quit [(Ping timeout: 240 seconds)]
<clever>
nh2_: does it have a publicly routable or a link-local ip in "ip -6 addr" ?
<nh2_>
clever: I have 2 IPv6 addresses in there, one <link> and one <global>
<clever>
nh2_: sounds like the routing didnt get configured correctly, do you know if the network used dhcpv6 or radvd?
cpennington has quit [(Ping timeout: 258 seconds)]
<nh2_>
clever: I don't know, it's in Hetzner's data center. But I have an Ubuntu server in the same data center where IPv6 works, do you know if I could query it to find out which method is used for it?
teh__ has joined #nixos
<clever>
nh2_: first thing i can think of is to double-check /etc/network/interfaces on the ubuntu system
<clever>
nh2_: they may have done some manual config for you
newhoggy has joined #nixos
mkoenig has quit [(Ping timeout: 240 seconds)]
<teh__>
digitalmentat: let me know if I can help with #16654 other than reviewing & testing
<nh2_>
clever: good point, indeed I have an `iface eth0 inet6 static`. But I just compared to `ip -6 route` on the Ubuntu server, it looks like the nix one (with both having fe80::1 as default route)
thaega has left #nixos ["ERC Version 5.3 (IRC client for Emacs)"]
mkoenig has joined #nixos
<clever>
nh2_: heh, cant find a single machine i control with v6 running right now, let me flip the tunnel back on
xadi1 has quit [(Read error: Connection reset by peer)]
xadi has joined #nixos
newhoggy has quit [(Ping timeout: 245 seconds)]
<cransom>
v6 works on my nixos machines with no particular tweaks for it
<cransom>
hrm. the firewall is disabled. i want to say that previously i had to disable it because the udp ports for v6 discovery were blocked by default
kampfschlaefer has joined #nixos
<clever>
2001:470:1d:19a::/64 dev enp3s0 proto kernel metric 256 expires 86386sec pref medium
<clever>
default via fe80::230:48ff:fec5:d2df dev enp3s0 proto ra metric 1024 expires 286sec hoplimit 64 pref high
xadi1 has joined #nixos
m` has joined #nixos
m` is now known as mojjo
<clever>
nh2_: the instant radvd started on my router, this route appeared in my desktop, and :d2df is the link-local of my router's LAN interface
<cransom>
nh2_: is the fireall enabled/does iptables allow udp 546 and maybe 547?
newhoggy has joined #nixos
xadi has quit [(Ping timeout: 240 seconds)]
cpennington has joined #nixos
nschoe has quit [(Quit: Program. Terminated.)]
justanotheruser has quit [(Ping timeout: 264 seconds)]
<hodapp>
grrr... RStudio depends on R, but there is seemingly no way to get RStudio to use my own wrapped R version (which has the packages I need) by using the RSTUDIO_WHICH_R variable
<hodapp>
I wonder if RStudio's wrapper is overwriting this or something
<nh2_>
cransom clever: OK, it's working now. I had to disable the firewall and then reboot. Before I had tried to disable the firewall, but hadn't rebooted, so probably it blocked ipv6 setup to work or so?
<nh2_>
enabling it again and rebooting to ensure that's really it
derjohn_mob has quit [(Ping timeout: 240 seconds)]
<cransom>
nh2_: yeah. there should probably be an issue created to fix ipv6 dhcp with the firewall enabled
<eacameron>
Does anyone here use PGP to authenticate over SSH?
<nh2_>
eacameron: I've tried it once (it worked) and my friend uses it regularly
<nh2_>
cransom clever: Now I'm confused, I enabled the firewall again, rebooted ... and it still works. Maybe it was just a reboot that was necessary after all, weird
<eacameron>
nh2_: Cool. It looks like you need to start gpg-agent with --enable-ssh-support. Any idea how/if NixOS has good support for that?
newhoggy has joined #nixos
<nh2_>
eacameron: I don't know how well it works on NixOS, I've only used it on Ubuntu so far. You certainly have to enable ssh support for the gpg-agent, I do that with the line `enable-ssh-support` in ~/.gnupg/gpg-agent.conf instead of a flag
<hodapp>
Are there other packages that provide a model for what I want to do here - e.g. if rstudio depends on package "R", but R is typically used via wrappers which install it along with certain packages, and I want to make rstudio configurable to use one of those wrappers instead?
xadi has joined #nixos
<eacameron>
nh2_: Ah didn't realize you could put it in the conf. Neat.
<nh2_>
eacameron: I have that on all the time btw even when I don't use a GPG smartcard, because I always want to use the gpg-agent for the SSH passphrase question popup, I like it better than ssh-agent
<eacameron>
nh2_: Ah so you can use it to completely replace ssh-agent, even for normal ssh keys?
<nh2_>
eacameron: yes
<eacameron>
nh2_: Do you still use .ssh/config?
<nh2_>
eacameron: yes, that is still used
<eacameron>
nh2_: Ah nice. I use GPG regularly for other things, so I would be nice to only run one agent instead of two
<nh2_>
eacameron: definitely possible, I have no ssh-agent process running right now, only gpg-agent
xadi1 has quit [(Ping timeout: 252 seconds)]
<eacameron>
nh2_: Awesome. Trouble is, NixOS has a builtin service for running ssh-agent. Not so much for gpg-agent it seems.
newhoggy has quit [(Ping timeout: 248 seconds)]
<nh2_>
eacameron: as what user does that ssh-agent run?
* eacameron
jots that down on his list of things to do before...he dies.
mkoenig has joined #nixos
<NixOS_GitHub>
[nixpkgs] Baughn opened pull request #22179: nginx-config-formatter: Init at 2016-06-16 (master...nginx) https://git.io/vMjjy
derjohn_mob has joined #nixos
<nh2_>
eacameron: you probably don't even need to add it as a systemd service or anything. The way I do it is that I ensure that my system starts neither ssh-agent nor gpg-agent at boot, and then I just run `gpg-connect-agent /bye` as part of my window manager config script (they /bye can be misleading, it doesn't quit the agent, just closes the session immediately). I have `export SSH_AUTH_SOCK=$HOME/.gnupg/S.gpg-agent.ssh` in .xprofile so that SSH k
sellout- has quit [(Read error: Connection reset by peer)]
sellout- has joined #nixos
Baughn has quit [(Quit: ZNC 1.6.2+deb1 - http://znc.in)]
<nh2_>
eacameron: so in your case, chances are you can just disable that NixOS ssh-agent service and do it like I do
<clever>
nh2_: thats pretty much identical to my gist
Baughn has joined #nixos
<nh2_>
clever: ah right, it's exactly like in your gist
newhoggy has joined #nixos
newhoggy has quit [(Ping timeout: 240 seconds)]
danharaj has joined #nixos
rly has joined #nixos
newhoggy has joined #nixos
oida has joined #nixos
feepo has joined #nixos
mkoenig has quit [(Remote host closed the connection)]
newhoggy has quit [(Ping timeout: 258 seconds)]
derjohn_mob has quit [(Ping timeout: 252 seconds)]
rly has quit [(Ping timeout: 264 seconds)]
newhoggy has joined #nixos
<digitalmentat>
teh__, thanks!
<DavidEGrayson>
Sonarpulse-Work: How would nixcrpkgs help accelerate your work on cross-compiliing?
ertes has joined #nixos
newhoggy has quit [(Ping timeout: 258 seconds)]
zarel has joined #nixos
<Sonarpulse-Work>
DavidEGrayson: after I am done with the general infra
<Sonarpulse-Work>
I want to make the GCC derivation not rediculous
<Sonarpulse-Work>
and make it always make a cross compiler
<Sonarpulse-Work>
i.e. always do the target prefixing
<Sonarpulse-Work>
and always pass --build --host and --target
derjohn_mob has joined #nixos
contrapumpkin has joined #nixos
<contrapumpkin>
is there a guideline about NixOS option descriptions? like that they should or shouldn't contain periods?
<DavidEGrayson>
Sonarpulse-Work: Well, you could look at my work when you are working on the mingw-w64 GCC compiler but other than that, there isn't much useful stuff in there yet :)
<Sonarpulse-Work>
well we both have things to do
<Sonarpulse-Work>
I hope when I'm done with the general stuff
<DavidEGrayson>
Sonarpulse-Work: I suspect the MinGW GCC is different enough than the other GCCs that it should have its own set of expressions that are a bit isolated from everything else. I just think that would make things cleaner, so if you do that, that would be cool.
<DavidEGrayson>
clever: Oh, and it's very recent, nice.
<clever>
gstreamer is still cross-compiling for windows, but the actual project is failing right now
<clever>
gdk-pixbuf-print-mime-types.c:1:35: fatal error: gdk-pixbuf/gdk-pixbuf.h: No such file or directory
<clever>
looks like an issue in gdk-pixbuf is breaking the current build, but there are still a large number of other things fixed
<DavidEGrayson>
clever: Oh! So you actually cross-compiling Qt 5.6 for Windows using nix? That is very interesting to me, that is a large TODO item of mine.
<clever>
yeah
<DavidEGrayson>
clever: Did your cross-compiled Qt work? How many hours does it take to build?
<clever>
cross compiling qt and gstreamer
<contrapumpkin>
I can't find any sort of guidelines about formatting module description fields
<Sonarpulse-Work>
If you could put things in pkgs/top-level/release-cross.nix
<clever>
let me see
<Sonarpulse-Work>
I'd really appreaciate that :)
<DavidEGrayson>
clever: I starred your repo :)
<contrapumpkin>
I'll just add random punctuation and see if anyone corrects me
<nh2_>
I've declared my own Jenkins package (need to use a newer version than is in nixpkgs) using `overrideDerivation`. Now, how can I tell NixOS that I want to use this package for `services.jenkins.enable = true` instead of the older nixpkg version? `services.jenkins` seems to refer to the old one
<contrapumpkin>
description = ";; hmm what am? I supposed! to include. here...?";
<Sonarpulse-Work>
I try to test the best I can but....
<clever>
DavidEGrayson: looks like it took my main desktop 33mins to cross-compile qtbase 5.6.1
<Sonarpulse-Work>
(or rather I look at hashes to avoid building things :p)
t42 has joined #nixos
<Sonarpulse-Work>
(except now I have hydra account thank goodness)
newhoggy has joined #nixos
<DavidEGrayson>
clever: Wow, that is really nice! I took about 13 hours to compile Qt on Windows with MSYS2.
<contrapumpkin>
niksnut, clever: I'm still working on the NixOS image building btw. I ran into another issue with runInLinuxVM, which seems to break completely under nested virtualization under vmware :(
<DavidEGrayson>
clever: Oh, but I don't know how much "qtbase" gives you; I do need the GUI part.
t42 has quit [(Client Quit)]
<clever>
DavidEGrayson: qtbase includes core, gui, network, opengl, sql, widgets, and some other misc things
<DavidEGrayson>
clever: awesome
<NixOS_GitHub>
[nixpkgs] vcunat pushed 1 new commit to master: https://git.io/vDetg
<NixOS_GitHub>
nixpkgs/master ae892ab Vladimír Čunát: luasec: attempt to fix build on Darwin
derjohn_mob has quit [(Ping timeout: 256 seconds)]
newhoggy has quit [(Ping timeout: 276 seconds)]
newhoggy has joined #nixos
newhoggy has quit [(Ping timeout: 264 seconds)]
<nh2_>
anybody got an idea how I can override which `pkgs` NixOS's `services.*` functionality uses, so that I can make it use my custom Jenkins package instead of the nixpkg one?
<NixOS_GitHub>
[nix] edolstra pushed 11 new commits to master: https://git.io/vDemb
<NixOS_GitHub>
nix/master 4425a5c Eelco Dolstra: Move exportReferencesGraph into a separate method...
<NixOS_GitHub>
nix/master e8c43ab Eelco Dolstra: On HTTP errors, also show the curl error...
<NixOS_GitHub>
nix/master a529c74 Eelco Dolstra: Moving more code out of DerivationGoal::startBuilder()
reardencode has quit [(Ping timeout: 258 seconds)]
newhoggy has quit [(Ping timeout: 255 seconds)]
<stepcut_>
If I set, NIX_BUILD_HOOK/NIX_REMOTE_SYSTEMS it seems that it will do all the builds on the remote system, even if my local system could perform the build. What is the trick to getting nix-build to also use the local machine? I could add a user@localhost entry, but that seems a bit silly
<johnw>
I'm trying to use nix-push ... $(readlink -f ~/.nix-profile) in order to maintain a binary cache, but since a little while ago I'm getting: Argument list too long at .../bin/nix-build line 337.
<johnw>
does anyone know of a way to effectively apply xargs to this process, to work around this?
<eacameron>
Ugh... Nixops sometimes decides it can't connect to the remote system and run builds there. It then complains that it can't build the package because I'm on macOS
<gchristensen>
unfortunately :(
<gchristensen>
why can't it connect remotely?
<clever>
nh2_: yeah, one anoying problem with the nixpkgs config, is that it has no checking for invalid entries
<copumpkin>
huh
<eacameron>
gchristensen: I don't know. I can most certainly ssh in via nixops ("nixops ssh") but the actual bild reports that it can't connect.
<eacameron>
gchristensen: I think I'm going to write a quick script to register the remote as a build machine with NIX_REMOTE_SYSTEMS
<eacameron>
Since I can most certainly ssh in as root...
newhoggy_ has quit [(Ping timeout: 248 seconds)]
Itkovian has joined #nixos
cpennington has quit [(Ping timeout: 256 seconds)]
jensens has joined #nixos
pi3r has joined #nixos
newhoggy has joined #nixos
newhoggy has quit [(Ping timeout: 240 seconds)]
<DavidEGrayson>
clever: I'm pretty excited that you got Qt 5.6 working on Windows just by copying in the nixpkgs expressions for it and making one little tweak. Since the MSYS2 project has dozens of patches for Qt 5.6, I thought you would have needed a bunch of those.
<Profpatsch>
Hm, I thought nix always prevents derivations from downloading stuff.
<Profpatsch>
Do I have to enable that on nixos?
<copumpkin>
Profpatsch: not unless build-use-sandbox is turned on
<copumpkin>
which it isn't by default
<Profpatsch>
Ah, ok.
<gchristensen>
that is ... disappointing :/
<copumpkin>
although niksnut recently did some profiling that might mean we can turn on most of it by default
<copumpkin>
turns out the biggest slowdown is network namespaces though, so that might still allow downloading :)
<copumpkin>
or we can just bite the bullet and turn it on by default anyway
<Profpatsch>
Since I’m doing lots of packaging stuff I should probably enable it.
<Profpatsch>
So sandboxing it is.
<gchristensen>
copumpkin: probably should ... slightly hyperbolic, but I'll say it anyway: what is the point without it?
<Profpatsch>
Some pip stuff started fetching dependencies.
<Profpatsch>
exactly.
<copumpkin>
gchristensen: point without sandboxes?
jensens has quit [(Ping timeout: 255 seconds)]
<copumpkin>
or without network namespaces?
<gchristensen>
yeah, if all the builds can be nastily accidentally impure
<Profpatsch>
Although on already slow machines it could add lots of overhead.
<copumpkin>
I prefer correctness to speed :)
<Profpatsch>
Oh, but it’s only for building.
<gchristensen>
same
<copumpkin>
let's petition niksnut
<Profpatsch>
So I’d be for it definitely.
<copumpkin>
niksnut: I'll donate to the Nix foundation again if you turn it on by default :) :) :)
* gchristensen
grabs a sign
<copumpkin>
$2!
<copumpkin>
no, $3
* Profpatsch
grabs the pitchfork
<gchristensen>
oh speaking of which *pokes domenkozar* how did issue#1 go? :D
<copumpkin>
speaking of sandboxes, I still need to fix the feature on darwin
<copumpkin>
sigh, time
<Unode>
clever: you once showed me a nix expression compiled a package inside a VM/container or some other form of isolation. Is this somewhere online? I need to give it another try as I think I'm getting failures from the nixos-16.09 channel caused by system interference on a non nixOS system.
newhoggy has quit [(Remote host closed the connection)]
<copumpkin>
you shouldn't need to run a VM to get isolation
<Unode>
clever: do I need to modify the package?
<clever>
Unode: prevm gets ran on the host, as nixbld1, the main body then gets ran as root under qemu, and then postvm gets ran on the host again as nixbld1
<Unode>
Can I simply make a nix expression for it? (my nix language is still pretty absent)
<clever>
Unode: i believe you can just run vmTools.runInLinuxVM on any derivation, and it will "just work", as long as the package is fine building as root, and qemu works
<clever>
nix-repl> :b vmTools.runInLinuxVM hello
<clever>
testing this on my end...
<Unode>
well this doesn't run as root, it runs as my user
<copumpkin>
don't do it on a virtualized host :)
<copumpkin>
just use build-use-sandbox
<copumpkin>
nix-build --option build-use-sandbox true -A hello
<Unode>
copumpkin: nice I can try that
<copumpkin>
if anything runInLinuxVM lets you do more shady stuff
<copumpkin>
like you can write to all parts of the filesystem inside that VM
<copumpkin>
and do other shady things in it
<clever>
yeah, runInLinuxVM is more for when you need root to loopback mount filesystems and grub-install
<clever>
but nix sandboxes are stopping you
<gchristensen>
runInLinuxVM has been extremely helpful for me lately
<Unode>
I don't have the error right now. I'll paste it if it happens again
ninja_in_neopren has joined #nixos
<copumpkin>
gchristensen: for what?
<gchristensen>
copumpkin: the database topology testing I've been doing at tumblr
<copumpkin>
you're using runInLinuxVM rather than the VM test machinery?
<Unode>
do I need a default.nix for nix-build ? copumpkin's command is complaining about a missing default.nix
<gchristensen>
oh ... hm! I thought it did, but you're right, I'm not, since I don't care about the bootloader
contrapumpkin has quit [(Ping timeout: 260 seconds)]
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
Itkovian has joined #nixos
jensens has joined #nixos
ninja_in_neopren has quit [(Quit: WeeChat 1.5)]
ninja_in_neopren has joined #nixos
<Unode>
clever: error: undefined variable ‘vmTools’ at (string):1:1 on nix-repl
alx741_ has joined #nixos
ambro718 has joined #nixos
FrederickSilva has joined #nixos
<ambro718>
In buildPythonPackage how do I pass --something=$out to the build.py script?
alx741 has quit [(Ping timeout: 255 seconds)]
xwvvvvwx has quit [(Quit: WeeChat 1.6)]
<clever>
Unode: i had to :l <nixpkgs> first
<Unode>
clever: ok that seems to do it. Now waiting. Seems like it's going to take a while. Lots of dependencies to build (custom nix directory)
morsicus1 has joined #nixos
<chris|>
I am trying to bootstrap (nixos-install) on a remote server, but for some reason the machine crashes with an out of memory kernel panic. The machine has 16G of memory, so I am pretty surprised. Has anyone seen this before?
<clever>
chris|: are you able to get access to the console output after the crash?
<chris|>
clever: yes, but it only says enough to see that it cannot kill any processes to free up memory, so it crashes with a kernel panic
morsicus1 has quit [(Client Quit)]
esmiurium has quit [(Ping timeout: 240 seconds)]
newhoggy has joined #nixos
<clever>
chris|: it should also show memory usage stats, and those may be of use
<nh2_>
is anybody using ACME with nginx successfully with nixos?
<clever>
nh2_: ive used it on my NAS and a website i recently setup
<chris|>
clever: I'll see if I can get some next time
<nh2_>
clever: the first time I ran it (I added `enableACME = true` to the nginx config), I got in journalctl: `DeserializationError: Deserialization error: Wrong directory fields`
<clever>
nh2_: there was an issue in one of the release channels, it worked for me on the latest nixos-16.09
<nh2_>
clever: after that first time, it always seems to hang at `requests.packages.urllib3.connectionpool:805: Starting new HTTPS connection (1): acme-v01.api.letsencrypt.org`
<nh2_>
clever: OK, let me check what channel I'm on
<clever>
nh2_: #letsencrypt might be able to help with that more
<nh2_>
clever: I'm suspecting that I'm just running too old software or something
pikajude has quit [(Quit: ZNC 1.6.3 - http://znc.in)]
pikajude has joined #nixos
newhoggy has quit [(Quit: Leaving...)]
<nh2_>
clever: do you happen to know how I can set the channel in nixops config / a nixos configuration file?
<clever>
nh2_: i think it just uses the channel from the host nixops was ran on, i havent looked into that side of nixops yet
<nh2_>
hmm, there's system.autoUpgrade.channel but when I set that to 16.09, `nix-channel --list` on the server still says `nixos-unstable`
<clever>
nh2_: autoUpgrade breaks nixops stuff
<nh2_>
uh then I should better disable it
<clever>
nixops doesnt push the config file out, so the machine will probably revert itself back to a base template, and remove all of your services
<clever>
it may also remove the ssh keys nixops uses to get in
<nh2_>
that wouldn't be cool
<nh2_>
clever: hmm so on my host `nix-channel --list` contains only nixpkgs-unstable, while the server contains only nixos-unstable
MoreTea has joined #nixos
<clever>
nh2_: and you shouldnt be using the nixpkgs channels for nixos stuff, it can potentialy brick the machine
cpennington has quit [(Ping timeout: 255 seconds)]
<nh2_>
clever: yes, I'm not doing that, what I meant is that on the host on which I'm running nixops (my desktop) I have a different channel than what's on my server -- this is to reply to "i think it just uses the channel from the host nixops was ran on"
deepfire has quit [(Ping timeout: 255 seconds)]
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<nh2_>
clever: or do you thing it automatically concluded from nixpkgs-unstable to use nixos-unstable?
<clever>
i believe nixops will entirely ignore the channel on the target server
<clever>
you could delete it from nix-channel and it wont make any difference
<nh2_>
ah OK, so then I just need to figure out how to change my channel locally to 16.09 so that nixops uses the acme package from that one
<nh2_>
ideally without switching the rest of my local nix away from nixpkgs-unstable
<clever>
i'm guessing that nixops will respect $NIX_PATH or -I, so you can just point it to a copy of the latest nixos-16.09
<NixOS_GitHub>
[nixpkgs] mguentner opened pull request #22180: services: ipfs: seperate system units, add offline mode (master...offline_ipfs) https://git.io/vDe0Z
tvon has quit [(Quit: Peace out, y'all!)]
derjohn_mob has quit [(Ping timeout: 240 seconds)]
<nh2_>
clever: OK, the NIX_PATH env var seems to work too, that's great
MoreTea has quit [(Ping timeout: 256 seconds)]
jensens has quit [(Quit: Leaving)]
<nh2_>
now I try the thing with the nixpkgs-channels as a submodule
deepfire has joined #nixos
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
Itkovian has joined #nixos
ratatun has joined #nixos
hiratara has quit [(Ping timeout: 255 seconds)]
<LnL>
is there some alternative for nix-store -qR inside a drv?
<nh2_>
clever: on 16.09 ACME is working out of the box, incredible
<nh2_>
(I had to restart nginx manually once though after it did it)
<clever>
nh2_: same
<LnL>
I'm currently using shellHook as a workaround for a bunch of stuff but I'd like to solve it properly
<clever>
nh2_: about to add a subdomain to my site now
hiratara has joined #nixos
saintromuald has joined #nixos
<nh2_>
the nix ecosystem is a gamechanger
<nh2_>
it needs 1000x the documentation, but it really is gamechanger
<nh2_>
OK, next question now that I'm so motivated
hamishmack has quit [(Quit: hamishmack)]
<nh2_>
why are cache.nixos.org downloads so incredibly slow from Europe?
<nh2_>
I get ~2 MB/s at best with my gigabit server
<gchristensen>
nh2_: hm... are you over ipv6?
<nh2_>
gchristensen: I do have a working ipv6 connection, yes, but the "fetching path..." downloads don't show me if IPv4 or IPv6 is used, how can I find out?
<gchristensen>
not sure :/ but I hear ipv6 can be very slow for some reason, and I believe a patch is about to be released to users to improve that
<clever>
nh2_: and after an accidental upgrade due to messing with nix-channel, and a nginx restart, the subdomain has ssl!
<clever>
nh2_: ssl has never been so painless before!
<Unode>
clever: letsencrypt?
<clever>
Unode: yep
<Unode>
awesome!
<nh2_>
clever: indeed; I use letsencrypt on my other servers as well, but it's not as easy as putting 2 lines into an nginx config
<nh2_>
clever: but given that it works on 16.09 and is broken on unstable, should I file a bug?
<clever>
yeah
<nh2_>
clever: into which issue tracker? nixpkgs?
<avn>
nh2_: yes
Fare has quit [(Ping timeout: 240 seconds)]
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
Itkovian has joined #nixos
xwvvvvwx has joined #nixos
cpennington has quit [(Remote host closed the connection)]
<Unode>
there's command-not-found to find which package provides a given command, is there something else to find out what packages provide a given file? a header (.h) file in this case.
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<Unode>
clever: for installed files I find "updatedb / locate" to mostly work :)
<samae>
Hi! How could I init my gnupg keyrings from the configuration.nix file?
<Unode>
well considering command-not-found uses a database created upstream, I guess we'd need something equivalent with the list of all packages.
<Unode>
I'd be happy with something online next to the package search that already exists.
Itkovian has quit [(Client Quit)]
<avn>
nh2_: very hard to implement
ratatun has quit [(Ping timeout: 240 seconds)]
<Unode>
avn: is that true? hydra should have all the data now?
<Unode>
no*
<avn>
Unode: it may be implementable for releases, but master roll too fast to track it consistent for master
Itkovian has joined #nixos
<Unode>
ah that's what you mean, sure I see the point
<Unode>
well a daily snapshot would probably be more than sufficient for most uses
<Unode>
even weekly to some extent
<nh2_>
why could it not be done for every commit? wouldn't we have to update the file->package lookup table only for the packages that were bult in the commit?
<Unode>
nh2_: which in some cases is a huge update
<nh2_>
Unode: but it surely must be easier to build that table than to compile actual software itself
thc202 has quit [(Ping timeout: 258 seconds)]
<Unode>
but I agree, if hydra makes tarballs of the binaries, all the info should be in-place.
<nh2_>
gchristensen: what tool does nix use to download binary packages, is it wget?
<nh2_>
no it's curl
<Unode>
don't think so. curl perhaps?
<LnL>
nh2_: curl or builtins.fetchurl
zarel has quit [(Quit: Leaving)]
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<nh2_>
gchristensen: OK confirmed with curl --verbose, it does use IPv6 to download from cache.nixos.org
Itkovian has joined #nixos
samae has left #nixos ["#okthxbye"]
MichaelRaskin has joined #nixos
avn has quit [(Ping timeout: 276 seconds)]
<nh2_>
gchristensen: but with IPv4 (curl --ipv4) it is just as slow as with IPv6, even though the ping is only 6 ms. What machines host cache.nixos.org?
Itkovian has quit [(Client Quit)]
avn has joined #nixos
Itkovian has joined #nixos
civodul has quit [(Quit: ERC (IRC client for Emacs 25.1.1))]
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
georges-duperon has quit [(Ping timeout: 252 seconds)]
Tekmo has joined #nixos
morsicus1 has joined #nixos
<Tekmo>
I would like to add a `dhallToNix` utility to `nixpkgs` to convert Dhall configuration language expressions to Nix expressions. I wasn't sure where was the best place to ask about that. Should I use the issue tracker for `nixpkgs` or a mailing list?
morsicus1 has quit [(Client Quit)]
Itkovian has joined #nixos
ilja_kuklic has quit [(Ping timeout: 240 seconds)]
<ratatun>
I'm having difficulties trying to create a custom x session. Could someone take a look of the Xorg part of my conf file here and give any hints? http://cxg.de/_0e2987
<k0001>
Tekmo: very nice! I suppose the issue tracker has more visibility, but sending an email to the mailing list with a link to the github issue wouldn't hurt. But then I don't really know what the protocol is :)
<puffnfresh>
Tekmo: what do you want to ask?
ThatDocsLady has quit [(Quit: Arma-geddin-outta-here!)]
<Tekmo>
I'm not interested in adding it as a top-level executable
<Tekmo>
I mean the actual `dhallToNix` helper function which builds on top of that executable
<puffnfresh>
oooh, alright, let me look at that
<Tekmo>
You can see the code for the function I have in mind in the README of the repository
<k0001>
Tekmo: So, just like we have `pkgs.fetchFromGitHub`, you want `pkgs.dhallToNix`, basically. Right?
<Tekmo>
Yes
<k0001>
Tekmo: and you want the `dhallToNix` implementation to live inside `nixpkgs` or in your own repo?
<puffnfresh>
Tekmo: I'm not really sure where it'd go, I'd just add it to pkgs/top-level/all-packages.nix
<Tekmo>
Inside `nixpkgs`, preferably. The implementation is quite short
<puffnfresh>
submit a PR and let code review let you know there's somewhere better to put it
<Tekmo>
Yeah, so I can create the PR and add it directly to `top-level/allpackages.nix`. I just wasn't sure if I needed to create a formal proposal or request comments first
<Tekmo>
But it sounds like I should just create the PR, then
<puffnfresh>
Tekmo: yeah, a PR is usually a pretty good way to start discussion
<Tekmo>
Thank you both for your help!
<puffnfresh>
no problem, can't wait to see your PR Tekmo!