ertes has joined #nixos
<gchristensen> nice, fpletz
Lowl3v3l_ has joined #nixos
Lowl3v3l has quit [(Ping timeout: 240 seconds)]
shanemikel has quit [(Quit: Textual IRC Client: www.textualapp.com)]
avn has quit [(Ping timeout: 264 seconds)]
avn has joined #nixos
<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
<gchristensen> hmm I wonder what is taking these builds so long -- https://prs.nix.gsc.io/jobset/nixos/pr-22134
AllanEspinosa has quit [(Ping timeout: 240 seconds)]
<gchristensen> btw Mic92 no need to be jealous, you can use it in any PR :)
mudri has joined #nixos
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.
<gchristensen> k0001: it comes from this page: https://lwn.net/Vulnerabilities/
<gchristensen> k0001: https://github.com/NixOS/security/blob/master/lwnvulns/src/bin/new.rs is what makes the report
<k0001> gchristensen: I see, thanks.
<gchristensen> nothing really formal has been written I suppose
<gchristensen> it used to be that before each release we'd go through "the last few pages" of LWN and do updates
<gchristensen> and then for 16.09 I did this: https://github.com/NixOS/nixpkgs/issues/18856
Fare has quit [(Ping timeout: 258 seconds)]
<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
<gchristensen> globin: or would you rather I do?
<globin> gchristensen: doesn't really change anything probably
<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
eacameron has joined #nixos
<gchristensen> https://gist.github.com/grahamc/c60578c6e6928043d29a427361634df6 I have these rough docs that I'd like ~someone~ to make official ;)
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!
newhoggy has joined #nixos
mbrgm has quit [(Ping timeout: 252 seconds)]
mbrgm has joined #nixos
newhoggy has quit [(Ping timeout: 248 seconds)]
jmiven has quit [(Quit: co'o)]
<roconnor> orbekk: Hi, how do I install the acpi_call module so I can use tpacpi-bat ?
jmiven has joined #nixos
mizu_no_oto has quit [(Quit: Computer has gone to sleep.)]
<eacamero_> I deleted a file from the /nix/store and now commands are failing because things can't find it. How can I repair my nix store?
<roconnor> nix-store --repair may do something.
<roconnor> did you really delete a file, or did you garbage-collect something?
derjohn_mobi has quit [(Ping timeout: 250 seconds)]
Havvy has quit [(Remote host closed the connection)]
Havvy has joined #nixos
<eacamero_> roconnor: I really deleted it one of the derivations in the store. I didn't realize what I was doing at the time.
<corngood> https://nixos.org/wiki/Cheatsheet says `nix-store --verify --check-contents --repair` in case that doesn't work
johnsona` has joined #nixos
acowley is now known as acowley_away
<roconnor> eacamero_: That is supposed to be very hard to do :)
eacamero_ is now known as eacameron
<eacameron> corngood: Thanks. I just found that.
<eacameron> roconnor: Is it?
<Dezgeg> on nixos it is
<eacameron> Heh...this happened on macOS
<eacameron> I've never tried that on my nixos box
johnsonav has quit [(Ping timeout: 255 seconds)]
<NixOS_GitHub> [nixpkgs] grahamc closed pull request #22131: WIP: Roundup #19 (master...roundup-19) https://git.io/vMx3J
<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
<NixOS_GitHub> nixpkgs/master 1d251e2 Franz Pletz: chrony: 2.4.1 -> 3.0, enable seccomp
<NixOS_GitHub> nixpkgs/master 8f39095 Franz Pletz: biosdevname: 0.6.1 -> 0.7.2
<NixOS_GitHub> nixpkgs/master f3e4307 Franz Pletz: bandwidth: fix unavailable source url
<roconnor> they will fail if the remote files change.
<Rotaerk> true, so they produce the same results or fail
<Rotaerk> k, thanks
<roconnor> yes. Any fixed-output derivation has more liberty on things like network access.
mizu_no_oto has joined #nixos
acarrico has joined #nixos
roconnor has quit [(Ping timeout: 240 seconds)]
raydeo_ has joined #nixos
raydeo has quit [(Excess Flood)]
<tilpner> Is symlinking my pkgs directory into ~/.nix-defexpr the correct way to add a source of derivations?
<Rotaerk> any idea why this isn't doing what I expect? https://ptpb.pw/9zfr
<Rotaerk> particularly, I'm expecting the derivation to output foo bar baz
<hodapp> for an Emacs mode like https://github.com/dennisog/julia-shell-mode, how exactly am I supposed to accomplish
<hodapp> ...(add-to-list 'load-path "path-to-julia-shell-mode")?
<hodapp> it's in emacsPackagesNg.melpaPackages.julia-shell (I think) but I don't see why it requires other paths to be set
xpika has joined #nixos
hexagoxel has quit [(Ping timeout: 256 seconds)]
mguentner has quit [(Quit: WeeChat 1.6)]
<Rotaerk> dammit, nevermind; I'm dumb
<Rotaerk> needed to put someList into the {} after runCommand...
mguentner has joined #nixos
hexagoxel has joined #nixos
mizu_no_oto has quit [(Quit: Computer has gone to sleep.)]
<eacameron> I'm trying to use an older version of the Haskell "time" library in my haskellPackages.override setup.
<eacameron> But I'm getting infinite recursion error.
<eacameron> As soon as I remove the time override it works.
<eacameron> Anyone had experience with this?
mizu_no_oto has joined #nixos
avn has quit [(Ping timeout: 260 seconds)]
k0001 has quit [(Quit: Connection closed for inactivity)]
seanz has joined #nixos
seanz has quit [(Client Quit)]
<corngood> Could you post your config?
systemfault has quit [(Quit: Bye!)]
isHavvy has joined #nixos
clever has joined #nixos
avn has joined #nixos
Havvy has quit [(Ping timeout: 248 seconds)]
<NixOS_GitHub> [nixpkgs] MP2E opened pull request #22157: obs-studio: 0.15.2 -> 17.0.1 (master...obs_studio_update) https://git.io/vMhz0
paperd has joined #nixos
<NixOS_GitHub> [nixpkgs] MP2E opened pull request #22158: discord: 0.0.13 -> 0.0.1 (master...discord_update) https://git.io/vMhza
<NixOS_GitHub> [nixpkgs] MP2E opened pull request #22159: chocolate-doom: 2.2.1 -> 2.3.0 (master...chocolate_doom_update) https://git.io/vMhzo
<xpika> where on github are the nix packages for hackage located ?
uralbash has joined #nixos
<xpika> dmj`:
mguentner has quit [(Read error: Connection reset by peer)]
<xpika> dmj`: thanks
<dmj`> xpika: np
<xpika> it looks as though nix just installs packages to whatever ghc you have installed regardless if it's compatible
mguentner has joined #nixos
<clever> xpika: nix is incapable of using what is "currently installed" inside builds, it can only use the versions defined within the nix expressions
<NixOS_GitHub> [nixpkgs] MP2E opened pull request #22160: mwprocapture: init at 1.2.3269 (master...mwprocapture_wip) https://git.io/vMhge
<grantwu> Is there a high level overview of Nix concepts anywhere other than http://nixos.org/nix/manual/#ch-basic-package-mgmt ?
<grantwu> For example I still don't understand why sometimes I need nix-env -i and at other times I need nix-env -iA
<grantwu> Or what the difference between a derivation and an attribute is
<clever> grantwu: nix-env -i will search the .name attribute of every derivation for a match
<xpika> clever: i was hoping the package definitions might dispatch on base a dependency for a suitable ghc
dramforever has quit [(Ping timeout: 240 seconds)]
<clever> grantwu: a derivation is a package, and an attribtute is a key=value pair
<clever> grantwu: nix-env -iA tells it exactly which package to use, so it finds it much faster
<NixOS_GitHub> [nixpkgs] gevans opened pull request #22161: rcm: 1.3.0 -> 1.3.1 (master...rcm-1.3.1) https://git.io/vMhgJ
<clever> grantwu: at the top level, nixpkgs has this attribute set: https://github.com/NixOS/nixpkgs/blob/master/pkgs/top-level/all-packages.nix
<clever> grantwu: this provides the attribute names for nearly every package in nixpkgs
mizu_no_oto has quit [(Quit: Computer has gone to sleep.)]
<grantwu> is the value in the attribute kv-pair a derivation?
<clever> grantwu: in these cases, it is
<Benrob0329[m]> For some reason, Kdenlive seens really wierd
<clever> but the value can be any primitive type, number, boolean, string, derivation, list, attribute set
<clever> or a lambda
<Benrob0329[m]> for eg the trandsform effect just defaults to rotate and shier
<grantwu> I see... Also, is downloading derivations done in parallel?
<clever> grantwu: depends on the state of -j, i usualy -j 8 to make things go faster
<grantwu> Oh.
<grantwu> I wish I had that yesterday
proteusguy has quit [(Remote host closed the connection)]
<corngood> You can set `nix.buildCores = 0` in your nix config and it'll default to #cpus
<corngood> That's the setting in nixos system config at least
<dmj`> why is pkgs.haskellPackags.time null ?
<corngood> `build-cores = 0` in nix.config I guess
<clever> corngood: that will cause some issues
<dmj`> after ghc783, time evals to null
<clever> corngood: you want nix.config.buildCores
<corngood> Yeah? How so? It's still opt-in for parallel builds right?
<clever> it is a bit off that the anmes are similar
<clever> corngood: i have seen other users add build-cores to extraOptions, and now nix.conf contains 2 build-cores entries
<corngood> Ah, yeah, sorry... On my phone
x1n4u has quit [(Ping timeout: 255 seconds)]
x1n4u- has joined #nixos
x1n4u- is now known as x1n4u
<NixOS_GitHub> [nixpkgs] MP2E opened pull request #22162: fdk-aac: 0.1.4 -> 0.1.5 (master...fdk_aac_update) https://git.io/vMhg6
AllanEspinosa has quit [(Ping timeout: 248 seconds)]
<NixOS_GitHub> [nixpkgs] MP2E opened pull request #22163: ffmpeg-full: 3.1.3 -> 3.2.2 (master...ffmpeg_full_update) https://git.io/vMhgd
Lowl3v3l_ has quit [(Ping timeout: 240 seconds)]
MP2E has quit [(Quit: brb)]
MP2E has joined #nixos
Lowl3v3l_ has joined #nixos
paperd has quit [(Quit: WeeChat 1.5)]
sellout- has quit [(Ping timeout: 245 seconds)]
sellout- has joined #nixos
georges-duperon has quit [(Ping timeout: 252 seconds)]
<toogley> can i configure how the result of nix-shell should look like?
raydeo_ has quit [(Quit: until next time!)]
<NixOS_GitHub> [nix] edwtjo closed pull request #1204: Add NIX_CURL_PROXY (master...nix-curl-proxy) https://git.io/vMASI
Lowl3v3l__ has joined #nixos
Lowl3v3l_ has quit [(Ping timeout: 252 seconds)]
peikos has joined #nixos
raydeo has joined #nixos
sdothum has quit [(Quit: ZNC - 1.6.0 - http://znc.in)]
kampfschlaefer has joined #nixos
raydeo has quit [(Quit: until next time!)]
dramforever has joined #nixos
digitalmentat has joined #nixos
<dmj`> builtins.builtins? what black magic is this
MercurialAlchemi has joined #nixos
Itkovian has joined #nixos
xeviox has joined #nixos
peikos has quit [(Quit: peikos)]
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
xeviox has quit [(Client Quit)]
dbmikus has quit [(Ping timeout: 240 seconds)]
Lowl3v3l_ has joined #nixos
Lowl3v3l__ has quit [(Ping timeout: 256 seconds)]
raydeo has joined #nixos
proteusguy has joined #nixos
shanemikel has joined #nixos
kampfschlaefer has quit [(Ping timeout: 256 seconds)]
Lowl3v3l_ has quit [(Ping timeout: 264 seconds)]
peikos has joined #nixos
Lowl3v3l_ has joined #nixos
shanemikel has quit [(Read error: Connection reset by peer)]
shanemik_ has joined #nixos
shanemikel has joined #nixos
reinzelmann has joined #nixos
raydeo has quit [(Quit: until next time!)]
shanemik_ has quit [(Ping timeout: 255 seconds)]
raydeo has joined #nixos
Biappi has quit [(Ping timeout: 245 seconds)]
djvdorp has quit [(Ping timeout: 252 seconds)]
jgertm has joined #nixos
<NixOS_GitHub> [nixpkgs] DerTim1 opened pull request #22165: pgroonga: init at 1.1.9 (master...postgres-plugins) https://git.io/vMhoQ
<taktoa> dmj`: builtins.builtins == builtins evaluates to true on my system
<dmj`> yea, builtins.builtins.builtins.builtins.builtins == builtins is true too
<simpson> let self = { self = self; }; in self
<simpson> self.self == self # yo dawg
xwvvvvwx has joined #nixos
dbmikus has joined #nixos
<eacameron> Would it make any sense for my server to allow nixops to deploy from one computer but not another?
<eacameron> I'm sharing the state data but one computer can't SSH in.
<eacameron> The other can.
peikos has quit [(Quit: peikos)]
<eacameron> I should add...the computer that originally generated the state can login.
<eacameron> Is there anything going on with networking?
Itkovian has joined #nixos
<NixOS_GitHub> [nixpkgs] DerTim1 opened pull request #22166: tsearch-extras: init at 0.2 (master...postgres-plugin-tsearch-extras) https://git.io/vMhK4
shanemikel has quit [(Quit: My MacBook Air has gone to sleep. ZZZzzz…)]
Kingsquee has quit [(Quit: https://i.imgur.com/qicT3GK.gif)]
Biappi has joined #nixos
shanemikel has joined #nixos
fritschy has joined #nixos
bin7me has joined #nixos
<NixOS_GitHub> [nixpkgs] lsix opened pull request #22167: gdb: 7.12 -> 7.12.1 (master...update_gdb) https://git.io/vMhK5
Kingsquee has joined #nixos
hotfuzz has quit [(Ping timeout: 240 seconds)]
<NixOS_GitHub> [nixpkgs] 7c6f434c closed pull request #21516: gup: 0.5.5 -> 0.6.0 and extract src into JSON (master...gup) https://git.io/vMIbG
djvdorp has joined #nixos
filterfish has quit [(Ping timeout: 245 seconds)]
<eacameron> Ohh...It's that I have too many SSH keys and it's offering them all.
<eacameron> SSH_AUTH_SOCK='' does the trick
eacameron has quit [(Remote host closed the connection)]
<ikwildrpepper> gchristensen: awesome, well done with the nix/nixos-tumblr-penetration ;-)
peikos has joined #nixos
<rsa> wtf, creating a bind mount and remounting it as read-only works, but not when i mount stuff into a (nixos-)container
<rsa> then the root-user in the container can write (!)
derjohn_mobi has quit [(Ping timeout: 258 seconds)]
peti has quit [(Ping timeout: 276 seconds)]
filterfish has joined #nixos
filterfish has quit [(Remote host closed the connection)]
filterfish has joined #nixos
filterfish has quit [(Remote host closed the connection)]
filterfish has joined #nixos
newhoggy2 has joined #nixos
peikos has quit [(Quit: peikos)]
jgertm has quit [(Ping timeout: 255 seconds)]
peikos has joined #nixos
djvdorp has quit [(Ping timeout: 252 seconds)]
Biappi has quit [(Ping timeout: 255 seconds)]
<NixOS_GitHub> [nixpkgs] 7c6f434c pushed 1 new commit to master: https://git.io/vMhP4
<NixOS_GitHub> nixpkgs/master 076e265 Michael Raskin: squid4: init at 4.0.17
eacameron has joined #nixos
<NixOS_GitHub> [nixpkgs] ip1981 closed pull request #21764: Modular OpenLDAP (staging...ip1981/modular-openldap) https://git.io/vMW7v
newhoggy2 has quit [(Remote host closed the connection)]
Biappi has joined #nixos
arjen-jonathan has joined #nixos
peti has joined #nixos
<NixOS_GitHub> [nixpkgs] vcunat pushed 1 new commit to master: https://git.io/vMhPD
<NixOS_GitHub> nixpkgs/master 142696d Vladimír Čunát: liburcu: platforms: linux -> unix...
eacameron has quit [(Ping timeout: 256 seconds)]
<NixOS_GitHub> [nixpkgs] vcunat pushed 1 new commit to release-16.09: https://git.io/vMhPN
<NixOS_GitHub> nixpkgs/release-16.09 f4bb175 Vladimír Čunát: mesa: maintenance 12.0.5 -> 12.0.6...
nschoe has joined #nixos
glines has quit [(Ping timeout: 245 seconds)]
djvdorp has joined #nixos
<NixOS_GitHub> [nixpkgs] phryneas opened pull request #22168: rambox: 0.4.5 -> 0.5.2 (master...master) https://git.io/vMhXw
hotfuzz has joined #nixos
newhoggy has joined #nixos
newhoggy has quit [(Read error: Connection reset by peer)]
phreedom has joined #nixos
<NixOS_GitHub> [nixpkgs] pradeepchhetri opened pull request #22169: haproxy: 1.6.6 -> 1.7.2 (master...haproxy) https://git.io/vMh1J
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)]
mudri has joined #nixos
Kingsquee has quit [(Quit: https://i.imgur.com/qicT3GK.gif)]
ixxie has quit [(Ping timeout: 255 seconds)]
ixxie has joined #nixos
teknico has joined #nixos
oida has joined #nixos
<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)]
<goibhniu> There's a question on using nix for python and go development on reddit, without any really useful comments ... in case anyone has something to add: https://www.reddit.com/r/Python/comments/5q7239/python_and_nix/
peikos_ has joined #nixos
eacameron has quit [(Ping timeout: 256 seconds)]
georges-duperon has joined #nixos
peikos has quit [(Ping timeout: 240 seconds)]
peikos_ is now known as peikos
__Sander__ has joined #nixos
Lowl3v3l_ has quit [(Ping timeout: 276 seconds)]
georges-duperon has quit [(Ping timeout: 252 seconds)]
shanemikel has quit [(Quit: Textual IRC Client: www.textualapp.com)]
jensens has joined #nixos
ronny has quit [(Ping timeout: 240 seconds)]
peikos has quit [(Quit: peikos)]
<sphalerite> Anyone using sway btw? I see it there in the repos and would love to start using Wayland, but have no idea how to do so...
derjohn_mob has joined #nixos
Guest557 has quit [(Ping timeout: 264 seconds)]
dramforever has quit [(Quit: Leaving)]
MoreTea has quit [(Remote host closed the connection)]
athan has joined #nixos
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
Itkovian has joined #nixos
peikos has joined #nixos
ronny has joined #nixos
newhoggy has joined #nixos
<NixOS_GitHub> [nixpkgs] lsix opened pull request #22171: wireshark: 2.2.3 -> 2.2.4 (master...update_wireshark_2_2_4) https://git.io/vMhFA
MP2E has quit [(Quit: sleep)]
athan has quit [(Read error: Connection reset by peer)]
<NixOS_GitHub> [nixpkgs] svanderburg pushed 1 new commit to release-16.09: https://git.io/vMhbL
<NixOS_GitHub> nixpkgs/release-16.09 13c473c Sander van der Burg: nodejs: 4.6.0 -> 4.6.2 and fix build on darwin
MoreTea has joined #nixos
<sphalerite> joepie91: I wanted to look at your PDFy thing but it won't load
<sphalerite> connection refused
ilja_kuklic has quit [(Ping timeout: 255 seconds)]
peikos has quit [(Quit: peikos)]
newhoggy has quit [(Remote host closed the connection)]
peikos has joined #nixos
k2s has joined #nixos
mudri has quit [(Ping timeout: 255 seconds)]
digitalmentat has quit [(Ping timeout: 255 seconds)]
eacameron has joined #nixos
k2s has quit [(Remote host closed the connection)]
k2s has joined #nixos
eacameron has quit [(Ping timeout: 260 seconds)]
peikos has quit [(Quit: peikos)]
<NixOS_GitHub> [nixpkgs] globin pushed 1 new commit to master: https://git.io/vMhAI
<NixOS_GitHub> nixpkgs/master 86d9de3 Robin Gloster: trustedGroup: fix build
newhoggy has joined #nixos
<NixOS_GitHub> [nixpkgs] pngwjpgh opened pull request #22173: gcs: init at 4.8.0 (master...gcs) https://git.io/vMhAC
proteusguy has quit [(Remote host closed the connection)]
<NixOS_GitHub> [nixpkgs] joachifm pushed 4 new commits to master: https://git.io/vMhpa
<NixOS_GitHub> nixpkgs/master aa9da62 Michael Alan Dorman: org-packages: 2017-01-24
<NixOS_GitHub> nixpkgs/master 46cf112 Michael Alan Dorman: melpa-stable-packages: 2017-01-24...
<NixOS_GitHub> nixpkgs/master 87a651f Michael Alan Dorman: melpa-packages: 2017-01-24...
k2s has quit [(Ping timeout: 240 seconds)]
pi3r has joined #nixos
newhoggy has quit [(Remote host closed the connection)]
<NixOS_GitHub> [nixpkgs] pradeepchhetri opened pull request #22174: riemann-c-client: 1.7.0 -> 1.9.1 (master...riemann-c-client) https://git.io/vMhh9
feepo has quit [(Quit: Connection closed for inactivity)]
newhoggy has joined #nixos
<NixOS_GitHub> [nixpkgs] vcunat pushed 1 new commit to master: https://git.io/vMhj6
<NixOS_GitHub> nixpkgs/master a1af9cc Vladimír Čunát: gecko-mediaplayer: remove the dead project...
newhoggy has quit [(Ping timeout: 252 seconds)]
JagaJaga has joined #nixos
<joepie91> sphalerite: aye, presently broken, for stupid reasons... will return soon
ugjka has joined #nixos
<Mic92> gchristensen: what was the url again of your CI. I cannot find it anymore.
<gchristensen> Mic92: prs.nix.gsc.io
deepfire has joined #nixos
Willi_Butz has quit [(Ping timeout: 260 seconds)]
k0001 has joined #nixos
Willi_Butz has joined #nixos
<globin> niksnut: hydra's disk seems to be full
<globin> niksnut: (and possibly lucifer, but not sure due to hydra seeming to be full)
ertesx has joined #nixos
<hyper_ch> hmmm, how can I edit files as root with kate in nixos?
ertes has quit [(Ping timeout: 255 seconds)]
ertesx is now known as ertes
<sphalerite> hyper_ch: running GUI applications as root is a Bad Idea™
<hyper_ch> sphalerite: then how to edit files in kate that are owned by root?
<sphalerite> Make a copy, edit that, then copy it back as root
<hyper_ch> way too much work
avn has quit [(Remote host closed the connection)]
<sphalerite> Then use a simpler editor like nano
<hyper_ch> what part of "Kate" don't you understand?
<sphalerite> I understand kate perfectly well
<lassulus> hyper_ch: doesn't `DISPLAY=:11 kate $file` work?
<symphorien> use gksudo
<lassulus> DISPLAY=:0
<sphalerite> it uses KDE and Qt, and running something like that as root is a Bad Idea.
<lassulus> I guess you also need xhost +LOCAL, hmm
newhoggy has joined #nixos
<hyper_ch> sphalerite: I get it, it's a bad idea
<hyper_ch> like McD food, coca cola, sugar, choclate and many other things
<hyper_ch> but it doesn't matter
<hyper_ch> gksudo works, thx
<sphalerite> I also don't know how to do it :)
newhoggy has quit [(Ping timeout: 255 seconds)]
<NixOS_GitHub> [nixpkgs] jagajaga pushed 2 new commits to master: https://git.io/vMjJJ
<NixOS_GitHub> nixpkgs/master 60c26bc Pradeep Chhetri: riemann-c-client: 1.7.0 -> 1.9.1
<NixOS_GitHub> nixpkgs/master 91321ae Arseniy Seroka: Merge pull request #22174 from pradeepchhetri/riemann-c-client...
newhoggy has joined #nixos
newhoggy has quit [(Remote host closed the connection)]
ixxie has quit [(Ping timeout: 240 seconds)]
<gchristensen> TIL about gksudo
feepo has joined #nixos
newhoggy has joined #nixos
<Dezgeg> maybe EDITOR=kate sudoedit file
newhoggy has quit [(Ping timeout: 264 seconds)]
GiGa|laptop has joined #nixos
<GiGa|laptop> Hello :)
<GiGa|laptop> I got my first nixpkgs pull request approved the other day
sdothum has joined #nixos
<GiGa|laptop> but I notice that after I've "nix-channel --update" I still only see the old versions after a "nix-env -qa". Am I doing something wrong?
mudri has joined #nixos
<teh__> GiGa|laptop: what does your "nix-channel --list" say?
newhoggy has joined #nixos
<GiGa|laptop> teh__: Hmm, that may be the issue, it's blank
<gchristensen> run that as root
<GiGa|laptop> shows 16.09
<GiGa|laptop> (I've also just added 16.09 to my user channel, was it wrong to do so?)
newhoggy has quit [(Ping timeout: 240 seconds)]
teknico has left #nixos []
<GiGa|laptop> I'll pop back later - lunch break over :(. Thanks for the initial thoughts.
teh__ has quit [(Ping timeout: 255 seconds)]
eacameron has joined #nixos
Wizek_ has quit [(Ping timeout: 256 seconds)]
GiGa|laptop has quit [(Quit: Page closed)]
eacameron has quit [(Ping timeout: 248 seconds)]
irth has quit [(Ping timeout: 276 seconds)]
irth has joined #nixos
irth has quit [(Changing host)]
irth has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 4 new commits to master: https://git.io/vMjkh
<NixOS_GitHub> nixpkgs/master 114e738 Gregor Kleen: locate: better mlocate support & cleanup
<NixOS_GitHub> nixpkgs/master cc1ebd1 Gregor Kleen: locate: enhance mlocate support
<NixOS_GitHub> nixpkgs/master 06211e7 Gregor Kleen: locate: build in correct dbpath
Wizek has quit [(Ping timeout: 252 seconds)]
<NixOS_GitHub> [nixpkgs] joachifm pushed 1 new commit to master: https://git.io/vMjII
<NixOS_GitHub> nixpkgs/master 5bbe542 Joachim Fasting: torbrowser: 6.0.8 -> 6.5...
newhoggy has joined #nixos
newhoggy has quit [(Ping timeout: 240 seconds)]
<NixOS_GitHub> [nixpkgs] vcunat pushed 1 new commit to master: https://git.io/vMjLe
<NixOS_GitHub> nixpkgs/master 6edc978 Vladimír Čunát: ffmpeg_2_8: maintenance 2.8.8 -> 2.8.10
newhoggy has joined #nixos
<NixOS_GitHub> [nixpkgs] vcunat pushed 2 new commits to release-16.09: https://git.io/vMjLB
<NixOS_GitHub> nixpkgs/release-16.09 9b3a29a Vladimír Čunát: ffmpeg{,-full}: maintenance 3.1.x -> 3.1.6
<NixOS_GitHub> nixpkgs/release-16.09 52070e2 Vladimír Čunát: ffmpeg_2_8: maintenance 2.8.8 -> 2.8.10...
<NixOS_GitHub> [nixpkgs] vcunat closed pull request #22167: gdb: 7.12 -> 7.12.1 (master...update_gdb) https://git.io/vMhK5
sellout- has quit [(Ping timeout: 258 seconds)]
newhoggy has quit [(Ping timeout: 258 seconds)]
sellout- has joined #nixos
avn has joined #nixos
newhoggy has joined #nixos
<NixOS_GitHub> [nixpkgs] vcunat pushed 2 new commits to master: https://git.io/vMjqT
<NixOS_GitHub> nixpkgs/master c99540d Lancelot SIX: wireshark: 2.2.3 -> 2.2.4...
<NixOS_GitHub> nixpkgs/master d1f73b8 Vladimír Čunát: Merge #22171: wireshark: 2.2.3 -> 2.2.4
newhoggy has quit [(Ping timeout: 255 seconds)]
nogacto has joined #nixos
<NixOS_GitHub> [nixpkgs] vcunat closed pull request #22171: wireshark: 2.2.3 -> 2.2.4 (master...update_wireshark_2_2_4) https://git.io/vMhFA
newhoggy has joined #nixos
Itkovian has quit [(Ping timeout: 264 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 closed pull request #22152: atom: 1.13.0 -> 1.13.1 (master...atom_1_13_1) https://git.io/vMppk
<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
<nogacto> ok thx
mkoenig has joined #nixos
newhoggy has quit [(Ping timeout: 260 seconds)]
<nogacto> gchristensen: http://pastebin.com/uBMWDkeG
<gchristensen> nogacto: can you also psate your hardware-configuration.nix
<nogacto> sure
<nogacto> gchristensen: http://pastebin.com/Twnjy5U8
<gchristensen> nogacto: do you know what dependency failed for boot?
<nogacto> i’m looking at journalctl -xb now
<nogacto> it says Dependency failed for Local File Systems
<nogacto> local-fs.target: Job local-fs.target/start failed with result `dependency`
<gchristensen> does /dev/disk/by-uuid/C14E-7E29 exist?
tvon has quit [(Quit: System is sleeping...)]
<nogacto> how do i find out?
<gchristensen> ls should do it
<nogacto> oops ;)
<nogacto> it doesn’t exist
<gchristensen> hmm
<nogacto> i know i chose /dev/mmcblk0p2 to be the /boot partition
<gchristensen> what is in /dev/disk/by-label ?
<nogacto> i see BOOT root swap
<gchristensen> ok, sure, replace device = "/dev/disk/by-uuid/C14E-7E29"; with /dev/mmcblk0p2
<nogacto> ok
<nogacto> done
<nogacto> should i reboot
<nogacto> ?
<gchristensen> first, are you running your nixos system now?
<nogacto> yep
<gchristensen> run `nixos-rebuild boot` (as root)
<nogacto> it’s booted in emergency mode
<nogacto> ok
<nogacto> done
<gchristensen> oh oh you do need to manually mount /dev/mmcblk0p2 to /boot and _then_ run `nixos-rebuild boot`, do'h
<gchristensen> d'oh*
newhoggy has joined #nixos
<nogacto> after doing that, i try `mount /boot`, but the message i see is special device /dev/disk/by-uuid/C14E-7E29 does not exist
<nogacto> ok
<gchristensen> sorry no you need to do `mount /dev/mmcblk0p2 /boot`
<nogacto> right
<nogacto> done
<gchristensen> ok then nixos-rebuild boot
<nogacto> ok complete
<gchristensen> now reboot and hope ;)
<nogacto> ;)
<nogacto> thank you very much
<nogacto> it seems to have done the trick
<nogacto> is this solution going to be permanent? in the hardware-configuration.nix file i see a warning to not edit
<nogacto> wait
<nogacto> no
<nogacto> it’s not fixed yet
newhoggy has quit [(Ping timeout: 240 seconds)]
<nogacto> when i reboot i get the same error condition as before
mkoenig_ has joined #nixos
<nogacto> the hardware-configuration.nix file is correct, however, with the /dev/mmcblk0p2 target set appropriately
<NixOS_GitHub> [nixpkgs] dancek opened pull request #22175: illum: init at 0.4 (master...illum) https://git.io/vMjO6
<nogacto> it looks like the system is getting the stale drive target path from somewhere else still
<Unode> Hi everyone, does anyone know if "http://www.ibm.com/support/knowledgecenter/ssw_aix_71/com.ibm.aix.cmds4/nmon.htm" is available on nix and if so under which packagename?
<gchristensen> hmm
mkoenig has quit [(Ping timeout: 276 seconds)]
newhoggy has joined #nixos
<Yaniel> is that similar to netdata?
<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
<gchristensen> unless you'd like to add the patch for me: https://github.com/grahamc/hydra-prs/blob/master/modules/hydra-master/default.nix#L150 that'd be helpful
oida has quit [(Ping timeout: 240 seconds)]
ZoomZoomZoom has joined #nixos
<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)
<jophish> (especially when NixOS is the guest)
<gchristensen> ZoomZoomZoom: https://nixos.org/nixos/options.html#kvm NixOS does support KVM
<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
<NixOS_GitHub> nixpkgs/release-16.09 5211464 Vladimír Čunát: Merge #22171: wireshark: 2.2.2 -> 2.2.4...
<goibhniu> ZoomZoomZoom: maybe disnix can help with that stuff
<NixOS_GitHub> [nixpkgs] fpletz pushed 3 new commits to master: https://git.io/vMjZx
<NixOS_GitHub> nixpkgs/master 434c151 Franz Pletz: openssl_1_0_2: 1.0.2j -> 1.0.2k for multiple CVEs...
<NixOS_GitHub> nixpkgs/master 49bfd60 Franz Pletz: openssl_1_1_0: 1.1.0c -> 1.1.0d for multiple CVEs...
<NixOS_GitHub> nixpkgs/master 6626b62 Franz Pletz: openssl_1_0_1: not maintained anymore, rename as -vulnerable...
<gchristensen> oh damn thank you fpletz, I totally forgot that was coming
newhoggy has quit [(Ping timeout: 255 seconds)]
<ZoomZoomZoom> goibhniu, It looks interesting, but I think it's too steep of a hill to climb for me at the moment.
proteusguy has joined #nixos
<phorse> what's the difference between gnupg and gnupg1?
<ZoomZoomZoom> I'm looking at Nekroze/kvms.nix
<ZoomZoomZoom> repo at the moment. It's about running KVM'd NixOS in NixOS :)
<fpletz> gchristensen: that's why we have a team for security :)
<phorse> I've got gnupg installed, but when I try >$ gpg <etc> it prompts me to install gnupg1
<symphorien> use gpg2
<nogacto> does anyone know where i can find a quick explation of how to permanently change the mac address of my ethernet card in nixos?
<fpletz> gchristensen: I removed 1.0.1 from 16.09 because it isn't used there (not even sslscan)
<gchristensen> fpletz: wonderful
<fpletz> we should also remove 1.0.1 from master before 17.03
<Benrob0329[m]> nogacto: I don't think you can
<Benrob0329[m]> I believe Mac addresses are hardware level
<NixOS_GitHub> [nixpkgs] fpletz pushed 3 new commits to release-16.09: https://git.io/vMjnj
<NixOS_GitHub> nixpkgs/release-16.09 1a59ff1 Franz Pletz: openssl_1_0_2: 1.0.2j -> 1.0.2k for multiple CVEs...
<NixOS_GitHub> nixpkgs/release-16.09 ad34c19 Franz Pletz: openssl_1_1_0: 1.1.0c -> 1.1.0d for multiple CVEs...
<NixOS_GitHub> nixpkgs/release-16.09 d1715e2 Franz Pletz: openssl_1_0_1: not maintained anymore, remove...
<nogacto> i can do it in an ad hoc fashion: e.g., `ifconfig eth0 hw ether 02:01:02:03:04:08`
<gchristensen> fpletz: <3 <3 <3 <strikethrough>can you ping me when you've backported to stable, and</strikeout> I'll send out notices
<phorse> symphorien: do you mean gnupg20?
<gchristensen> phorse: the actual executable is `gpg2` not `gpg` is the issue
<phorse> ah, that's not what I was expecting
<phorse> thanks
<avn> folks, any ideas how to figure out where zfs resilvering slow? (who is slowpoke -- lvm+degraded md1 (source) or bare metal sdb2 ;)
<clever> avn: i would start with iostat -x 30, and see if the util% or wait columns are high
<avn> clever: %util is 90-95, I feel it bad ;)
georges-duperon has joined #nixos
<avn> and around 25 on sdb2 ;)
<clever> avn: sounds like its either seek times, or just the drive itself not able to keep up
<clever> avn: what kind of operation/sec and mb/sec numbers is it showing?
<clever> rrqm/s wrqm/s r/s w/s rkB/s wkB/s
<clever> these 6
<avn> clever: or just lvm is over-fragmented
<clever> it is trivial to see the fragmentation in lvm
derjohn_mob has quit [(Ping timeout: 240 seconds)]
<clever> i have even written a tool to defrag it before
<avn> clever: sda 0,00 0,00 112,17 48,47 3466,67 624,43
<clever> so you are doing just over 100 reads/sec, totaling about 3mb/sec
Rotaerk has quit [(Read error: Connection reset by peer)]
<clever> and its writing data at the same time
<avn> sdb 0,00 0,00 0,63 154,67 1,87 4437,47
<clever> if you can stop the writes to sda, you might speed it up
<clever> but that depends heavily on what is writing to it
<avn> only log, and may be few mails, shouldnt be massive writes
<clever> avn: http://pastebin.com/JUvaJJV2 here is a LVM from a backup i recently made
<clever> avn: the key parts, are lines 54 and 75
<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?
<NixOS_GitHub> [nixpkgs] ttuegel closed pull request #22162: fdk-aac: 0.1.4 -> 0.1.5 (master...fdk_aac_update) https://git.io/vMhg6
<kostja> clever: I used to have nix there, but changing that doesn't seem to help :(
georges-duperon has joined #nixos
pi3r has joined #nixos
<kostja> clever: I'm trying again.
<kostja> clever: it's recomiling now. seems like I messed that up.
erasmas has joined #nixos
<kostja> clever: thank you! I guess I would have never found my mistake.
sdothum has quit [(Quit: ZNC - 1.6.0 - http://znc.in)]
newhoggy has joined #nixos
sdothum has joined #nixos
<zimbatm[m]> nogacto: see http://nixos.org/nixos/options.html#networking.interfaces+macadd
<nogacto> zimbatm[m]: super, thanks :)
xadi has joined #nixos
xadi has quit [(Client Quit)]
leothrix has quit [(Ping timeout: 260 seconds)]
leothrix has joined #nixos
newhoggy has quit [(Ping timeout: 276 seconds)]
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...
mkoenig_ has quit [(Ping timeout: 258 seconds)]
simendsjo has quit [(Ping timeout: 240 seconds)]
pmade has joined #nixos
obadz has quit [(Ping timeout: 240 seconds)]
obadz has joined #nixos
<NixOS_GitHub> [nixpkgs] dezgeg closed pull request #22117: Aarch64 (ARM64) support (master...aarch64-for-merge) https://git.io/vMNpA
simendsjo has joined #nixos
mkoenig has joined #nixos
hiberno has quit [(Quit: WeeChat 1.6)]
newhoggy has joined #nixos
hiberno has joined #nixos
newhoggy has quit [(Ping timeout: 255 seconds)]
derjohn_mob has joined #nixos
bin7me has quit [(Remote host closed the connection)]
xadi has quit [(Quit: Leaving.)]
tempest has joined #nixos
sellout- has joined #nixos
mkoenig has quit [(Ping timeout: 255 seconds)]
nogacto has quit [(Quit: nogacto)]
chpatrick has joined #nixos
<chpatrick> is it possible to make a derivation for a package that insists on writing to /opt without patching?
mkoenig has joined #nixos
<clever> chpatrick: does it want to write to /opt at build-time or runtime?
altphi has joined #nixos
<chpatrick> clever: build-time
jgertm has quit [(Ping timeout: 255 seconds)]
<chpatrick> it's Intel MKL specifically
<chpatrick> it wants to make /opt/intel/licenses :/
<clever> this util may work
<chpatrick> cool thanks!
mkoenig has quit [(Read error: Connection reset by peer)]
<clever> chpatrick: if you ld-preload it like this, you can remap paths wherever you want
xadi has joined #nixos
jarlg has joined #nixos
mkoenig has joined #nixos
<gchristensen> "Slimbook site seems to have collapsed under the internet's hug. "
slyfox_ has quit [(Ping timeout: 240 seconds)]
slyfox has joined #nixos
xadi has quit [(Quit: Leaving.)]
xadi has joined #nixos
<globin> niksnut: could you give me push access to nixos/systemd I have a working 232 branch lying around I'd like to push to staging
chpatrick has left #nixos []
<globin> or ikwildrpepper, domenkozar maybe? ^
pi3r has quit [(Ping timeout: 240 seconds)]
<niksnut> globin: done
<globin> niksnut: ah thanks :)
<copumpkin> are our changes to systemd getting upstreamed in general?
<copumpkin> or are they not receptive?
ckauhaus has quit [(Quit: Leaving.)]
<globin> copumpkin: some will definitely not but there are some hardcoded paths that we could try upstreaming
<niksnut> copumpkin: they're pretty much all NixOS-specific
<copumpkin> but generalizable? there are other distros that are abandoning FHS for various reasons
<gchristensen> hot dog! aarch64 support merged!
<copumpkin> \o/
<clever> :O
<Benrob0329[m]> Yay!
<simpson> I imagine that our hwdb patches can bo upstream, at least?
<gchristensen> niksnut, ikwildrpepper: could we talk about adding some of those caviums? :)
<gchristensen> (to the official hydra)
<copumpkin> cavia!
<copumpkin> it's second declension neuter
* copumpkin shows himself out
rly has quit [(Ping timeout: 240 seconds)]
<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)]
xadi1 has joined #nixos
MoreTea has quit [(Ping timeout: 264 seconds)]
mkoenig has quit [(Ping timeout: 264 seconds)]
mkoenig has joined #nixos
<NixOS_GitHub> [nixpkgs] globin pushed 1 new commit to staging: https://git.io/vMj1Q
<NixOS_GitHub> nixpkgs/staging 972749f Robin Gloster: systemd: fix repository url...
xadi has quit [(Ping timeout: 240 seconds)]
<clever> Dezgeg: ah, youve been working on it also?
<gchristensen> that was Dezgeg's PR
<clever> ah
newhoggy has joined #nixos
cpennington has quit [(Ping timeout: 248 seconds)]
proteusguy has joined #nixos
xadi has joined #nixos
newhoggy has quit [(Ping timeout: 240 seconds)]
jensens has quit [(Ping timeout: 256 seconds)]
<schoppenhauer> https://travis-ci.org/NixOS/nixpkgs/builds/195380633 ← my pull request "failed", but I dont really understand what the output logs have to do with my package
xadi1 has quit [(Ping timeout: 240 seconds)]
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?
newhoggy has quit [(Ping timeout: 256 seconds)]
<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?
<clever> nh2_: it appears to be done via a systemd user service, so it gets ran as the correct user, the first time you open a session
<clever> and if all sessions close, it stops
morsicus1 has joined #nixos
<eacameron> nh2_: Heh...what clever said.
mkoenig has quit [(Ping timeout: 276 seconds)]
<eacameron> clever: You think it would be hard to add that same feature for gpg-agent?
<clever> eacameron: shouldnt be that hard
<clever> eacameron: https://gist.github.com/cleverca22/593326d8f81907dc9059d36c043c7f7a this is how i currently have gpg handling ssh-agent duties
* 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
<Sonarpulse-Work> yours will be ripe too :)
<clever> Sonarpulse-Work: https://github.com/taktoa/arcane-chat/blob/master/default.nix this project has a number of fixes to things all over nixpkgs, to get the project to cross-compile to windows
<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> DavidEGrayson: http://hydra.earthtools.ca/jobset/arcane-chat/release-16.09#tabs-jobs and i have a hydra buildint it
<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
<Sonarpulse-Work> or just keep such notes in https://github.com/NixOS/nixpkgs/issues/21471 or my "sane..." open PR
<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()
ilja_kuklic has joined #nixos
<clever> nh2_: it will obey the overrides in nixpkgs.config.packageOverrides, set within configuration.nix
newhoggy has joined #nixos
altphi has quit [(Quit: altphi)]
<sphalerite> is the correct way to prefetch a github repo nix-prefetch-url --unpack <url to github tarball>?
morsicus1 has quit [(Quit: Leaving.)]
derjohn_mob has joined #nixos
<NixOS_GitHub> [nixpkgs] rycee pushed 1 new commit to master: https://git.io/vDe3B
<NixOS_GitHub> nixpkgs/master 18eff26 Mike Cooper: Fix typo in pulseaudio.nix
freedomcode has joined #nixos
<NixOS_GitHub> [nixpkgs] rycee closed pull request #22178: Fix typo in pulseaudio.nix (master...patch-1) https://git.io/vMjbj
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?
<clever> johnw: readlink -f ~/.nix-profile | xargs nix-push ...
<johnw> superb
<johnw> um, wait
<johnw> isn't that just going to pass the same single path to nix-push?
<clever> johnw: xargs will inteligently check the limits, and break it up into multiple commands
<johnw> the problem is the list of pathnames being generated *within* nix-push
<clever> ah
<LnL> johnw: try without the manifest
<johnw> LnL: trying...
<johnw> no effect
<clever> johnw: nix-serve is another option for a binary cache
<johnw> I'm using now: --dest, --key-file, and --url-prefix
<johnw> i don't want to make this Mac accessible to the Internet
<clever> ah
<johnw> I'm using nix-push to compile a set of binaries that I then rsync to a Linux machine that has a public HTTP directory
<clever> you could nix-copy-closure the paths to the linux http server, and then nix-serve from that?
<johnw> the server doesn't run Nix, and I don't want to install it there just for this
deepfire has joined #nixos
<clever> ahh
<johnw> better to fix nix-push; I'll submit a bug
<clever> yeah
<clever> xargs needs to be used within nix-push
newhoggy has joined #nixos
xadi has quit [(Quit: Leaving.)]
<nh2_> clever: I think it's working! I got confused by somebody documenting it as overridePackages instead of packageOverrides (https://github.com/spinus/nixops/commit/4c1e32ebb197df465e9f97100ba366bf8ba4d88b#commitcomment-20631412), spelling it the right way around fixed it. Thanks!
<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.
<copumpkin> oh, is nixpkgs.config just a schemaless attrset?
<gchristensen> yeah, copumpkin
<copumpkin> ugh :)
<gchristensen> heh
newhoggy_ has joined #nixos
newhoggy has quit [(Ping timeout: 255 seconds)]
<sphalerite> I'm using autoreconfHook and getting "error: possibly undefined macro: AC_DEFINE", does that look familiar to anyone?
<clever> copumpkin: yep, entirely schemaless
<nh2_> can I easily configure the nixos firewall so that it rejects unallowed connections instead of dropping them?
<sphalerite> nh2_: yes
<sphalerite> networking.firewall.rejectPackets = true;
<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.
<clever> DavidEGrayson: it did need some patches like https://github.com/taktoa/arcane-chat/blob/master/fixes/qtsvg-epsilon.patch
<DavidEGrayson> ah
newhoggy has joined #nixos
<nh2_> sphalerite: thanks!
cpennington has joined #nixos
<sphalerite> 3
<sphalerite> oops
<sphalerite> nh2_: https://nixos.org/nixos/options.html tends to be helpful :)
<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)]
<clever> Unode: vmTools.runInLinuxVM i believe
<copumpkin> but use build-use-sandbox first
<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
<clever> Unode: https://gist.github.com/cleverca22/3cdf37acca84f701b17e4d6918763265 yep, it was that simple, but i havent seen your error, not sure if it will apply or not
<Unode> ok I can try that
<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)]
<chris|> clever: this is all I can get, unfortunately: https://i.imgsafe.org/a6732b6a2b.png
<clever> chris|: no (remote) serial console available?
<clever> chris|: are you building with any parallelism enabled? how much?
<cransom> cron runs in the installer?
FrederickSilva has quit [(Remote host closed the connection)]
<chris|> clever: that's from the serial console
<chris|> sadly, it's not very good
<clever> chris|: proper serial console should manage the scrollback on the "local" end, so you can still scroll up after a crash like this
Itkovian has joined #nixos
<clever> this looks more like its scraping the GPU's framebuffer, and not actualy doing a serial console
<chris|> yah, it cannot even properly map keyboard input, so I cannot input chars link '-'
<clever> i recently had the fun of trying to use a hardware raid controller via some active-x remote-console
<chris|> or rather: it probably can on windows with oraclejdk
<clever> press control+n for the next page, a new window opens in IE
<clever> press control+p for the previous page, IE tries to print it
<clever> now what? lol
ratatun has joined #nixos
<chris|> I have not set parallelism, so I'm guessing whatever the default is
cpennington has joined #nixos
jluttine has quit [(Ping timeout: 240 seconds)]
<chris|> I'll retry with -j 1 tomorrow
morsicus1 has joined #nixos
simendsjo has quit [(Remote host closed the connection)]
morsicus1 has quit [(Ping timeout: 264 seconds)]
ratatun has quit [(Ping timeout: 252 seconds)]
AllanEspinosa has joined #nixos
<NixOS_GitHub> [nixpkgs] vcunat pushed 1 new commit to master: https://git.io/vDezR
<NixOS_GitHub> nixpkgs/master f0bf46d Vladimír Čunát: liburcu: 0.8.6 -> 0.9.3, doCheck = true...
<nh2_> clever: ah, found it: http://lists.science.uu.nl/pipermail/nix-dev/2016-April/020250.html - `nixops deploy -d DEPLOYMENT -I nixpkgs=https://github.com/NixOS/nixpkgs-channels/archive/nixos-16.03.tar.gz `
<nh2_> you can point -I directly at a remote URL tar.gz
<nh2_> that is quite convenient
<clever> yeah, only real downside is that it may update without you noticing
<clever> i prefer to checkout the right branch of https://github.com/NixOS/nixpkgs-channels and then aim -I nixpkgs= at that
saintromuald has quit [(Ping timeout: 264 seconds)]
glines has joined #nixos
kresbach_ has joined #nixos
<gchristensen> nice :D
<kresbach_> ahh it's a wonderful day
<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…)]
Itkovian has joined #nixos
<clever> Unode: not currently
<Unode> perhaps something I could poke on Hydra?
<Unode> hum... right
derjohn_mob has joined #nixos
<nh2_> I'd also like such a tool, like apt-file
samae has joined #nixos
<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))]
tvon has joined #nixos
hiratara has quit [(Quit: ZNC - http://znc.in)]
hiratara has joined #nixos
hamishmack has joined #nixos
athan has joined #nixos
pi3r has quit [(Quit: Nettalk6 - www.ntalk.de)]
Kingsquee has joined #nixos
esmiurium has joined #nixos
mojjo has quit [(Ping timeout: 264 seconds)]
ratatun has joined #nixos
<gchristensen> nh2_: nhe
<gchristensen> nh2_: AWS CloudFront
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!)]
<puffnfresh> very happy to help out with this <3
Itkovian has quit [(Client Quit)]
<Tekmo> puffnfresh: I have a Dhall to Nix compiler (https://github.com/Gabriel439/Haskell-Dhall-Nix-Library), including a `dhallToNix` nix function which converts a Dhall expression (as text) into Nix code
<puffnfresh> Tekmo: yeah, I've seen it before
<Tekmo> I would like to add the `dhallToNix` utility to `nixpkgs`
<lewo> fpletz, I'm not able to check that qemu virtio-gpu-3d support is not enable. Could you help me to check taht ?
<Tekmo> I'm not sure how I go about proposing that, or where I would even add it
<puffnfresh> Tekmo: I can add it and submit a PR
<puffnfresh> or would you like to learn how to do it?
<Tekmo> I would like to learn how to do it!
<NixOS_GitHub> [nixpkgs] jagajaga closed pull request #22169: haproxy: 1.6.6 -> 1.7.2 (master...haproxy) https://git.io/vMh1J
<puffnfresh> Tekmo: looks like you've got it on Hackage, so it will eventually end up as haskellPackages.dhall-nix
<Tekmo> Yeah, I already checked that it is in there
<puffnfresh> Tekmo: you'd also like it as just nixpkgs.dhall-nix?
<NixOS_GitHub> [nixpkgs] globin pushed 1 new commit to master: https://git.io/vDeDr
<NixOS_GitHub> nixpkgs/master 2f367e0 Cray Elliott: discord: 0.0.13 -> 0.0.1...
<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!
<k0001> Thank you for Dhall!
<Tekmo> :)
<Tekmo> You're welcome!
<NixOS_GitHub> [nixpkgs] xwvvvvwx opened pull request #22182: sfml: 2.3 -> 2.4.1 (master...update_sfml) https://git.io/vDeyo
JagaJaga has quit [(Ping timeout: 240 seconds)]
georges-duperon has joined #nixos
avn has quit [(Ping timeout: 240 seconds)]
avn has joined #nixos
indi_ has joined #nixos
<NixOS_GitHub> [nixpkgs] pkinsky opened pull request #22183: Add tips for resolving https issues in containers (master...patch-1) https://git.io/vDe95
kampfschlaefer has quit [(Ping timeout: 256 seconds)]
MP2E has joined #nixos
jarlg has quit [(Quit: WeeChat 1.5)]
Itkovian has joined #nixos
phreedom has quit [(Remote host closed the connection)]
avn has quit [(Ping timeout: 240 seconds)]
Tekmo has quit [()]
avn has joined #nixos
filterfish_ has joined #nixos
deepfire has quit [(Ping timeout: 240 seconds)]
filterfish has quit [(Remote host closed the connection)]
justanotheruser has joined #nixos
alphor has quit [(Quit: Bye!)]
alphor has joined #nixos
mrkgnao has quit [(Ping timeout: 245 seconds)]
ratatun has left #nixos []
danharaj has quit [(Ping timeout: 264 seconds)]
<gchristensen> eeee we're going to roll over to 100,000 commits within the next ~3 days
systemfault has joined #nixos
<NixOS_GitHub> [nixpkgs] grahamc closed pull request #22142: asterisk: 13.6.0 -> 13.13.1 (release-16.09...asteriskupd) https://git.io/vMpW9
mkoenig has joined #nixos
<Ptival> hello, I have this in my default.nix http://paste.awesom.eu/sdln yet base-orphans keeps failing to build because of tests, any idea?
<Ptival> using ghcHEAD
dbmikus has quit [(Ping timeout: 256 seconds)]
cgdub has quit [(Remote host closed the connection)]
teh__ has quit [(Ping timeout: 252 seconds)]
dbmikus has joined #nixos
ambro718 has quit [(Ping timeout: 248 seconds)]
<hodapp> if I'm understanding the Nix language and packageOverrides properly, does this mean that I could override package R with my wrapped R version for rstudio (https://github.com/NixOS/nixpkgs/blob/master/pkgs/applications/editors/rstudio/default.nix) by using pkgs.rstudio.override { R = rWhatever } or the like?
<LnL> hodapp: yep :)
<NixOS_GitHub> [nixpkgs] nocoolnametom opened pull request #22184: gcalcli: init at 4.0.0a2 (master...gcalcli-4.0.0a2) https://git.io/vDedL
<hodapp> w00t
danharaj has joined #nixos
<NixOS_GitHub> [nixpkgs] nocoolnametom opened pull request #22185: rtv: 1.13.0 -> 1.14.1 (master...rtv-1.14.1) https://git.io/vDedB
dbmikus has quit [(Ping timeout: 245 seconds)]
dbmikus has joined #nixos
panostimos has quit [(Ping timeout: 240 seconds)]
xpika has quit [(Ping timeout: 260 seconds)]
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
eacameron has quit [(Read error: Connection reset by peer)]
Itkovian has joined #nixos