aanderse has quit [(Remote host closed the connection)]
markus1199 has joined #nixos
aanderse has joined #nixos
pie___ has joined #nixos
pie_ has quit [(Read error: Connection reset by peer)]
pie___ is now known as pie_
markus1189 has quit [(Ping timeout: 240 seconds)]
rtjure has quit [(Ping timeout: 240 seconds)]
jb55 has quit [(Ping timeout: 240 seconds)]
rtjure has joined #nixos
aristid has quit [(Ping timeout: 258 seconds)]
pxc1 has quit [(Ping timeout: 246 seconds)]
srdqty has joined #nixos
symplectico has quit [(Ping timeout: 240 seconds)]
ChongLi_ has quit [(Remote host closed the connection)]
ChongLi has joined #nixos
aristid has joined #nixos
joepie91 has quit [(Ping timeout: 246 seconds)]
ylwghst has joined #nixos
<kkini> Maybe a dumb question, but suppose I find there's something wrong with something in nixpkgs, say foo/default.nix, and I fix it and make a pull request, but I don't change the name or version of the derivation. If someone had run `nix-env -i foo`, at what point will they get the updated version of the package with my changes?
<kkini> Or am I supposed to always change the version of a package in nixpkgs when I modify it?
mahalel_ has left #nixos []
fendor has joined #nixos
<tilpner> You don't need to change name/version for changes to reach users, but it will take some time to get merged, pass Hydra, get into a channel, and the user still has to update their channels
<tilpner> And you might not reach users on old channels at all, not sure what the backport policies are
<kkini> So when you update a channel, packages which changed would be reinstalled so you have the new versions?
<benley> I'm not sure if there is a well-defined policy on backporting fixes. But most of the time things get backported to the most recent stable release of nixos.
<kkini> I didn't realize updating the channel did anything other than update your copy of nixpkgs
<benley> That's all updating the channel really does. It's when you run nixos-rebuild later that you get the updated packages.
python476 has quit [(Ping timeout: 240 seconds)]
<kkini> Ah. But what if you're using nix on a non-NixOS system?
<tilpner> kkini - No, updating the channels doesn't itself install updated packages
<benley> assuming you mean `nix-channel --update` when you say "updating the channel"
<kkini> Is there some analogous command to `nixos-rebuild` in the nix-on-ubuntu (or whatever distro) situation?
<kkini> benley: I think that's what I meant. At least I assumed that's what tilpner meant, and I was just copying what they said :)
<benley> if you're using nix on non-nixos, you can do something like `nix-env --upgrade --leq` to install the latest version of things in your user environment
<kkini> aha, I didn't know about the --leq flag. I imagine it exists for exactly the hypothetical situation I'm talking about. Cool, that basically answers my question :)
<kkini> Thanks!
ahstro has quit [(Ping timeout: 260 seconds)]
<tilpner> Huh, nice
mizu_no_oto has quit [(Quit: Computer has gone to sleep.)]
srdqty has quit [(Quit: WeeChat 1.9.1)]
Mrmaxmeier has quit [(Ping timeout: 248 seconds)]
pxc1 has joined #nixos
<benley> my current puzzle: is there a way to control the order that setup hooks run?
joepie91 has joined #nixos
joepie91 has quit [(Changing host)]
joepie91 has joined #nixos
<benley> I'm trying to do some stuff in a setup hook that depends on having the $outputStuff variables set, which I think happens in multiple-outputs.sh, but none of those seem to be set when my hook runs
alhariel has joined #nixos
jgertm has quit [(Ping timeout: 248 seconds)]
<kkini> Why is fetchFromGitHub preferred for projects from github? Github seems to offer prepackaged tarballs for any tagged commit, so I'd have assumed that it would be better to just use fetchurl, unless you're trying to build from an untagged commit...
<kkini> Or wait, maybe fetchFromGitHub is smart enough to notice whether the rev argument is a tag and then just download it over HTTP. Guess I should have checked that before asking
fendor has quit [(Read error: Connection reset by peer)]
bencoman has quit [(Quit: Konversation terminated!)]
<kkini> Oh, wow -- github actually will serve any commit you want as a tarball. D'oh!
scribbler has quit [(Remote host closed the connection)]
scribbler has joined #nixos
scribbler has quit [(Remote host closed the connection)]
scribbler has joined #nixos
davidak has quit [(Quit: Leaving.)]
<Shados> Anyone know how to find out the predictable interface names udev would assign, from a chroot'd nixos iso running on top of a system that is using an older udev version (and thus is still using ethX naming)?
<Shados> Need to get them right first time, as I don't have convenient console access to this box >.>
Lisanna has joined #nixos
<Lisanna> Hey, quick question: is there a way to pretty-print evaluation results in nix-repl? I know about :p but it can be kind of hard to read.
thc202 has quit [(Ping timeout: 240 seconds)]
pie_ has quit [(Remote host closed the connection)]
pie_ has joined #nixos
pie_ has quit [(Remote host closed the connection)]
scribbler has quit [(Remote host closed the connection)]
<kkini> Why are there sha256 hashes in nixpkgs which are only 52 characters long and contain alphanumeric characters other than [a-fA-F]? Is it related to the hash function that produces nix store names? (But those are even shorter, only 32 characters long.)
hellrazo1 has joined #nixos
jb55 has joined #nixos
hellrazor has quit [(Ping timeout: 240 seconds)]
<tilpner> kkini - There are different text representations of a sha256 hash, and you can use nix-hash to convert between them
jb55 has quit [(Ping timeout: 258 seconds)]
<kkini> ah, I see. So it's the "non-truncated base-32" version that I'm seeing so much in nixpkgs
srdqty has joined #nixos
jb55 has joined #nixos
srdqty has quit [(Client Quit)]
srdqty has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] jraygauthier opened pull request #31114: selenium: 2.52.0 -> 3.6.0 (master...jrg/python_selenium_update) https://git.io/vFsCu
NixOS_GitHub has left #nixos []
iqubic has quit [(Remote host closed the connection)]
ylwghst has quit [(Remote host closed the connection)]
iqubic has joined #nixos
Supersonic112 has quit [(Disconnected by services)]
Supersonic112_ has joined #nixos
Supersonic112_ is now known as Supersonic112
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-17.09-small advanced to https://github.com/NixOS/nixpkgs/commit/c567ec632e (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-17.09-small)
nix-gsc-io`bot has quit [(Client Quit)]
scribbler has joined #nixos
iqubic_ has joined #nixos
proteusguy has quit [(Ping timeout: 246 seconds)]
iqubic_ has quit [(Remote host closed the connection)]
mbrgm has quit [(Ping timeout: 246 seconds)]
Wizek has quit [(Quit: Connection closed for inactivity)]
mbrgm has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] romildo opened pull request #31115: lxqt: 0.11.1 -> 0.12.0 (master...upd.lxqt) https://git.io/vFsWg
NixOS_GitHub has left #nixos []
iqubic has quit [(Remote host closed the connection)]
lambdamu_ has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] adisbladis opened pull request #31116: fpm: 1.6.2 -> 1.9.3 (master...fpm-193) https://git.io/vFsW5
NixOS_GitHub has left #nixos []
lambdamu has quit [(Ping timeout: 248 seconds)]
sigmundv has quit [(Ping timeout: 258 seconds)]
iclanzan has joined #nixos
<iclanzan> Anyone know how to convert a string representing a base 16 number into decimal?
romildo has joined #nixos
<iclanzan> fogot to mention in Nix
<tilpner> Shell out to bc?
<romildo> My PR https://github.com/NixOS/nixpkgs/pull/31115 has conflicts on a file. Can anyone help me resolve them?
<romildo> The file pkgs/desktops/lxqt/core/lxqt-panel/default.nix has been changed on master after I have branched on my local copy of the repository.
mahalel_ has joined #nixos
<Li[m]> anyone knows why the first nix author didnt use haskell?
<iclanzan> Li[m]: that is a good question
<tilpner> Li[m] - Wiki says https://nixos.wiki/wiki/FAQ#Why_is_Nix_written_in_C.2B.2B_rather_than_a_functional_language_like_Haskell.3F , but doesn't have any sources
<Li[m]> funny I didnt even think of looking there
<Li[m]> the answer doesnt make sense thou
<Li[m]> except for portable
<Li[m]> anyhow
romildo has quit [(Quit: Leaving)]
<Li[m]> 'meant to be lightweight' except it used perl until recently
<tilpner> I assume the lightweight part refers to the C++ components
<tilpner> More people know C++ than Haskell, it is more lightweight, and can be more portable, it wasn't a bad choice
<tilpner> Although a well written Haskell version would be completely fine too. It's just that fewer people could contribute, and performance is a little more tricky
<Li[m]> no it wasnt a bad choice then, haskell would be a more obvious choice today
MP2E has quit [(Remote host closed the connection)]
<Li[m]> funny that nix makes it so
<Li[m]> back then haskell wasnt where it is today
MP2E has joined #nixos
<tilpner> I understand the ecosystem improved a lot, but did it become more lightweight, portable, or more popular than C++?
<Shados> ...huh, https://nixos.org/docs/papers.html is gone?
<tilpner> This one?
proteusguy has joined #nixos
<Shados> That looks about right, albeit without theming
<srk> Li[m]: I was suprised about that as well, there's also quite a bunch of perl support tooling that could be ported to haskell :)
<Li[m]> I dont think the lightweight argument has any weight. portability is probably the best argument, but nix makes it less of a problem.
<srk> with haskell I guess you would need to be extra careful not to pull too many deps
<srk> as that snowballs quite easily :D
<tilpner> Li[m] - Memory usage during evaluation is a problem sometimes, Haskell might make that problem even worse
<Li[m]> true
* srk wonders if there's a viable divide and conquer strategy for that
<Li[m]> but haskell can reduce the complexity, which could also help
<dj_goku_> so I see there is a erlang-19.3-javac but no erlang-20.0-javac is there a reason for that?
<Li[m]> id probably combine haskell with a sys language for memory heavy parts
<srk> Li[m]: yeah, with reduced complexity you just need to find the right place to put `par` :D
ylwghst has joined #nixos
<Li[m]> looks like its kind of already there https://github.com/dhall-lang/dhall-nix
jb55 has quit [(Ping timeout: 240 seconds)]
ylwghst has quit [(Client Quit)]
ylwghst has joined #nixos
<kkini> argh, 'unable to find true name of file "/homeless-shelter/"' lol
<kkini> I assume that nix-build sets $HOME to that or something
mahalel_ has quit [(Quit: Leaving.)]
mahalel_ has joined #nixos
jb55 has joined #nixos
iclanzan has quit [(Quit: WeeChat 1.9.1)]
hellrazo1 has quit [(Ping timeout: 246 seconds)]
hellrazo1 has joined #nixos
ylwghst has quit [(Quit: Lost terminal)]
ylwghst has joined #nixos
jb55 has quit [(Ping timeout: 248 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] gnidorah closed pull request #31095: rambox: 0.5.12 -> 0.5.13 (master...rambox) https://git.io/vF3Tr
NixOS_GitHub has left #nixos []
ylwghst has quit [(Quit: Lost terminal)]
ylwghst has joined #nixos
spacefrogg has quit [(Quit: Gone.)]
aw has quit [(Quit: Quitting.)]
aw has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] disassembler pushed 2 new commits to master: https://git.io/vFs4x
<NixOS_GitHub> nixpkgs/master ef97adf adisbladis: fpm: 1.6.2 -> 1.9.3
<NixOS_GitHub> nixpkgs/master 49f6893 Samuel Leathers: Merge pull request #31116 from adisbladis/fpm-193...
NixOS_GitHub has left #nixos []
<dash> kkini: it does, to make it easy to spot when builds depend on $HOME
spacefrogg has joined #nixos
<Li[m]> are they worried about compatibility?
damke has joined #nixos
MP2E has quit [(Remote host closed the connection)]
nixOp has joined #nixos
<nixOp> Hi guy! I need some help to write a deployment for nixops
<nixOp> so I have multimachine env and I'm using let expression
<nixOp> in let I import a template
<nixOp> then use it like the manual example
<nixOp> until there everything ok
<nixOp> now I want to overwrite some setting in the imported template
<nixOp> havent figured a way to do that
<adisbladis> nixOp: Can you paste your config?
damke_ has joined #nixos
<nixOp> ok, 1 sec
damke has quit [(Ping timeout: 240 seconds)]
<nixOp> let template = import ../customConfig/configurationOps.nix; in { network.description = "Load balancing network"; balancer = template balancer.networking.hostname = "balancer"; }
<nixOp> How can I post code?
<nixOp> formatting sucks
Ramaness has joined #nixos
damke has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] adisbladis opened pull request #31118: firefox-beta-bin: 57.0b11 -> 57.0b13 (master...firefox-beta-bin-57_0_b11) https://git.io/vFsB4
NixOS_GitHub has left #nixos []
damke_ has quit [(Ping timeout: 240 seconds)]
damke_ has joined #nixos
ylwghst has quit [(Quit: Lost terminal)]
ylwghst has joined #nixos
damke has quit [(Ping timeout: 240 seconds)]
<nixOp> So the question is I have an imported config in a variable inside let block, how do I overwrite values of the config inside the then block using the variable?
<nixOp> Let in is not mandatory, If that can be achieved woth other kinds of syntax thats ok
<tilpner> You can use the // operator to merge sets: { foo = 42; bar = 10; } // { foo = 21; quux = 8; } #=> { foo = 21; bar = 10; quux = 8; }
<nixOp> I just wanted my config to play well with the manual
<tilpner> Use gist.github.com to paste text
<nixOp> merge will work for overrides?
<tilpner> Not sure what you mean. I also don't have much experience with nixops
<nixOp> tilpner: Ok, I will
damke has joined #nixos
damke_ has quit [(Read error: Connection reset by peer)]
ylwghst has quit [(Client Quit)]
ylwghst has joined #nixos
riclima has joined #nixos
justan0theruser has joined #nixos
justan0theruser has quit [(Client Quit)]
justan0theruser has joined #nixos
ylwghst has quit [(Client Quit)]
justanotheruser has quit [(Ping timeout: 255 seconds)]
damke_ has joined #nixos
damke has quit [(Read error: Connection reset by peer)]
hellrazo1 has quit [(Ping timeout: 260 seconds)]
damke has joined #nixos
pie_ has joined #nixos
damke_ has quit [(Ping timeout: 240 seconds)]
Ramaness has quit [(Ping timeout: 260 seconds)]
<nixOp> So the question is I have an imported config in a variable inside let block, how do I overwrite values of the config inside the then block using the variable?
proteusguy has quit [(Remote host closed the connection)]
<nixOp> Or with other words how do I have a template which values I can override and customize for my nixops provisioned nodes?
<tilpner> The problem with your example is that conf.nix contains a function, not a set
<tilpner> You can't use // on functions, you need to evaluate it to get a set
<dj_goku_> should I use nix-prefetch-git or nix-prefetch-url?
<tilpner> This is not necessarily a good idea though. The module system already provides a mechanism for defaults and overriding
<nixOp> put that on your suggestion just for illustration, anything else I can use is ok
<riclima> Hey so where should I put local package definitions?
<riclima> I want to use a Python package as a dependency for a project
<riclima> But it's not on nixpkgs
<riclima> So I'd like to write a derivation for it to use locally on my computer
<riclima> ~/.local/nixpkgs?
<tilpner> dj_goku_ - They're not always interchangeable. I prefer -git for git repos
<tilpner> riclima - Do you know how to install overlays?
<riclima> What's an overlay?
<dj_goku_> tilpner: what is crazy is I am trying to replicate or find how the previous person did it.
<dj_goku_> I can't duplicate the same sha256
<dj_goku_> doesn't look like they used -url
<tilpner> nixOp - You would have base modules for common configuration, and add specialised modules to customise the template. You may want mkDefault and mkForce for possible conflicts, but I suggest you wait around and ask someone who manages more than one thing with nixops :D
<tilpner> riclima - Okay, let's not use an overlay then. Are you on NixOS?
<riclima> No, macOS
<tilpner> dj_goku_ - Show it?
<pie_> anyone on that uses idea-community? idk what im supposed to give the path to in the sdk step
<riclima> pie_, maybe on your shell try `which java`, and give that?
<tilpner> riclima - It doesn't really matter where you put the Nix files. Does Nix use ~/.config/nixpkgs on macOS? If so, that'd be a good place
<dj_goku_> tilpner: ahh they used -git with --rev
<pie_> riclima, ahh ok
<nixOp> tilpner: I tried something like balancer.networking.hostname = pkgs.lib.mkForce "balancer"; but it didn't work because pkgs in not there
<nixOp> is not there*
<riclima> pie_ I think there's a specific folder you need to point to, so I'm not entirely sure that's going to give you the exact correct one
<pie_> that seems to have worked
<riclima> tilpner not sure, I took that idea from here: https://nixos.org/nixpkgs/manual/#python
<nixOp> thanks anyways tilpner
<tilpner> nixOp - You have a weird structure for your files. I use module imports in mine
<tilpner> nixOp - This is the file I created my deployment with: https://gist.github.com/tilpner/1d1dc0208501694ec29b68a09063d95b
damke has quit [(Ping timeout: 240 seconds)]
damke_ has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] gnidorah reopened pull request #31095: rambox: 0.5.12 -> 0.5.13 (master...rambox) https://git.io/vF3Tr
NixOS_GitHub has left #nixos []
srdqty has quit [(Quit: WeeChat 1.9.1)]
srdqty has joined #nixos
ylwghst has joined #nixos
ylwghst has quit [(Client Quit)]
ylwghst has joined #nixos
<nixOp> tilpner, I'll try your way, thanks. But I guess there should be a away to do this following closely the manual examples
Wharncliffe has quit [(Quit: Lost terminal)]
<tilpner> nixOp - Again: I have one deployment, of a single machine, I'm far from experienced with nixops. There is probably lots of better ways
damke_ has quit [(Ping timeout: 246 seconds)]
proteusguy has joined #nixos
nixOp has quit [(Ping timeout: 260 seconds)]
ylwghst has quit [(Quit: Lost terminal)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] peterhoeg opened pull request #31119: libgit2: 0.25.1 -> 0.26.0 (master...u/lg) https://git.io/vFs0r
NixOS_GitHub has left #nixos []
damke_ has joined #nixos
ison111 has quit [(Ping timeout: 240 seconds)]
Lisanna has quit [(Quit: Page closed)]
endformationage has quit [(Quit: WeeChat 1.9.1)]
ylwghst has joined #nixos
damke_ has quit [(Ping timeout: 240 seconds)]
damke has joined #nixos
ylwghst has quit [(Quit: Lost terminal)]
ssmike has joined #nixos
<sphalerite> gilligan_: was asleep at the time because I needed to get up early this morning but yes
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] peterhoeg pushed 1 new commit to master: https://git.io/vFsEC
<NixOS_GitHub> nixpkgs/master cf7d701 Peter Hoeg: unetbootin: 655 -> 657 and make it build again
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] peterhoeg pushed 1 new commit to master: https://git.io/vFsEE
<NixOS_GitHub> nixpkgs/master 0fd585f Peter Hoeg: puddletag: fix the due to sourceRoot changes
NixOS_GitHub has left #nixos []
mkoenig has quit [(Remote host closed the connection)]
pxc1 has quit [(Ping timeout: 246 seconds)]
<sphalerite> gchristensen: love your response to the complaint about 17.09
riclima has quit [(Ping timeout: 246 seconds)]
leat has quit [(Quit: WeeChat 1.9.1)]
riclima has joined #nixos
hellrazo1 has joined #nixos
ssmike has quit [(Read error: Connection reset by peer)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] peterhoeg pushed 1 new commit to master: https://git.io/vFsuX
<NixOS_GitHub> nixpkgs/master 7c83413 Peter Hoeg: virtmanager-qt: 0.43.72 -> 0.45.75
NixOS_GitHub has left #nixos []
pie_ has quit [(Remote host closed the connection)]
pie_ has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] gnidorah closed pull request #30985: pykde4: restore package (master...pykde4) https://git.io/vFqeH
NixOS_GitHub has left #nixos []
<hyper_ch> how comes nixos unstable got updated but not nixos unstable small.... wouldn't nixos unstable be dependant on unstable small?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] peterhoeg pushed 1 new commit to master: https://git.io/vFszU
<NixOS_GitHub> nixpkgs/master 7b9d338 Peter Hoeg: pypi2nix: fix build
NixOS_GitHub has left #nixos []
Mateon1 has quit [(Ping timeout: 240 seconds)]
Mateon1 has joined #nixos
<gchristensen> sphalerite: already did I thnik
<gchristensen> sphalerite: oh you _do_ love it, you're not requesting a resonse :)
<gchristensen> thank you
<sphalerite> :)
pie_ has quit [(Quit: Leaving)]
riclima has quit [(Ping timeout: 258 seconds)]
p4cman has joined #nixos
riclima has joined #nixos
JosW has joined #nixos
<gchristensen> is there a way to tell if nixos and nixpkgs both eval?
riclima has quit [(Quit: riclima)]
<hyper_ch> is there a way to get 4.14 kernel?
<hyper_ch> (it has support for my wifi)
babs has quit [(Quit: Leaving)]
leat has joined #nixos
<gchristensen> looks like we have up to 14
<gchristensen> looks like we have up to 13*
<JosW> is there a url for the Nixcon video's? searching on youtube only returns Nixon stuff...
jmeredith has quit [(Quit: Connection closed for inactivity)]
<JosW> Thanks!
damke_ has joined #nixos
jensens has joined #nixos
damke has quit [(Ping timeout: 252 seconds)]
jtojnar has quit [(Ping timeout: 240 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] gnidorah reopened pull request #30985: pykde4: restore package (master...pykde4) https://git.io/vFqeH
NixOS_GitHub has left #nixos []
<sphalerite> hyper_ch: soon there will be I'm guessing.
<sphalerite> You can try updating it yourself
<hyper_ch> sphalerite: when I tried to added lates kernel to nixos unstable small a while back, it still was 4.9 IIRC and not like 4.13 or so...
<hyper_ch> sphalerite: you keep putting to much faith into my abilities
rogue_koder has quit [(Quit: Konversation terminated!)]
periklis has joined #nixos
ma27 has joined #nixos
zraexy has quit [(Ping timeout: 248 seconds)]
klosnetllc1 has joined #nixos
orivej has quit [(Ping timeout: 240 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] peterhoeg opened pull request #31120: sqlitebrowser: 3.10.0 -> 3.10.1 and make it work with Qt 5.9 (master...f/sqlite) https://git.io/vFs2p
NixOS_GitHub has left #nixos []
zzamboni has joined #nixos
dywedir has joined #nixos
tdc has joined #nixos
dywedir has quit [(Remote host closed the connection)]
MercurialAlchemi has joined #nixos
ertes has quit [(Ping timeout: 240 seconds)]
hellrazor_m has joined #nixos
zzamboni has quit [(Quit: Leaving.)]
zzamboni has joined #nixos
<tilpner> master seems to have 4.14-rc7
<tilpner> And it's already in nixos-unstable too
<globin> hyper_ch: the updater script seems to have stalled on nixos-unstable-small, waiting for a response from niksnut on that :)
zacts has quit [(Ping timeout: 246 seconds)]
reinzelmann has joined #nixos
<hyper_ch> tilpner: hmmm, interesting :) how to get then that kernel? I have boot.kernelPackages = pkgs.linuxPackages_latest; in my config and last time I tried it I think I still got 4.9
<hyper_ch> globin: I was just curious :)
klosnetllc1 has quit [(Remote host closed the connection)]
<tilpner> hyper_ch - linuxPackages_testing will get you 4.14-rc7
<hyper_ch> nice, will try :)
<hyper_ch> working wifi is something desirable
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #31074: mikutter: 3.5.7 -> 3.5.13 (master...fix-mikutter) https://git.io/vFOWy
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 2 new commits to master: https://git.io/vFswC
<NixOS_GitHub> nixpkgs/master 088ce9f zimbatm: CODEOWNERS: fix path notation...
<NixOS_GitHub> nixpkgs/master 634b857 Jörg Thalheim: Merge pull request #31101 from zimbatm/codeowners-syntax-fix...
NixOS_GitHub has left #nixos []
uptime has joined #nixos
uptime has quit [(Client Quit)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] globin pushed 1 new commit to master: https://git.io/vFswM
<NixOS_GitHub> nixpkgs/master 1c431f4 Robin Gloster: stack2nix: fix build...
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] globin pushed 1 new commit to release-17.09: https://git.io/vFswy
<NixOS_GitHub> nixpkgs/release-17.09 0f9ab62 Robin Gloster: stack2nix: fix build...
NixOS_GitHub has left #nixos []
uptime has joined #nixos
ertes-w has joined #nixos
mw has left #nixos []
jacob has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 4 new commits to master: https://git.io/vFsr5
<NixOS_GitHub> nixpkgs/master f5b773b Ryan Bernstein: pythonPackages.pomegranate: 0.8.0 -> 0.8.1...
<NixOS_GitHub> nixpkgs/master 20fd713 Ryan Bernstein: pythonPackages.pomegranate: Removed unnecessary dependency
<NixOS_GitHub> nixpkgs/master 8796e3b Joerg Thalheim: python.pkgs.joblib: disable tests properly
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 3 new commits to master: https://git.io/vFsok
<NixOS_GitHub> nixpkgs/master caa8284 gnidorah: rambox, franz: install xdg_utils for url opening...
<NixOS_GitHub> nixpkgs/master 85f5d5c gnidorah: rambox: 0.5.12 -> 0.5.13
<NixOS_GitHub> nixpkgs/master 6e90af6 Jörg Thalheim: Merge pull request #31095 from gnidorah/rambox...
NixOS_GitHub has left #nixos []
pxc1 has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] gebner pushed 1 new commit to master: https://git.io/vFsot
<NixOS_GitHub> nixpkgs/master d0d9ed6 Gabriel Ebner: tokei: fix build...
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 2 new commits to master: https://git.io/vFsog
<NixOS_GitHub> nixpkgs/master 17de809 Renaud: hardlink: 2012.9.3ec908d539 --> 1.3-4
<NixOS_GitHub> nixpkgs/master 455ab9f Jörg Thalheim: Merge pull request #31091 from c0bw3b/pkg/hardlink...
NixOS_GitHub has left #nixos []
pxc1 has quit [(Ping timeout: 248 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 2 new commits to master: https://git.io/vFso6
<NixOS_GitHub> nixpkgs/master cb59cfc adisbladis: firefox-beta-bin: 57.0b11 -> 57.0b13
<NixOS_GitHub> nixpkgs/master cae9e65 Jörg Thalheim: Merge pull request #31118 from adisbladis/firefox-beta-bin-57_0_b11...
NixOS_GitHub has left #nixos []
hotfuzz has quit [(Ping timeout: 260 seconds)]
nschoe has joined #nixos
hotfuzz has joined #nixos
Neo-- has joined #nixos
goibhniu has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 2 new commits to master: https://git.io/vFsKM
<NixOS_GitHub> nixpkgs/master 04b3b00 Peter Romfeld: fastlane: 2.62.1 -> 2.63.0
<NixOS_GitHub> nixpkgs/master 6a61a78 Jörg Thalheim: Merge pull request #31085 from peterromfeldhk/fastlane...
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] P-E-Meunier opened pull request #31122: ACME: default to Let's Encrypt's staging CA. (master...letsencrypt-staging) https://git.io/vFsK5
NixOS_GitHub has left #nixos []
ssmike has joined #nixos
thc202 has joined #nixos
ssmike has quit [(Remote host closed the connection)]
ssmike has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #31081: mpv: wayland support by default (master...mpv) https://git.io/vFOiT
NixOS_GitHub has left #nixos []
whald has joined #nixos
tk_ has quit [(Ping timeout: 252 seconds)]
slyfox has quit [(Quit: no need to cry)]
zzamboni has quit [(Ping timeout: 246 seconds)]
davidak has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Ma27 closed pull request #30815: security.sudo: introduce `package` option (master...sudo-package-override) https://git.io/vFfQb
NixOS_GitHub has left #nixos []
kuznero has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 2 new commits to master: https://git.io/vFsiL
<NixOS_GitHub> nixpkgs/master 8014307 André Stylianos Ramos: boot: 2.5.2 -> 2.7.2
<NixOS_GitHub> nixpkgs/master fbb0b8e Jörg Thalheim: Merge pull request #31087 from andrestylianos/boot...
NixOS_GitHub has left #nixos []
<kuznero> Hi All! Why dockerTools.pullImage all of a sudden complains 404 on curl for alpine 3.6?
<kuznero> I am on nixos-17.03
<hyper_ch> time to upgrade?
<kuznero> hyper_ch: I cannot because of this: https://github.com/NixOS/nixpkgs/issues/30289
<kuznero> it's a serious blocker for me and my team
tk_ has joined #nixos
<hyper_ch> good that I don't believe in docker :)
<kuznero> :)
ma27 has quit [(Quit: WeeChat 1.9.1)]
<kuznero> But it was working before. Just strange it does not now.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] srhb opened pull request #31123: NixOS/zabbix-{server,agent}: 1.8 -> 3.4 wip (master...zabbix34) https://git.io/vFsi2
NixOS_GitHub has left #nixos []
python476 has joined #nixos
ma27 has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] P-E-Meunier closed pull request #22586: Finer-grained firewall: allow specific hosts, in particular to SSH (master...master) https://git.io/vDu4j
NixOS_GitHub has left #nixos []
<kuznero> Actually same thing happens on nixos-17.09
<kuznero> Can it be sandboxing getting in a way?
erictapen has joined #nixos
erictapen has quit [(Remote host closed the connection)]
<kuznero> Shouldn't be, right?
erictapen has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] lo1tuma opened pull request #31124: nodejs: refactor generic build function (master...refactor-nodejs) https://git.io/vFsPe
NixOS_GitHub has left #nixos []
roberth has joined #nixos
<goibhniu> kuznero: what URL is pullImage trying to use?
<kuznero> goibhniu: I am trying to figure it out now, call is `dockerTools.pullImage { imageName = "alpine"; imageTag = "3.3"; sha256 = "0hy9rsvm3j9l7vbwbfk8571g5mh5crj9pvvpb3xxdbl25gk7cp5i"; };`
<goibhniu> hrm
<goibhniu> silly question, does that mean it's looking for alpine 3.3?
Mrmaxmeier has joined #nixos
<kuznero> yes, old. After I will make it working I will upgrade to 3.6
<MoreTea> I had some issues with dockerTools.pullImage as well
<MoreTea> It kept returning different sha256's.
hariel has joined #nixos
<MoreTea> kuznero: do you have the same issue?
<kuznero> I needed to change sha256 at some point. But then it stabilized.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] peterhoeg pushed 1 new commit to master: https://git.io/vFsPi
<NixOS_GitHub> nixpkgs/master 9ac793f Peter Hoeg: plasma: 5.11.1 -> 5.11.2
NixOS_GitHub has left #nixos []
betaboon has joined #nixos
<kuznero> non of the images I try now works. alpine, nixos/nix, ubuntu, none of them
<kuznero> both on nixos-17.03 and nixos-17.09
alhariel has quit [(Ping timeout: 240 seconds)]
Wizek has joined #nixos
<kuznero> ok, one thing is that I am behind corporate proxy
<kuznero> but I've tried turning sandboxing on and off. Same result all the time
<MoreTea> what's the error you're getting kuznero ?
<kuznero> MoreTea: curl: (22) The requested URL returned error: 404 NOT FOUND
davidak has quit [(Ping timeout: 240 seconds)]
periklis has quit [(Ping timeout: 240 seconds)]
sigmundv has joined #nixos
<kuznero> I can see at least 3 open issues regarding dockerTools.pullImage: https://github.com/nixos/nixpkgs/issues?utf8=%E2%9C%93&q=is%3Aissue%20is%3Aopen%20pullImage%20
<kuznero> one of them is about proxy
<kuznero> Here is the project I am trying to build as docker image: https://github.com/kuznero/monitor - just with `nix-build docker.nix`
<kuznero> And it was working before that's for sure.
yegortimoshenko has joined #nixos
kuznero has quit [(Quit: http://www.kiwiirc.com/ - A hand crafted IRC client)]
<yegortimoshenko> is there a function in nixpkgs lib that can return a list of all keys of a set?
kuznero has joined #nixos
<yegortimoshenko> (couldn't find one, i'd guess it should be in lib/attrsets.nix)
<yegortimoshenko> oh, there is attrNames builtin...
<sphalerite> Dezgeg: still haven't got the WiFi working even though I definitely have the right module built in to the kernel
<sphalerite> :(
<sphalerite> Thinking maybe it's related to the device tree files? I don't really understand this stuff
kuznero has quit [(Quit: http://www.kiwiirc.com/ - A hand crafted IRC client)]
kuznero has joined #nixos
<kuznero> I can see that `$nixpkgs/pkgs/build-support/docker/pull.sh` is trying to start dockerd without proxy settings. That is used then to `docker pull` an image. It is not configured to have http(s)_proxy env vars. But what I don't understand is that it should not use curl at all. But it is curl that fails. Maybe I misunderstand and it is not dockerTools
<kuznero> .pullImage that fails?
<kuznero> Last thing before it fails is `/nix/store/s33yz3v7fxhczaninvg6q6qa5cfa9gx9-tarsum`
<kuznero> Nope, tarsum is irrelevant - just one of parallel jobs run by nix-build
<kuznero> How do I make curl error tell what URL it was trying?
jensens has quit [(Ping timeout: 240 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] globin pushed 1 new commit to master: https://git.io/vFsMJ
<NixOS_GitHub> nixpkgs/master ccbcf15 Mathias Schreck: nodejs: refactor generic build function...
NixOS_GitHub has left #nixos []
<joko> Hi, I am using (pkgs.python35.withPackages ( blabla )).env in shell.nix to fire up a nix-shell, how to append stuff in PYTHONPATH there?
Mrmaxmeier has quit [(Ping timeout: 240 seconds)]
zzamboni has joined #nixos
<kuznero> It definitely errors when I use fromImage in my docker.nix. So, curl error comes from pullImage certainly.
takle has joined #nixos
<Mic92> disasm: maybe we could add the docbook plugins right away to nixpkgs itself.
Ramaness has joined #nixos
<MoreTea> kuznero: you can probably hack the dockerTools expression in a local checkout of nixpkgs, and see if you can reproduce there.
<kuznero> MoreTea: problem is that I cannot understand how curl is eventually invoked. I found `pull.sh` script that starts docker daemon and pulls image using `docker pull` - but this is not what is happening in reality - it is curl that is used.
<MoreTea> kuznero: it appears that it's not involved.
<MoreTea> kuznero: checkout the file $NIXPKGS/pkgs/build-support/docker/pull.sh
<MoreTea> it starts a temporary local docker daemon
symplectico has joined #nixos
<MoreTea> I think you can set the proxy as described in this SO questio https://stackoverflow.com/questions/23111631/cannot-download-docker-images-behind-a-proxy
<MoreTea> kuznero: does that enable you to continue? I'd be happy to help you fix this step-by-step.
erictapen has quit [(Ping timeout: 248 seconds)]
<sphalerite> Can I get a nix-shell without the docs for the packages included in it?
freusque has quit [(Quit: WeeChat 1.7.1)]
<kuznero> MoreTea: the thing is that my local instance of docker daemon works great and I can pull any image myself. But when it is running as part of nix-build it fails
<sphalerite> I don't have an internet connection on my laptop, and I do have the out path of the derivations in question but not the doc
Ramaness has quit [(Ping timeout: 260 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] globin pushed 1 new commit to master: https://git.io/vFsD0
<NixOS_GitHub> nixpkgs/master 538acd9 Pierre-Etienne Meunier: ACME module: add server option (#31122)
NixOS_GitHub has left #nixos []
<MoreTea> kuznero: could you pastebin the entire build log?
freusque has joined #nixos
<kuznero> MoreTea: and the docker.nix itself - https://pastebin.com/3feaH1sC
ThatDocsLady has joined #nixos
rtjure has quit [(Ping timeout: 255 seconds)]
<MoreTea> trying to reproduce
<MoreTea> which nixpkgs are you using?
<kuznero> I am on nixos-17.03. Nothing special - the upstream.
<kuznero> So, just running `nix-build docker.nix`
<MoreTea> ok, are you aware that 17.03 is not supported anymore? (security wise)
<MoreTea> is your 17.03 up2date?
<kuznero> yes, but the same thing happens on nixos-17.09
<MoreTea> unstable works for me btw.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] LnL7 opened pull request #31125: rust-bootstrap: cleanup darwin expression (master...darwin-rust-bootstrap) https://git.io/vFsyG
NixOS_GitHub has left #nixos []
<kuznero> MoreTea: how can I enable unstable?
rtjure has joined #nixos
<MoreTea> you can do e.g. pinning of nixpkgs
<kuznero> Will `sudo nix-channel --add https://nixos.org/channels/nixos-unstable nixos && sudo nixos-rebuild switch --upgrade` work?
<MoreTea> yes, you could also pin your project to a certain version of nixpkgs
<kuznero> MoreTea: that is much better, do you have an example of how to do this?
<MoreTea> there have been several mentions of this on NixCon
<MoreTea> LMGTFY.
Itkovian has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #31072: utox: 0.13.1 -> 0.16.1 (master...utox-0.16.1) https://git.io/vFOCP
NixOS_GitHub has left #nixos []
Itkovian has quit [(Client Quit)]
<kuznero> MoreTea: I am not sure how exactly but it seems when I switched to nixos-17.09 and upgraded to latest it started working
<MoreTea> the dockerTools stuff is quite brittle unfortunately :(
<MoreTea> That is one reason for pinning;
<MoreTea> once you validate that your setup works, it'll probably remain working
<kuznero> Hm, I really hope we could use nixos-17.09 in the team - this is getting critical with https://github.com/NixOS/nixpkgs/issues/30289
<globin> kuznero: I haven't managed to reproduce that, tested it yesterday
<kuznero> globin: interesting. I saw it is working sometimes for a short periods of time. But I will go back to latest nixos-17.09 and check again now.
<MoreTea> kuznero: sorry, can't take time of $JOB to take a look at that issue.
<kuznero> no problem MoreTea, you already helped a lot! Thanks for your time
proteusguy has quit [(Remote host closed the connection)]
<MoreTea> kuznero: I really do recommend to pin your nixpkgs. Once you get this fixed, all your team members will have an identical environment (which also should work)
davidak has joined #nixos
alhariel has joined #nixos
hariel has quit [(Ping timeout: 260 seconds)]
erictapen has joined #nixos
erictapen has quit [(Remote host closed the connection)]
erictapen has joined #nixos
erictapen has quit [(Remote host closed the connection)]
erictapen has joined #nixos
Neo-- has quit [(Remote host closed the connection)]
Neo-- has joined #nixos
roberth has quit [(Ping timeout: 248 seconds)]
mekeor has joined #nixos
NightTrain has joined #nixos
michiel_l has joined #nixos
<kuznero> MoreTea: will do that, thanks
mkoenig has joined #nixos
<LnL> kuznero: have you tried to disable the firewall?
<kuznero> LnL: I think it is disabled. I will try checking it again now.
guillaum2 has joined #nixos
<LnL> maybe that's messing with the docker networking somehow
<kuznero> LnL: networking.firewall.enable = false; in my configuration.ni
<kuznero> :q
<LnL> hmm, what if you enable it and whitelist the ports
<kuznero> LnL: hm... will try that.
proteusguy has joined #nixos
<kuznero> I can see though that scopeo is not used for pulling images any more... :( It made things working for me with proxy. I wonder why was it reverted...
<LnL> pretty sure I used swarm for work stuff after I upgraded to 17.09
<kuznero> LnL: swarm works in most cases. It is specifically rabbitmq with management plugin that fails
<kuznero> That is the most weird part in this
<globin> kuznero: skopeo used a different image format breaking mesos with the images amongst others
<LnL> oh that's the only service you've had trouble with?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz pushed 3 new commits to master: https://git.io/vFsHF
<NixOS_GitHub> nixpkgs/master c37c896 Franz Pletz: linux: 4.13.10 -> 4.13.11
<NixOS_GitHub> nixpkgs/master 6021ca2 Franz Pletz: linux: 4.4.95 -> 4.4.96
<NixOS_GitHub> nixpkgs/master 68b5ec0 Franz Pletz: linux: 4.9.59 -> 4.9.60
NixOS_GitHub has left #nixos []
<kuznero> yep, it just happened to be the central piece that my team is relying on :(
<LnL> weird, thought it was just an example
<kuznero> no, all other images work as usual.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz pushed 3 new commits to release-17.09: https://git.io/vFsQT
<NixOS_GitHub> nixpkgs/release-17.09 f55fb35 Franz Pletz: linux: 4.13.10 -> 4.13.11...
<NixOS_GitHub> nixpkgs/release-17.09 b97495e Franz Pletz: linux: 4.4.95 -> 4.4.96...
<NixOS_GitHub> nixpkgs/release-17.09 0cba835 Franz Pletz: linux: 4.9.59 -> 4.9.60...
NixOS_GitHub has left #nixos []
<kuznero> lewo: are you here?
tdc_ has joined #nixos
<kuznero> In order to try my own dockerTools version can I just do `nix-build -I ~/Projects/Kuznero/nixpkgs docker.nix`?
roberth has joined #nixos
riclima has joined #nixos
tdc has quit [(Ping timeout: 260 seconds)]
<MoreTea> kuznero: you can just import the nixpkgs in your docker.nix
<MoreTea> { /* your top level function */}: let pkgs = import /path/to/own-version-of-nixpkgs/ {}; in $REST_OF_EXPR
<kuznero> MoreTea: like `{ pkgs ? import <~/Projects/Kuznero/nixpkgs> {} }:`?
<kuznero> ok, will try now
<infinisil> kuznero: nix-build docker.nix -I nixpkgs=your/nixpkgs should work too
<kuznero> infinisil: thanks! that is what I was looking for
qknight has quit [(Quit: Lost terminal)]
tdc__ has joined #nixos
simukis has joined #nixos
<MoreTea> kuznero: that works too ;)
<kuznero> Excellent, if I still use skopeo (there were 3 reverting commits) it is working fine when I am building behind proxy. Sorry, I don't know nick of Robin Gloster. But if you are here, can you please explain why it was reverted?
Naughtmare[m] has left #nixos ["User left"]
yegortimoshenko has quit [(Remote host closed the connection)]
yegortimoshenko has joined #nixos
<MoreTea> kuznero: globin
<MoreTea> kuznero: AFAIK the on-disk format of skopeo is not the same as the output of `docker export`.
<globin> "kuznero: skopeo used a different image format breaking mesos with the images amongst others"
<globin> kuznero: see the related PRs for more information
<kuznero> globin: I see, and there is also a side effect of not working behind corporate proxies
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] zimbatm pushed 5 new commits to master: https://git.io/vFs5y
<NixOS_GitHub> nixpkgs/master a209f56 zimbatm: hashcat: 2.00 -> 4.0.0...
<NixOS_GitHub> nixpkgs/master d445048 zimbatm: beignet: 1.3.1 -> 1.3.2
<NixOS_GitHub> nixpkgs/master b84c420 zimbatm: vaapiIntel: 1.7.3 -> 1.8.2
NixOS_GitHub has left #nixos []
tdc_ has quit [(Ping timeout: 240 seconds)]
zbigg has joined #nixos
iyzsong has joined #nixos
zbigg has left #nixos []
zbigg has joined #nixos
symplectico has quit [(Ping timeout: 240 seconds)]
tdc_ has joined #nixos
riclima has quit [(Ping timeout: 240 seconds)]
jensens has joined #nixos
tdc__ has quit [(Ping timeout: 246 seconds)]
davidak has quit [(Ping timeout: 248 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] rycee pushed 1 new commit to master: https://git.io/vFsNG
<NixOS_GitHub> nixpkgs/master 22beeea Richard Marko: criu: 2.0 -> 2.12.1
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] rycee closed pull request #30408: criu: 2.0 -> 2.12.1 (master...criu_2.12.1) https://git.io/vd1JD
NixOS_GitHub has left #nixos []
jtojnar has joined #nixos
Profpatsch has quit [(Quit: WeeChat 0.4.3)]
Profpatsch has joined #nixos
guillaum2 has quit [(Ping timeout: 240 seconds)]
<hotfuzz> ns
hotfuzz has quit [(Quit: WeeChat 1.9.1)]
NightTrain has quit [(Quit: Lost terminal)]
<fearlessKim[m]> globin: concerning the mptcp kernel PR, am I crazy or you are xD ?
hamishmack has quit [(Quit: hamishmack)]
hamishmack has joined #nixos
srdqty has quit [(Ping timeout: 240 seconds)]
zzamboni has quit [(Quit: Leaving.)]
srdqty has joined #nixos
zzamboni has joined #nixos
zzamboni has quit [(Client Quit)]
zzamboni has joined #nixos
kiloreux has joined #nixos
riclima has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #31067: iwona (font): init at 0_995 (master...iwona) https://git.io/vFOTf
NixOS_GitHub has left #nixos []
asuryawanshi has joined #nixos
<asuryawanshi> Hello
zzamboni has quit [(Ping timeout: 258 seconds)]
<asuryawanshi> @gchristensen sent me here
<asuryawanshi> need some help regarding the mysql package in nix
<copumpkin> hi!
tdc__ has joined #nixos
<LnL> hi o/
<asuryawanshi> We're using nix for doing some integration testing of our mysql automation at Tumblr
<asuryawanshi> and we use the mysql package so as to be able to run a systemd container
zzamboni has joined #nixos
<asuryawanshi> when creating the config in mysql pkg the config is often located in a nix/store/ location
<asuryawanshi> could it be possible to make a symlink of the my.cnf file at /etc/my.cnf ?
<copumpkin> yeah
<asuryawanshi> most of the mysql tools including the main server binary look at this location by default
<copumpkin> well, actually
<copumpkin> the mysql module should confgure the server to do that already
<LnL> ofcorse, there's a environment.etc option to do exactly that
* copumpkin digs
iyzsong has quit [(Ping timeout: 240 seconds)]
<asuryawanshi> can you help me with option, I tried searching for such an option
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] globin pushed 1 new commit to master: https://git.io/vFspd
<NixOS_GitHub> nixpkgs/master 7dce131 Matthieu Coudron: kernelmptcp: 0.91.3 -> 0.92.1
NixOS_GitHub has left #nixos []
<copumpkin> the trcky thing is that the myCnf is hidden in the mysql module
<asuryawanshi> right
<LnL> yeah you might need to change the mysql module
<copumpkin> is your issue that the server isn't picking it up? because that would be a bug on our side
tdc_ has quit [(Ping timeout: 248 seconds)]
<copumpkin> or just that you need something else and it's a PITA to figure out where the conf file s?
<asuryawanshi> yeah so, if we were to start mysqld_safe it by defaults looks at /etc/ and some other default locations
<asuryawanshi> this mysql start is not by upstart or systemd but manual start
<copumpkin> ah
<asuryawanshi> and it doesnt finds the file
<asuryawanshi> and it doesnt find the file
<copumpkin> so our automatic service passes it in via --defaults-extra-file=
<Yaniel> hi
<LnL> right, so the service works but everything else doesn't know about the config
<copumpkin> trying to think of a way for you to get that conf file automatically
zzamboni has quit [(Ping timeout: 248 seconds)]
<LnL> you can probably see it with ps, but that's not exactly ideal
<copumpkin> yeah, or in systemctl cat
<asuryawanshi> so thats what I tried, however unable to think where to put that config
<copumpkin> well, the hackiest thing is
<copumpkin> systemctl cat mysqld.service, get the conf path, then pass it into mysqld_safe with --defaults-extra-file=
<LnL> and it's not assigned to an option so you can't reqlly query that either
<copumpkin> not exactly ideal though
<copumpkin> hmm
<asuryawanshi> here's what I am trying to do
<asuryawanshi> my_cnf = $(ps -ef | grep mysql | grep -v grep | awk '{print $9}' | awk -F'=' '{print $2}')
<asuryawanshi> ln -s $my_cnf /etc/my.cnf
<copumpkin> ouch :)
riclima has quit [(Quit: riclima)]
<asuryawanshi> sorry yeah very hacky
<LnL> overriding the module would work
<asuryawanshi> any example code I can implement to override a module ?
ma27 has quit [(Ping timeout: 264 seconds)]
<asuryawanshi> the way I think is to be able to access the my.cnf in package and then even cp or symlink it
<copumpkin> pierron was talking about it a couple of days ago, but I don't know how it works
<LnL> there's a small section in the manual
* LnL searches
<copumpkin> if you could jump into the module source itself, you coudl just add an environment.etc."my.cnf" to it
zzamboni has joined #nixos
kiloreux has quit [(Remote host closed the connection)]
goibhniu has quit [(Remote host closed the connection)]
<LnL> it's not ideal, but that allows you to disable the existing module and replace it with a version that puts stuff in /etc
<copumpkin> unfortunately you'll still need to just copy and paste the upstream module and modify it
<asuryawanshi> yeah
goibhniu has joined #nixos
<asuryawanshi> is there way to add that ps and symlinking stuff to postStart ?
<copumpkin> what I'd suggest is probably: 1) make a quick PR that makes the config file confgurable, with a default pointing at the my.cnf in there
<copumpkin> 2) fetchpatch your PR and overlay it onto your version of nixpkgs
<copumpkin> 3) grab options.services.mysql.confFile.default or something and use that locally in your environment.etc
<copumpkin> asuryawanshi: yeah if you're willing to deal with ps
<asuryawanshi> just to get it up and running for now,
<copumpkin> feels a bit brittle but might not be the end of the world
<copumpkin> systemd.services.mysql.serviceConfig.ExecStartPost = pkgs.writeScript "foo" ''<that thing you wrote before>";
<copumpkin> I think
<asuryawanshi> we can look into creating a PR to the module, but not possible at this moment, gchristensen and I might be able to do it once he is back
<asuryawanshi> cool
zzamboni has quit [(Ping timeout: 246 seconds)]
pxc1 has joined #nixos
yegortimoshenko has quit [(Ping timeout: 240 seconds)]
ma27 has joined #nixos
Neo-- has quit [(Remote host closed the connection)]
Neo-- has joined #nixos
pxc1 has quit [(Ping timeout: 240 seconds)]
peacememories has joined #nixos
prietoj has joined #nixos
<prietoj> Hello. I'm having some issues getting the terraform_0_10 package. I get no buildable Go source files in /tmp/nix-build-terraform-0.10.7.drv-0/go/src/github.com/hashicorp/terraform/tools/terraform-bundle/e2etest
<prietoj> After "nix-shell -p terraform_0_10"
jtojnar has quit [(Quit: jtojnar)]
zzamboni has joined #nixos
infinisil has quit [(Quit: ZNC 1.6.5 - http://znc.in)]
zzamboni has quit [(Client Quit)]
ylwghst has joined #nixos
zzamboni has joined #nixos
<copumpkin> prietoj: not sure, might just be broken in the revision you're on? I'd file an issue with more info
tv has quit [(Ping timeout: 248 seconds)]
infinisil has joined #nixos
<prietoj> Will do
tv has joined #nixos
Ramaness has joined #nixos
hotfuzz has joined #nixos
p4cman has quit [(Quit: Connection closed for inactivity)]
srdqty has quit [(Quit: WeeChat 1.9.1)]
symplectico has joined #nixos
kuznero has quit [(Quit: http://www.kiwiirc.com/ - A hand crafted IRC client)]
damke has joined #nixos
kuznero has joined #nixos
damke_ has quit [(Ping timeout: 240 seconds)]
ylwghst has quit [(Quit: Lost terminal)]
makefu has joined #nixos
orivej has joined #nixos
peacememories has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
ma27 has quit [(Ping timeout: 264 seconds)]
ftzm has joined #nixos
ftzm has quit [(Read error: Connection reset by peer)]
ma27 has joined #nixos
rtjure has quit [(Ping timeout: 248 seconds)]
peacememories has joined #nixos
rtjure has joined #nixos
amfl has quit [(Read error: Connection reset by peer)]
amfl has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] globin pushed 41 new commits to master: https://git.io/vFGI0
<NixOS_GitHub> nixpkgs/master e71dc0c José Romildo Malaquias: liblxqt: 0.11.1 -> 0.12.0
<NixOS_GitHub> nixpkgs/master 70fb53f José Romildo Malaquias: libqtxdg: 2.0.0 -> 3.1.0
<NixOS_GitHub> nixpkgs/master 05de6f3 José Romildo Malaquias: libsysstat: 0.3.3 -> 0.4.0
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] cruizh opened pull request #31129: skypeforlinux: 5.5.0.1 -> 8.10.76.2 (release-17.09...fix/skypeforlinux-update) https://git.io/vFGIa
NixOS_GitHub has left #nixos []
person has joined #nixos
amir has quit [(Remote host closed the connection)]
kiloreux has joined #nixos
amir has joined #nixos
__monty__ has joined #nixos
<__monty__> Looking for the proper way to set NIX_PATH, I'm not on nixos. The nix.sh script I source at the end of .zshrc sets it to nixpkgs=...:nixpkgs=... That seems redundant and also overwrites the NIX_PATH I specified.
<disasm> Mic92: good idea!
<kiloreux> I am getting "do not know how to unpack source archive" when trying to use directory to compile file.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] rycee pushed 1 new commit to master: https://git.io/vFGtv
<NixOS_GitHub> nixpkgs/master 7f92173 Andrew Dunham: strongswan: allow configuring enabled plugins
NixOS_GitHub has left #nixos []
<kiloreux> Any idea why this is happening ?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] rycee closed pull request #29662: strongswan: allow configuring enabled plugins (master...adunham/strongswan-plugins) https://git.io/vdfst
NixOS_GitHub has left #nixos []
<ma27> kiloreux: how does your `src` expression look like
<ma27> or do you try to build something from nixpkgs?
<kiloreux> This is the src part "src = "waveform/.";"
zraexy has joined #nixos
<ma27> kiloreux: so you use a string as src?
<kiloreux> I see.
<kiloreux> Damn stupid I am.
<kiloreux> That solved it
<kiloreux> thanks ma27
<ma27> kiloreux: great! %)
ssmike has quit [(Remote host closed the connection)]
ssmike has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] pbogdan closed pull request #31106: cloc: fix build (master...cloc-fix-build) https://git.io/vF3Qr
NixOS_GitHub has left #nixos []
jmeredith has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] pbogdan opened pull request #31132: fix source root locations. (master...sourceroot-fixes) https://git.io/vFGqR
NixOS_GitHub has left #nixos []
asuryawanshi has quit [(Ping timeout: 240 seconds)]
seanparsons has quit [(Ping timeout: 240 seconds)]
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-unstable advanced to https://github.com/NixOS/nixpkgs/commit/2ddcdcce26 (from 20 hours ago, history: https://channels.nix.gsc.io/nixos-unstable)
nix-gsc-io`bot has quit [(Client Quit)]
the-kenny has quit [(Ping timeout: 258 seconds)]
StevenTian has joined #nixos
joepie91 has quit [(Read error: Connection reset by peer)]
srdqty has joined #nixos
joepie91___ has joined #nixos
joepie91___ has quit [(Changing host)]
joepie91___ has joined #nixos
the-kenny has joined #nixos
<StevenTian> I am using KDE with NixOS 17.09. When I tried to copy or move a file, I am unable to see the file transfer progress. Is this a known issue?
<person> You mean in the file manager?
joepie91___ is now known as joepie91
<StevenTian> Yeah. In Dolphin
seanparsons has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] rvolosatovs opened pull request #31134: mopidy-iris: 3.4.9 -> 3.6.1 (master...update/mopidy-iris) https://git.io/vFGYX
NixOS_GitHub has left #nixos []
roberth has quit [(Ping timeout: 240 seconds)]
<StevenTian> Thanks. Is there a quick fix?
<person> no clue. have you googled the issue?
<joepie91> StevenTian: can you check whether there's a little progress spinner in your system/widget tray?
<MoreTea> hmm. I'm having some issues with VirtualBox on unstable.
<joepie91> StevenTian: likely a circle with a number in it
<MoreTea> VirtualBox: supR3HardenedVerifyFileFollowSymlinks: Failed to resolve the real path '/run/opengl-driver/lib/dri/tls/i965_dri.so': No such file or directory (2)
<MoreTea> Qt FATAL: Cannot mix incompatible Qt library (version 0x50900) with this library (version 0x50901)
<MoreTea> (I don't have virtualbox installed via nix-env, only via configuration.nix)
<copumpkin> do we have a good command to perform a tree diff on output from nix-store -q --tree?
<StevenTian> person: I have googled it, but have not found a working solution.
<Dezgeg> sphalerite: so does it load the firmware correcly? you sure it's the right driver that's built in? any messages from the driver?
<StevenTian> joepie91: I don’t see the progress tracker in the system tray.
<joepie91> StevenTian: are you sure that it was a long-running job? ie. one that wouldn't just finish immediately?
<StevenTian> joepie91: yeah, a quite large file. However, When the copy was done, I did see a message “xxx coped successfully” in the status bar of Dolphin.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] edwtjo pushed 1 new commit to master: https://git.io/vFGsI
<NixOS_GitHub> nixpkgs/master a4c431b Edward Tjörnhammar: altcoins.dogecoin*: sha change
NixOS_GitHub has left #nixos []
kuznero has quit [(Quit: http://www.kiwiirc.com/ - A hand crafted IRC client)]
<joepie91> StevenTian: hrm. this works fine for me, so I'm unsure what the issue is.
<joepie91> StevenTian: it wasn't in the hidden-icons pane either?
ma27 has quit [(Ping timeout: 248 seconds)]
trevorriles has joined #nixos
<person> the automatic updater service for the locate db isn't able to read my home and a few system directories. Is that because it doesn't actually run as root? (is run as user "nobody")
Neo-- has quit [(Remote host closed the connection)]
Neo-- has joined #nixos
Mrmaxmeier has joined #nixos
snikkers has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] disassembler opened pull request #31135: vim-plugins: add vim-docbk and related snippets (master...docbook-vim-plugins) https://git.io/vFGGr
NixOS_GitHub has left #nixos []
<StevenTian> joepie91: it is said that I need to enable to “track file transfer and other jobs” in the Notification Settings and enable “Show progress and status information in task buttons” in the Task Manager Settings. However, even all these done, it still does not work. 😭
<joepie91> StevenTian: ah, that's a different thing than what I'm thinking of
<joepie91> StevenTian: that's showing the progress on the task bar item, not the tray icon for notifications
<joepie91> StevenTian: can you doublecheck that you have a notification widget configured *at all* for your tray?
ma27 has joined #nixos
<nh2[m]> is there a nix pretty-printer somewhere through which I can pipe a `.drv` file?
<Dezgeg> if you want a really poor man's version, piping to tr , '\n' works somewhat
<StevenTian> joepie91: I can see “Status & Notifications” in the system tray. Is it the one you are referring to?
<joepie91> StevenTian: yep, that'
<joepie91> StevenTian: yep, that's the one *
<joepie91> that should display ongoing operations along with their respective progress
<joepie91> and that's where your file transfer from Dolphin should show up
<StevenTian> joepie91: yeah, but it does not show up somehow.
<joepie91> hrm :/
<joepie91> StevenTian: I mean, this should Just Work
<joepie91> and it does for me, without having tinkered with it
<joepie91> StevenTian: you're not by any chance mixing different channels?
<joepie91> also, let me verify that it still works right this moment, sec
<joepie91> StevenTian: hmm, it's actually not working for me now!
<joepie91> maybe something changed in a recent update?
thblt has joined #nixos
<StevenTian> joepie91: thanks a lot. By the way, someone does have the same problem with me: https://github.com/NixOS/nixpkgs/issues/30281
ma27 has quit [(Ping timeout: 240 seconds)]
ma27 has joined #nixos
<joepie91> StevenTian: added a comment there
<joepie91> I bet it's something stupid like a missing DBus config or a typo somewhere
dieggsy has joined #nixos
<StevenTian> joepie91: I saw you comment. Cool. I agree with you.
<StevenTian> joepie91: many thanks again. Let’s hope it will be fixed soon. 😄
roberth has joined #nixos
ma27 has quit [(Ping timeout: 240 seconds)]
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-17.09-small advanced to https://github.com/NixOS/nixpkgs/commit/0cba8357f1 (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-17.09-small)
nix-gsc-io`bot has quit [(Client Quit)]
person has quit [(Quit: Page closed)]
etu has quit [(Ping timeout: 258 seconds)]
StevenTian has quit [(Quit: Mutter: www.mutterirc.com)]
ma27 has joined #nixos
etu has joined #nixos
Acou_Bass has quit [(Ping timeout: 240 seconds)]
<srhb> Is there a good way to discern the difference in either types.str types.path
<srhb> ergh, X Y problem...
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 2 new commits to master: https://git.io/vFGcn
<NixOS_GitHub> nixpkgs/master 8855790 Roman Volosatovs: mopidy-iris: 3.4.9 -> 3.6.1
<NixOS_GitHub> nixpkgs/master c5f4af0 Jörg Thalheim: Merge pull request #31134 from rvolosatovs/update/mopidy-iris...
NixOS_GitHub has left #nixos []
<srhb> I want to express that a password is either provided as an unsafe str (stored in the Nix Store) or safely as a file (outside the Nix Store)
dbmikus has joined #nixos
person938759 has joined #nixos
<srhb> I feel like it would be lovely if I had something akin to value constructors to express this. (MkUnsafeString foopassword vs. MkSafeFilePath /path/to/thing)
<srhb> but we don't have ADTs
Acou_Bass has joined #nixos
Deleh[m] has joined #nixos
reinzelmann has quit [(Quit: Leaving)]
waleee has joined #nixos
StevenTian has joined #nixos
asuryawanshi has joined #nixos
StevenTian has quit [(Client Quit)]
ma27 has quit [(Ping timeout: 248 seconds)]
dieggsy has quit [(Quit: ERC (IRC client for Emacs 27.0.50))]
<adisbladis> joepie91: I had it not working for me for a short while too but then magically started again. Hard to say what it was.
trevorriles has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
trevorriles has joined #nixos
Acou_Bass has quit [(Quit: byeeeeeeeeeeeeeee)]
Acou_Bass has joined #nixos
ma27 has joined #nixos
asuryawanshi has quit [(Ping timeout: 255 seconds)]
StevenTian has joined #nixos
simendsjo has joined #nixos
peacememories has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
ylwghst has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #31135: vim-plugins: add vim-docbk and related snippets (master...docbook-vim-plugins) https://git.io/vFGGr
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 1 new commit to release-17.09: https://git.io/vFGWa
<NixOS_GitHub> nixpkgs/release-17.09 ea890c4 Samuel Leathers: vim-plugins: add vim-docbk and related snippets
NixOS_GitHub has left #nixos []
<infinisil> srhb: Profpatsch just implemented an ADT prototype :D
_rvl has quit [(Quit: ZNC 1.6.5 - http://znc.in)]
<infinisil> srhb: You can probably do what you want with a submodule with password.{safe,unsafe} = foo; and check that not both are given
_rvl has joined #nixos
<Profpatsch> srhb: Yeah, ADTs are coming soon™
dieggsy has joined #nixos
symplectico has quit [(Remote host closed the connection)]
Ramaness has quit [(Ping timeout: 260 seconds)]
prietoj has quit [(Quit: Page closed)]
MercurialAlchemi has quit [(Ping timeout: 246 seconds)]
mizu_no__ has joined #nixos
<Mic92> disasm: I also simplified neovim configuration: https://nixos.wiki/wiki/Docbook_Editor_Configuration
StevenTian has quit [(Quit: Mutter: www.mutterirc.com)]
zbigg has quit [(Ping timeout: 260 seconds)]
thblt has quit [(Ping timeout: 248 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 1 new commit to master: https://git.io/vFG4T
<NixOS_GitHub> nixpkgs/master 7c8ec77 Joerg Thalheim: android-udev-rules: 20171014 -> 20171031
NixOS_GitHub has left #nixos []
leat has quit [(Quit: WeeChat 1.9.1)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 1 new commit to release-17.09: https://git.io/vFG4O
<NixOS_GitHub> nixpkgs/release-17.09 937ea32 Joerg Thalheim: android-udev-rules: 20171014 -> 20171031...
NixOS_GitHub has left #nixos []
mizu_no__ has quit [(Client Quit)]
thblt has joined #nixos
hlavaty has joined #nixos
StevenTian has joined #nixos
ma27 has quit [(Ping timeout: 240 seconds)]
StevenTian has quit [(Client Quit)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej pushed 2 new commits to master: https://git.io/vFGB3
<NixOS_GitHub> nixpkgs/master 8904ce3 Piotr Bogdan: fix source root locations....
<NixOS_GitHub> nixpkgs/master 672efa4 Orivej Desh: Merge pull request #31132 from pbogdan/sourceroot-fixes...
NixOS_GitHub has left #nixos []
StevenTian has joined #nixos
p4cman has joined #nixos
ylwghst has quit [(Quit: Lost terminal)]
ma27 has joined #nixos
<sphalerite> Dezgeg: definitely the right one. But I did just notice that it's not finding the firmware (error -2 which I believe is ENOENT?). Thing is, the firmware is definitely there. Could it be trying to load it before the root filesystem is mounted and udev has told the kernel where to find firmware?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nix] edolstra pushed 3 new commits to master: https://git.io/vFGR2
<NixOS_GitHub> nix/master 3050395 Zoran Plesivčak: Mention "float" type in builtins.typeOf section of the docs...
<NixOS_GitHub> nix/master ae506c1 Zoran Plesivčak: Mention isFloat function in "Built-in Functions" section
<NixOS_GitHub> nix/master ac4a1ef Eelco Dolstra: Merge pull request #1657 from plesiv/docs-typeof-fix...
NixOS_GitHub has left #nixos []
ylwghst has joined #nixos
<sphalerite> I'm still not using an initrd fwiw
ssmike has quit [(Remote host closed the connection)]
ssmike has joined #nixos
Wizek has quit [(Quit: Connection closed for inactivity)]
erasmas has joined #nixos
Ivanych has quit [(Quit: Leaving.)]
Ivanych has joined #nixos
Mrmaxmeier has quit [(Quit: Leaving)]
jensens has quit [(Ping timeout: 260 seconds)]
ylwghst has quit [(Quit: Lost terminal)]
whald has quit [(Ping timeout: 240 seconds)]
hlavaty has left #nixos ["ERC (IRC client for Emacs 25.1.1)"]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] yegortimoshenko opened pull request #31137: rambox: build from source (master...rambox/build-from-source) https://git.io/vFGgT
NixOS_GitHub has left #nixos []
goibhniu has quit [(Remote host closed the connection)]
goibhniu has joined #nixos
zzamboni has quit [(Quit: Leaving.)]
ssmike1 has joined #nixos
zzamboni has joined #nixos
ssmike has quit [(Ping timeout: 246 seconds)]
ssmike1 is now known as ssmike
zzamboni has quit [(Client Quit)]
zzamboni has joined #nixos
waleee has quit [(Quit: WeeChat 1.7)]
freusque has quit [(Quit: WeeChat 1.7.1)]
<sphalerite> nh2: GNU indent is also usable for that
ma27 has quit [(Ping timeout: 240 seconds)]
leat has joined #nixos
person938759 has quit [(Quit: Page closed)]
zzamboni has quit [(Ping timeout: 252 seconds)]
ylwghst has joined #nixos
<disasm> WilliButz: how did you say you disabled xautolock when you have something running?
<WilliButz> disasm: `xautolock -disable`
ylwghst has quit [(Remote host closed the connection)]
<Mic92> globin: I cannot remember, if you were using vim or not: https://nixos.wiki/wiki/Rust#Neovim_Completion2
<disasm> Mic92: what's packages.nixbundle.start do?
<disasm> WilliButz: thanks :)
<WilliButz> no problem :)
<Mic92> disasm: this part of the vim8 package manager. `nixbundle` is a self chosen name. `start` are packages loaded at startup.
<Mic92> I think I also documented this in the manual
<disasm> WilliButz: do you know if it's possible to reload the config without logging out? I did a rebuild switch and changed to 5 mins, but it still does 1 min and have lots of stuff running, so I just disabled for now
<WilliButz> disasm: I think that is a general problem among the systemd user services. so far I found no solution for that
Dj35 has joined #nixos
ambro718 has joined #nixos
digitus has joined #nixos
hellrazo1 has quit [(Quit: WeeChat 1.9.1)]
<Dj35> hey
<Dj35> has anybody experience with setting up nginx with multiple subdomains..?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] adisbladis closed pull request #30794: plasma: 5.11.1 -> 5.11.2 (master...plasma_5_11_2) https://git.io/vFvUj
NixOS_GitHub has left #nixos []
<ArdaXi[m]> Plenty of people I imagine, myself included
<ArdaXi[m]> What's your question?
<Dj35> ok, i'm new to nixos and sometime I don't know how to configure things trough configuration.nix..
<Dj35> mom
hellrazor_m has quit [(Quit: "I fear the day at which our technology surpasses our humanness. On the world there will only be a generation of idiots." - Albert Einstein)]
endformationage has joined #nixos
<Dj35> when i have a configuration like this, i get an acme error
<Dj35> services.nginx = {
<Dj35> enable = true;
<Dj35> clientMaxBodySize = "10G";
<Dj35> recommendedGzipSettings = true;
<Dj35> recommendedOptimisation = true;
<Dj35> recommendedProxySettings = true;
<Dj35> recommendedTlsSettings = true;
<Dj35> virtualHosts = {
<Dj35> "example.com" = {
<Dj35> default = true;
<Dj35> enableACME = true;
<Dj35> forceSSL = true;
<Dj35> locations."/".proxyPass = "http://127.0.0.1:10080";
<Dj35> };
<Dj35> "moodle.example.com" = {
<Dj35> enableACME = true;
<Dj35> forceSSL = true;
<Dj35> locations."/".proxyPass = "http://127.0.0.1:10081";
<ArdaXi[m]> Please don't do that
<Dj35> Ok, sorry
nix-gsc-io`bot has joined #nixos
<adisbladis> Dj35: Use a pastebin service (github gist is good)
<nix-gsc-io`bot> Channel nixos-17.09-small advanced to https://github.com/NixOS/nixpkgs/commit/937ea32f1f (from 77 minutes ago, history: https://channels.nix.gsc.io/nixos-17.09-small)
nix-gsc-io`bot has quit [(Client Quit)]
jb55 has joined #nixos
pxc1 has joined #nixos
<ArdaXi[m]> Okay, that looks decent, what's your issue?
<Dj35> sorry, i'm not much in irc / glitter / whatever channels, but for nixos it seems the only way to get more insights.
<Dj35> except from reading the source ;)
<Dj35> It says that there is an issue with the acme certificate, can't be obtained.. mom i add it to the paste..
snikkers has quit [(Ping timeout: 248 seconds)]
<ArdaXi[m]> If this is your literal NixOS config, that makes sense
<ArdaXi[m]> I'm reasonably confident you don't own example.com, you can only get certificates for domains you own
<ArdaXi[m]> And, specifically, for domains that point at your server
pxc1 has quit [(Ping timeout: 240 seconds)]
nh2 has joined #nixos
mekeor has quit [(Quit: digital revolution = cryptoanarchism + cybercommunism)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej closed pull request #31088: gcc: 5.4.0 -> 5.5.0 (master...update/gcc-5.5) https://git.io/vFObN
NixOS_GitHub has left #nixos []
<Dj35> i just replaced my own domain with example.com
<Dj35> and it's just the nginx part of my config
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] pbogdan opened pull request #31139: build-pecl: honour nativeBuildInputs (master...fix-build-pecl) https://git.io/vFG65
NixOS_GitHub has left #nixos []
Itkovian has joined #nixos
<Dj35> It seems like i get no new certificate from lets encrypt..?!? maybe the nixos-rebuild command tries for every subdomain it finds in the configuration instead of bundling it..?!?
ylwghst has joined #nixos
<sphalerite> Dj35: you do need to have DNS records pointing to the machine that you're running the server on. You may also need to open the relevant firewall ports (80 and 443)
<Dj35> Hmm.. I thought that i've setup an wildcard. i'll check that. thanks.
tgunb has joined #nixos
lfish has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ttuegel opened pull request #31140: dropbox: use buildFHSUserEnv (master...dropbox) https://git.io/vFGXn
NixOS_GitHub has left #nixos []
<lfish> hello I'm having a problem with nix tools error messages. I get "â" instead of the offending code
asuryawanshi has joined #nixos
<lfish> Eg: $nix-instantiate not-here ==> error: getting status of â: No such ...
asuryawanshi has quit [(Remote host closed the connection)]
asuryawanshi has joined #nixos
hotfuzz_ has joined #nixos
ylwghst has quit [(Ping timeout: 248 seconds)]
<Dj35> hmm... the records are there.. any other idea..? is there a possibility to setup letsencrypt seperatly trough configuration.nix and use the certificates in nginx..?!?
hotfuzz has quit [(Ping timeout: 248 seconds)]
thblt has quit [(Ping timeout: 260 seconds)]
<ArdaXi[m]> You get the same error with your actual domain? It's rather hard to debug from here
<ArdaXi[m]> That nginx config sets up a server listening on port 80 for the ACME verification, if that doesn't work it's unlikely doing it manually will
trevorriles has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<Dj35> No, I don't get the same error for only one domain. It's just when adding the second one. yeah.. it's difficult to debug from remote.
ertes-w has quit [(Ping timeout: 258 seconds)]
<Dj35> My first guess was, that is's because the second domain is an sub-domain..
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] rycee pushed 1 new commit to master: https://git.io/vFGDE
<NixOS_GitHub> nixpkgs/master b62992a Casey Ransom: kisslicer: init at 1.6.2
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] rycee closed pull request #30595: kisslicer: init at 1.6.2 (master...kisslicer) https://git.io/vddYL
NixOS_GitHub has left #nixos []
<ArdaXi[m]> I have a certificate for a fourth-level domain, that works fine via LE
<tobiasBora> Hello,
datakurre has joined #nixos
<tobiasBora> Just a question: is nixos stable enough to be used on a server?
damke_ has joined #nixos
<ArdaXi[m]> That is an entirely subjective question, nobody can tell you what "stable enough" means for you
damke has quit [(Ping timeout: 240 seconds)]
<ArdaXi[m]> But generally speaking I'd say yes
<gchristensen> tobiasBora: I know many businesses depend on it for their production
<Dj35> it gives an HTTP1/1 200 response back and then gets an "status=2/INVALIDARGUMENT"
<Dj35> i would also answer: yes
<tobiasBora> ArdaXi[m]: well sometime, some distribution say "please don't use that for a server". Like debian sid for example ;)
<tobiasBora> ok thank you!
<tobiasBora> I'm not yet very familliar with nixos, but I think to remember that it's possible to configure a nixos server using git, is my memory correct?
<ArdaXi[m]> NixOS is configured via text files, text files fit well in Git
<tobiasBora> ok thanks.
stites[m] has joined #nixos
<tobiasBora> Do you have any good document to start with nixos (not just the nix package manager)?
<Mic92> the manual and the wiki
thblt has joined #nixos
periklis has joined #nixos
<Dj35> Thanks ArdaXi. I think I could resolve it, well.. No errors this time.. ;)
<Dj35> I think it has something to do with the "default = true" flag. It seems that the acme service, can't reach the needed url "https://acme-moodle.example.com/.well-known/acme-challenge/". Because everything was redirected to the default entry..
<Dj35> Makes sense..?!?
<Dj35> However.. Thanks for your time. =)
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 1 new commit to master: https://git.io/vFG9l
<NixOS_GitHub> nixpkgs/master 69d0eac Joerg Thalheim: python.pkgs.podcastparser: 0.6.1 -> 0.6.2
NixOS_GitHub has left #nixos []
hotfuzz_ has quit [(Quit: WeeChat 1.9.1)]
asuryawanshi has quit [(Read error: Connection reset by peer)]
asuryawanshi has joined #nixos
<ArdaXi[m]> That does not entirely make sense, `default = true;` only adds `default_server` to the listen directive
erictapen has quit [(Ping timeout: 260 seconds)]
hotfuzz has joined #nixos
trevorriles has joined #nixos
<Dj35> hmm... maybe a race condition..? the server wasn't up at the time lets encrypt asks for the token under the .well_known address, because nginx needs some time for it (like apache) and in the meantime it redirected to the default server..?!?
ssmike has quit [(Ping timeout: 255 seconds)]
<Dj35> I don't know.. as i said i'm new to nixos and i didn't have so much experice with the administration of linux systems. I only know this kind of errors from coding. so i try to explain it in this way..
<ArdaXi[m]> Well, no, if nginx isn't ready it isn't ready, it won't have a default_server at that point either
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] rycee pushed 1 new commit to staging: https://git.io/vFGHf
<NixOS_GitHub> nixpkgs/staging b2e6b56 Robert Helgesson: expat: 2.2.4 -> 2.2.5
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] rycee closed pull request #31107: expat: 2.2.4 -> 2.2.5 (staging...bump/expat) https://git.io/vF3bj
NixOS_GitHub has left #nixos []
ottidmes has joined #nixos
sigmundv has quit [(Ping timeout: 260 seconds)]
<ArdaXi[m]> By the way, as a side note… if you don't want people to know your actual domain you should realise that Let's Encrypt issued certificates are publicly listed
jgertm has joined #nixos
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<ottidmes> Automatic mounting of external devices has been broken on my system for some time now. I have worked around it by explicitly mounting devices or using udiskie from the command line. It worked before without issue, did anybody else ran into this issue? I am using xfce.gvfs and have udisks2 enabled
tgunb has quit [(Ping timeout: 248 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] acowley opened pull request #31141: terminal-notifier: 1.5.0 -> 2.0.0 (master...terminal-notifier-2.0.0) https://git.io/vFGHB
NixOS_GitHub has left #nixos []
<Dj35> =)
damke_ has quit [(Ping timeout: 240 seconds)]
nh2 has quit [(Ping timeout: 248 seconds)]
* nh2[m] sent a long message: nh2[m]_2017-11-02_17:28:34.txt <https://matrix.org/_matrix/media/v1/download/matrix.org/auogpkBHRIkCxeFWEOvFmzoe>
StevenTian has quit [(Quit: Connection closed for inactivity)]
proteusguy has quit [(Ping timeout: 252 seconds)]
tdc__ has quit [(Read error: Connection reset by peer)]
erictapen has joined #nixos
_rht has joined #nixos
periklis has quit [(Ping timeout: 258 seconds)]
<jack[m]> So, I have a set of derivations that can have a *really* expensive (in time and space) output that isn't used all of the time. If I use multiple outputs, I may not have to keep the expensive output around, but I still have to pay for it. If I uses a sub-derivation, then I don't even need to generate it unless something wants it. Other pros/cons?
<tobiasBora> Do you think that nixos+git can replace a tool like Chef/ansible/Salt, or that these two "tools" are supposed to work together?
scribble_ has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ttuegel pushed 2 new commits to master: https://git.io/vFG5h
<NixOS_GitHub> nixpkgs/master 9a9ea65 Thomas Tuegel: dropbox: use buildFHSUserEnv...
<NixOS_GitHub> nixpkgs/master a513c07 Thomas Tuegel: Merge pull request #31140 from ttuegel/dropbox...
NixOS_GitHub has left #nixos []
<gchristensen> tobiasBora: chef ansible and salt don't work on nixos. nixos (and optionally nixops) replaces those tools
patrl has joined #nixos
<Dezgeg> sphalerite: oh right now I remember, was the "VFS: Mounted root" message happening before or after the firmware load failure?
ambro718 has quit [(Ping timeout: 248 seconds)]
<tobiasBora> gchristensen: ok thank you! Do have good documentation to replace chef&cie by nixos, or the manual is enough?
<gchristensen> tobiasBora: the module system just does it by defeault
<rycee> Just discovered that "hashhashhashhashhashhashhashhash" seems to have the right length and characters to be a valid store hash.
<tobiasBora> gchristensen: ok thanks
scribbler has quit [(Ping timeout: 248 seconds)]
<rycee> Now just have to find the right inputs to produce a file `/nix/store/hashhashhashhashhashhashhashhash-name`…
c0bw3b has joined #nixos
<tobiasBora> gchristensen: and it's not even possible to install Chef&cie on nixos to manage others hosts that would run on others systems?
<gchristensen> it is possible
<gchristensen> but they would have a very hard time configuring a nixos systemt
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ttuegel pushed 1 new commit to release-17.09: https://git.io/vFGFI
<NixOS_GitHub> nixpkgs/release-17.09 a02123d Thomas Tuegel: dropbox: use buildFHSUserEnv...
NixOS_GitHub has left #nixos []
<jack[m]> rycee: now just find a derivation that resolves to that...
<gchristensen> tobiasBora: I recommend jumping in feet-first and try nixos :)
<rycee> jack: I'm sure it has something to do with 42.
thblt has quit [(Remote host closed the connection)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vcunat pushed 1 new commit to release-17.09: https://git.io/vFGFM
<NixOS_GitHub> nixpkgs/release-17.09 d9b0bcc Vladimír Čunát: mongodb: fix build with pcre-8.41...
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] grahamc pushed 2 new commits to master: https://git.io/vFGFD
<NixOS_GitHub> nixpkgs/master 500300c Anthony Cowley: terminal-notifier: 1.5.0 -> 2.0.0
<NixOS_GitHub> nixpkgs/master 37c7bb4 Graham Christensen: Merge pull request #31141 from acowley/terminal-notifier-2.0.0...
NixOS_GitHub has left #nixos []
ertes has joined #nixos
<asuryawanshi> Hi
leat has quit [(Quit: WeeChat 1.9.1)]
<asuryawanshi> how do I import etc module in an existing package
<hyper_ch> vbox fails ot buid with kernel_testing :(
mizu_no__ has joined #nixos
madknight has quit [(Ping timeout: 252 seconds)]
<hyper_ch> asuryawanshi: what are you trying to do?
<asuryawanshi> trying to create a file using environment.etc."my.cnf".text
<asuryawanshi> was unsure where would I specify that
<asuryawanshi> may be in the config section
<hyper_ch> does the file exist in the source or do you create it anew?
<asuryawanshi> so it is a mysql config file, which is created by the mysql package
<asuryawanshi> pkgs.myCnf ?
<asuryawanshi> sorry still catching up with Nix terminology
<asuryawanshi> please excuse mistakes :(
<hyper_ch> asuryawanshi: for mysql you can add the changes directly to the configuration.nix
<gchristensen> unfortunately asuryawanshi needs the my.cnf in /etc/
<hyper_ch> then I don't know
<asuryawanshi> I figured out I could do something like this environment.etc."my.cnf".text = "${pkgs.myCnf}";
<asuryawanshi> but I am not sure if pkfs.myCnf is the right way to access it
<gchristensen> it won't be in pkgs unfortunately
<asuryawanshi> but I am not sure if pkgs.myCnf is the right way to access it
<asuryawanshi> `/nix/store/pbcznnsas3p0av3pdrh4afbz5h03lifs-my.cnf`
<asuryawanshi> it seems like
leat has joined #nixos
madknight has joined #nixos
patrl has quit [(Quit: WeeChat 1.9.1)]
goibhniu has quit [(Ping timeout: 248 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej pushed 2 new commits to master: https://git.io/vFGNM
<NixOS_GitHub> nixpkgs/master e18cdf0 Ioannis Koutras: pavucontrol-qt: use libsForQt5.callPackage
<NixOS_GitHub> nixpkgs/master 86b3c73 Orivej Desh: Merge pull request #31009 from jokogr/f/pavucontrol-qt5...
NixOS_GitHub has left #nixos []
c0bw3b has quit [(Quit: http://www.kiwiirc.com/ - A hand crafted IRC client)]
<hyper_ch> Harekiet: *ping*
thblt has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] adisbladis opened pull request #31142: rpm: 4.13.0.1 -> 4.14.0 (master...rpm-4_14_0) https://git.io/vFGAP
NixOS_GitHub has left #nixos []
thblt has quit [(Read error: Connection reset by peer)]
mizu_no__ has quit [(Quit: Computer has gone to sleep.)]
<gchristensen> asuryawanshi: I think I have an idea for you, with a not great solution, but should get you on your way
<asuryawanshi> cool
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vcunat pushed 1 new commit to master: https://git.io/vFGxm
<NixOS_GitHub> nixpkgs/master 0b75c1d Vladimír Čunát: mongodb: fix build with pcre-8.41 via upstream patch
NixOS_GitHub has left #nixos []
acowley_away is now known as acowley
ma27 has joined #nixos
johnw has quit [(Quit: ZNC - http://znc.in)]
Judson1 has joined #nixos
Judson1 is now known as Guest57330
<gchristensen> asuryawanshi: trying to download thinsg to test ... slow internet .... hold tight.
boxofrox has quit [(Ping timeout: 248 seconds)]
<sphalerite> Dezgeg: yeah it does try to load it before it's mounted
<Dezgeg> so there's the problem
johnw has joined #nixos
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-17.09 advanced to https://github.com/NixOS/nixpkgs/commit/c567ec632e (from 20 hours ago, history: https://channels.nix.gsc.io/nixos-17.09)
nix-gsc-io`bot has quit [(Client Quit)]
<sphalerite> Dezgeg: yeah… Is it not possible to delay loading the wireless firmware until the root filesystem is mounted without using an initrd or modules? Or is there maybe a way to retry loading the firmware?
<Dezgeg> no, I think there's the option of a) building the firmware into the kernel itself (I don't know exactly how) b) put only firmware in initrd c) put both modules and firmware on the rootfs
<eacameron> What's best practice for permissions in a web app running behind nginx? The app is a executable (not PHP/Python/Ruby) that is behind nginx. Should the app run as the nginx user?
<cransom> it will run as nginx unless you are doign some setuid changes because it needs to be another user to function.
<gchristensen> ok asuryawanshi ...
<eacameron> cransom: My app has its own systemd service
voice_ftp has joined #nixos
<gchristensen> asuryawanshi: promise me you won't use this for other things...
<eacameron> nginx proxies to it via localhost:port
boxofrox has joined #nixos
<asuryawanshi> ofcourse
<cransom> eacameron: then best practice would be that it would be it's own user.
<eacameron> cransom: Got it. And what about public upload assets? Those need to belong to nginx but the app will create them...
<cransom> eacameron: a shared group between nginx and your app and the files created should be group readable
voiceftp has quit [(Ping timeout: 240 seconds)]
<copumpkin> gchristensen: that's actually prettier than I thought it would be :)
<gchristensen> :)
<gchristensen> asuryawanshi: this parses the ExecStart command, assumes the --defaults-extra-file is the first argument, and then strips the prefix
<eacameron> cransom: Cool. Hmm, how do I create a group that contains both users? I've never done that in nixos
<cransom> eacameron: https://nixos.org/nixos/options.html#users.groups+members
<gchristensen> ok incoming mass rebuilds, heads up
<eacameron> cransom: Oh wow that's easy!
<eacameron> Thanks!
c0bw3b has joined #nixos
<eacameron> gchristensen: We should dub those "Stampedes"
boxofrox has quit [(Ping timeout: 260 seconds)]
<gchristensen> lol
ssmike has joined #nixos
Mateon3 has joined #nixos
<gchristensen> asuryawanshi: any luck?
Mateon1 has quit [(Ping timeout: 240 seconds)]
Mateon3 is now known as Mateon1
lfish has quit [(Quit: Page closed)]
scribble_ has quit [(Remote host closed the connection)]
Neo-- has quit [(Ping timeout: 264 seconds)]
proteusguy has joined #nixos
<gchristensen> trying to fetch bootstrapping tools on free wifi is a bad idea :)
scribbler has joined #nixos
<asuryawanshi> getting the VM up now
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] dtzWill opened pull request #31143: libdwarf: 20161124 -> 20170709 (master...update/libdwarf-20170709) https://git.io/vFZfP
NixOS_GitHub has left #nixos []
<BlessJah> I need a bit help with go package: I need to call extra step before build (go generate)
scribbler has quit [(Ping timeout: 264 seconds)]
<gchristensen> domenkozar: ping to help with a patch
Lisanna has joined #nixos
<asuryawanshi> Graham this works
<asuryawanshi> awesome
<gchristensen> nice!
<asuryawanshi> I can see the mu.cnf
<gchristensen> good luck :)
<asuryawanshi> thanks man
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #31057: musl: 1.1.17 -> 1.1.18 (master...update/musl-1.1.18) https://git.io/vFYM0
NixOS_GitHub has left #nixos []
<gchristensen> I like to help people in #nixos, even/especially coworkers
<gchristensen> feel free to stick around :)
frankpf has joined #nixos
<Lisanna> Hey guys, getting kind of a hopeless error message here ): "error: syntax error, unexpected INT, expecting ID or OR_KW or DOLLAR_CURLY or '"', at (string):6:77"
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #31139: build-pecl: honour nativeBuildInputs (master...fix-build-pecl) https://git.io/vFG65
NixOS_GitHub has left #nixos []
<Lisanna> I've got some nested attrsets, and if I do :p set in nix-repl it fully evaluates it, but if I try to do builtins.attrNames on a certain point in the middle of it it prints an error like that
<Lisanna> I think it might be because I'm using numbers as an attrset's key?
<Lisanna> e.g. "0_1_2_3"
<gchristensen> are you doing literally 0_1_2_3 or "0_1_2_3"?
<Lisanna> according to nix-repl, the latter
<gchristensen> can you paste some code?
<Lisanna> I'm generating the attrsets with setAttrByPath
<Lisanna> ..the code is kind of sprawling and huge
ison111 has joined #nixos
<gchristensen> oh :)
<Lisanna> Just found that if I do attrnames foo.bar."0_1_2_3" it works
<Lisanna> and attrnames foo.bar.0_1_2_3 gives that cryptic error
<LnL> attributes can't start with a digit
<Lisanna> ...ugh, okay, that would explain it then
<Dj35> hello again
<LnL> you have to quote to make that work
<Lisanna> that's annoying
<sphalerite> Sure they can! But you do need to quote them :)
<Lisanna> kind of wish Nix's attrsets could use arbitrary objects as keys, that'd be cool
<Lisanna> then we'd have a real map
tgunb has joined #nixos
<sphalerite> Doesn't work well with laziness, or with functions
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] manveru opened pull request #31145: bundlerEnv: support unicode executables (master...support-bundler-unicode-executables) https://git.io/vFZJN
NixOS_GitHub has left #nixos []
davidak has joined #nixos
<Lisanna> I'm trying to make a thing where all my build products are at the end of a big attrset tree, and the important build options are "keys" in the attrset tree
<gchristensen> anyone know C / feel comfortable fixing a patch against openssl? https://github.com/NixOS/nixpkgs/issues/31144
<Dj35> does anybody know how to setup a reverse proxy to a local port with httpd and multiple sub domains, and maybe can point me to a direction where to find documentation or examples..?
<sphalerite> I want to use kexec so I can iterate on kernel changes faster. I've deactivated prepare-kexec.service so that it uses the kernel and other params I've loaded manually via kexec -l, but systemctl kexec still doesn't work right — it just does what looks like a normal shutdown and then the screen goes black. kexec -e works fine but I do want to shut the system down cleanly…
<gchristensen> Dj35: I don't really know,but it is done inheree: https://github.com/NixOS/nixos-org-configurations/blob/master/delft/hydra-proxy.nix#L49
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #31033: clementine: Added gst-libav plugin (master...fix-clementine-m4a) https://git.io/vFm0s
NixOS_GitHub has left #nixos []
<sphalerite> gchristensen: I'll take a look
<Lisanna> gchristensen: I would but I'm swamped ):
<manveru> zimbatm: https://github.com/NixOS/nixpkgs/pull/31145 can you take a look?
<gchristensen> as someone as someone does :) y'all don't want me writing patches for openssl
ssmike has quit [(Ping timeout: 264 seconds)]
tanonym has joined #nixos
<gchristensen> as long as someone does :) *
<manveru> ah, that patch...
<manveru> wonder what they changed
<gchristensen> seems file = (char *)getenv(X509_get_default_cert_file_env()); to file = (char *)getenv(X509_get_default_cert_file_env());
<gchristensen> (at a minimum)
<manveru> they added a fallback
<LnL> gchristensen: depends on the patch
<sphalerite> nah they just removed a nasty cast from const char* to char*
<gchristensen> oh I copy-pasted the original version twice :)
<sphalerite> yep
<LnL> oh, was getting a bit confused there
<sphalerite> so all it takes is removing the (char*)s from the patch
<gchristensen> oh cool
<manveru> +1 :D
<gchristensen> can y'all review my PR in a moment?
<sphalerite> yep
ylwghst has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] NeQuissimus opened pull request #31146: Kafka: Update + Tests (master...kafka_updates) https://git.io/vFZTP
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] grahamc opened pull request #31147: Upgrade OpenSSL for CVE-2017-3732, CVE-2017-3193 (master...openssl) https://git.io/vFZT1
NixOS_GitHub has left #nixos []
<gchristensen> manveru, sphalerite ^
kiloreux has quit [(Remote host closed the connection)]
<LnL> why does that last getenv still need a cast?
<sphalerite> it doesn't
MP2E has joined #nixos
<gchristensen> manveru, sphalerite please revisit :)
notdaniel has joined #nixos
<gchristensen> it built ok here, look good to merge?
ottidmes has quit [(Quit: WeeChat 1.9)]
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-17.09-small advanced to https://github.com/NixOS/nixpkgs/commit/d9b0bcc1be (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-17.09-small)
nix-gsc-io`bot has quit [(Client Quit)]
<tanonym> I have downloaded tar.gz files of SpiderOak's One backup and Encryptr password manager. Anything specific I need to do to get them working in NixOS? Last time I tried it unpacked them into a directory, but then it could never find the encryptr-bin file that was in the same directory and kept crashing on launch.
<manveru> sure
<gchristensen> okey dokey
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] grahamc closed pull request #31147: Upgrade OpenSSL for CVE-2017-3732, CVE-2017-3193 (master...openssl) https://git.io/vFZT1
NixOS_GitHub has left #nixos []
<manveru> tanonym: haven't tried those, but usually you'll have to patchelf binaries before they'll run on nixos
<tanonym> patchelf?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] grahamc pushed 3 new commits to release-17.09: https://git.io/vFZkS
<NixOS_GitHub> nixpkgs/release-17.09 5fd9037 Graham Christensen: openssl_1_0_2: 1.0.2l -> 1.0.2m...
<NixOS_GitHub> nixpkgs/release-17.09 58d2156 Graham Christensen: openssl_1_1_0: 1.1.0f -> 1.1.0g...
<NixOS_GitHub> nixpkgs/release-17.09 2f472ca Graham Christensen: openssl: fix nix patch for recent update...
NixOS_GitHub has left #nixos []
<manveru> tanonym: basically, write a derivation for it
<tanonym> Slackware tarballs is what I grabbed, figured they'd be the simplest to get working.
<manveru> do they not have source code?
<tanonym> Oh, okay. I think there used to be derivatives in 17.03 but not in the 17.09 that updated to. Or it could be that I'm running a ZFS that's causing the problem.
<tanonym> I believe so, let me check their github.
<sphalerite> building from source is your best bet
<tanonym> Encryptr source is on github.
<sphalerite> (using nix ideally)
<manveru> encryptr is in nixpkgs at least
<manveru> from 2016, so might need some love
<tanonym> Okay, time to beat my head against the documentation until I grok how to write derivations :)
<tanonym> 2.0.x is the latest version you can download from their site. I think they only have the legacy downloads at the moment.
<manveru> also spideroak one is in there
<tanonym> Hmph, figures I'd be searching for the wrong derivation.
<tanonym> nix-env -qa spideroak gets no results.
<manveru> well, if you have nix unstable you can just `nix search spideroak`
<manveru> it definitely shows up there :)
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] MP2E opened pull request #31148: nvidia-x11-stable: 384.90 -> 387.22 (master...nvidia_update) https://git.io/vFZIa
NixOS_GitHub has left #nixos []
<tanonym> Thanks. ^,^
<c0bw3b> you need to allow unfree packages also :)
<tanonym> Currently my nixos is set to use Hummingbird (17.09) as the system updates, but I do have unstable in my nix-channels as well. nix-env -iA unstable.package to get it from the unstable channel, yes?
<tanonym> I have unfree allowed in my configuration.nix
<manveru> no, i meant the unstable version of nix, not nixpkgs :)
<manveru> e.g. nix.package = pkgs.nixUnstable; in your configuration.nix
<tanonym> Okay, slightly confused now.
<tanonym> Ah, okay, I see I have nixpkgs.config.allowUnfree in there.
<manveru> unstable is nix version 1.12, you can check your version with `nix-env --version`
<tanonym> So I need to add a nix.package line in there as well.
<manveru> yeah
<tanonym> nix-env (Nix) 1.11.15
<manveru> also, totally unrelated... who on earth calls their executable 🎉
<tobiasBora> I'm trying to install nix-os on my raspberry pi 1 model A, but I've having some troubles. I just downloaded the file "sd-image-armv6l-linux.img", dd it on the sd card, boot using UART, at the beginning everything seems to work fine, but at the end it stops on "Starting kernel...". Do you know what I missed?
<tobiasBora> (Here are the logs I got using screen: http://paste.debian.net/993935)
<tanonym> No idea what you typed there. All I get is a box with small numbers in it on my HexChat :)
<manveru> exactly :P
scribbler has joined #nixos
catch22 has joined #nixos
ylwghst has quit [(Quit: Lost terminal)]
ylwghst has joined #nixos
<cransom> manveru: these are the same class of people who renamed one of the main servers from 'neo' (because the company was the matrix themed... matrix was hot at the time) to 'ne0'
<tanonym> Okay, I added nix.package = pkgs.nixUnstable to my configuration.nix.
<tanonym> I'm guessing I need to add pkgs.nixUnfree as well?
<manveru> nope
<manveru> you already have nixpkgs.config.allowUnfree = true; right?
<tanonym> Yep.
slyfox has joined #nixos
scribbler has quit [(Ping timeout: 248 seconds)]
<tanonym> I try to use FLOSS when it does the job, but sometimes the free/open source versions just don't cut it or are too glitchy.
<manveru> then you can use `nix search` after you do a `nixos-rebuild switch`
<tanonym> Okiedokie.
Ross has quit [(Ping timeout: 240 seconds)]
boxofrox has joined #nixos
<tanonym> I am assuming I can tell nix to search either unstable or stable now?
Ross has joined #nixos
<manveru> not exactly
<manveru> you can set NIX_PATH to something else, but usually it searches for packages you can actually install without adding another channel
<tanonym> Isn't that what -iA option does? Lets you define which channel to pull the package from?
<tanonym> I could see situations where the unstable is not functioning for me so I'd want to grab an older version.
<manveru> -iA lets you install a package by it's lookup path
<manveru> so if you have channels for unstable/stable, then you can select
<LnL> manveru: huh, an emoji executable!?
<manveru> LnL: aye
<LnL> why...
<manveru> just got that in a bug report: https://github.com/manveru/bundix/issues/19
<manveru> osx rubyists are the craziest people :|
<MP2E> ruby on rails? try ruby on emoji rockets!!
<tanonym> nix-env -iA nixos.firefox grabs from the 17.09 channel, while unstable.firefox grabs from unstable channel?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] basvandijk opened pull request #31149: postage: replaced by pgmanage-10.0.2 (master...pgmanage-10.0.2) https://git.io/vFZt2
NixOS_GitHub has left #nixos []
<manveru> tanonym: that depends on what `nix-channel --list` says
<tanonym> I named unstable unstable and 17.09 nixos in my channels
<disasm> tanonym: depends on your channel setup but yeah
<disasm> tanonym: that will be stable version of firefox in unstable
<LnL> manveru: I would say it's a good sign for bundix if people start filing issues like that
mizu_no__ has joined #nixos
Itkovian has joined #nixos
<manveru> LnL: it's a good sign that it's easy to fix too ;)
<c0bw3b> manveru: oh my that issue .... >_< same "but whyyyy" reaction here
<tanonym> Hm, adding that line borked the rebuild switch
simendsjo has quit [(Quit: ERC (IRC client for Emacs 25.3.1))]
<manveru> tanonym: what does it do?
<tanonym> That's the error it gives me.
<manveru> sounds like a file wasn't downloaded completely?
<tanonym> Odd.
<tanonym> I have had no network interruptions. I'll try again.
<tanonym> Maybe it's this machine. It's kind of wearing out and I'm babying it along as long as I can.
<tanonym> Since I'm too broke to afford a new laptop at the moment, so I try to keep this going as long as I can while I save up.
<manveru> i gotta make some dinner now... see you later
<sphalerite> how do you even type the emoji to run it >_>
<tanonym> UTF-8 or UTF-16 codes?
<infinisil> I actually got an emoji keyboard lol
<tanonym> All emoji and language characters are assigned a unicode code.
<tanonym> Emoji are the new wing-dings
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vcunat closed pull request #30963: pcre: 8.40 -> 8.41 (fixes multiple CVEs) (staging...pcre-8.41) https://git.io/vFtWY
NixOS_GitHub has left #nixos []
mw has joined #nixos
<c0bw3b> and with punycode emojis can also be used in URLs :)
<c0bw3b> pretty sure problems will arise in browser & stuff regarding the handling of that
mizu_no__ has quit [(Quit: Computer has gone to sleep.)]
simendsjo has joined #nixos
<mpickering> I'm interested in trying to fix #10450, are there any examples of similar wrapper scripts which I can learn from?
<simendsjo> Thank god for generations :) I updated my system, which seems to break radeon so I can't log on. Not sure where I should post this.. Github issues? Here? https://gist.github.com/simendsjo/56f5227329b822b3d0b579a1eea602f7
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej closed pull request #28851: gitea module: init at 1.1.3 (master...pr-gitea) https://git.io/v5B0L
NixOS_GitHub has left #nixos []
tanonym has quit [(Ping timeout: 240 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] P-E-Meunier opened pull request #31150: Reintroducing mkRustCrate (master...mkRustCrate) https://git.io/vFZYv
NixOS_GitHub has left #nixos []
erictapen has quit [(Ping timeout: 240 seconds)]
ssmike has joined #nixos
erictapen has joined #nixos
erictapen has quit [(Remote host closed the connection)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] P-E-Meunier closed pull request #24991: Introducing mkRustCrate (master...nix-rust) https://git.io/vSbXx
NixOS_GitHub has left #nixos []
erictapen has joined #nixos
tanonym has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] lheckemann opened pull request #31151: vboot_reference: Update (master...vboot-update) https://git.io/vFZYh
NixOS_GitHub has left #nixos []
Acou_Bass has quit [(Quit: byeeeeeeeeeeeeeee)]
Acou_Bass has joined #nixos
<tobiasBora> No one knows why my raspberry pi hangs on "Starting kernel ..." ?
ssmike has quit [(Ping timeout: 255 seconds)]
simendsjo has quit [(Ping timeout: 240 seconds)]
<tanonym> error: cannot rename '/root/.cache/nix/package-search.json.tmp.7533' to '/root/.cache/nix/package-search.json': No such file or directory
<tanonym> That's the last line after getting the output from a nix search firefox test
simendsjo has joined #nixos
<Dezgeg> tobiasBora: if you don't have a hdmi display I guess you'd need some console=ttyX line on the kernel boot parameters
<tobiasBora> Dezgeg: hum, so it may be normal ? Interesting
<tobiasBora> Dezgeg: What should I put on this which line to get uart display working?
ison111 has quit [(Ping timeout: 240 seconds)]
<Dezgeg> console=ttyAMA0,115200n8 in extlinux.conf on the line with loglevel=4
<tobiasBora> great thank you very much, will try it right now
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] jbboehr opened pull request #31153: phpPackages.apcu: 5.1.2 -> 5.1.8 and enable tests (master...fix/apcu-5.1.8-m) https://git.io/vFZOS
NixOS_GitHub has left #nixos []
ylwghst has quit [(Remote host closed the connection)]
ylwghst has joined #nixos
<tobiasBora> Dezgeg: Great, thank you very much, it's much better now! Thank you very much, can I edit the wiki to explain how to solve this problem?
slabity has joined #nixos
<Dezgeg> sure
<sphalerite> tobiasBora: of course, everyone's wlecome to contirbute to the wiki
<sphalerite> (AFAIK)
<sphalerite> Dezgeg: considering getting another device to help build ARM stuff. Any recommendations?
<slabity> Does anyone have emacs 26 working with nixos yet? I was surprised to find the unstable channel doesn't
<sphalerite> actually, I could try using my old phone
<sphalerite> Because that would totally go well
<slabity> Well, the upstream version
<Dezgeg> I don't actually know much about current devices... my 2 year old jetson-tk1 has served me well
<tanonym> error: cannot rename '/root/.cache/nix/package-search.json.tmp.9218' to '/root/.cache/nix/package-search.json': No such file or directory
<tanonym> Each time I use nix search I get an error like this, but with different json.tmp.$number
simendsjo has quit [(Quit: ERC (IRC client for Emacs 25.3.1))]
<tanonym> Something's missing in my setup, but I can't figure out what it is.
jensbin has joined #nixos
jensbin has quit [(Client Quit)]
notdaniel has quit [(Remote host closed the connection)]
nix-gsc-io`bot has joined #nixos
<srk> sphalerite: odroid xu4 is nice, or anything with SATA
<nix-gsc-io`bot> Channel nixos-17.09 advanced to https://github.com/NixOS/nixpkgs/commit/937ea32f1f (from 5 hours ago, history: https://channels.nix.gsc.io/nixos-17.09)
nix-gsc-io`bot has quit [(Client Quit)]
vinymeuh has joined #nixos
<srk> I've been using novena for building arm stuff, also rpi3s, banana pi m4, ifc6420
<srk> banana pi m4 would be nice but its SATA is limited to 10Mb/s writes, better to run it of nfs..
jb55 has quit [(Ping timeout: 248 seconds)]
simendsjo has joined #nixos
<c0bw3b> srk: have you ever played with a Cubox-i ? I've been curious about those for a while but never got one
wc[m] has left #nixos ["User left"]
acowley is now known as acowley_away
<pmeunier> Hi! Anyone managed to install nixos on a macbook air? No matter what I try, I get a black screen on boot, and nothing else.
<srk> c0bw3b: I was considering using their microSOM to build a board that would fit into lenovo X60
<ylwghst> sphalerite: i ve got CHIP by Next thing co.
<srk> but my only experience with imx6 is with novena
<ylwghst> ylwghst: I havent touched it yet
<sphalerite> oooh there's also my e-reader
<ylwghst> pmeunier:
<ylwghst> pmeunier: which GPU ?
<c0bw3b> oh novena is also imx6 based okay
<pmeunier> ylwghst: seems to be Intel HD Graphics 3000
<ylwghst> ylwghst: sso you are unable to boot from flash drive?
<pmeunier> right
<ylwghst> ylwghst: can you still boot into osx?
<pmeunier> no, because I wiped it, but I successfully installed debian and ubuntu
<ylwghst> pmeunier: can you install Fedora Media Writer?
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<pmeunier> ylwghst: maybe, why?
Fare has joined #nixos
<ylwghst> restore the nixos image using it... then it should work.. it creates efi partition with efi bootloader on thumdrive so even mac can boo it.. i always use it
ThatDocsLady has quit [(Ping timeout: 264 seconds)]
<ylwghst> which NixOS image are you trying boot?
simendsjo has quit [(Quit: ERC (IRC client for Emacs 25.3.1))]
<pmeunier> ylwghst: I've tried several, nixos 17.09 and 18.03, both minimal and graphical
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] manveru opened pull request #31156: numix-gtk-theme: fix hash (master...fix-numix-hash) https://git.io/vFZG3
NixOS_GitHub has left #nixos []
simendsjo has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] sorki opened pull request #31157: [wip] lxcfs,pam: disable cgmanager, enable pam_cgfs, lxcfs 2.0.7 -> 2.0.8 (master...lxcfs_pam_related) https://git.io/vFZGc
NixOS_GitHub has left #nixos []
<ylwghst> pmeunier: can you boot into ssystemd boot loader?
<ylwghst> BRB
ylwghst has quit [(Quit: Lost terminal)]
<pmeunier> I don't know. The only thing I get is the menu letting me choose between the different variants (debug, nomodeset, standard, …)
<pmeunier> then no matter what option I choose, I get a blank screen, and that's all.
<sphalerite> so many options for ARM boards!
ylwghst has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #31143: libdwarf: 20161124 -> 20170709 (master...update/libdwarf-20170709) https://git.io/vFZfP
NixOS_GitHub has left #nixos []
<nliadm> anyone here run gnome3 on nixos?
<srk> Mic92: hey, do you run lxc in production? :)
<Nazral> tf
<tanonym> I tried, but couldn't get it working the last time I tried.
<Nazral> sorry
<nliadm> gsd-datetime is segfaulting for me and that cascades into gnome-session exiting
<srk> switch to minimalistic tiling setup, save yourself bunch of headaches and time
Itkovian has joined #nixos
trevorriles has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<ylwghst> nliadm: I did..
<nliadm> did? you stopped?
<tanonym> Hm, /root/.cache is missing a nix directory.
scribbler has joined #nixos
<tanonym> nix search throws errors about it, would making the directory manually solve the issue?
mahalel_ has quit [(Quit: Leaving.)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej pushed 2 new commits to master: https://git.io/vFZZC
<NixOS_GitHub> nixpkgs/master 0721c1f Michael Fellinger: numix-gtk-theme: fix hash
<NixOS_GitHub> nixpkgs/master cfc778a Orivej Desh: Merge pull request #31156 from manveru/fix-numix-hash...
NixOS_GitHub has left #nixos []
<ylwghst> nliadm: I always liked Gnome a lot but I hate some things of gnome-shell eg. only vertical workspaces and some other stupid things we cant even change so I switched to i3+polybar which is actually amazing :-)
mahalel_ has joined #nixos
<infinisil> tanonym: while that's bad ux, creating it manually would probably solve that
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<Mic92> srk: not exactly production, but > 30 Container on my private server.
<tanonym> Yeah, the manual addition of the directory did deal with the error.
<tanonym> Not ideal, but it works.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej closed pull request #29196: mpich2: 1.4 -> 3.2 (master...mpich2-3.2) https://git.io/v5ixa
NixOS_GitHub has left #nixos []
<tanonym> I'm still looking at grabbing some of the YaST stuff and integrating it so that there's a nice GUI interface for administering a NixOS install.
<srk> Mic92: cool, I'm gonna test the hell out of it now and possibly deploy it as hosts for 1700 containers :)
<tanonym> And it wouldn't have to be nearly as complex as SUSE's version because of how NixOS is :)
<ylwghst> nliadm: hovewer it was wroking quite good on my system
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] jbboehr opened pull request #31158: phpPackages.redis: rev 4a37e4 -> 3.1.4 (master...fix/php-redis-3.1.4-m) https://git.io/vFZZ7
NixOS_GitHub has left #nixos []
<srk> Mic92: everything seems to be working now, unprivileged cts started by lxc user, apparamored, even nesting
<tanonym> I think GNOME 3 now has a classic arrangement as well so you don't have to have the vertical layout from gnome shell.
<Mic92> srk: what do you run as payload?
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-unstable advanced to https://github.com/NixOS/nixpkgs/commit/c2bd98cc30 (from 11 hours ago, history: https://channels.nix.gsc.io/nixos-unstable)
nix-gsc-io`bot has quit [(Client Quit)]
p4cman has quit [(Quit: Connection closed for inactivity)]
<tanonym> Budgie Desktop also makes use of the GNOME stack but is more like how the classic layout was.
<srk> Mic92: templates provided by lxc-create download
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 1 new commit to master: https://git.io/vFZnJ
<NixOS_GitHub> nixpkgs/master c60bee3 Joerg Thalheim: python.pkgs.jsbeautifier: fix name
NixOS_GitHub has left #nixos []
<Mic92> ^ makefu
<makefu> thx :D
<srk> Mic92: we gonna switch to our own set of templates for production and even build bunch of nixos based CTs for managing the rest :)
<tanonym> Blast, nix search isn't returning anything when I search for spideroak
<tanonym> It should be there, other people have found it, so something's glitched on my end.
<Mic92> srk: lxcfs used to be a bit buggy in early versions. But they seem to have found all bugs.
ma27 has quit [(Ping timeout: 240 seconds)]
<ylwghst> tanonym: I haven't triyed it yet.
<srk> Mic92: yeah, last time I've tested it didn't work very well except for master, now it looks like 2.0.8 works well too
<tanonym> I have enabled allowUnfree in my configuration.nix already
<srk> Mic92: but I'm testing on vpsadminos which I'm gonna release now - that is wih possibly different cgroup hierarchies than nixos as I don't have systemd - the reason why I've added the note that pam_cgfs params need to be checked
<Mic92> tanonym: does nox find it?
ambro718 has joined #nixos
<ylwghst> tanonym: In good old days I was very satisfied and happy with good old gnome2 then I started using dock rather then bottom panel with apps windows indicator...
ma27 has joined #nixos
<Mic92> srk: I will test with systemd
<nliadm> okay, I guess I'll have to poke around the coredump, then
<nliadm> is nixos configured to keep coredumps by default?
<Mic92> nliadm: now, but you can enable it
<tanonym> Okay, nix-env -iA unstable.spideroak isn't building. Even though I have enabled unfree in configuration.nix
Itkovian has joined #nixos
<Mic92> nliadm: systemd.coredump.enable = true;
<Mic92> coredumpctl gdb
<tanonym> Just double checked, and yes, I entered the option correctly.
<Mic92> tanonym: unfree option also needs to be in .config/nixpkgs
<tanonym> Huh. Okay.
<Mic92> .config/nixpkgs/default.nix
<Mic92> tanonym: configuration.nix only affects systemPackages
jacob has quit [(Quit: Lost terminal)]
<tanonym> I thought I only had to have it in configuration.nix because I wanted it enabled globally, and I install packages using su for my user anyway.
<Mic92> users can decide this independent.
<tanonym> I search for and install packages as root.
<tanonym> But I'll add the option.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] svanderburg pushed 1 new commit to master: https://git.io/vFZcB
<NixOS_GitHub> nixpkgs/master 5bd4815 Sander van der Burg: nodePackages: remove overrides for non-existent packages
NixOS_GitHub has left #nixos []
scribbler has quit [(Read error: Connection reset by peer)]
<tanonym> Huh, no .config/nixpkgs/config.nix either in my regular user ~ or root's ~ directories.
<tanonym> That's odd.
jb55 has joined #nixos
<Mic92> tanonym: you have to create it
<tanonym> Well then.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] matthiasbeyer closed pull request #28819: svgbobrus: init at 2017-08-29 (master...package-svgbobrus) https://git.io/v5BTB
NixOS_GitHub has left #nixos []
JosW has quit [(Quit: Konversation terminated!)]
Judson is now known as Guest77512
Guest77512 has quit [(Killed (niven.freenode.net (Nickname regained by services)))]
Guest57330 is now known as judson
Judson1 has joined #nixos
<tanonym> That did it.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] svanderburg pushed 1 new commit to release-17.09: https://git.io/vFZCe
<NixOS_GitHub> nixpkgs/release-17.09 27705f5 Sander van der Burg: nodePackages: remove overrides for non-existent packages...
NixOS_GitHub has left #nixos []
<judson> I'm following the introduction of mkRustCrate with some interest, and wondering if there's not room for a working group (or at least a document) about X2Nix style projects
Judson1 is now known as Guest16722
<tanonym> Bit irksome, but now it works.
<judson> Does it make sense to mirror external repos verbatim? Should each Nix expression that wraps an outside repo (Rubygems, crates.io, ...) produce its own "lockfile", or should the package versions be incorporated somehow into the top level?
<judson> (e.g. I opened a PR for jira-cli using pypi2nix, and the only response was "why are you using your own deps instead of the toplevel python.packages?)
<judson> But for Ruby projects, you absolutely do bundix and then use the resultiing gemset.nix for just your project.
<Mic92> judson: python is a bit special
<judson> Mic92: how and why?
<judson> Moreso than nodejs? ;)
<Mic92> judson: ruby has the concept of a lockfile, which python has not. Also ruby can have conflicting versions of libraries in its path, but bundler will select the right one.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] sorki opened pull request #31159: ipmicfg: init at 1.27.0 (master...ipmicfg) https://git.io/vFZC6
NixOS_GitHub has left #nixos []
<Mic92> judson: you cannot generate a nix expression without executing python.
<judson> And all the same, Nix installs of Ruby projects control what gems are available in their closure
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej closed pull request #30103: lsb-release: wrap to ensure needed utilities are available (master...fix/lsb-release-PATH) https://git.io/vd4AU
NixOS_GitHub has left #nixos []
<manveru> judson: each language tends to have special needs... it might be possible to have some common format for output of the 2nix tools, but the way they are created and processed differ a lot
<judson> Mic92: I'm sayin' it seems to me that there's a whole collection of platforms where what you want to do is establish an LDPATH equivalent and run in that, which is strong suit in Nix
<judson> Even absent any technical commonality, it seems like best practices would be good to work on.
<manveru> it'd be nice to simply set RUBYLIB path for example, but a lot of projects depend on bundler, which absolutely requires the Gemfile/Gemfile.lock to be present and matching the versions installed in its own special path
<judson> Does it make sense e.g. to mirror rubygems.org - or to provide nixpkgs developer tooling for collecting gemset.nixes into one set you can select from?
<judson> maveru: believe me: I know!
<manveru> :)
<manveru> and yeah, i've been playing with that
<manveru> but that'd be giving you a binary cache at most, which doesn't provide a whole lot of speedup over the current way
tanonim has joined #nixos
<manveru> though i'd love to have some kind of `nix-shell -i ruby -p pry nokogiri` for example
<tanonim> This laptop is dying.
davidak has quit [(Ping timeout: 240 seconds)]
<tanonim> Dropping connection, pooching builds.
tanonym has quit [(Ping timeout: 240 seconds)]
pie_ has joined #nixos
<pie_> man this looks like a huge pain to install https://anbox.io/
tanonim is now known as tanonym
<tanonym> Seems like a nix-env -i is what keeps booting the connection part way through.
<tanonym> I'll have to wait and try again when I get home with a hard-wire connection.
<manveru> tanonym: always at the same package?
<tanonym> different packages. happened with spideroak and encryptr (nix-env -iA unstable.encryptr)
<tanonym> Trying palemoon.
simendsjo has quit [(Ping timeout: 248 seconds)]
<tanonym> Well, the nix-env -iA unstable.palemoon seems to be working so far.
Neo-- has joined #nixos
<judson> manveru: There's separately some sort of advisory marker between "this is a library, so it makes sense to nix-shell but not nix-env -i" vs. "this is an application"
orivej has quit [(Ping timeout: 248 seconds)]
ma27 has quit [(Ping timeout: 258 seconds)]
<tanonym> Okay, when the connection doesn't drop the build still keeps failing.
<tanonym> building '/nix/store/0pzqr6mbb037qhd7h7z7361db7jdp78q-user-environment.drv'...
<tanonym> error: unexpected EOF reading a line
<tanonym> builder for '/nix/store/0pzqr6mbb037qhd7h7z7361db7jdp78q-user-environment.drv' failed with exit code 1
<tanonym> error: build of '/nix/store/0pzqr6mbb037qhd7h7z7361db7jdp78q-user-environment.drv' failed
asuryawa_ has joined #nixos
<tanonym> Unexpected EOF
<tanonym> Either I really messed something up in my install or something else is going on.
<Lisanna> is there a powerset function available in nixpkgs?
<tanonym> Okay, yeah, it's the EOF error for installs using the -iA flags or just -i flags.
<Lisanna> and/or nix?
<tanonym> Spideroak and Encryptr had dropped connections and the EOF error, nix-env -iA unstable.palemoon and nix-env -i weechat both throw the unexpected EOF error
asuryawanshi has quit [(Ping timeout: 240 seconds)]
<tanonym> Seems like something is corrupted somewhere along the line.
a6a3uh has joined #nixos
asuryawa_ has quit [(Ping timeout: 248 seconds)]
a6a3uh has quit [(Client Quit)]
tgunb has quit [(Quit: Leaving.)]
ma27 has joined #nixos
ylwghst has quit [(Remote host closed the connection)]
dbmikus has quit [(Ping timeout: 240 seconds)]
lassulus has quit [(Changing host)]
lassulus has joined #nixos
<c0bw3b> Could someone merge #20607 ? it's a simple new package and it's working :)
hiratara has quit [(Ping timeout: 252 seconds)]
frankpf has quit [(Ping timeout: 255 seconds)]
lukois has joined #nixos
lukois has left #nixos []
dedeaux has joined #nixos
jb55 has quit [(Ping timeout: 246 seconds)]
hiratara has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] mpickering opened pull request #31160: Add wrapper for idris exe for gcc/gmp runtime deps (master...idris-10450) https://git.io/vFZ4H
NixOS_GitHub has left #nixos []
<pie_> uhh anyone know whats up with this? https://github.com/NixOS/nixpkgs/pull/25015 did the guy just submit an empty pr and thats why its not in unstable>
<pie_> ??
<samueldr> at one point it wasn't empty
ylwghst has joined #nixos
<samueldr> see last comment
<samueldr> the contributor might have renamed the branch or something else
davidak has joined #nixos
jb55 has joined #nixos
<pie_> i saw the last comment but im not sure how im supposed to get it
<samueldr> I don't know for sure, but I'd first try to merge that branch into an up to date 17.09 branch
kuznero has joined #nixos
<samueldr> then, using this branch, I wouldn't know without looking at the available packages and/or nixos modules
dedeaux has quit [(Quit: My MacBook Pro has gone to sleep. ZZZzzz…)]
<pie_> hm
dedeaux has joined #nixos
<kuznero> Evening! Does it make sense to extend dockerTools.pullImage with additional parameter - internal registry to pull images from? That should solve problem with corporate proxy...
nixer has quit [(Ping timeout: 260 seconds)]
dedeaux has quit [(Client Quit)]
chrishill has joined #nixos
<symphorien> kuznero: if you have a proxy you might want to use redsocks
<symphorien> There is even a module for that
<kuznero> symphorien: have never heard of it. Is it part of dockerTools?
<symphorien> It makes a proxy transparent with iptable trickery
<kuznero> Ah, I see
<kuznero> symphorien: I use cntlm proxy
<kuznero> Will it work with sandboxing too? Sounds like a workaround...
S0rin has quit [(Ping timeout: 240 seconds)]
NightTrain has joined #nixos
erictapen has quit [(Ping timeout: 260 seconds)]
vinymeuh has quit [(Quit: Textual IRC Client: www.textualapp.com)]
<symphorien> Not tested with sandboxing but it should work yes
<kuznero> symphorien: thanks, will try
<symphorien> Sandboxed build cant access the network so they don't care about the proxy
S0rin has joined #nixos
erictapen has joined #nixos
mizu_no_oto has joined #nixos
<kuznero> I see.
<c0bw3b> is 'strip' part of stdenv ?
tanonym has left #nixos ["Leaving"]
_rht has quit [(Quit: Connection closed for inactivity)]
<kuznero> symphorien: but then how dockerTools.pullImage suppose to work with sandboxing?
<dtzWill> c0bw3b: yeah, part of binutils
<kuznero> It feels like it simply shouldn't
<symphorien> No idea
<samueldr> fixed point derivations?
<symphorien> I don't use docker :)
<c0bw3b> dtzWill: thanks
<dtzWill> and it's also part of a setup-hook used by default everywhere xD
mizu_no_oto has quit [(Client Quit)]
<dtzWill> but I guess that doesn't mean it's put on your PATH but it does mean avoiding doing so doesn't help build closure .. anyway, pretty sure binutils is 100% part of stdenv :)
kuznero has quit [(Quit: http://www.kiwiirc.com/ - A hand crafted IRC client)]
<samueldr> if you look for outputHash, outputHashAlgo, outputHashMode
<samueldr> that's how url fetching works with the sandbox
<samueldr> it operates outside the sandbox using known values
scribbler has joined #nixos
<mpickering> Is there a link explaining how builtins.match changed in nix 1.12? (referring to issue #28718)
<c0bw3b> dtzWill the fixupPhase is supposed to strip anyway so.. I shouldn't even care about make finding it or not :p
hellrazor_m has joined #nixos
<c0bw3b> I guess that's why I can see many derivation that just pass makeFlags "STRIP="
<samueldr> it may even cause issues when building some software, I don't remember which, but without STRIP=, it wouldn't install
<samueldr> oh, something which I haven't yet taken the time to upstream
davidak has quit [(Quit: Leaving.)]
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
* pie_ pokes Mic92 about the anbox pr?
<kkini> Are there any requirements one has to satisfy before adding oneself to the list of maintainers in nixpkgs? (like how in Debian there's the whole involved process of becoming a Debian Developer)
<dtzWill> first example I looked at that sets "STRIP=" was b/c it expects "STRIP" to be the arguments and STRIP_PROG to be the executable. Dunno, that seems like a strange thing :P
<samueldr> > A list of names and e-mail addresses of the maintainers of this Nix expression. If you would like to be a maintainer of a package, you may want to add yourself to nixpkgs/lib/maintainers.nix and write something like [ stdenv.lib.maintainers.alice stdenv.lib.maintainers.bob ].
<samueldr> looks like there isn't
<dtzWill> it's a pretty low bar
kkini has quit [(Remote host closed the connection)]
<dtzWill> it's like a sign-up sheet for helping thingsg
<Mic92> pie_: you can take the code and open a new pr
kkini has joined #nixos
<dtzWill> oh no bye byte kkini
<dtzWill> welcome back
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] nocent opened pull request #31161: networkmanager: add power saving and mac address randomization options for wifi devices (master...master) https://git.io/vFZE1
NixOS_GitHub has left #nixos []
<samueldr> exactly, you'll be the first one poked when there's an issue with your package :)
simukis has quit [(Ping timeout: 252 seconds)]
<dtzWill> kkini: /topic
<dtzWill> EEP
<> changed the topic of #nixos to: Topic for #nixos is "Need help? Share the output of nix-shell -p nix-info --run nix-info to help us help you. || https://nixos.org || Latest NixOS: https://nixos.org/nixos/download.html || Latest Nix: https://nixos.org/nix/download.html || Logs: https://botbot.me/freenode/nixos/ || #nixos-dev, ##nix-darwin"
<> changed the topic of #nixos to: Topic set by gchristensen!~gchristen@unaffiliated/grahamc on 2017-10-18 23:09:41 UTC
<dtzWill> kkini: https://botbot.me/freenode/nixos/2017-11-02/?msg=93056119&page=14 while you were disconnected
* dtzWill bashful face :3
markus1199 has quit [(Ping timeout: 240 seconds)]
dbmikus has joined #nixos
orivej has joined #nixos
hiratara has quit [(Quit: ZNC - http://znc.in)]
ma27 has quit [(Ping timeout: 240 seconds)]
hiratara has joined #nixos
<kkini> dtzWill: ah, thanks. Not sure why I was disconnecting...
<pie_> Mic92, ok ill try to take a look at it tomorrow, i have no idea what im doing :P
<kkini> my immortal doppelgänger, kini, will be able to see that when I get home from work, though ;)
<dtzWill> oh, hahaha, well hooray
* dtzWill waves to kini
* dtzWill waves to dtz
universalpackage has quit [(Quit: Konversation terminated!)]
dbmikus has quit [(Ping timeout: 248 seconds)]
<ylwghst> anyone know how I can insert non breaking space?
<kkini> Anyway, good to know. I found that a software project I work on has a nixpkgs package that is kind of broken, not to mention rather outdated, so I thought I'd try to fix it up. Seems like I should set myself as a maintainer of the package so I can stay in the loop in the future.
<kkini> ylwghst: insert it where?
markus1189 has joined #nixos
takle has quit [(Remote host closed the connection)]
<ylwghst> kkini: anywhere.. in text editor or gimp
<ylwghst> kkini: i've use control+space on macOS
<ylwghst> d*
<kkini> In Emacs I type `C-x 8 RET` to get a prompt where I can search for the unicode name of whatever character I want to insert, which is handy
<kkini> " " <- a non breaking space, unless my IRC client screws it up
jb55 has quit [(Ping timeout: 258 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nix] 4z3 opened pull request #1660: fetchMercurial: fix error message (master...patch-1) https://git.io/vFZzT
NixOS_GitHub has left #nixos []
<ylwghst> kkini: thx, space you've sent is working
<ylwghst> however i need to bind it to some key..
asuryawanshi has joined #nixos
<orivej> I'm not sure if this is the default, but "right alt", "space", "space" inserts nbsp for me
<kkini> The indentation of with-expressions in Emacs nix-mode strikes me as a bit odd... if I write "with foo;\nbar;" then "bar;" is no more deeply indented than "with foo;"
asuryawanshi has quit [(Ping timeout: 248 seconds)]
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-17.09-small advanced to https://github.com/NixOS/nixpkgs/commit/27705f5490 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-17.09-small)
nix-gsc-io`bot has quit [(Client Quit)]
c0bw3b has left #nixos []
mahalel_ has quit [(Quit: Leaving.)]
Neo-- has quit [(Ping timeout: 264 seconds)]
Gohla has quit [(Ping timeout: 260 seconds)]
<rycee> I'm wrestling a bit with the session dbus in NixOS. Could I get some samples of what NixOS users get when running `echo $DBUS_SESSION_BUS_ADDRESS ; nix-shell -p qt5.qttools.bin --run qdbus | grep systemd1`?
takle has joined #nixos
shymega has quit [(Quit: So long, and thanks for all the talking doors.)]
shymega has joined #nixos
S0rin has quit [(Ping timeout: 248 seconds)]
jtojnar has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] eqyiel opened pull request #31162: awsebcli: fix build and update (master...awsebcli-fixes) https://git.io/vFZVc
NixOS_GitHub has left #nixos []
ylwghst has quit [(Remote host closed the connection)]
ylwghst has joined #nixos
<kkini> Hmm, I guess there are *some* requirements to being a maintainer... https://github.com/NixOS/nixpkgs/commit/96d41e393da3ca27fbcc7c82b7221a5c923460c0
chrishill has quit [(Quit: Leaving)]
hellrazor_m has quit [(Ping timeout: 248 seconds)]
07IABQFMP has joined #nixos
<07IABQFMP> [nixpkgs] orivej closed pull request #31159: ipmicfg: init at 1.27.0 (master...ipmicfg) https://git.io/vFZC6
07IABQFMP has left #nixos []
7JTACTPK8 has joined #nixos
<7JTACTPK8> [nixpkgs] orivej pushed 4 new commits to master: https://git.io/vFZwq
<7JTACTPK8> nixpkgs/master d1491f4 Richard Marko: add sorki to maintainers
<7JTACTPK8> nixpkgs/master 2b37262 Richard Marko: ipmicfg: init at 1.27.0
<7JTACTPK8> nixpkgs/master da067f4 Orivej Desh: ipmicfg: fix style
7JTACTPK8 has left #nixos []
S0rin has joined #nixos
frankpf has joined #nixos
erasmas has quit [(Quit: leaving)]
Itkovian has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] eqyiel opened pull request #31163: flow: 0.57.3 -> 0.58.0 (master...flow-0.58.0) https://git.io/vFZwD
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] c0bw3b opened pull request #31164: htpdate: 1.1.3 -> 1.2.0 (master...pkg/htpdate) https://git.io/vFZre
NixOS_GitHub has left #nixos []
kus_ubuntui686 has joined #nixos
kus_ubuntui686 has quit [(Max SendQ exceeded)]
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
tanonym has joined #nixos
digitus has quit [(Quit: digitus)]
<__monty__> I'm using nix on arch. I source nix.sh in my zshrc and at the end I exec fish. So my interactive shell is fish. The nix.sh script sets NIX_PATH to nixpkgs=...:nixpkgs=... The repetition seems redundant but the real issue is I can't seem to set NIX_PATH, setting it in fish is overridden by the script.
Gohla has joined #nixos
ambro718 has quit [(Ping timeout: 240 seconds)]
babs has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej pushed 4 new commits to master: https://git.io/vFZ61
<NixOS_GitHub> nixpkgs/master 054baf2 Ruben Maher: awsebcli: unbreak after cement update...
<NixOS_GitHub> nixpkgs/master fcf0df2 Ruben Maher: awsebcli: tiny whitespace fix
<NixOS_GitHub> nixpkgs/master 47c000b Ruben Maher: awsebcli: 3.11.0 -> 3.12.0
NixOS_GitHub has left #nixos []
<cement> argh
<clever> cement: ?
<orivej> :)
<cement> that nixpkgs update had the word "cement" in it
<clever> oh, lol
<clever> my irc client only alerts me if my name is at the start of a msg
<kkini> some poor soul in this channel has the nick "so"
<kkini> I can only assume they've turned off nick alerts altogether
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 opened pull request #31165: Mitmproxy (master...mitmproxy) https://git.io/vFZ6N
NixOS_GitHub has left #nixos []
<cement> hopefully
chessai has joined #nixos
<kkini> Is there some way to fetch a URL and just believe whatever hash you get from what you downloaded? Like, say I want a nix expression that downloads the master branch from some github repository. I don't know what the hash is going to be when I get it.
<clever> kkini: builtins.fetchurl will re-download every hour
<kkini> This isn't a big collision issue because I'm not trusting that the hash will be equal to some fixed hash, I'm just trusting that the hash will be equal to whatever it will be equal to
asuryawanshi has joined #nixos
<kkini> clever: I'm not sure I follow... if builtins.fetchurl is the same as pkgs.build-support.fetchurl in nixpkgs, it seems to error out if a hash is not provided
<clever> the one under pkgs needs a hash
<kkini> on second thought, what I say doesn't make sense -- you'd basically have to download the git repo from outside the nix expression, since the derivation hash needs to only depend on the inputs to the expression, right
<kkini> I probably can't have a derivation whose $out depends on stuff that's learned during the computation since that's a side effect
asuryawanshi has quit [(Ping timeout: 248 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej closed pull request #31142: rpm: 4.13.0.1 -> 4.14.0 (master...rpm-4_14_0) https://git.io/vFGAP
NixOS_GitHub has left #nixos []
<clever> kkini: builtins.fetchurl happens at eval time, before it computes $out
<clever> kkini: so every single time you eval the nix, it has to redownload the source (with a 1h cache)
<kkini> Aha, now I see what you were getting at. Perfect!
jb55 has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] NeQuissimus pushed 1 new commit to master: https://git.io/vFZix
<NixOS_GitHub> nixpkgs/master 449a053 Tim Steinbach: linux-copperhead: 4.13.10.a -> 4.13.11.a
NixOS_GitHub has left #nixos []
07IABQF5O has joined #nixos
<07IABQF5O> [nixpkgs] orivej closed pull request #31163: flow: 0.57.3 -> 0.58.0 (master...flow-0.58.0) https://git.io/vFZwD
07IABQF5O has left #nixos []
7JTACTP2E has joined #nixos
<7JTACTP2E> [nixpkgs] orivej pushed 2 new commits to master: https://git.io/vFZPe
<7JTACTP2E> nixpkgs/master 5dc3ea4 Ruben Maher: flow: 0.57.3 -> 0.58.0
<7JTACTP2E> nixpkgs/master 00beaf5 Orivej Desh: Merge pull request #31163 from eqyiel/flow-0.58.0...
7JTACTP2E has left #nixos []
srdqty has quit [(Quit: WeeChat 1.9.1)]