gchristensen changed the topic of #nixos to: NixCon 2018 CfP is now open! https://nixcon2018.org/ || 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://logs.nix.samueldr.com/nixos/ || #nixos-dev, #nix-darwin, #nixos-aarch64, #nixos-chat, #nixcon
phreedom_ has quit [Ping timeout: 250 seconds]
vajralambda has quit [Quit: Page closed]
freeman42x[nix] has quit [Ping timeout: 256 seconds]
zearen has joined #nixos
Guest75007 has joined #nixos
raynold has joined #nixos
jperras has joined #nixos
vasiliy_san has joined #nixos
thc202 has quit [Ping timeout: 240 seconds]
civodul has quit [Ping timeout: 276 seconds]
rardiol1 has quit [Ping timeout: 240 seconds]
igo95862 has joined #nixos
Guest75007 has quit [Ping timeout: 244 seconds]
Guest75007 has joined #nixos
rardiol1 has joined #nixos
Tobba has quit [Ping timeout: 244 seconds]
blankhart has joined #nixos
Guest84207 has quit [Ping timeout: 240 seconds]
neeasade has joined #nixos
timon37 has quit []
rardiol1 has quit [Ping timeout: 240 seconds]
sbdchd has quit [Remote host closed the connection]
rardiol1 has joined #nixos
<rotaerk> remind me not to let my nixpkgs get too far behind >_>
<rotaerk> git bisecting it takes sooo looong
graphene has quit [Remote host closed the connection]
Supersonic112 has joined #nixos
Supersonic has quit [Disconnected by services]
Supersonic112 is now known as Supersonic
graphene has joined #nixos
<{^_^}> Channel nixpkgs-18.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/55e4a4e8cdd (from 2 hours ago, history: https://channels.nix.gsc.io/nixpkgs-18.03-darwin)
andymandias has quit [Ping timeout: 240 seconds]
<infinisil> rotaerk: Let's invent git multisect, where the power of multiple people's machines gets used to accelerate a bisection
<infinisil> Would be interesting to implement
doyougnu has joined #nixos
<joepie91> :P
<infinisil> Hehe of course
lord| has quit [Quit: WeeChat 2.1]
<{^_^}> Channel nixos-18.03-small advanced to https://github.com/NixOS/nixpkgs/commit/55e4a4e8cdd (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-18.03-small)
andymandias has joined #nixos
worldofpeace has quit [Quit: worldofpeace]
<infinisil> Lol, who started not sorting <maintainer-list.nix> alphabetically
ericsagnes has joined #nixos
<infinisil> There's two A-ZA-Z's in there
<rotaerk> heh
Lisanna has quit [Quit: Lisanna]
alex`` has quit [Ping timeout: 240 seconds]
Sonarpulse has quit [Ping timeout: 276 seconds]
andreabe_ has joined #nixos
<infinisil> Found the culprit, it was Profpatsch who apparently used a sorting function which sorts all upper case letters before lower case ones in https://github.com/NixOS/nixpkgs/commit/aa47bac04f0
<joepie91> lol
<acowley> Anyone have any experience with SDL2 (specifically, the sdl2 haskell package) resulting in an error: sdlExceptionCaller = "SDL.Video.createRenderer", sdlFunction = "SDL_CreateRenderer", sdlExceptionError = "Couldn't find matching render driver"
rardiol1 has quit [Ping timeout: 244 seconds]
lord| has joined #nixos
<acowley> It's almost certainly a problem finding an OpenGL driver
<acowley> Yep, some sneaky LD_PRELOAD action made it work
<acowley> Well that's existentially disappointing
<joepie91> acowley: something messing with your LD_LIBRARY_PATH, possibly?
<joepie91> or alternatively the library looking in a fixed path
<acowley> joepie91: My guess is the second one. I notice the ldd output on the executable doesn't mention libGL, so perhaps SDL2 is opening it manually.
<{^_^}> [nixpkgs] @marsam opened pull request #43310 → jbuilder: 1.0+beta20 -> 1.0.0 → https://git.io/fNTAU
<rotaerk> acowley, readelf -d your binary, and check if it has RPATH or RUNPATH set
<rotaerk> just curious
<ToxicFrog> Nooooow I remember why I originally stopped using nixos-unstable
<ToxicFrog> Because when something breaks, I can no longer change my system configuration until it gets fixed
<acowley> rotaerk: RUNPATH does appear in the readelf -d output
<rotaerk> okay, not related to the problem I'm having then
<ToxicFrog> And while stable has the same problem, it breaks a lot less frequently
<rotaerk> I was just curious because RPATH overrides LD_LIBRARY_PATH, while LD_LIBRARY_PATH overrides RUNPATH
<samueldr> ToxicFrog: can't you `nix-channel --rollback`? https://nixos.org/nix/manual/#name-4
<samueldr> (I'm using a git checkout for my systems, so haven't had to do that)
graphene has quit [Remote host closed the connection]
<ToxicFrog> samueldr: hmm. How do I find out what valid values for 'generation' are?
<samueldr> it will go back one if you don't pass a generation
graphene has joined #nixos
<ldlework> ToxicFrog: you can use both at the same time
<ldlework> at least for packages
<ToxicFrog> ldlework: yeah, I did that for a while, and I may have to go back to doing it
<ToxicFrog> I switched completely to unstable because I got tired of having to manually change my channel URLs twice a year
<ldlework> ToxicFrog: do you want the snippet
<ToxicFrog> But this is definitely more annoying
stepcut has joined #nixos
<ToxicFrog> I know how
<ldlework> ok
<ToxicFrog> samueldr: right, but I need to go back more than one
<samueldr> (I don't know, sorry)
<samueldr> well, I don't know the canonical way
<samueldr> under /nix/var/nix/profiles/ are the generations
<samueldr> I don't know the name of the system channels generations though
worldofpeace has joined #nixos
<samueldr> (adding a channel to check)
<clever> ToxicFrog: [root@amd-nixos:~]# nix-env -p /nix/var/nix/profiles/per-user/root/channels --list-generations
<ToxicFrog> There we go
<samueldr> ninja'd
<ToxicFrog> samueldr: thanks
rardiol1 has joined #nixos
Guest75007 has quit [Ping timeout: 240 seconds]
graphene has quit [Remote host closed the connection]
graphene has joined #nixos
<acowley> Well, I fixed my problem, but it involves a patch to the SDL2 derivation in nixpkgs
<acowley> It's just making libGL a propagatedBuildInput rather than a buildInput (still guarded by the openglSupport flag).
<{^_^}> [nixpkgs] @AndersonTorres merged pull request #43210 → cherrytree: 0.38.4 -> 0.38.5 → https://git.io/fNvH3
<{^_^}> [nixpkgs] @AndersonTorres pushed 2 commits to master: https://git.io/fNTAP
<acowley> Can anyone think of a downside in doing that?
<acowley> If not, I can open a PR (or if an SDL2 maintainer is around...)
<clever> acowley: note that propagatedBuildInput's are not available at runtime
<acowley> clever: Oh, well then I don't know why it fixed the problem
<clever> acowley: all that does, is automatically add libGL to the buildInputs of anything that has SDL2 in the buildInputs
<acowley> I guess this shall persist as a nixpkgs mystery then, and hopefully these IRC logs are useful to future people wanting to use SDL2
<clever> setup hooks within libGL still run, and can mutate the stdenv of whatever was depending on SDL2
<clever> but thats all at build time
Sonarpulse has joined #nixos
markus1199 has joined #nixos
<{^_^}> [nixpkgs] @Infinisil opened pull request #43311 → maintainer-list: sort and format → https://git.io/fNTAd
<infinisil> joepie91: rotaerk: ^^
<{^_^}> [nixpkgs] @dtzWill opened pull request #43312 → freecad: fix by using python-enabled boost → https://git.io/fNTAF
markus1189 has quit [Ping timeout: 276 seconds]
doyougnu has quit [Ping timeout: 244 seconds]
orivej has quit [Ping timeout: 240 seconds]
tertle||eltret has joined #nixos
sbdchd has joined #nixos
alexteves has quit [Remote host closed the connection]
sbdchd has quit [Ping timeout: 260 seconds]
<joepie91> acowley: I think that you've probably just inserted a software-rendered libgl?
<joepie91> normally the LD_LIBRARY_PATH also searches in /run/opengl-driver/lib which is where your chosen graphics drivers get symlinked
<joepie91> as libgl is provided by the GPU drivers
<joepie91> acowley: so then your patch would be akin to "always provide software-rendered OpenGL when SDL is used"; which, depending on the path search order, may or may not be a problem :)
stepcut has quit [Remote host closed the connection]
<acowley> joepie91: I don't know! What clever says is surely right, so I'm not going to do anything unless I get a better handle on what's happening.
<clever> acowley: you could try to diff the good and bad derivation, both with `diff -u -r` on the results, and nix-diff on the .drv's
<joepie91> acowley: quickest way to find out whether it forcibly links against software opengl is to look at the libGL that's loaded when running the application and whether it's in 1) the nix store, in a package with 'mesa' in the name, or 2) in /run/opengl-driver (or possibly in a nix store path with a specific vendor's GPU driver, depending on whether symlinks are resolved or not)
<clever> acowley: and check with nix-store -qR to see if libGL is somehow winding up as a runtime dep anyways
<joepie91> acowley: this assumes you *have* a /run/opengl-driver, of course
<clever> acowley: you can check /proc/<PID>/maps to see what libraries it has loaded while running
<clever> just note that the symlinks will be resolved, so you need to read the links in /run/opengl-driver and confirm its loading the right one, one not from -qR
<kalbasit> I'm trying to install `ruby` and `rake` but they both provide `bin/bundle` and so they collide. How to fix it? Why does `rake` provide `bundler` as well?
<clever> kalbasit: you could make an override that joins the 2 packages using buildEnv, and set ignore collisions to true, then install that override instead
<samueldr> or possibly prefer using a nix-shell instead
<clever> yeah, that would also work out well
<acowley> clever, joepie91: thanks for the tips! I have to wrap it up for the time being, but I will investigate further next time I do some maintenance on this project (the ffmpeg-light haskell package).
* clever heads off to bed
<kalbasit> samueldr: clever: but it seems wrong to me that I can't simply install ruby and rake together without having to go through hoops, isnt' it?
<samueldr> it may be, it's weird if both rake and ruby provides bundler's executables
<clever> kalbasit: things like ruby usually arent supposed to be installed
<clever> when using nix
<kalbasit> clever: I don't think that's an assumption a distribution can make. I use Nix as my daily driver on my laptop and I should be able to use ruby/rake when developing ruby projects
<kalbasit> when using Nix of course
<samueldr> runtimes, dependencies (and libs) are usually hidden away
<clever> kalbasit: make a shell.nix that has ruby in the buildInputs, and run nix-shell to get access to ruby
<clever> kalbasit: thats what nix requires, for developing with any language
<samueldr> that's what I do at $work, where we work with ROR
<kalbasit> I see
<clever> it also entirely avoids the problem of different projects needing different versions of ruby
<samueldr> (my colleages too, do so, using nix on macOS and other linux distros)
<clever> nix-shell always provides the one that shell.nix asks for
<kalbasit> `nix-shell` gives me a bash shell not zsh. I found that using `direnv` can be way more pleasant
<clever> not what you happened to install last
<clever> and you reinstall daily to change
<samueldr> IIRC direnv has support for nix, I haven't looked at direnv much though
* clever heads off to bed
<kalbasit> samueldr: yea, I'm currrently using it to dev at work as well
<kalbasit> I guess I'll just remove all programming languages out of my dotfiles and into my individual projects
<samueldr> there's also another bonus, dependencies are harder to "leak in"
<samueldr> e.g. if you start writing something that requires rake, it *has* to be described in the shell.nix (or default.nix)
<kalbasit> samueldr: question since you mentioned your collegues at work. We currently use `asdf` to manage dependencies (everyone is on Mac except for me). How well does NIx work on Mac? Can I easily lock on specific version regardless of which channel they end up using?
<samueldr> works fine-to-great, most issues are teething issues with nix and not issues with nix
<samueldr> and I'd even say teething issues with package management
<samueldr> (one of our dev used windows exclusively beforehand, without package management)
phreedom has quit [Ping timeout: 250 seconds]
<samueldr> before nix 2.0 we were pinning nixpkgs using this method: https://nixos.wiki/wiki/FAQ/Pinning_Nixpkgs
phreedom has joined #nixos
<samueldr> and then we simplified to whatever nix 2.0 added
<rotaerk> nix 2.0 added a simpler way?
* samueldr may be mistaken
<samueldr> ah, that's not the page I was looking for
<samueldr> so yeah, that's the way
<kalbasit> samueldr: I know this might not be feasible, but is there a way to share what you have done at work? I don't feel like re-inventing the wheel :)
<samueldr> almost
<infinisil> rotaerk: builtins.fetchTarball now takes a sha256
<infinisil> Which allows it to not have to download it once again every hour
<rotaerk> oh, didn't realize it used to not do that
<infinisil> Well before you could just pass an url to fetchTarball
<rotaerk> gotcha
<infinisil> builtins.fetchTarball "https://github.com/...";
<infinisil> But now it takes an attrset with { url = "..."; sha256 = "..."; }
<infinisil> Or did it take an attrset before too? I'm not suer
<ldlework> infinisil: it was added at some point
<infinisil> I see
<samueldr> kalbasit: looking at that code, which was written months ago, I would re-do it differently...
<samueldr> hmmm
stepcut has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/17fe19f5bf6 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<samueldr> I'll take a tiny bit of time, and re-write it
andreabe_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
andreabe_ has joined #nixos
<kalbasit> samueldr: I can wait, in the meantime I will move myself leaving everyone else on ASDF
<{^_^}> [nixpkgs] @nicknovitski closed pull request #41001 → yarn2nix: successfully build packages with "@" and "/" in their name → https://git.io/vhTHK
<{^_^}> [nixpkgs] @marsam opened pull request #43313 → boost167: Add lockfree next_prior patch → https://git.io/fNTpt
lassulus_ has joined #nixos
<samueldr> I also generally rely on binstubs inside the project dir to use the `rake` provided by the bundler dependencies
<samueldr> I generally only put ruby itself and native dependencies
<samueldr> (IIRC iconv for nokogiri)
<samueldr> whoops, forgot to finish writing a comment :)
<infinisil> pb
<infinisil> (ignore that)
<samueldr> elementary
<samueldr> (lead)
<infinisil> heh
lassulus has quit [Ping timeout: 256 seconds]
lassulus_ is now known as lassulus
<kalbasit> samueldr: oh nice!
<samueldr> as for *releasing* stuff, I use bundix plain and simply like the README says
<kalbasit> nice
<kalbasit> samueldr: can you expand a bit regarding nixpkgs-version.json?
<samueldr> oh
<samueldr> looks like I forgot to complete *two* comments
<samueldr> I have updated it, kalbasit, it's just like how it's generated here https://nixos.wiki/wiki/FAQ/Pinning_Nixpkgs
<kalbasit> no worries
kamil has joined #nixos
<samueldr> only reason I did that is because I have scripted parts of the nix management inside the repo, I have a script bin/update-channel (iirc) that basically does the nix-prefetch-git
<kalbasit> that’s awesome, thank you samueldr
<kalbasit> oh I see
<samueldr> otherwise, I would have put the information directly in the .nix file
<kalbasit> i’ll probably do the same so I can support installing on CI
<samueldr> (see the `inherit (pinnedVersion) rev sha256`)
<kalbasit> we use CircleCI with custom debian based image today
<samueldr> I have to re-do it, but we use nix-built docker containers on Gitlab CI
<samueldr> works fine
<kalbasit> I’ll probably do the same
<samueldr> I didn't need to learn much about docker, doing it this way :)
<samueldr> I had a friend doing about the same stuff, but with the docker tooling at their work, every pain point they had the nix solution did it better
igo95862 has quit [Remote host closed the connection]
kamil has quit [Ping timeout: 240 seconds]
<infinisil> Except that Nix won't work on Windows
<kalbasit> thankfully, no one uses windows at my company
<samueldr> thankfully, neither at $client
<samueldr> though, AFAIUI, what I'm doing should work fine under WSL
<samueldr> and in any cases, under virtualisation
<infinisil> At one point, my university was distributing an Ubuntu VirtualBox OVA image for an exercise..
lnikkila_ has quit [Ping timeout: 240 seconds]
bgamari has quit [Ping timeout: 260 seconds]
<infinisil> And they wanted us to use that Ubuntu's eclipse installation to develop stuff..
<samueldr> at least it's a sensibly open format, with cross-platform virtualisation support
<samueldr> though ouch, perfs!
<infinisil> Yeah, my laptop chocked, and I tried hard to get it to work with Nix, but I was too inexperienced then, couldn't do it
<infinisil> And all of that because they couldn't get reliable installation instructions for 2 (!) java libraries
* infinisil laughs in Nix
<samueldr> well
<samueldr> I still have this open: https://github.com/NixOS/nixpkgs/issues/34182
<{^_^}> #34182 (by samueldr, open): Package dbeaver using source build
sir_guy_carleton has joined #nixos
<samueldr> I tried soing what was suggested (even before it was) without success :/
<joepie91> infinisil: laughing in Nix... is that like `ha: ha: ha: ha: ha: ha: ha`?
<samueldr> maven is hell
<infinisil> joepie91: Heh nice
<srk> samueldr: +1
<joepie91> fucking hell Oracle
<joepie91> "Some opt-outs may fail due to your browsers cookies settings. If you would like to set opt-out preferences using this tool you must allow third party cookies in your browser settings."
<joepie91> do you... not understand the point of disallowing third-party cookies?
<samueldr> that's... a catch-22?
<joepie91> that took a whole two minutes to disable all the tracking junk on Dyn.com, by the way
<joepie91> which by default is enabled
<joepie91> hello GDPR violation
<worldofpeace> ugh I'm in vala meson hell, I can't even get this to display video https://github.com/elementary/videos :(
<joepie91> also always amusing when I try to read an article concerning GDPR violations, and the site in question violates the GDPR>..
bgamari has joined #nixos
zearen has quit [Ping timeout: 244 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #43314 → yices: 2.5.4 -> 2.6.0 → https://git.io/fNThU
stepcut has quit [Remote host closed the connection]
<worldofpeace> Anyone know if cogl defaults to experimental?
klntsky has quit [Remote host closed the connection]
klntsky has joined #nixos
sbdchd has joined #nixos
worldofpeace has quit [Quit: worldofpeace]
phreedom has quit [Remote host closed the connection]
phreedom has joined #nixos
rprije has joined #nixos
alex`` has joined #nixos
jperras has quit [Ping timeout: 244 seconds]
Guest26247 has quit [Ping timeout: 240 seconds]
<kalbasit> samueldr: is it that hard to install Java apps? On my list of moving to NixOS, I have to get https://www.charlesproxy.com/ working as we use it a lot at work and we share quite a lot of settings
goibhniu1 has joined #nixos
goibhniu has quit [Ping timeout: 256 seconds]
countoren has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @ryantm opened pull request #43315 → treewide: replace search.cpan.org with metacpan.org → https://git.io/fNTjt
blankhart has quit [Quit: WeeChat 1.9.1]
worldofpeace has joined #nixos
<samueldr> kalbasit: in my specific case, it seems to be *only one component* from the eclipse tooling
<samueldr> otherwise, I have no idea
<samueldr> though, as you can also see, using the pre-built binaries do work
shreyansh_k has quit [Quit: EliteBNC 1.6.5 - http://elitebnc.org]
<samueldr> it's *building using maven* that's hard
<samueldr> ah, charles isn't open source, should be a piece of cake to use, hopefully :)
<kalbasit> yea it's not open source
<kalbasit> the tarball has scripts around `java .* tomething.jar` and also a `.so` file
<kalbasit> `libwebp-imageio.so`
worldofpeace has quit [Remote host closed the connection]
worldofpeace has joined #nixos
aarvar has quit [Ping timeout: 244 seconds]
aanderse has quit [Ping timeout: 265 seconds]
Oogieboogie has joined #nixos
Oogieboogie has left #nixos [#nixos]
graphene has quit [Remote host closed the connection]
graphene has joined #nixos
sbdchd has quit [Remote host closed the connection]
vmandela has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #43316 → x2goclient: 4.1.2.0 -> 4.1.2.1 → https://git.io/fNTj1
andymandias has quit [Ping timeout: 260 seconds]
Mateon3 has joined #nixos
Mateon1 has quit [Ping timeout: 244 seconds]
Mateon3 is now known as Mateon1
andymandias has joined #nixos
shreyansh_k has joined #nixos
reinzelmann has joined #nixos
hamishmack has joined #nixos
alexteves has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #43317 → uwsgi: 2.0.17 -> 2.0.17.1 → https://git.io/fNTjA
<{^_^}> [nixpkgs] @r-ryantm opened pull request #43318 → wireguard: 0.0.20180625 -> 0.0.20180708 → https://git.io/fNTjp
reinzelmann has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #43319 → tor: 0.3.3.7 -> 0.3.3.8 → https://git.io/fNkek
tertle||eltret has quit [Quit: Connection closed for inactivity]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #43320 → udisks: 2.7.6 -> 2.7.7 → https://git.io/fNkem
<samueldr> hmmm, adding `depsBuildBuild = [ buildPackages.stdenv.cc ];` to freetype isn't enough for its ./configure to work for cross-compilation
<samueldr> looking at other depsBuildBuild using `buildPackages.stdenv.cc` and they do nothing special
<samueldr> "doesn't work" being /nix/store/4qvrxzxa535y8304mk195x50b6p9607d-binutils-2.30/bin/ld: cannot find crti.o: No such file or directory
Guest49727 is now known as benny
<samueldr> I know (think) this means the linker cannot finds its glibc, but I don't understand why and how to fix this...
<kalbasit> samueldr: added a comment to https://gist.github.com/samueldr/64da1cedcf0f2678a118f5f402858148 mainly wondering about `default.nix` with `mkDerivation` vs `shell.nix` with `mkShell`
<samueldr> AFAIUI, mkShell is a convenience function, you should probably use it
<samueldr> in my particular case, I was using the derivation made from mkDerivation somewhere else
<kalbasit> I see, cool!
<samueldr> as you can see, it is a vararg, with @attrs containing the other attributes you're giving to mkShell
<kalbasit> oh I see, cool
<samueldr> so it's basically "name this `nix-shell` and forbid building"
<kalbasit> that's pretty good, I'll use it and have my custom derivations stored elsewhere
<samueldr> ah! figured out what "inputsFrom" is https://github.com/NixOS/nixpkgs/blob/master/doc/shell.section.md
<samueldr> (weird, a doc section in markdown??!)
orivej has joined #nixos
<kalbasit> `inputsFrom` basically for inheriting `buildInputs` from another Derivation?
<samueldr> yes
Mr_Keyser_Soze has joined #nixos
<samueldr> if you take my minimal default.nix from earlier, use mkShell instead of stdenv.mkDerivation, and put ruby inside of inputsFrom instead of buildInputs, you can look at $buildInputs inside the shell
<samueldr> you'll something equivalent to if you did this:
<samueldr> > ruby.buildInputs
<{^_^}> [ <CODE> <CODE> <CODE> <CODE> <CODE> <CODE> <CODE> ]
<samueldr> hmm, in nix-repl it's «derivation /nix/store/fd19a0pqi051g3j3w06sp8s5x5jl89i5-libffi-3.2.1.drv» [...]
MercurialAlchemi has joined #nixos
<samueldr> > builtins.map (x: x.name) ruby.buildInputs
<{^_^}> [ <CODE> <CODE> <CODE> <CODE> <CODE> <CODE> <CODE> ]
<samueldr> well, now I'm thoroughly confused by the evaluation here
<{^_^}> [nixpkgs] @r-ryantm opened pull request #43321 → wsjtx: 1.9.0 -> 1.9.1 → https://git.io/fNkvI
<samueldr> in nix repl it's: [ "libffi-3.2.1" "ncurses-6.0-20171125" "readline-6.3p08" "zlib-1.2.11" "openssl-1.0.2o" "gdbm-1.14" "libyaml-0.1.7" ]
<samueldr> so inputsFrom may be useful to get a quick environment made for hacking on a project, instead of tracking down its build inputs
<{^_^}> [nixpkgs] @r-ryantm opened pull request #43322 → tio: 1.30 -> 1.31 → https://git.io/fNkvq
Guest26247 has joined #nixos
Sonarpulse has quit [Ping timeout: 240 seconds]
Mr_Keyser_Soze has quit [Quit: Leaving]
Guanin has quit [Ping timeout: 240 seconds]
Copenhagen_Bram has joined #nixos
<Copenhagen_Bram> hello! Can nix compile a package and test if it matches the binary, like the guix challenge command?
<{^_^}> [nixpkgs] @r-ryantm opened pull request #43323 → shairport-sync: 3.1.7 -> 3.2 → https://git.io/fNkvA
Guanin has joined #nixos
<adisbladis[m]> Copenhagen_Bram: `nix-build --check`
justbeingglad has joined #nixos
Guest26247 has quit [Read error: Connection reset by peer]
Guest26247 has joined #nixos
justbeingglad has left #nixos [#nixos]
orivej has quit [Ping timeout: 260 seconds]
sir_guy_carleton has quit [Quit: WeeChat 2.0]
endformationage has quit [Quit: WeeChat 1.9.1]
adisbladis has joined #nixos
mariatsji has joined #nixos
nick_h has joined #nixos
igo95862 has joined #nixos
nick_h has quit [Ping timeout: 260 seconds]
coot has joined #nixos
mariatsji has quit [Remote host closed the connection]
mariatsji has joined #nixos
nick_h has joined #nixos
mariatsji has quit [Ping timeout: 260 seconds]
Guest26247 has quit [Quit: Guest26247]
qualiaqq has joined #nixos
raynold has quit []
hyper_ch2 has joined #nixos
nick_h has quit [Ping timeout: 244 seconds]
leotaku has quit [Ping timeout: 256 seconds]
Ariakenom has joined #nixos
<Izorkin> How toneed to merge PR https://github.com/NixOS/nixpkgs/pull/40686 ?
<{^_^}> #40686 (by Izorkin, open): ssh: custom config key types
nick_h has joined #nixos
leotaku has joined #nixos
nick_h has quit [Ping timeout: 240 seconds]
vmandela has quit [Quit: Leaving]
ckauhaus has joined #nixos
andymandias has quit [Ping timeout: 264 seconds]
ma27 has quit [Quit: WeeChat 2.0]
<{^_^}> [nixpkgs] @matthewbauer merged pull request #43149 → zoom-us: set qt plugin paths in wrapper → https://git.io/fNvat
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/fNkT1
johann__ has joined #nixos
nick_h has joined #nixos
andymandias has joined #nixos
nick_h has quit [Ping timeout: 256 seconds]
ckauhaus has quit []
nick_h has joined #nixos
chimay has joined #nixos
hhes has quit [Ping timeout: 245 seconds]
johann__1 has joined #nixos
nick_h has quit [Ping timeout: 260 seconds]
johann__ has quit [Read error: Connection reset by peer]
rardiol1 has quit [Ping timeout: 244 seconds]
trcc has joined #nixos
nick_h has joined #nixos
hhes has joined #nixos
Ariakenom has quit [Quit: Leaving]
<Profpatsch> infinisil: Yes, the lexical sort of hnix worked this way back then. Not sure if it still does, so maybe piping through hnix again will solve that problem.
<Profpatsch> I guess it just compare
<Profpatsch> *the Haskell library just compares code points for nix symbol names.
<{^_^}> [nixpkgs] @adisbladis merged pull request #43320 → udisks: 2.7.6 -> 2.7.7 → https://git.io/fNkem
<{^_^}> [nixpkgs] @adisbladis pushed 2 commits to master: https://git.io/fNkkx
<Profpatsch> I remember there was some even bigger wtf moment with the way the nix perl library sorts identifiers.
<{^_^}> [nixpkgs] @nlewo pushed 2 commits to master: https://git.io/fNkkj
<{^_^}> [nixpkgs] @nlewo merged pull request #43302 → hyperrogue: init at 10.4j → https://git.io/fNT0p
<{^_^}> [nixpkgs] @r-ryantm opened pull request #43325 → sshguard: 2.1.0 -> 2.2.0 → https://git.io/fNkIe
<{^_^}> [nixpkgs] @Profpatsch merged pull request #43311 → maintainer-list: sort and format → https://git.io/fNTAd
<{^_^}> [nixpkgs] @Profpatsch pushed commit from @Infinisil to master « maintainer-list: sort and format »: https://git.io/fNkIs
nick_h has quit [Ping timeout: 240 seconds]
reinzelmann has joined #nixos
iqubic has joined #nixos
jackdk has quit [Ping timeout: 244 seconds]
<kalbasit> srhb: how to login to the kubernetes cluster as created by `services.kubernetes.roles = [ "master" "node" ];` ? When I run `kubectl get po --all-namespaces` I do not see any of the kube-* pods.
nick_h has joined #nixos
<kalbasit> also I can't see the kube-dns logs `error: You must be logged in to the server (the server has asked for the client to provide credentials ( pods/log kube-dns-5746ddc44f-6gjs5))`
<kalbasit> srhb: could the error be related to https://github.com/kubernetes/kubernetes/issues/63128#issuecomment-384881034 ? I do see deprecated flags
<iqubic> How hard is it to get a Python development environment with TensorFlow and Numpy? Using NixOS 18.03
winem_ has joined #nixos
<iqubic> Is there a tutorial on setting that up?
<adisbladis> iqubic: python3.withPackages(ps: with ps; [ tensorflow numpy ])
<adisbladis> What more than that do you need?
<iqubic> adisbladis: What does that give me?
<adisbladis> iqubic: A python3 with numpy+tensorflow in the env
<iqubic> And then I can just use a python shell and just expect tensorflow and numpy to be installed and working?
<adisbladis> Yeah
<sphalerite> yes, unless they require additional config
<adisbladis> I mean.. I dont know anything in particular about tensorflow
<adisbladis> But that's the general idea
Ariakenom has joined #nixos
nick_h has quit [Ping timeout: 240 seconds]
qualiaqq has quit [Quit: zzz]
<iqubic> Well I also want tensorboard to be able to visualize the neural nets I create. How hard is it to get that going?
<iqubic> I see this in the package list: "python3.6-tensorflow-tensorboard-1.5.1"
<iqubic> Maybe that will be help me.
pie_ has joined #nixos
Xal has quit [Ping timeout: 240 seconds]
mmercier_ has joined #nixos
nick_h has joined #nixos
wgas has joined #nixos
__Sander__ has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #43327 → qalculate-gtk: 2.6.0 -> 2.6.1 → https://git.io/fNktk
nick_h has quit [Ping timeout: 256 seconds]
palo has quit [Ping timeout: 268 seconds]
nick_h has joined #nixos
palo has joined #nixos
palo has quit [Changing host]
palo has joined #nixos
Lisanna has joined #nixos
<Lisanna> >tfw you have to convert all of your nix logic into bash to avoid an import-from-derivation
nick_h has quit [Ping timeout: 240 seconds]
<ldlework> why would you want to avoid that
<{^_^}> [nixpkgs] @Profpatsch merged pull request #43197 → buildah: 0.12 -> 1.1 → https://git.io/fNvy8
<{^_^}> [nixpkgs] @Profpatsch pushed commit from @nlewo to master « buildah: 0.12 -> 1.1 »: https://git.io/fNkqG
<Lisanna> ldlework hydra does not handle IFDs very well
<ldlework> hopefully i'll remember that if i ever use hydra
<Lisanna> having to convert from high-level very nice functional nix code to desperate string parsing in bash and python
<Lisanna> lol
<elvishjerricco> Lisanna: I use IFD with hydra pretty often
thc202 has joined #nixos
Turion has joined #nixos
<{^_^}> [nixpkgs] @adisbladis opened pull request #43328 → WIP: buildGoPackage: Dont copy sources to $out → https://git.io/fNkqX
<Lisanna> elvishjerricco so your hydra does all its work in the evaluator?
<woffs> (what's IFD?)
<Lisanna> 'cause mine will if do an IFD here
nick_h has joined #nixos
<Lisanna> I have like 500 hydra jobs, each one is a test. I want to import the test results into my nix code and do high-level processing with them. But this would just cause all the tests to be run during evaluation time, losing all ability to track build progress
iqubic` has joined #nixos
<elvishjerricco> Lisanna: Yea IFDs get delegated to build machines. Otherwise we wouldn't be able to use callCabal2nix in the Darwin expressions
<vaibhavsagar> woffs: Import From Derivation
<elvishjerricco> Dunno about tracking like that though
logzet has joined #nixos
<Lisanna> elvishjerricco I'm sure they get delegated out correctly, but hydra won't show those as running jobs
<elvishjerricco> Ah I see
<Lisanna> making hydra no more useful than nix-build + cron
<vaibhavsagar> .IFD
wgas has left #nixos ["Leaving"]
<elvishjerricco> Lisanna: Maybe do the processing in another pure language like Haskell so it's just another job?
Guest75007 has joined #nixos
<Lisanna> elvishjerricco closest thing I've got for that is python, don't know haskell and this needs to be done yesterday
betaboon has joined #nixos
iqubic has quit [Ping timeout: 276 seconds]
nick_h has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @peti merged pull request #43271 → all-cabal-hashes: update snapshot to Hackage at 2018-07-03T07:36:18Z → https://git.io/fNUmT
<{^_^}> [nixpkgs] @peti pushed 2 commits to release-18.03: https://git.io/fNkm3
<elvishjerricco> Lisanna: Python is still probably better than bash :P
<adisbladis> Nothing wrong with a bit of fast and loose python hacking
rprije has quit [Remote host closed the connection]
rprije has joined #nixos
nick_h has joined #nixos
igo95862 has quit [Quit: igo95862]
MarcWeber has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #43284 → Typo in nixos/tests/taskserver.nix → https://git.io/fNUNp
<{^_^}> [nixpkgs] @xeji pushed commit from @OliverEvans96 to master « nixos/tests/taskserver: fix typos (#43284) »: https://git.io/fNkmj
rprije has quit [Read error: Connection reset by peer]
rprije has joined #nixos
Ariakenom has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #43329 → olm: 2.2.1 -> 2.3.0 → https://git.io/fNkYk
Ariakenom has joined #nixos
jensens has joined #nixos
nick_h has quit [Ping timeout: 260 seconds]
timon37 has joined #nixos
<Lisanna> "the filesystem is a perfectly fine dictionary" mumbles to self
nick_h has joined #nixos
civodul has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #43318 → wireguard: 0.0.20180625 -> 0.0.20180708 → https://git.io/fNTjp
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « wireguard: 0.0.20180625 -> 0.0.20180708 (#43318) »: https://git.io/fNkOC
<{^_^}> [nixpkgs] @pSub merged pull request #43238 → triggerhappy: init at 0.5.0 → https://git.io/fNfnH
<{^_^}> [nixpkgs] @pSub pushed 2 commits to master: https://git.io/fNk3J
nick_h has quit [Quit: WeeChat 2.1]
krav1 has joined #nixos
Guest75007 has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #43330 → pagemon: 0.01.13 -> 0.01.14 → https://git.io/fNk3X
krav1 is now known as krav_
Guest75007 has joined #nixos
buzzmaster[m] has joined #nixos
alexteves has quit [Remote host closed the connection]
npmccallum has joined #nixos
ajs124 has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #43331 → mlt: 6.8.0 -> 6.10.0 → https://git.io/fNkGJ
<{^_^}> [nixpkgs] @adisbladis pushed to master « coredns: Fix hash »: https://git.io/fNkGm
xy2_ has joined #nixos
ThatDocsLady has quit [Quit: Leaving]
vasiliy_san has quit [Quit: Connection closed for inactivity]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #43332 → libndctl: 61.1 -> 61.2 → https://git.io/fNkGb
npmccallum has quit [Ping timeout: 244 seconds]
ThatDocsLady has joined #nixos
phreedom has quit [Remote host closed the connection]
phreedom has joined #nixos
adisblad` has joined #nixos
Guest75007 has quit [Ping timeout: 244 seconds]
adisbladis has quit [Ping timeout: 268 seconds]
Guest75007 has joined #nixos
andreabe_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @peti pushed to master « haskell-stylish-cabal: build needs hspec < 2.5 to succeed »: https://git.io/fNkZ2
adisblad` has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @FRidh pushed to master « freecad: fix build, closes #43305 »: https://git.io/fNkZX
<{^_^}> [nixpkgs] @FRidh closed pull request #43312 → freecad: fix by using python-enabled boost → https://git.io/fNTAF
FRidh has joined #nixos
npmccallum has joined #nixos
knupfer has joined #nixos
orivej has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #43330 → pagemon: 0.01.13 -> 0.01.14 → https://git.io/fNk3X
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « pagemon: 0.01.13 -> 0.01.14 (#43330) »: https://git.io/fNknK
chimay has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #43333 → libpoly: 0.1.4 -> 0.1.5 → https://git.io/fNknF
<{^_^}> [nixpkgs] @FRidh merged pull request #43316 → x2goclient: 4.1.2.0 -> 4.1.2.1 → https://git.io/fNTj1
<{^_^}> [nixpkgs] @FRidh pushed 2 commits to master: https://git.io/fNknN
<{^_^}> [nixpkgs] @andrestylianos opened pull request #43334 → joker: 0.9.3 -> 0.9.4 → https://git.io/fNknx
<{^_^}> [nixpkgs] @FRidh merged pull request #43327 → qalculate-gtk: 2.6.0 -> 2.6.1 → https://git.io/fNktk
<{^_^}> [nixpkgs] @FRidh pushed 2 commits to master: https://git.io/fNkce
chimay has joined #nixos
<{^_^}> [nixpkgs] @FRidh merged pull request #43322 → tio: 1.30 -> 1.31 → https://git.io/fNkvq
<{^_^}> [nixpkgs] @FRidh pushed 2 commits to master: https://git.io/fNkcq
<{^_^}> [nixpkgs] @FRidh merged pull request #43156 → sysbench: 1.0.14 -> 1.0.15 → https://git.io/fNvo3
<{^_^}> [nixpkgs] @FRidh pushed 2 commits to master: https://git.io/fNkcn
Turion has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #43335 → liquibase: 3.6.1 -> 3.6.2 → https://git.io/fNkcC
<{^_^}> [nixpkgs] @FRidh merged pull request #43172 → mopidy-soundcloud: 2.0.2 -> 2.1.0 → https://git.io/fNvXH
<{^_^}> [nixpkgs] @FRidh pushed 2 commits to master: https://git.io/fNkcW
rprije has quit [Read error: Connection reset by peer]
rprije has joined #nixos
<{^_^}> [nixpkgs] @FRidh merged pull request #43181 → lynis: 2.6.5 -> 2.6.6 → https://git.io/fNv1E
<{^_^}> [nixpkgs] @FRidh pushed 2 commits to master: https://git.io/fNkcB
<{^_^}> [nixpkgs] @FRidh merged pull request #43317 → uwsgi: 2.0.17 -> 2.0.17.1 → https://git.io/fNTjA
<{^_^}> [nixpkgs] @FRidh pushed 2 commits to master: https://git.io/fNkca
graphene has quit [Remote host closed the connection]
graphene has joined #nixos
<{^_^}> [nixpkgs] @peti pushed 4 commits to master: https://git.io/fNkcy
<{^_^}> [nixpkgs] @offlinehacker opened pull request #43336 → prometheux-jmx-httpserver: init at 0.10 → https://git.io/fNkch
orivej has quit [Ping timeout: 240 seconds]
graphene has quit [Remote host closed the connection]
graphene has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #43334 → joker: 0.9.3 -> 0.9.4 → https://git.io/fNknx
<{^_^}> [nixpkgs] @xeji pushed commit from @andrestylianos to master « joker: 0.9.3 -> 0.9.4 (#43334) »: https://git.io/fNkCZ
toby1851 has quit [Ping timeout: 240 seconds]
sigmundv has joined #nixos
rprije has quit [Read error: Connection reset by peer]
<joepie91> !m FRidh
<[0__0]> You're doing good work, FRidh!
orivej has joined #nixos
rprije has joined #nixos
<{^_^}> Channel nixpkgs-18.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/cdc2ab971b4 (from 2 hours ago, history: https://channels.nix.gsc.io/nixpkgs-18.03-darwin)
philippD has joined #nixos
Ariakenom has quit [Ping timeout: 244 seconds]
<{^_^}> [nixpkgs] @xeji merged pull request #43186 → miniupnpd: 2.1 -> 2.1.20180706 → https://git.io/fNvMk
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « miniupnpd: 2.1 -> 2.1.20180706 (#43186) »: https://git.io/fNkCS
<{^_^}> [nixpkgs] @r-ryantm opened pull request #43337 → memcached: 1.5.8 -> 1.5.9 → https://git.io/fNkCy
neeasade has quit [Ping timeout: 240 seconds]
ajs124 has left #nixos [#nixos]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #43338 → mate.mate-utils: 1.20.1 -> 1.21.0 → https://git.io/fNkWL
Xal has joined #nixos
ajs124 has joined #nixos
__monty__ has joined #nixos
phdoerfler has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #43207 → ephemeralpg: 2.2 -> 2.5 → https://git.io/fNv9M
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « ephemeralpg: 2.2 -> 2.5 (#43207) »: https://git.io/fNkWi
<{^_^}> [nixpkgs] @xeji merged pull request #43329 → olm: 2.2.1 -> 2.3.0 → https://git.io/fNkYk
<{^_^}> [nixpkgs] @xeji pushed 3 commits to master: https://git.io/fNkWP
<{^_^}> [nixpkgs] @xeji pushed 2 commits to master: https://git.io/fNkWM
<{^_^}> [nixpkgs] @xeji merged pull request #43332 → libndctl: 61.1 -> 61.2 → https://git.io/fNkGb
ajs124 has left #nixos ["Stream closed by us: Timed out waiting for stream resumption (connection-timeout)"]
ajs124 has joined #nixos
trcc has quit [Remote host closed the connection]
trcc has joined #nixos
simukis has joined #nixos
ericsagnes has quit [Ping timeout: 240 seconds]
trcc has quit [Ping timeout: 244 seconds]
Ridout has joined #nixos
<{^_^}> [nixpkgs] @FRidh merged pull request #43337 → memcached: 1.5.8 -> 1.5.9 → https://git.io/fNkCy
<{^_^}> [nixpkgs] @FRidh pushed 2 commits to master: https://git.io/fNklD
Thra11 has joined #nixos
<{^_^}> [nixpkgs] @FRidh merged pull request #43335 → liquibase: 3.6.1 -> 3.6.2 → https://git.io/fNkcC
<{^_^}> [nixpkgs] @FRidh pushed 2 commits to master: https://git.io/fNkl5
phreedom has quit [Remote host closed the connection]
phreedom has joined #nixos
rprije has quit [Ping timeout: 264 seconds]
Ariakenom has joined #nixos
rprije has joined #nixos
humanoyd has joined #nixos
trcc has joined #nixos
spear2 has quit [Quit: Leaving]
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/c93c788cde2 (from 63 minutes ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
shad has quit [Ping timeout: 276 seconds]
johann__1 has quit [Quit: Leaving.]
johann__ has joined #nixos
<{^_^}> [nixpkgs] @nlewo merged pull request #43218 → whitebox-tools: init at 0.9.0 → https://git.io/fNv5l
<{^_^}> [nixpkgs] @nlewo pushed 2 commits to master: https://git.io/fNkBJ
mmercier_ has quit [Quit: mmercier_]
<{^_^}> [nixpkgs] @nlewo merged pull request #43278 → kail: init at 0.6.0 → https://git.io/fNUzy
<{^_^}> [nixpkgs] @nlewo pushed 2 commits to master: https://git.io/fNkBG
goibhniu1 is now known as goibhniu
init_6 has joined #nixos
ma27 has joined #nixos
fendor has joined #nixos
fendor has quit [Read error: Connection reset by peer]
fendor has joined #nixos
justbeingglad has joined #nixos
justbeingglad has left #nixos [#nixos]
mmercier_ has joined #nixos
Guest75007 has quit [Quit: WeeChat 2.0]
ericsagnes has joined #nixos
ThatDocsLady_ has joined #nixos
alex`` has quit [Ping timeout: 240 seconds]
ThatDocsLady has quit [Remote host closed the connection]
<ij> I am not mistaken in thinking that heroku toolbelt's is not packaged, right?
<{^_^}> [nixpkgs] @r-ryantm opened pull request #43340 → harfbuzz-icu: 1.8.1 -> 1.8.2 → https://git.io/fNk0X
<{^_^}> #42869 (by domenkozar, open): heroku: 3.43.16 -> 7.5.7
<ij> all the bots have smiley-face nicks, nice :)
fendor has quit [Ping timeout: 268 seconds]
fendor has joined #nixos
chimay has quit [Quit: WeeChat 2.1]
<Dezgeg> when they turn into angry faces it's time to start planning for the escape
johann__ has quit [Quit: Leaving.]
fractalcat has quit [Quit: WeeChat 2.1]
jluttine has quit [Ping timeout: 264 seconds]
phdoerfler has quit [Quit: Leaving.]
jluttine has joined #nixos
<joepie91> lol
alex`` has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #43342 → harfbuzz: 1.8.1 -> 1.8.2 → https://git.io/fNkuE
fendor has quit [Ping timeout: 276 seconds]
Ridout has quit [Quit: Lost terminal]
fendor has joined #nixos
ma27 has quit [Quit: WeeChat 2.0]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #43343 → folly: 2018.06.25.00 -> 2018.07.09.00 → https://git.io/fNkzN
<{^_^}> [nixpkgs] @r-ryantm opened pull request #43344 → frostwire-bin: 6.6.7 -> 6.7.0 → https://git.io/fNk2J
justbeingglad has joined #nixos
justbeingglad has left #nixos [#nixos]
<WilliamHamilton> I was trying to update the derivation for the pakcs curry compiler, which is currently broken in unstable
<WilliamHamilton> here's the modification I came up https://gist.github.com/e2cc01a15eea75d09cbad5cb148e8641
<WilliamHamilton> basically updating the sha to the new version, and updating the haskell library dependencies and versions
<WilliamHamilton> however, that expression fails, and I'd like some help in debugging
<{^_^}> [nixpkgs] @r-ryantm opened pull request #43345 → s3fs: 1.83 -> 1.84 → https://git.io/fNkaI
<WilliamHamilton> the last lines of the error are https://gist.github.com/635e5b20d0fa6cf1d14e2ac062c74e83
<gchristensen> oy, should hardware.opengl.driSupport be enabled by default? seems weird
<WilliamHamilton> and I suppose they refer to the patches in https://github.com/NixOS/nixpkgs/tree/master/pkgs/development/compilers/pakcs
ericsagnes has quit [Ping timeout: 248 seconds]
<clever> gchristensen: that is strange
phdoerfler has joined #nixos
lnikkila_ has joined #nixos
xy2_ has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #43346 → fanficfare: 2.26.0 -> 2.27.0 → https://git.io/fNkaF
rardiol1 has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #43347 → flow: 0.75.0 -> 0.76.0 → https://git.io/fNkVu
lnikkila_ has quit [Ping timeout: 260 seconds]
<WilliamHamilton> how do I produce a file which has the same format of https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/compilers/pakcs/adjust-buildsystem.patch?
<infinisil> <pakcs>
<WilliamHamilton> I tried diff, but it doesn't do that
<etu> WilliamHamilton: Looks like a git diff
<__monty__> WilliamHamilton: Maybe diff -u? Can't take a look at the file rn but it's a very common format.
<etu> WilliamHamilton: or, it says at the top of the file how it was made
<etu> "diff -Naur"
<WilliamHamilton> ooh, thanks, that's it!
Guest26247 has joined #nixos
init_6 has quit []
<{^_^}> Channel nixos-18.03-small advanced to https://github.com/NixOS/nixpkgs/commit/cdc2ab971b4 (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-18.03-small)
blankhart has joined #nixos
ericsagnes has joined #nixos
lnikkila_ has joined #nixos
Coyin has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #43348 → clipster: 1.5.0 -> 2.0.0 → https://git.io/fNkwF
sam__ has joined #nixos
Guest26247 has quit [Ping timeout: 240 seconds]
phdoerfler has quit [Quit: Leaving.]
ckauhaus has joined #nixos
<gchristensen> oh cool, etu
<gchristensen> I usually do the hack way where I commit all the stuff in to a git repo, apply my changes, and do `git format-patch -1` :P
<{^_^}> [nixpkgs] @r-ryantm opened pull request #43349 → containerd: 1.1.0 -> 1.1.1 → https://git.io/fNkoI
<WilliamHamilton> with this patch https://gist.github.com/94d8a7e2e2b697d14ab272ead16b7c9b in place of the original, the build mostly goes through, but I still get
<WilliamHamilton> error: getting status of '/nix/store/wwz1pv21mmx0xnxhah46ak3yc6l3g79g-pakcs-2.0.2/bin/cymake': No such file or directory
<etu> gchristensen: I quite often just edit a file that is staged in git and do a git diff and you get an output that works with diff :p
<etu> gchristensen: No need to commit it
<gchristensen> oh nice
<WilliamHamilton> and I wonder why, because in the default.nix there is
<WilliamHamilton> got it, the haskell package curry-front does no longer expose a cymake program
<infinisil> ,locate bin cymake
<{^_^}> Couldn't find any packages
xy2_ has joined #nixos
<Taneb> Is it possible for a nix derivation to make a temporary directory that's around for a whole build/shell?
dj_goku has joined #nixos
alexteves has joined #nixos
<clever> Taneb: nix-build always does that
<Taneb> (I'm making a Plan to improve the Agda support in nixpkgs)
<Taneb> clever: oh really?
<Taneb> Even for nix-shell?
<clever> Taneb: every nix build happens in a directory under /tmp/ that is auto-created, and deleted when the build finishes
<WilliamHamilton> infinisil: what are the commands you're issuing?
tzemanovic has quit [Ping timeout: 244 seconds]
<clever> Taneb: only nix-build, not nix-shell
<Taneb> I want this for nix-shell as well, eventually (and probably a separate directory)
<{^_^}> [nixpkgs] @r-ryantm opened pull request #43351 → dovecot: 2.3.2 -> 2.3.2.1 → https://git.io/fNkK2
<clever> Taneb: you could use a shellHook for that
<Taneb> So, Agda expects there to be a directory $AGDA_DIR with a file that specifies where to find libraries
<Taneb> The alternative is making a wrapper for the agda executable that passes them in as flags
tzemanovic has joined #nixos
<clever> Taneb: you can easily have a derivation that generates that directory, and then set that as an attribute in the derivation you run nix-shell on
<clever> Taneb: AGDA_DIR = makeAgdaDir [ package1 package2 package2 ];
<Taneb> Yeah, that's a good way to do it
logzet has quit [Ping timeout: 240 seconds]
logzet has joined #nixos
<infinisil> WilliamHamilton: the bot has a command ,locate to find files in packages, ,locate bin for binaries. But it seems that such a binary can't be found anywhere
<WilliamHamilton> infinisil: the new name would be curry-frontend
<WilliamHamilton> ,locate bin curry-frontend
<{^_^}> Couldn't find any packages
<infinisil> WilliamHamilton: It's backed by nix-index, which I recommend to install locally
<WilliamHamilton> installing right now! so the local invocation would be nix-index bin curry-frontend?
<infinisil> nix-index to make an index, nix-locate to find stuff
<WilliamHamilton> very good, thanks
<__monty__> Do you have to keep the index up to date manually?
<infinisil> __monty__: Currently yes
<infinisil> Well I haven't updated it after I set it initially tbh, I should probably do that, or automate it
vmandela has joined #nixos
MercurialAlchemi has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #43352 → e2fsprogs: 1.44.2 -> 1.44.3 → https://git.io/fNkiP
telent has joined #nixos
<WilliamHamilton> infinisil: what's the process of constructing a derivation like the one in <pakcs>? I'd like to do it from scratch, as I find difficult to understand what I should patch
<__monty__> ,locate dhall
<{^_^}> Found in packages: dhall
<WilliamHamilton> given that fsrc seems to be the pakcs source? How does nix know that he should look in the /frontend/curry-frontend subdirectory?
<clever> WilliamHamilton: that just sets the src for curry-base to be the result from line 7
hxrts_ has joined #nixos
<clever> WilliamHamilton: does that subdirectory even exist within the tar on line 8?
blankhart has quit [Quit: WeeChat 1.9.1]
<WilliamHamilton> that's the point, it doesn't, but the package is in /pakcs-1.14.0/frontend/curry-base
<__monty__> Can {^_^} tell me the available versions?
<{^_^}> [nixpkgs] @r-ryantm opened pull request #43353 → debootstrap: 1.0.105 -> 1.0.106 → https://git.io/fNkij
jperras has joined #nixos
<WilliamHamilton> I would have understood something like fsrc/frontend
<WilliamHamilton> but not only fsrc
<clever> WilliamHamilton: ah, lines 42-45
<clever> WilliamHamilton: after unpacking the source, it will rename it, then make a symlink
ckauhaus has quit [Remote host closed the connection]
hxrts_ has quit [Remote host closed the connection]
<WilliamHamilton> so, postUnpack is executed before the callPackage function?
<clever> WilliamHamilton: postUnpack is called after unpacking the source, within the derivations builder
ckauhaus has joined #nixos
<clever> WilliamHamilton: all arguments passed to mkDerivation become env vars within the derivation, and the stdenv will run a bash script that will process them all
<WilliamHamilton> clever: do have any idea on why that's done? why the src attribute couldn't just be ${fsrc}/frontend/curry-frontend?
<{^_^}> [nixpkgs] @r-ryantm opened pull request #43354 → conan: 1.5.1 -> 1.5.2 → https://git.io/fNkPR
<clever> WilliamHamilton: because ${fsrc} is the path to a .tar.gz, not a directory
rprije has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @danbst closed pull request #20006 → [WIP] munin: add version 2.999.3 and reworked service → https://git.io/vXtKZ
phdoerfler has joined #nixos
<WilliamHamilton> oh, so ${name} is rewritten by the symlink to contain a path to the code, while before it contained the path to the extracted folder?
<WilliamHamilton> clever: ^?
<clever> the unpackPhase will unpack $src
<clever> and then postUnpack will modify the unpacked source
<clever> they should have probably used sourceRoot, not a symlink
<WilliamHamilton> I'm slightly confused by the fact that mkDerivation is called at line 22, and then inside the haskell packages derivation, at lines 30 and 54
<WilliamHamilton> when is the curryBase mkDerivation triggered?
<clever> WilliamHamilton: there are a total of 5 derivations in that file
<clever> WilliamHamilton: line 7 creates a derivation that fetches a .tar.gz
<clever> line 12 creates a modified version of swiProlog
<clever> line 15 creates another derivation to fetch a .tar.gz
<clever> because 15 is refered to by 12, it will always build 15 before it starts to build 12
<clever> 26 then defines how to build currybase, and it refers to 7 at line 33
<clever> so it must build line 7, before it can start building line 26
<clever> 50 defines how to build curry front
<{^_^}> [nixpkgs] @bricewge opened pull request #43355 → vault: 0.9.5 -> 0.10.3 → https://git.io/fNk1d
<clever> and because 26 and 50 are inside the set for line 22, they become env variables inside that derivation, so you can access them at $curryBase and $curryFront
<clever> the author of this file sort of messed up, and never actually uses those bash variables
andymandias has quit [Ping timeout: 240 seconds]
chessai has joined #nixos
<clever> he instead refers to them at the nix level, on lines 61, 65, 68, and 109
<WilliamHamilton> that's why he uses `rec` in the call at line 22, right? to reuse them at the nix level
<clever> yeah
<clever> if those are moved into the let block, the rec can likely be removed
<WilliamHamilton> I need a minute to understand what you just explained, and make some notes, brb
sir_guy_carleton has joined #nixos
andymandias has joined #nixos
<{^_^}> [nixpkgs] @YorikSar opened pull request #43356 → IPMIView: 2.13.0 -> 2.14.0 → https://git.io/fNkDt
<sphalerite> Does anybody here happen to know whether and how well R Studio from nixpkgs works on OSX?
drewr has quit [Remote host closed the connection]
<gchristensen> I can do a trivial level of trial
<{^_^}> [nixpkgs] @markuskowa opened pull request #43357 → rdma-core: 17.1 -> 19 → https://git.io/fNky3
Tobba has joined #nixos
drewr has joined #nixos
<WilliamHamilton> clever: ok, so the src attribute in a mkDerivation is always a derivation itself?
<sphalerit> gchristensen: that would be awesome, just to know whether `nix-shell -p rstudioWrapper --run rstudio` opens r studio successfully
<gchristensen> in a minute sure
<clever> WilliamHamilton: usually is, but you can also do src = ./.;
<{^_^}> [nixpkgs] @thoughtpolice merged pull request #43314 → yices: 2.5.4 -> 2.6.0 → https://git.io/fNThU
<{^_^}> [nixpkgs] @thoughtpolice pushed commit from R. RyanTM to master « yices: 2.5.4 -> 2.6.0 »: https://git.io/fNkyA
<sphalerit> A family member needs to use it and I'm considering installing it for her using nix (but nix isn't installed yet and I don't want to do the fussing about if it turns out I need to set up X and stuff as well)
<WilliamHamilton> clever: and when it is a derivation, I should think of it as an actual directory?
<clever> WilliamHamilton: depends on which fetch function was used
<clever> WilliamHamilton: the default unpackPhase will handle directories and .tar.gz files automatically
stepcut has joined #nixos
tester123 has joined #nixos
<tester123> How does one add an overlay to a configuration.nix?
<tester123> I'm trying to add this one to modify stack:
<tester123> (self: super: { haskellPackages = super.haskellPackages.extend (hself: hsuper: { stack = (hsuper.callHackage "stack" "1.7.1" {}) .overrideScope (hself2: hsuper2: { Cabal = hself2.Cabal_2_2_0_1; hpack = hself2.hpack_0_28_2; }); }); })
<clever> tester123: nixpkgs.overlays is a nixos option
<tester123> To force stack to be at version 1.7.1
graphene has quit [Read error: Connection reset by peer]
<WilliamHamilton> clever, ok last question, how is a file like the pakcs derivation developed? Can one work manually on the intermediate build artifacts and then save the steps in the file?
reinzelmann has quit [Quit: Leaving]
<WilliamHamilton> or is the author supposed to write all the derivation at once?
graphene has joined #nixos
<clever> WilliamHamilton: you can put each of those derivations into their own files, and just run nix-build on the parts
<{^_^}> [nixpkgs] @volth opened pull request #43358 → [staging] libuv: disable tests failed on GCE → https://git.io/fNk9T
camsbury has quit [Ping timeout: 268 seconds]
<WilliamHamilton> how would I build that? nix-build example.nix complains that error: cannot auto-call a function that has an argument without a default value ('stdenv')
<clever> WilliamHamilton: it still has to be loaded with callPackage
<clever> nix-build -E 'with import <nixpkgs> {}; callPackage ./example.nix {}'
<{^_^}> [nixpkgs] @volth opened pull request #43359 → hspell: fix build when default perl is 5.26+ → https://git.io/fNk94
<WilliamHamilton> oh, so callPackage is the function that applies the function example.nix, giving it the initial arguments?
<clever> yeah
<clever> it will search the pkgs attribute set for each of the args
chessai has quit [Ping timeout: 240 seconds]
ma27 has joined #nixos
chessai has joined #nixos
<WilliamHamilton> good, that should be enough to get me started; you mentioned before that derivations become variables, like $curryBase. How does that work? Where are those variables in scope?
<WilliamHamilton> clever: ^
sam__ has quit [Quit: sam__]
<clever> WilliamHamilton: at the bash level
<clever> WilliamHamilton: every derivation in nix has a builder and some args, typically the builder is a bash script
<clever> WilliamHamilton: and every attribute on the derivation becomes an env var for that derivation
ckauhaus has quit [Remote host closed the connection]
ckauhaus has joined #nixos
zduch4c has joined #nixos
<zduch4c> hello!
<zduch4c> does Wayland work with GNOME3 yet without pesky hacks?
<WilliamHamilton> and where should I use this mechanism, for example, in the pakcs derivation?
<zduch4c> also, I had problems with my username not appearing in GDM, if anyone is wondering why, for your name to appear in GDM your user UID needs to be bigger than 100 for some reason
<clever> WilliamHamilton: in any of the phases/hooks
<clever> zduch4c: did you set isNormalUser = true; when creating the user?
<zduch4c> yeah clever
<zduch4c> it now works, as i set my uid to >1000
<zduch4c> its just a freedesktop/systemd fluke
<zduch4c> services.xserver.displayManager.gdm.wayland = false;
<zduch4c> this should make my GNOME3 session wayland, correct?
justbeingglad has joined #nixos
justbeingglad has quit [Client Quit]
<nbathum> zduch4c: I had a similar problem when my uid was set to 404 with lightdm
<clever> nbathum: user not found? lol
<nbathum> yeah. hahaha turns out some places really won't see it with a low number like that
<cocreature> zduch4c: I have not tried it myself but https://github.com/NixOS/nixpkgs/issues/32806 suggests that there are at least still some problems in particular in combination with gdm
<{^_^}> #32806 (by jtojnar, open): Investigate GNOME wayland support
graphene has quit [Read error: Connection reset by peer]
<zduch4c> ok, I'm going to try it myself, if I don't come back it means it works
ckauhaus has quit [Remote host closed the connection]
ckauhaus has joined #nixos
camsbury has joined #nixos
fendor has quit [Remote host closed the connection]
manny has joined #nixos
fendor has joined #nixos
zduch4c has quit [Ping timeout: 252 seconds]
ckauhaus has quit [Remote host closed the connection]
ckauhaus has joined #nixos
zduch4c has joined #nixos
<zduch4c> hmmm. still in X11 for some reason.
<{^_^}> [nixpkgs] @mnacamura opened pull request #43360 → rPackages.reprex: fix build → https://git.io/fNk7U
<gchristensen> sphalerit: not supported on darwin for 18.03
<sphalerit> gchristensen: bummer. Thanks though!
zduch4c has quit [Ping timeout: 252 seconds]
<infinisil> ,tell
<{^_^}> infinisil: Use `,tell john Remember to do the laundry` to send this to john next time he's talking in this channel
<infinisil> Just implemented this ^^ If somebody needs it :)
<lewo``> hmm, it seems quite hard to manually run phases of a go package. Does anybody already try this?
<{^_^}> [nixos-org-configurations] @edolstra pushed 3 commits to master: https://git.io/fNk7y
<{^_^}> [nixos-org-configurations] @edolstra closed pull request #43 → add graham and zimbatm to the bastion host → https://git.io/fNUSF
<{^_^}> [nixos-org-configurations] @edolstra pushed 2 commits to master: https://git.io/fNk5k
<{^_^}> [nixos-org-configurations] @edolstra merged pull request #42 → Add my blog → https://git.io/f49It
<gchristensen> any users in the Asia/India/Oceania regions around?
<gchristensen> cc adisbladis[m] puffnfresh
rrnewton has left #nixos [#nixos]
* adisbladis[m] is around
fenedor has joined #nixos
<gchristensen> do you know of other people in the region who could PM me?
<adisbladis[m]> vaibhavsagar: ^
<{^_^}> [nixpkgs] @joachifm merged pull request #43269 → Add libudev, which Ledger Live app requires → https://git.io/fNUec
<{^_^}> [nixpkgs] @joachifm pushed commit from @reardencode to master « appimage-run: add libudev to inputs (#43269) »: https://git.io/fNk5P
fendor has quit [Ping timeout: 264 seconds]
<{^_^}> [nixos-org-configurations] @edolstra pushed to master « Add Amine »: https://git.io/fNk57
<adisbladis[m]> peterhoeg: ^
adisbladis has joined #nixos
fenedor has quit [Ping timeout: 268 seconds]
graphene has joined #nixos
nlytend has joined #nixos
<{^_^}> [nixpkgs] @dtzWill merged pull request #43306 → ghc{843,861}: add musl variants of "llvm-targets" → https://git.io/fNTos
<{^_^}> [nixpkgs] @dtzWill pushed 3 commits to master: https://git.io/fNk5h
<nlytend> this is new: qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
<nlytend> can't launch qt applications for some reason
<{^_^}> [nixpkgs] @peti pushed 2 commits to master: https://git.io/fNkdf
<{^_^}> [nixpkgs] @peti merged pull request #43360 → rPackages.reprex: fix build → https://git.io/fNk7U
<adisbladis> gchristensen: Those are the only ones I know of on irc from the top of my head
<gchristensen> cool, thanks adisbladis!
<nlytend> Kernel 4.17.4 , nix 2.0.4, nixos-unstable
<{^_^}> [nixpkgs] @dtzWill merged pull request #43309 → radare2: 2.6.0 -> 2.7.0; radare2-cutter: 1.4 -> 1.5 → https://git.io/fNT7j
<{^_^}> [nixpkgs] @dtzWill pushed 6 commits to master: https://git.io/fNkdZ
johanot has joined #nixos
ckauhaus has quit [Remote host closed the connection]
dbmikus has joined #nixos
xorkle has joined #nixos
trcc has quit [Remote host closed the connection]
trcc has joined #nixos
<{^_^}> [nixpkgs] @adisbladis merged pull request #43328 → buildGoPackage: Dont copy sources to $out → https://git.io/fNkqX
<{^_^}> [nixpkgs] @adisbladis pushed 3 commits to master: https://git.io/fNkdr
vmandela has quit [Quit: Leaving]
ckauhaus has joined #nixos
dbmikus has quit [Client Quit]
dbmikus has joined #nixos
erasmas has joined #nixos
ckauhaus has quit [Remote host closed the connection]
Mateon2 has joined #nixos
ckauhaus has joined #nixos
Mateon1 has quit [Ping timeout: 240 seconds]
Mateon2 is now known as Mateon1
grp has joined #nixos
graphene has quit [Ping timeout: 244 seconds]
ckauhaus has quit [Remote host closed the connection]
goibhniu has quit [Remote host closed the connection]
ckauhaus has joined #nixos
trcc has quit [Ping timeout: 260 seconds]
<{^_^}> [cabal2nix] @Ericson2314 opened pull request #358 → Add hack for common erroneous missing build-tool-depends, and keep duplicate deps for cross → https://git.io/fNkF5
ckauhaus has quit [Remote host closed the connection]
ckauhaus has joined #nixos
goibhniu has joined #nixos
Sonarpulse has joined #nixos
mroutis has joined #nixos
ckauhaus has quit [Ping timeout: 256 seconds]
orivej has quit [Ping timeout: 240 seconds]
johanot has quit [Quit: Leaving.]
orivej has joined #nixos
graphene has joined #nixos
<ajs124> I'm trying to write a package for pgrouting right now and can't figure out how to get it to install to the right folder. It always trys to put files into /nix/store/*-postgresql-9.6.8-lib/lib. Any ideas?
<{^_^}> [nixpkgs] @jbaum98 opened pull request #43361 → darwin.trash: f68ad25a -> 0.9.1 → https://git.io/fNkNJ
<{^_^}> [nixpkgs] @roberth pushed 20 commits to haskell-outputs-bin-etc-lib: https://git.io/fNkNt
<ajs124> I thought modifying cmake_install.cmake in preInstall should work, but how do I get that store path? "postgresql" is something else
hyper_ch2 has quit [Quit: Page closed]
<grp> clever: I could build tests.containers-extra_veth.x86_64-linux just fine. Now, how can I find out these attributes like .x86_64-linux ? It's not like I can tab-complete them in the repl. I've been reading tests/make-test.nix, lib/testing.nix but haven't found anything useful
<infinisil> grp: You should be able to tab complete them
<infinisil> I can at least
<grp> nope, nix repl ~/nixpkgs/nixos/release.nix then hitting tab on tests.containers-extra_veth. doesn't yield a thing
<infinisil> `nix-build nixos/release.nix tests.bind.<TAB>` works for me
graphene has quit [Read error: Connection reset by peer]
<grp> where are you typing that?
<grp> repl?
<infinisil> in zsh/bash
<infinisil> Oh
<infinisil> The nix repl currently has a bug where it can't complete attribute with a "-" in them
<grp> ok, I'm missing whatever completion module you are using
doyougnu has joined #nixos
* grp searches
<infinisil> The bash/zsh one should be installed by default
graphene has joined #nixos
adisbladis has quit [Remote host closed the connection]
<{^_^}> [nixos-org-configurations] @zimbatm opened pull request #48 → terraform: describe nixpkgs-tarballs cloudfront → https://git.io/fNkAH
graphene has quit [Read error: Connection reset by peer]
ckauhaus has joined #nixos
<Taneb> I'm trying to get Hydra up and running at work, and I'm getting hydra hydra-queue-runner[25885]: error: don't know how to open Nix store 'X' for X {local, auto, file://, file:///, file:///nix/store} as I change the configuration to try and figure this out
graphene has joined #nixos
graphene has quit [Read error: Connection reset by peer]
<Taneb> (changing the store_uri parameter in the hydra config)
<Taneb> Any clue what I could be doing wrong?
graphene has joined #nixos
crmlt has joined #nixos
<grp> infinisil: ls -la $(nix-instantiate --eval -E '<nixos>') | tr './' '\t' | cut -f15
<gchristensen> infinisil: ^ it probably should not trigger in that case
<infinisil> gchristensen: Yeah I'll fix that
<infinisil> grp: What's that?
<grp> infinisil: nixos exact version?
nlytend has quit [Quit: Leaving]
<Taneb> In fact it's saying «hydra hydra-queue-runner[27257]: error: don't know how to open Nix store '"local'»
<Taneb> With those mismatched quotes
chessai has quit [Ping timeout: 256 seconds]
<Taneb> Which might be a clue
<infinisil> grp: I'm running nixos-unstable from about 20 days ago if that's what you want to know. That command doesn't work for me, nixos-version might work for you though
<Taneb> OK, turns out the config file doesn't like quoted strings
<Taneb> Now I'm getting the more interesting error «hydra hydra-queue-runner[28201]: error: opening lock file '/nix/var/nix/db/big-lock': Permission denied»
<infinisil> grp: But completion for zsh and bash has been there for a loong time
iqubic` is now known as iqubic
orivej has quit [Ping timeout: 240 seconds]
<grp> infinisil: pfff, hahaha, and here I was wondering if there was a simpler way to do it... nixos-version....
<infinisil> :P
orivej has joined #nixos
<grp> but no, no tab completion for me... yet
cwhy has joined #nixos
endformationage has joined #nixos
<cwhy> Hello here. I am very new to nix and using it on a Mac. Is there any guides of installing go packages?
<cwhy> https://github.com/github/hub The package that I want to install here
logzet has quit [Remote host closed the connection]
crmlt has quit [Ping timeout: 260 seconds]
<ryantm> cwhy: hub is under gitAndTools.hub
<ryantm> cwhy nix-env -iA gitAndTools.hub
<ryantm> I'm not sure why that isn't in the top level.
<cwhy> Ohh nice
<cwhy> Thanks
<infinisil> ,locate bin hub
<{^_^}> Found in packages: wraith, gitAndTools.hub.bin
<gchristensen> ,locate bin dig
<{^_^}> Found in packages: bind.dnsutils
<gchristensen> ^ this drives me CRAZY.
<infinisil> Yeah, who put it there??
<cwhy> Another question: Whats the recommended way to set vimrc in nix-shell?
dbmikus has quit [Read error: Connection reset by peer]
orivej_ has joined #nixos
orivej has quit [Ping timeout: 260 seconds]
dbmikus_ has joined #nixos
<grp> is that something one should do?
Coyin has quit [Quit: Leaving]
<__monty__> Not afaik. Vim uses the config file in $HOME, which isn't managed by nix.
<WilliamHamilton> clever: sorry to bother you, I'm continuing rewriting the file, is there another way I could have written the lines https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/compilers/pakcs/default.nix#L42-L45 to make them clearer?
<{^_^}> [nixpkgs] @FRidh opened pull request #43364 → fltk: get rid of composableDerivation → https://git.io/fNkjS
<grp> WilliamHamilton: looks fine to me
graphene has quit [Remote host closed the connection]
<WilliamHamilton> why do I need to have the cabal library in the folder pakcs-1.14.0 in the end?
iyzsong has joined #nixos
graphene has joined #nixos
ckauhaus has quit [Ping timeout: 240 seconds]
philippD has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
<WilliamHamilton> those lines move pakcs-1.14.0 to pakcs-1.14.0.orig, and put pakcs-1.14.0.orig/frontend/curry-base in pakcs-1.14.0
<{^_^}> [nixpkgs] @fpletz pushed 2 commits to master: https://git.io/fNIes
<cwhy> Thanks Monty. I will put it in $HOME then.
cwhy has quit [Quit: Page closed]
<WilliamHamilton> clever: but I don't get why the hassle. Isn't there a way to signal that I'd like to build the thing in pakcs-1.14.0/frontend/curry-base ?
<clever> WilliamHamilton: sourceRoot
aminb has quit [Quit: WeeChat 2.1]
<WilliamHamilton> wait, first I'd like to understand why the cabal folder must be pakcs-1.14.0
<clever> WilliamHamilton: because the default sourceRoot is the name of the directory tar -xf made
<WilliamHamilton> I see, thanks
<{^_^}> [nixpkgs] @edolstra merged pull request #42937 → holochain-go: init at 0.1.0-alpha → https://git.io/f5Pzv
<{^_^}> [nixpkgs] @edolstra pushed 9 commits to master: https://git.io/fNIew
<WilliamHamilton> so I can just update sourceRoot, with set sourceRoot = ....? I'm trying this
<clever> yeah
__monty__ has quit [Quit: leaving]
<clever> postUnpack = "sourceRoot+=/engine-io-wai; echo source root reset to $sourceRoot";
<clever> WilliamHamilton: this is how most things do it
<{^_^}> [nixpkgs] @dotlambda opened pull request #43365 → qutebrowser: 1.4.0 -> 1.4.1 → https://git.io/fNIeD
telent has quit [Ping timeout: 240 seconds]
ckauhaus has joined #nixos
<{^_^}> [nixpkgs] @dotlambda merged pull request #43351 → dovecot: 2.3.2 -> 2.3.2.1 → https://git.io/fNkK2
<{^_^}> [nixpkgs] @dotlambda pushed commit from @r-ryantm to master « dovecot: 2.3.2 -> 2.3.2.1 (#43351) »: https://git.io/fNIvJ
shreyansh_k has quit [Quit: ZNC 1.6.5-elitebnc:6 - http://elitebnc.org]
npmccallum has quit [Ping timeout: 240 seconds]
frankpf has joined #nixos
shreyansh_k has joined #nixos
Ariakenom has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @dtzWill opened pull request #43367 → haskell: fix package sets based on integer-simple → https://git.io/fNIJU
iyzsong has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @dotlambda opened pull request #43368 → [18.03] qutebrowser: fix CVE-2018-10895 → https://git.io/fNIJn
ckauhaus has quit [Ping timeout: 260 seconds]
phdoerfler has quit [Quit: Leaving.]
ckauhaus has joined #nixos
__monty__ has joined #nixos
doyougnu1 has joined #nixos
ckauhaus has quit [Client Quit]
orivej_ has quit [Ping timeout: 256 seconds]
timon37 has quit [Ping timeout: 240 seconds]
doyougnu has quit [Ping timeout: 240 seconds]
Thra11 has quit [Read error: Connection reset by peer]
__Sander__ has quit [Quit: Konversation terminated!]
<andrewrk> what package provides vulkan?
<andrewrk> I'm unable to -lvulkan
shivnshu has joined #nixos
<srk> ,locate vulkan.h
<{^_^}> Found in packages: androidndk, kodestudio, vulkan-headers, vulkan-loader.dev
<andrewrk> ooh that's handy
<srk> indeed
<andrewrk> ,locate libvulkan.so
<shivnshu> Hello, I am unable to use kibana in my system. Can anybody help?
<{^_^}> Found in packages: androidndk, vulkan-loader
<WilliamHamilton> if I put some derivations in the let clauses https://gist.github.com/883764ad0fd211bc74e84f1af1410a65
<WilliamHamilton> and then enter the derivation with
<WilliamHamilton> sorry, with nix-shell --pure -E 'with import <nixpkgs> {}; callPackage ./example.nix {}'
<WilliamHamilton> why is ${curryFront} empty? For nix's laziness? How can I force the evaluation?
<shivnshu> :q
shivnshu has quit [Client Quit]
Thra11 has joined #nixos
<clever> WilliamHamilton: its no longer an attribute on the derivation
<clever> WilliamHamilton: so its not a bash variable, only a nix value
<WilliamHamilton> so, if I want to make it again an attribute, I can insert it in buildInputs?
<{^_^}> [nixpkgs] @dotlambda merged pull request #43365 → qutebrowser: 1.4.0 -> 1.4.1 → https://git.io/fNIeD
<{^_^}> [nixpkgs] @dotlambda pushed to master « qutebrowser: 1.4.0 -> 1.4.1 (#43365) »: https://git.io/fNITn
winem_ has quit [Ping timeout: 260 seconds]
<clever> WilliamHamilton: it doesnt have to be an attribute to use it in buildInputs
<clever> WilliamHamilton: buildInputs is an array of nix values
Thra11 has quit [Client Quit]
xy2_ has quit [Ping timeout: 240 seconds]
<WilliamHamilton> right, and so, is there a way to call ${curryBase}, or should I put that derivation again out of the let and in the big mkDerivation?
<clever> WilliamHamilton: just put curryBase in buildInputs
<clever> WilliamHamilton: your already doing that on lines 52, 56, and 59
Ariakenom has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #43344 → frostwire-bin: 6.6.7 -> 6.7.0 → https://git.io/fNk2J
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « frostwire-bin: 6.6.7 -> 6.7.0 (#43344) »: https://git.io/fNITS
<WilliamHamilton> ok, but even inserting curryBase at line 73, i cannot refer to ${curryBase} when in a nix-shell (I just tried)
<{^_^}> [nixpkgs] @xeji merged pull request #43346 → fanficfare: 2.26.0 -> 2.27.0 → https://git.io/fNkaF
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « fanficfare: 2.26.0 -> 2.27.0 (#43346) »: https://git.io/fNITQ
<iqubic> What the syntax to create a python dev environment with libraries x, y, and z available? Not sure what libraries I'll need.
<clever> WilliamHamilton: thats because its part of $buildInputs
<clever> WilliamHamilton: why do you need that path in the nix shell?
<WilliamHamilton> oh, I see, I can do `echo $buildinputs` and it's there, but then I don't know how to talk about it explicitly
<{^_^}> [nixpkgs] @xeji merged pull request #43354 → conan: 1.5.1 -> 1.5.2 → https://git.io/fNkPR
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « conan: 1.5.1 -> 1.5.2 (#43354) »: https://git.io/fNIkW
drakonis has joined #nixos
<WilliamHamilton> I'd like to do that because I could set the option CURRYFRONTEND to be equal to that path (it's an option in the makefile)
<clever> you could set: makeFlags = [ "CURRYFRONTEND=${curryBase}" ];
<clever> and then the default buildPhase will run make with that param for you
<WilliamHamilton> that seems the principled solution, thanks
<{^_^}> [nixpkgs] @dtzWill opened pull request #43369 → ghc: support musl-native! → https://git.io/fNIkQ
<kalbasit> anyone seen an error like the one above when running `nixos-rebuild test` before?
<tenten8401> Is there some sort've max connection time limit or something in the NixOS firewall by default?
Ross has quit [Ping timeout: 240 seconds]
<tenten8401> Trying to connect to a Minecraft server I'm running and I keep getting booted off after a couple seconds (it connects fine for the first couple seconds and I can see the world load in)
<clever> tenten8401: nope
stepcut has quit [Remote host closed the connection]
<{^_^}> Channel nixos-unstable advanced to https://github.com/NixOS/nixpkgs/commit/dae9cf6106d (from 23 hours ago, history: https://channels.nix.gsc.io/nixos-unstable)
<tenten8401> server has no errors, it just says timed out
<kalbasit> my NIX_PATH: `/home/kalbasit/.nix-defexpr/channels:nixpkgs=/nix/var/nix/profiles/per-user/root/channels/nixos:nixos-config=/etc/nixos/configuration.nix:/nix/var/nix/profiles/per-user/root/channels`
<clever> kalbasit: what if you instead run `sudo -i` then `nixos-rebuild test`
<kalbasit> will try
<clever> kalbasit: and as root, what does `nix-channel --list` say?
aminb has joined #nixos
aminb has quit [Read error: Connection reset by peer]
<kalbasit> same error
aminb has joined #nixos
<kalbasit> clever: ^^
<clever> kalbasit: and as root, what does `nix-channel --list` say?
<Kim> I'm getting a really weird segfault when running the KDE displays configuration (kcmshell5 kcm_kscreen): "QQmlThread[17157]: segfault at 20 ip 00007f54c2474eb0 sp 00007f549adf0140 error 4 in libQt5Qml.so.5.10.1[7f54c235e000+41d000]"
xy2_ has joined #nixos
<clever> kalbasit: ls /root/.nix-defexpr/channels/nixos/
stanibanani has joined #nixos
<kalbasit> No such file or directory
<Kim> So far I've tried the obvious things (reboot, making sure packages are up to date, clearing KDE dotfiles, checking and reparing broken packages)
<kalbasit> clever: interesting why
<{^_^}> [nixpkgs] @xeji merged pull request #43368 → [18.03] qutebrowser: fix CVE-2018-10895 → https://git.io/fNIJn
<{^_^}> [nixpkgs] @xeji pushed 2 commits to release-18.03: https://git.io/fNIIE
<clever> kalbasit: you forgot to run `nix-channel --update` after adding a channel
<kalbasit> I did with `sudo nix-channel --update` trying now with the -i flag
Ross has joined #nixos
<clever> kalbasit: and `cat /root/.nix-channels` ?
<kalbasit> clever: it works now, thanks!
graphene has quit [Remote host closed the connection]
graphene has joined #nixos
tester123 has quit [Ping timeout: 252 seconds]
<clever> kalbasit: yeah, that looks like its all good now
<kalbasit> yea, thank you!
stanibanani has quit [Ping timeout: 256 seconds]
<kalbasit> anyone here is using kubernetes?
<{^_^}> [nixpkgs] @jtojnar opened pull request #43370 → nixos/bamf: init → https://git.io/fNILY
<Kim> ...Weird, apparently I have a really old version of kscreen installed? Which is really weird, since I would assume that would be current
ixxie has joined #nixos
<goibhniu> Kim: have you got any Qt programs installed outside of your systemPackages? That could cause the segfault.
<Kim> Nope
<goibhniu> even nix-build results can do it
<{^_^}> [nixpkgs] @jtojnar merged pull request #43370 → nixos/bamf: init → https://git.io/fNILY
<{^_^}> [nixpkgs] @jtojnar pushed 2 commits to master: https://git.io/fNIts
<goibhniu> Kim: what does `nix-info` say?
<Kim> system: "x86_64-linux", multi-user?: yes, version: nix-env (Nix) 2.0.4, channels(root): "nixos-18.03", channels(rummik): "", nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs
<{^_^}> [nixpkgs] @FRidh merged pull request #43349 → containerd: 1.1.0 -> 1.1.1 → https://git.io/fNkoI
<{^_^}> [nixpkgs] @FRidh pushed 2 commits to master: https://git.io/fNIt2
<{^_^}> [nixpkgs] @FRidh merged pull request #43345 → s3fs: 1.83 -> 1.84 → https://git.io/fNkaI
<{^_^}> [nixpkgs] @FRidh pushed 2 commits to master: https://git.io/fNItV
<{^_^}> [nixpkgs] @FRidh merged pull request #43333 → libpoly: 0.1.4 -> 0.1.5 → https://git.io/fNknF
<{^_^}> [nixpkgs] @FRidh pushed 2 commits to master: https://git.io/fNIto
<{^_^}> [nixpkgs] @FRidh merged pull request #43321 → wsjtx: 1.9.0 -> 1.9.1 → https://git.io/fNkvI
<{^_^}> [nixpkgs] @FRidh pushed 2 commits to master: https://git.io/fNItP
<{^_^}> [nixpkgs] @FRidh merged pull request #43353 → debootstrap: 1.0.105 -> 1.0.106 → https://git.io/fNkij
<{^_^}> [nixpkgs] @FRidh pushed 2 commits to master: https://git.io/fNItD
bmikedesk has joined #nixos
<EuAndreh[m]> Hi there!
<EuAndreh[m]> How can I import the buildNodeJs function into my derivation?
<{^_^}> [nixpkgs] @FRidh closed pull request #34231 → python37: init at 3.7.0b1 → https://git.io/vNK3X
johnw has joined #nixos
sir_guy_carleton has quit [Quit: WeeChat 2.0]
<{^_^}> [nixpkgs] @xeji merged pull request #43356 → IPMIView: 2.13.0 -> 2.14.0 → https://git.io/fNkDt
<{^_^}> [nixpkgs] @xeji pushed commit from @YorikSar to master « IPMIView: 2.13.0 -> 2.14.0 (#43356) »: https://git.io/fNIqo
<srk> EuAndreh[m]: buildNodejs = callPackage (<nixpkgs/pkgs/development/web/nodejs/nodejs.nix>) {}
<srk> parens are redundant
igo95862 has joined #nixos
sigmundv has quit [Ping timeout: 264 seconds]
<EuAndreh[m]> srk: Hmm, nice, thanks!
<EuAndreh[m]> I was struggling with using callPackage outside the `nixpkgs` repo
aarvar has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #43371 → aws-sdk-cpp: 1.4.78 -> 1.4.82 → https://git.io/fNImU
adam-6520493 has quit [Ping timeout: 264 seconds]
Sonarpulse has quit [Ping timeout: 276 seconds]
chessai has joined #nixos
mmercier_ has quit [Quit: mmercier_]
adam-6520493 has joined #nixos
devhell has joined #nixos
lostman has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #43372 → chirp: 20180623 -> 20180707 → https://git.io/fNIYE
<EuAndreh[m]> srk: If I use a pinned version of `nixpkgs` (created using pkgs.fetchzip ...), the value returned by `callPackage` will come from the pinned package right?
<{^_^}> [nixpkgs] @NeQuissimus pushed 4 commits to master: https://git.io/fNIYx
<{^_^}> [nixpkgs] @NeQuissimus pushed to release-18.03 « linux: 4.4.139 -> 4.4.140 »: https://git.io/fNIYh
<{^_^}> [nixpkgs] @NeQuissimus pushed to release-18.03 « linux: 4.9.111 -> 4.9.112 »: https://git.io/fNIOe
<{^_^}> [nixpkgs] @NeQuissimus pushed to release-18.03 « linux: 4.14.54 -> 4.14.55 »: https://git.io/fNIOJ
<{^_^}> [nixpkgs] @NeQuissimus pushed to release-18.03 « linux: 4.17.5 -> 4.17.6 »: https://git.io/fNIOI
tzemanovic has quit [Remote host closed the connection]
<lostman> is it possible to build a derivation and keep the build directory? basically like `-K` but keep it if the build succeeds
radisson has joined #nixos
<tilpner> srk - No! You want to use (import nixpkgs {}).somePackage
<tilpner> Oops. EuAndreh[m] ^
<azazel> i'm stuck trying to undersand how the test at this line of code may work without having a stdin properly setup... https://github.com/NixOS/nixpkgs/blob/master/nixos/tests/kubernetes/certs.nix#L45
<azazel> anyone has a clue?
<EuAndreh[m]> tilpner: The `nixpkgs` in your snippet is the custom nixpkgs instance, right?
<tilpner> EuAndreh[m] - Correct. If you use a non-pinned callPackage on pinned nixpkgs sources, terrible things may happen as you create a never-tested-before combination
<{^_^}> [nixpkgs] @r-ryantm opened pull request #43373 → adapta-gtk-theme: 3.93.1.28 -> 3.94.0.1 → https://git.io/fNIOp
xeji has joined #nixos
<WilliamHamilton> clever: the old file contained this line https://gist.github.com/meditans/883764ad0fd211bc74e84f1af1410a65#file-example-nix-L106
<EuAndreh[m]> tilpner: Thanks 🙂
<EuAndreh[m]> That's exactly what I want to avoid
<WilliamHamilton> I see that $out is the location the build will have in the nix store
<tilpner> EuAndreh[m] - It would pass the non-pinned dependencies to a pinned nixpkgs. This won't be much of a problem with two different versions of the same branch, but I imagine callPackage-ing nixos-17.09 from nixos-unstable or vice versa
<WilliamHamilton> but when I use nix-shell, after the buildPhase, there's nothing in the store. How come?
<tilpner> EuAndreh[m] - You could also use (import <pinned-nixpkgs-source> {}).callPackage <pinned-nixpkgs-source/pkgs/development/web/nodnejs/nodejs.nix> {}, but there'd be little point
FRidh has quit [Quit: Konversation terminated!]
<{^_^}> [nixos-org-configurations] @grahamc opened pull request #49 → Add grahamc.com's Nix feed → https://git.io/fNI3z
<EuAndreh[m]> tilpner: I'm not sure I follow
<EuAndreh[m]> Is this the same as in https://gitlab.com/snippets/1732166?
<{^_^}> [nixpkgs] @xeji merged pull request #42699 → nixos/virtualbox: Adds more options to virtualbox-image.nix → https://git.io/f4djh
<{^_^}> [nixpkgs] @xeji pushed commit from @dalaing to master « nixos/virtualbox: Adds more options to virtualbox-image.nix (#42699) »: https://git.io/fNI3o
<EuAndreh[m]> Is L12 not pinned?
<tilpner> EuAndreh[m] - Requires sign-in, then 404
_cyril_ has quit [Ping timeout: 256 seconds]
orivej has joined #nixos
<EuAndreh[m]> tilpner: Sorry, should be public now
_cyril_ has joined #nixos
chessai has quit [Ping timeout: 240 seconds]
<{^_^}> [nixos-org-configurations] @edolstra merged pull request #49 → Add grahamc.com's Nix feed → https://git.io/fNI3z
<{^_^}> [nixos-org-configurations] @edolstra pushed 2 commits to master: https://git.io/fNIsh
<tilpner> EuAndreh[m] - L12 is not pinned, it relies on the NIX_PATH item <nixpkgs>
andymandias has quit [Ping timeout: 244 seconds]
Judson has joined #nixos
Judson is now known as Guest55745
knupfer has quit [Ping timeout: 240 seconds]
<EuAndreh[m]> tilpner: Where do I get <pinned-nixpkgs-source> from?
thmzlt has joined #nixos
<tilpner> EuAndreh[m] - Use pkgs.callPackage (pkgsSrc + "/pkgs/development/web/nodejs/nodejs.nix") {}
<tilpner> Or "${pkgsSrc}/pkgs/development/web/nodejs/nodejs.nix"
chessai has joined #nixos
<EuAndreh[m]> Got it, thanks
<chessai> on NixOS, how do i allow TCP from a specific IP only?
<mightybyte> I just installed nix on Ubuntu and now I'm getting this error: warning: the group 'nixbld' specified in 'build-users-group' does not exist
<clever> mightybyte: if you lack a nixbld group, then it only works when ran as a non-root user
<mightybyte> I would have thought that the installer would create that for me. Anyone know what's up?
<mightybyte> Ahhh
<clever> mightybyte: last i checked, the linux installer only does single-user installs, which only work as the user that installed it, which cant be root
<mightybyte> Does that mean nix only works as non-root or programs built with nix only work as non-root?
tzemanovic has joined #nixos
andymandias has joined #nixos
devhell has quit [Quit: WeeChat 2.1]
rardiol1 has quit [Ping timeout: 260 seconds]
<chessai> something like networking.allowedTCPPorts but with a conditional
<mightybyte> clever: So is it just as simple as running "addgroup nixbld"?
<chessai> something that i might use ufw for on non-NixOS systems
<clever> mightybyte: you need a nixbld group, with a number of build users within it
<mightybyte> Is there a standard way to create them?
<LnL> mightybyte: the installer does if you pass it --daemon
rain1 has quit [Quit: WeeChat 1.9.1]
<clever> chessai: in this case, its restricting it to coming from a certain subnet, over a certain interface
<mightybyte> LnL: Ahh, ok
<LnL> mightybyte: (assuming this is an ubuntu with systemd)
tzemanovic has quit [Ping timeout: 244 seconds]
<chessai> clever: this will do exactly what i need, thanks
<adelbertc> is there documentation on how to upgrade a Nix 1 install to Nix 2? It is for a multi-user Darwin install if it matters
<adelbertc> i can't seem to find any
<clever> adelbertc: sudo -i ; nix-channel --update ; nix-env -iA nixpkgs.nix
Tobba has quit [Read error: Connection reset by peer]
<adelbertc> ah its just another nix package
<clever> adelbertc: yep
<adelbertc> i guess with the special addition it needs to be under sudo, which makes sense
<clever> adelbertc: and you cant `sudo nix-channel --update` because apple
<adelbertc> classic apple
<clever> adelbertc: apple doesnt update $HOME when you do that, so it operates on the wrong user
<adelbertc> alright ill give that a shot - thank you!
<{^_^}> [nixpkgs] @michojel opened pull request #43376 → Google clasp → https://git.io/fNIZI
<adelbertc> is that also why i have do `SSL_CERT=$NIX_SSL_CERT sudo -i nix-channel --update`
ajs124 has left #nixos ["Stream closed by us: Replaced by new connection (conflict)"]
ajs124 has joined #nixos
<adelbertc> (namely the `SSL_CERT` part)
<mightybyte> LnL: "Switching to the Daemon-based Installer"
<mightybyte> LnL: "Sorry, I don't know what to do on Linux"
<clever> adelbertc: thats something else i believe
<adelbertc> ah
w17t has joined #nixos
w17t has quit [Max SendQ exceeded]
Tobba has joined #nixos
w17t has joined #nixos
w17t has quit [Max SendQ exceeded]
<LnL> mightybyte: what release is that?
<mightybyte> LnL: Nix release? I just grabbed the install script a couple minutes ago with curl.
<LnL> no ubuntu release
<mightybyte> Oh
ixxie has quit [Ping timeout: 268 seconds]
<mightybyte> Ubuntu 14.04.5 LTS
<LnL> ah yeah, that didn't have systemd yet
<mightybyte> Ahhh, ok.
<LnL> I'd just recommend using a single user install then
<mightybyte> Ok
<mightybyte> Then do I have to create the nix group and users manually?
<LnL> single user doesn't need that
<adelbertc> clever: yep that seems to have worked - thanks!
<{^_^}> [nixpkgs] @xeji closed pull request #24631 → sqlint: init at 0.1.4 → https://git.io/vS0QD
<{^_^}> [nix] @edolstra pushed to master « Remove unused function printStats2() »: https://git.io/fNInP
<{^_^}> Channel nixpkgs-18.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/e38e1635f28 (from 2 hours ago, history: https://channels.nix.gsc.io/nixpkgs-18.03-darwin)
<{^_^}> [nix] @edolstra closed pull request #2282 → fix build without `--enable-gc' → https://git.io/fNvgL
Berra has joined #nixos
<Berra> So there's something I'm not getting - given https://github.com/NixOS/nixpkgs/tree/master/pkgs/development/compilers/ghcjs
<Berra> I cannot find any package using `nix search` related to those at all. Are they only usable by some other means? Do I need to use them by manually downloading or including them?
rardiol1 has joined #nixos
chessai has quit [Ping timeout: 240 seconds]
igo95862 has quit [Quit: igo95862]
ixxie has joined #nixos
<__monty__> ,locate ghcjs
<{^_^}> Found in packages: haskellPackages.ghcjs-ajax, haskellPackages.ghcjs-perch.doc, haskellPackages.ghcjs-websockets, haskellPackages.ghcjs-base-stub.doc, haskellPackages.ghcjs-codemirror.doc
<__monty__> > builtins.attrnames haskell.compiler
<{^_^}> attribute 'attrnames' missing, at (string):154:1
Sonarpulse has joined #nixos
<__monty__> > builtins.attrNames haskell.compiler
<{^_^}> [ "ghc7103" "ghc7103Binary" "ghc802" "ghc821Binary" "ghc822" "ghc843" "ghc861" "ghcHEAD" "ghcjs" "ghcjs710" "ghcjs80" "ghcjs82" "ghcjs84" "integer-simple" ]
<Berra> __monty__: Aha!
<__monty__> Berra: There they are : )
<Berra> __monty__: That makes sense now that I think of it - sorry for bothering! : D
<__monty__> No bother.
tenten8401 has quit [Quit: Konversation terminated!]
tenten8401 has joined #nixos
<{^_^}> [nixpkgs] @mbode opened pull request #43377 → flink: 1.4.2 -> 1.5.0 → https://git.io/fNICV
_cyril_ has quit [Ping timeout: 268 seconds]
_cyril_ has joined #nixos
ixxie has quit [Ping timeout: 240 seconds]
Sonarpulse has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @Anton-Latukha opened pull request #43378 → mesa: enable floating point textures (patents expired), 8.1.2 -> 8.1.3 → https://git.io/fNIWB
tmaekawa has joined #nixos
tmaekawa has quit [Client Quit]
phdoerfler has joined #nixos
phdoerfler has quit [Client Quit]
rihards has joined #nixos
<__monty__> Wow, why am I being disadvantaged? >: (
<thoughtpolice> gchristensen: Nice
<clever> gchristensen: Attackers might be trying to steal your information from grahamc.com (for example, passwords, messages, or credit cards). Learn more
<thoughtpolice> Was this just like a config option hidden somewhere in CF?
<clever> gchristensen: This server could not prove that it is grahamc.com; its security certificate is from www.github.com. This may be caused by a misconfiguration or an attacker intercepting your connection.
<gchristensen> clever: I wonder why you see that and other people don't
<gchristensen> LnL sees it on one computer and not another
<{^_^}> [nixpkgs] @gnidorah opened pull request #43379 → rambox: add gtk2 dependency → https://git.io/fNIlY
<thoughtpolice> I see a valid certificate.
<clever> gchristensen: what IP do you see behind the domain?
crmlt has joined #nixos
<gchristensen> 185.199.108.153
<samueldr> grahamc's blog post loaded fine here
<samueldr> must be eventual consistency at work
<LnL> gchristensen: all browsers
<clever> i see 8 IP's behind that domain
<clever> let me check each...
chessai has joined #nixos
<clever> gchristensen: 185.199.108.153 returns a github cert for me
<gchristensen> I mean, its hosted by github
<clever> all 4 V4 IP's return github certs and should trigger cert warnings
<clever> LnL: do both of your machines have v6 support?
<samueldr> v4 only here
<gchristensen> no they shouldn't clever, they should be using SNI
<gchristensen> if you connect to the direct IP it'll of course use the github cert
<clever> gchristensen: thats why i passed -host grahamc.com
<samueldr> gchristensen: was the switch to github somewhat recent?
<gchristensen> -host isn't a flag?
<clever> openssl s_client -connect 185.199.111.153:443 -host grahamc.com
<clever> gchristensen: this tells it to open an SSL socket, and claim that domain for SNI purposes
<gchristensen> ah
crmlt has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @mbode opened pull request #43380 → terraform_landscape 0.1.17 -> 0.1.18 → https://git.io/fNIli
<clever> gchristensen: i think, double-checking the man page
<gchristensen> I was thinking curl :P
<clever> oh no, i wanted -servername
<{^_^}> [nixpkgs] @xeji merged pull request #43355 → vault: 0.9.5 -> 0.10.3 → https://git.io/fNk1d
<{^_^}> [nixpkgs] @xeji pushed commit from @bricewge to master « vault: 0.9.5 -> 0.10.3 (#43355) »: https://git.io/fNIlb
<clever> `openssl s_client -connect 185.199.111.153:443 -servername grahamc.com` now gives a lets encrypt cerr
<{^_^}> [nixpkgs] @xeji merged pull request #43361 → darwin.trash: f68ad25a -> 0.9.1 → https://git.io/fNkNJ
<{^_^}> [nixpkgs] @xeji pushed commit from @jbaum98 to master « trash: f68ad25a -> 0.9.1 (#43361) »: https://git.io/fNIlx
<cocreature> Hey, I added `steam` to my systemPackages but when I try to run the binary it seems to segfault https://gist.github.com/cocreature/73ddf32aeb55f477a4cf43d648899401. Has anyone encountered a similar error?
<clever> gchristensen: all 4 IP's now return the correct lets encrypt cert
<gchristensen> > Enforce HTTPS — Not yet available for your site because the certificate has not finished being issued.
<{^_^}> error: syntax error, unexpected $end, expecting ')', at (string):154:15
<gchristensen> seems github has a failed cert issuance on my site
<manveru> cocreature: did you try that after a reboot? it might be that you upgraded your graphic drivers...
dbmikus__ has joined #nixos
<cocreature> manveru: ah good idea! let me try a reboot
dbmikus_ has quit [Ping timeout: 240 seconds]
ThatDocsLady_ has quit [Ping timeout: 240 seconds]
logzet has joined #nixos
<clever> gchristensen: checking the network console in chrome, both machines with the problem are using ipv6
<{^_^}> [nix] @edolstra pushed 2 commits to master: https://git.io/fNI8B
<clever> i havent gotten openssl to use 6 yet
<cocreature> manveru: nope, still getting the exact same error
<clever> samueldr: and since your v4 only, that explains why you dont have an error
<samueldr> hail canadian ISPs making it hard for smaller ISPs using their infra to actually implement IPv6
<samueldr> (had an IPv6 setup with he.net before, but it caused weird issues especially with youtube)
<clever> samueldr: i usually have v6 disabled in the browser itself, not sure how it turned back on
<LnL> clever: I was thinking the same, I have ipv6 connectivity on all machines. but my phone might not be using it by default
<{^_^}> Channel nixos-18.03-small advanced to https://github.com/NixOS/nixpkgs/commit/324aafeb38b (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-18.03-small)
<{^_^}> Channel nixpkgs-18.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/324aafeb38b (from 2 hours ago, history: https://channels.nix.gsc.io/nixpkgs-18.03-darwin)
<gchristensen> clever: oy! OK I'll hack DNS.
<clever> samueldr: my HE tunnel also breaks netflix, because they think i'm trying to evade the region lockouts
<samueldr> hah
<clever> samueldr: previously, they didnt check, so i was able to watch the american lineup
<samueldr> yeah, it made it possible touse pandora here while I was using it
<clever> now they check, and i cant watch ANYTHING
<{^_^}> [nixpkgs] @xeji pushed commit from @offlinehacker to master « prometheus-jmx-httpserver: init at 0.10 (#43336) »: https://git.io/fNI8H
<{^_^}> [nixpkgs] @xeji merged pull request #43336 → prometheus-jmx-httpserver: init at 0.10 → https://git.io/fNkch
<clever> samueldr: i have also seen what some local ISP's have tried to do in the past: https://imgur.com/a/YWcKxri
<chessai> clever: in the thing you linked earlier, is the use of 'lib.mkAfter' important?
<clever> chessai: yes
<chessai> ah
<clever> chessai: without that, you wind up adding to a chain before the chain has been created
<chessai> ah
<clever> and then your entire firewall stops working
<gchristensen> clever: ok I dropped ipv6 from the bare domain
<clever> gchristensen: will take an hour for it to expire from my cache
<gchristensen> thask for debugging with me
<symphorien> nix-store --deriver prints a path which does not exist; is it expected ?
<clever> gchristensen: ive also got a project ive been wanting to resume, that is related to that post, https://github.com/cleverca22/cachecache
<symphorien> nix-store --query --deriver, sorry
<gchristensen> yeah :)
<clever> gchristensen: its supposed to both cache a binary cache, and mux several caches into a single URL
<gchristensen> I remember that
Sonarpulse has joined #nixos
graphene has quit [Remote host closed the connection]
<cocreature> manveru: looks like I was just too stupid to read the wikipage, setting "hardware.opengl.driSupport32Bit = true;" seems to fix it (or at least get me further :))
<mightybyte> domenkozar: Does cachix work for private repos?
graphene has joined #nixos
frankpf has quit [Ping timeout: 265 seconds]
<samueldr> cocreature: if the wiki page is missing things, and you can't/don't want to update it, you can tell me and I'll look into fixing it
<samueldr> (about steam)
<cocreature> samueldr: will do, thanks for your help!
ZeDestructor is now known as Aeso_
lassulus has quit [Ping timeout: 244 seconds]
Aeso_ is now known as ZeDestructor
ZeDestructor is now known as ZeDestruct0r
ZeDestruct0r is now known as ZeDestructor
lassulus has joined #nixos
<domenkozar> mightybyte: not yet, you can leave your email at https://cachix.org/#faq to be notified for when it will be :)
<{^_^}> [nixpkgs] @mbode opened pull request #43381 → heptio-ark: 0.7.1 -> 0.9.0 → https://git.io/fNIBE
<gchristensen> clever: how do the TLS IPv6 requests look now?
<clever> grahamc.com. 1450 IN AAAA 2a04:4e42::403
<clever> gchristensen: hasnt expired from the cache just yet
<gchristensen> clever: yeah but do they work
<gchristensen> github might have fixed it
<{^_^}> [nixpkgs] @xeji merged pull request #43357 → rdma-core: 17.1 -> 19 → https://git.io/fNky3
<{^_^}> [nixpkgs] @xeji pushed commit from @markuskowa to master « rdma-core: 17.1 -> 19 (#43357) »: https://git.io/fNIBP
<clever> gchristensen: still fails on this end
<{^_^}> [nixpkgs] @xeji merged pull request #43380 → terraform-landscape 0.1.17 -> 0.1.18 → https://git.io/fNIli
<{^_^}> [nixpkgs] @xeji pushed commit from @mbode to master « terraform-landscape 0.1.17 -> 0.1.18 (#43380) »: https://git.io/fNIBD
Havvy has quit [Read error: Connection reset by peer]
Berra has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @xeji merged pull request #43377 → flink: 1.4.2 -> 1.5.0 → https://git.io/fNICV
<{^_^}> [nixpkgs] @xeji pushed 3 commits to master: https://git.io/fNIRg
tenten8401 has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @timokau opened pull request #43382 → pythonPackages.cysignals: 1.7.1 -> 1.7.2 → https://git.io/fNIRi
<mightybyte> domenkozar: How would you make that work with access control?
mroutis has quit [Ping timeout: 240 seconds]
hyper_ch has quit [Remote host closed the connection]
hyper_ch has joined #nixos
justbeingglad has joined #nixos
justbeingglad has left #nixos [#nixos]
freeman42x]NixOS has quit [Ping timeout: 268 seconds]
{`-`} has joined #nixos
knupfer has joined #nixos
andrewrk has quit [Ping timeout: 264 seconds]
Deknos has joined #nixos
<domenkozar> mightybyte: read/write tokens
tzemanovic has joined #nixos
Havvy has joined #nixos
<hyper_ch> globin: online?
tzemanovic has quit [Ping timeout: 244 seconds]
andrewrk has joined #nixos
<hyper_ch> how can I remove the latest generation on nixos?
<infinisil> hyper_ch: The latest as in the one you're currently running??
<hyper_ch> no, I booted into older generation because newest ones can't import zpool
<hyper_ch> so I need to delete the two newest generations so that default is back to a bootable one
<domenkozar> --rollback
<hyper_ch> domenkozar: and what command?
ambro718 has joined #nixos
<domenkozar> nixos-rebuild switch --rollback
<ldlework> domenkozar: so if you boot into a previous generation, nixos-rebuild --rollback will essentially garbage collect the forward generations you don't want anymore?
<domenkozar> no, it will rollback one generation
<domenkozar> so run it twice :)
<hyper_ch> thanks, did so
<LnL> oh, nixos-rebuild doesn't support -G?
<domenkozar> afaik no
<domenkozar> or the manual lies :)
<ldlework> domenkozar: is there a way to do what I described?
<ldlework> like maybe you rolled really far back
<ldlework> and you just want to forward garbage collect
<ldlework> but retain previous generations
<domenkozar> you'd rollback
<domenkozar> and then nix-collect-garbage -d
<domenkozar> you have to think in terms of GC
humanoyd has quit [Quit: WeeChat 2.1]
<domenkozar> each nixos-rebuild switch creates a savepoint -- called GC root
<domenkozar> if you rollback, root is removed
<domenkozar> and anything that's not in GC root is GCd
telent has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #43381 → heptio-ark: 0.7.1 -> 0.9.0 → https://git.io/fNIBE
<{^_^}> [nixpkgs] @xeji pushed commit from @mbode to master « heptio-ark: 0.7.1 -> 0.9.0 (#43381) »: https://git.io/fNIzB
fragamus has joined #nixos
<infinisil> You can manually delete generations with `sudo nix-env -p /nix/var/nix/profiles/system --delete-generations <list of gens to delete, e.g. {100..110}>
<__monty__> nix-env --delete-generations could definitely do with nicer UX. I just want to say keep the last X generations.
<justanotheruser> Do any of you have debian vm's or anything of the sort so you can run a dpkg package without having to create a new nix expression for it?
<ldlework> this could be nice mini guide
<infinisil> And activate a specific system via /nix/var/nix/profiles/system-{number}/bin/switch-to-configuration
{^_^} has quit [Remote host closed the connection]
{^_^} has joined #nixos
{^_^} has quit [Changing host]
{^_^} has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #43382 → pythonPackages.cysignals: 1.7.1 -> 1.7.2 → https://git.io/fNIRi
<{^_^}> [nixpkgs] @xeji pushed commit from @timokau to master « pythonPackages.cysignals: 1.7.1 -> 1.7.2 (#43382) »: https://git.io/fNIzS
chessai has quit [Ping timeout: 244 seconds]
alex`` has quit [Ping timeout: 256 seconds]
redj_ is now known as redj
alex`` has joined #nixos
jwynn6 has quit [Quit: ZNC - http://znc.in]
<{^_^}> [nixpkgs] @bhipple opened pull request #43383 → pythonPackages.aws-adfs: init at 0.12.0 → https://git.io/fNIgo
<{^_^}> [nixpkgs] @xeji merged pull request #43164 → libvirt: 4.4.0 -> 4.5.0 → https://git.io/fNv6b
<{^_^}> [nixpkgs] @xeji pushed commit from @volth to master « libvirt: 4.4.0 -> 4.5.0 (#43164) »: https://git.io/fNIg6
ambro718 has quit [Quit: Konversation terminated!]
mroutis has joined #nixos
<{^_^}> [nixpkgs] @bhipple closed pull request #43383 → pythonPackages.aws-adfs: init at 0.12.0 → https://git.io/fNIgo
<{^_^}> [nixpkgs] @mbode opened pull request #43384 → aws-rotate-key: init at 1.0.0 → https://git.io/fNI2T
goertzenator has joined #nixos
andymandias has quit [Ping timeout: 240 seconds]
marzzzello has joined #nixos
grp has quit [Quit: box shutting down...]
marzzzello has quit [Client Quit]
<{^_^}> [nixpkgs] @fragamus opened pull request #43385 → libcsptr: init at 2.0.4 → https://git.io/fNI22
simukis has quit [Ping timeout: 248 seconds]
andymandias has joined #nixos
lnikkila_ has quit [Ping timeout: 268 seconds]
<goertzenator> I've got a build script that is doing pkg-config on "xlib_xcb". How do I find which Nix package provides that? I've found all the other x libs I need, but I'm stuck on that one. (ref https://github.com/Daggerbot/x11-rs/blob/master/x11-dl/build.rs)
xeji has quit [Quit: WeeChat 2.0]
<{^_^}> [nixpkgs] @geistesk opened pull request #43386 → openrct2: 0.1.2 -> 0.2.0 → https://git.io/fNIaF
<logzet> Hi, I am getting "mounting /dev/root/iso failed: no such file or directory" when Im trying to boot from uso, any ideas?
lnikkila_ has joined #nixos
<{^_^}> [nixpkgs] @Ericson2314 pushed to lib-customize-typo « lib: Fix typo `fixed-points` to `fixedPoints` »: https://git.io/fNIVo
<{^_^}> [nixpkgs] @Ericson2314 opened pull request #43387 → lib: Fix typo `fixed-points` to `fixedPoints` → https://git.io/fNIVK
alex`` has quit [Ping timeout: 264 seconds]
<samueldr> hi logzet, which image are you using, and how did you "burn" it to USB?
drakonis has quit [Remote host closed the connection]
alex`` has joined #nixos
crmlt has joined #nixos
thmzlt has quit [Ping timeout: 256 seconds]
rihards has quit [Quit: rihards]
crmlt has quit [Ping timeout: 240 seconds]
<clever> ,locate xlib_xcb
<{^_^}> Couldn't find any packages
knupfer has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @symphorien opened pull request #43388 → Neovim python env → https://git.io/fNIw7
<infinisil> goertzenator: Should be xorg.libxcb
<infinisil> > xorg.libxcb.name
<{^_^}> "libxcb-1.12"
<kalbasit> srhb: I'm running into https://github.com/NixOS/nixpkgs/issues/40560 I can't basically do anything with Kubernetes due to this bug. For instance, there's no way to install and use Helm
<{^_^}> #40560 (by azazel75, open): kubernetes default "admin" user isn't authorized to do anything useful
graphene has quit [Remote host closed the connection]
<clever> infinisil: oddly, it doesnt have an xlib_xcb.pc file though
<infinisil> Yeah
graphene has joined #nixos
seafood has joined #nixos
tenten8401 has joined #nixos
<srhb> kalbasit: I don't remember the fix right now. I helped do it for master. Perhaps you can ping johanot when he's on (CEST time)
<srhb> kalbasit: I've mostly handed over all the k8s stuff, since I don't actually admin a cluster anymore.
<srhb> kalbasit: If I were you I'd rely on the master version for now. That's known working.
<kalbasit> I see, I'll take a look at the master branch
<kalbasit> I'm running unstable now
<kalbasit> srhb:
<kalbasit> srhb: isn't unstable the master branch?
<srhb> Oh, that should work...
aaddrres has joined #nixos
<srhb> "Known working" is not what it used to be.
<kalbasit> srhb: I was trying to fix it for 3 hours last night, no go
<srhb> kalbasit: Have you pasted your config somewhere?
<srhb> And the thing that fails?
<tenten8401> Does anyone know how I'd go about stopping the pulseaudio systemd service in NixOS?
<kalbasit> srhb: while I have you, how can I delete all of kubernetes data so it's "fresh"? remove all `/var/lib/kubernetes` is enough?
<tenten8401> I'm logged in as root via SSH and it doesn't seem to want to find the service at all
<srhb> kalbasit: I think so. Honestly I'm a little rusty on the changes that's been made the last half-year :)
<kalbasit> srhb: no, but one sec
<kalbasit> I see
<srhb> tenten8401: Isn't that a --user service?
<logzet> samueldr: dded onto the stick
<kalbasit> srhb: that's the relevant part of my config, or at least with what I have attempted https://www.irccloud.com/pastebin/D8zuFWRA/
<{^_^}> [nixpkgs] @Ericson2314 merged pull request #43367 → haskell: fix package sets based on integer-simple → https://git.io/fNIJU
<{^_^}> [nixpkgs] @Ericson2314 pushed 2 commits to master: https://git.io/fNIr9
<fragamus> I need this project to be a package but it has no released version... what should be done
<srhb> kalbasit: And you can't authorize? Are you sure it's authorization that's failing?
<tenten8401> srhb: no clue, it might be
<infinisil> fragamus: Use a date of the latest commit as a version
<infinisil> fragamus: In ISO 8601 format
<{^_^}> [nixpkgs] @geistesk opened pull request #43389 → geojson: 2.3.0 -> 2.4.0 → https://git.io/fNIrj
<fragamus> oh nice
<kalbasit> srhb: yes, I tried with `kubectl -s https://localhost --insecure-skip-tls-verify logs nginx-app-579d6d7d6b-4q25q`, I even tried using a `curl` call with the right arguments and basic auth `curl -u kubernetes:admin -k -v -XGET -H "User-Agent: kubectl/v1.10.5 (linux/amd64) kubernetes/32ac1c9" -H "Accept: application/json, */*"
<kalbasit> http://127.0.0.1:8080/api/v1/namespaces/kube-system/pods/kube-dns-5746ddc44f-462zq/log\?container\=dnsmasq` and got the same error message
Khetzal has quit [Ping timeout: 240 seconds]
<kalbasit> so it looks like the k8s services are not communicating with each other correctly
<kalbasit> srhb: `nix-shell -p kubernetes-helm --run 'helm status'` => `Error: forwarding ports: error upgrading connection: unable to upgrade connection: Unauthorized`
alex`` has quit [Ping timeout: 260 seconds]
<srhb> kalbasit: Okay. I'm sorry, it's late here and I don't have a working test setup currently. :/ I can ask some of the people that work on it nowadays to check in tomorrow if they have time.
<kalbasit> srhb: I'll file a BUG today (I need to get a clean env with it first) and I'll send it to you here
<kalbasit> srhb: thanks, take care.
<srhb> kalbasit: can you cc me on the bug report instead? Then I won't forget to forward it to the relevant people :)
<kalbasit> srhb: sounds good
<srhb> Thanks! :)
<kalbasit> np
Ridout has joined #nixos
<logzet> Hmm, I re-dd'ed my stick, tried UEFI and legacy boot, everything with the same result :/
<WilliamHamilton> hi, I updated the derivation for the pakcs curry compiler, and while it builds nicely if I do nix shell -> unpackPhase -> generatePhase, it doesn't work when it's installed with nix-build. If someone wants to take a look: https://gist.github.com/1e636532aeacb12e16476ebf30c06a3f
<{^_^}> [nixpkgs] @nyanloutre opened pull request #43390 → WIP electron-cash: 3.1.6 -> 3.3 → https://git.io/fNIKe
<gchristensen> logzet: can you run sha256sum on the downloaded file?
aaddrres has quit [Quit: Page closed]
<WilliamHamilton> the error is ERROR: executable '/nix/store/cpw8301inbfm906rfn21rpg04gnzd8q8-pakcs-2.0.2/pakcs/src/pakcs' not found! And I can't figure out where that /src/ comes from
<clever> for b in $(ls $out/pakcs/bin) ; do
<clever> WilliamHamilton: dont parse the output of ls, that will fail in a dozen different ways
<clever> WilliamHamilton: for x in $out/pakcs/bin/*; do
garbas has joined #nixos
<clever> WilliamHamilton: line 101 is already doing exactly that
<clever> but the cause cant be located
<clever> WilliamHamilton: oh, but the makeFlags on 67 dont do anything, line 71 replaces the default buildPhase
<WilliamHamilton> clever: you're right and I'll rewrite that, but I don't think the error lies there, as I carried that bit from the previous version
<WilliamHamilton> oh, so if the buildPhase is modified, the makeFlags are not called, good to know
mroutis has quit [Ping timeout: 264 seconds]
<WilliamHamilton> the puzzling thing is that if I do the nix-shell path, it works through and I can use it, while if I build it, nix builds it but than I can't use the executable because of that error
<logzet> gchristensen: It matches the checksum from the website
<gchristensen> logzet: what does stat -c '%s' ./thefile say?
<logzet> The stick also contained an old installer iso before which yielded the same error
<logzet> gchristensen: 1060110336
<clever> logzet: did you dd to sdb or sdb1?
<logzet> sdc
<gchristensen> head -c 1060110336 /dev/sdc | sha256sum
<gchristensen> ^ try that
__monty__ has quit [Quit: leaving]
<logzet> Grub works and stage 1 starts, but mounting root fails :/
tzemanovic has joined #nixos
tzemanovic has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @alyssais opened pull request #43391 → tor-browser-bundle: update license to free → https://git.io/fNI6T
tzemanovic has joined #nixos
<logzet> Maybe it is time to look for another stick
tzemanovic has quit [Client Quit]
<logzet> gchristensen: It matches the expected sha256
<infinisil> Phew, the module system is magic, but there's many things you gotta understand for it to be pleasant to use
<infinisil> With more complicated stuff I mean
<logzet> gchristensen: Wtf it works on another laptop
<gchristensen> wat
<logzet> Yea…
<{^_^}> [nixpkgs] @grahamc pushed commit from @tadfisher to release-18.03 « firefox: add u2f support »: https://git.io/fNI6r
<pie_> what would i have to add to my system level config so that it installs https://github.com/rycee/home-manager for users?
<pie_> doesnt look like there's a package for it either, which i find kind of odd ;D
* pie_ pokes rycee ?
halfbit has quit [Quit: WeeChat 2.1]
tzemanovic has joined #nixos
<logzet> Age difference between the laptops is about 5 years, so one has UEFI and USB3, the one that does not work has not
Ariakenom has quit [Quit: Leaving]
<WilliamHamilton> clever: I found the problem: it was caused by an error in a pakcs distribution script
<samueldr> logzet: it's UEFI but with usb2 ?
<samueldr> though, this alone shouldn't cause an issue :/
<pie_> infinisil, hm thanks
<logzet> samueldr: It is UEFI with USB3, I also tried USB2 mode and then legacy (non-UEFI)
<logzet> mode
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to master: https://git.io/fNIi3
<{^_^}> [nixpkgs] @Infinisil merged pull request #43232 → xorg.xkeyboardconfig: 2.23.1 -> 2.24, Fixes issue with polish symbols syntax → https://git.io/fNfYZ
Khetzal has joined #nixos
seafood has quit [Quit: seafood]
seafood has joined #nixos
<pie_> how do i delete a "result" symlink?
<logzet> rmb
<logzet> rm?
<pie_> complains about read only file sytem
<samueldr> drop the slash at the end
<samueldr> the slash makes it so it resolves the symlink
<pie_> aha.
<clever> `rm result` deletes the symlink, `rm result/` tries to delete the storepath the link points to
fragamus has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<pie_> i see
<clever> bash tab-completes the wrong one
seafood has quit [Quit: seafood]
<pie_> (makes sense)
<samueldr> hm, my bash tab completes at first result, then another tab for result/
<clever> samueldr: it probably depends on if the target is a dir or not
* samueldr wonders which option he toggled
<samueldr> for a dir
<samueldr> for not-a-dir it completes directly to result with a space
<clever> sounds normal
<samueldr> I was going from: [18:25:30] <clever> bash tab-completes the wrong one
<infinisil> Hey, anybody using fish and liking Haskell? #42657 would like to have you, it can add fish completions for a lot of haskell packages
<{^_^}> https://github.com/NixOS/nixpkgs/pull/42657 (by roberth, open): Haskell bash completion
<infinisil> (and bash and zsh ones too)
mroutis has joined #nixos
<pie_> "Import paths must be absolute. Path literals are automatically resolved, so this is fine.
<pie_> (import ./foo.nix)" ok its really annoying that i cant manipulate a relative path...
* pie_ trying to do something like "./hosts/" + hostName + "/hardware-configuration.nix" in configuration.nnix
coot has quit [Quit: coot]
<viric> niksnut: if I add openssl + "--with-openssl" to coreutils, sha256sum runs 2x faster in my laptop and 5x in my small server.
<samueldr> pie_: `import (./ + "/hosts/${hostName}/hardware-configuration.nix")` ?
<clever> samueldr: the imports list must not depend on any value from the config or options trees
<samueldr> oh, right
<samueldr> (I assumed just a let or something)
<pie_> hostName is just a let
<clever> i make configuration.nix do imports = [ ./nixcfg/amd-nixos.nix ];
<clever> and then everything else starts from that, which forms a tree of modules
rprije has joined #nixos
<clever> no need for variables in paths
<viric> I happen to sha256sum a lot (git annex, for example)
<samueldr> my `configuration.nix` is just `import ./machines/ralphwiggum` where ralphwiggum is the hostname
<pie_> well i guess i *am* overcomplicating it xD
<samueldr> for the same reasons clever points out
<clever> samueldr: i keep the boot related stuff seperate from the git managed things
<clever> samueldr: the uuid's of FS's is going to change if i ever made a replacement
<samueldr> as for I, I want the complete with specifics inside my git repo :)
<clever> and conflicts will arise if i want to run both copies at once
<samueldr> I work with labels
<samueldr> (which can be an issue if you add storage, etc...)
<logzet> Well, Xubuntu doesnt work either
<samueldr> that's good news for nixos, bad news for either the stick or the laptop :/
<logzet> I guess the stick (or … hope …)
<rycee> pie_: Yeah, if you want a system-level setup of HM it's best to do though the module.
Sonarpulse has quit [Ping timeout: 268 seconds]
<rycee> pie_: And packaging Home Manager is a bit tricky because it is typically best if the home-manager tool is managed by Home Manager since we sometimes make changes in the modules that also need changes in the tool. And the modules change quite often…
<pie_> hm. well i figured some kind of bootstrap would be enough, just to get it to install itself or something
<ldlework> rycee: can we get a guide on that
<rycee> pie_: Eventually I guess it would be prudent to have a stable "API" for the tool so it can be installed separately from the modules and be guaranteed to work for like a NixOS release cycle or something.
<pie_> would be nice. im trying to go really hard on a reproducible config for everyday things
<rycee> pie_: Well, I would say `nix-shell $HM_PATH -A install` is the bootstrap :-) Of course could have a small Nixpkgs package that wraps all that in a small home-manager-installer script or whatever.
<pie_> well reproducible/hands-off-rebuild
<rycee> ldlework: You mean a guide on using the NixOS module? If so, yeah I agree. I'm hoping to write a bit on the Home Manager manual whenever I have some time left over. Basically to put down how to use it from the tool and from the module.
<rycee> The manual is a bit sparse at the moment: https://rycee.github.io/home-manager/ :-)
<rycee> I'll head to bed. See ya and good luck pie_ :-)
<{^_^}> [nixpkgs] @patternspandemic opened pull request #43392 → ponyc: 0.23.0 -> 0.24.0 → https://git.io/fNIXy
<pie_> o/
<ldlework> yeah i am a bit shy with trying out the module
<infinisil> rycee: Neat!
<infinisil> I've been using the nixos module for a while now, working well
<samueldr> ouch, I have ~800MB available, but it looks like (something derived from) sd-image on unstable somehow makes a 1.3GB ext4 FS
<samueldr> I may have accidentally got graphical stuff though
<samueldr> oh, that is with cross-compilation
<samueldr> it added the x86_64 bootstrap tools, and probably other stuff though
sigmundv has joined #nixos
<ldlework> i just don't quite understand how to do it
<infinisil> ldlework: Just clone home-manager, add `imports = ./path/to/home-manager/nixos` to your nixos config, then you can use the `home-manager.users.paul = ...` option to set home-manager options
<infinisil> Stuff like `home-manager.users.paul = { config, ... }: ...` also works if you need that. And merging between multiple nixos modules works as well.
erasmas has quit [Quit: leaving]
<ldlework> did you really mean to assign imports that way
<ldlework> rather than assigning imports a list with the nixos module as an element
doyougnu1 has quit [Ping timeout: 240 seconds]
<infinisil> Ah yes, a list
civodul has quit [Quit: ERC (IRC client for Emacs 26.1)]
<ldlework> infinisil: what do you mean "And merging between multiple nixos modules works as well." Do you mean expressing your home-management configuration as a bunch of separate nixos modules or something?
<infinisil> Yeah
<infinisil> The home-manager.users option can be used from all your nixos modules
sbdchd has joined #nixos
<infinisil> Just like a normal option and it will get merged properly
<{^_^}> Channel nixos-18.03-small advanced to https://github.com/NixOS/nixpkgs/commit/411cc559c05 (from 68 minutes ago, history: https://channels.nix.gsc.io/nixos-18.03-small)
<infinisil> Well it is a normal option, just thought I'd mention it, because the fact that you can assign a function ({ config, ... }: ...) to it might be a bit weird
<logzet> Okay, my second (and reliable) stick also works on the other laptop, but not the one I want to install nixos on
sbdchd has quit [Ping timeout: 268 seconds]
<pie_> infinisil, cool
<pie_> infinisil, is your config readable somewhere btw?
<infinisil> Um, well it's *online*, but not necessarily readable lol
<pie_> can i get configuration.nix to do the repo cloning too?
<infinisil> Repo cloning?
<pie_> fetchgit or what probably, but how do i access the output?
<infinisil> Ah
<pie_> for home-manager
<infinisil> Yeah
<infinisil> `imports = "${builtins.fetchTarball { url = "...; sha256 = "..."; }}/nixos";`
<{^_^}> [nixpkgs] @volth opened pull request #43393 → pythonPackages.cython: run tests in parallel → https://git.io/fNI1d
<clever> infinisil: lidy
<clever> list*
<infinisil> heh yeah
<infinisil> Goddamnit, I hate dynamic languages: https://github.com/NixOS/nixpkgs/commit/48ccdf322d9e
<samueldr> I *think* I found one part of my issue... didn't give `system` to the config, now let's see if I get armv7l binaries in that image (after this long build)
<infinisil> This error is now in unstable
<infinisil> static languages with compilers wouldn't have allowed this
<clever> infinisil: hydra could also have caught it, with the right release.nix entry
<clever> but yeah, a static language makes it much easier to catch
doyougnu has joined #nixos
<clever> this gives me a thought, llvm ....
<infinisil> Alright let's see how many more errors i get after updating to latest unstable..
<clever> could you compile nix to x86 native binary?
<logzet> Okay, the first error message when I'm trying to boot is "waiting for /dev/root", which times out
<clever> logzet: there should be a root=something arg to the kernel, which configures what it waits for
halfbit has joined #nixos
andymandias has quit [Ping timeout: 240 seconds]
<logzet> clever: It is set root=label=NIXOS_BOOT
<logzet> *NIXOS_ISO
<clever> logzet: does the initrd give you the option to launch a shell in the initrd?
<logzet> Which seems to work on another PC
<logzet> yes
<clever> logzet: launch that shell, then check `ls -lh /dev/root`, what does it say?
<logzet> clever: It is a sylink to /dev/disk/by-label/NIXOS_ISO
<logzet> But /dev/disk/by-label does not exist
andymandias has joined #nixos
<clever> logzet: and lsblk or blkid outputs?
zugzug has joined #nixos
zugzug has quit [Changing host]
zugzug has joined #nixos
manny has quit [Ping timeout: 268 seconds]
<logzet> lsblk is not available, blkid lists 2 partitions
<clever> logzet: any of those the usb?
jtojnar has quit [Ping timeout: 256 seconds]
<clever> logzet: what about lsusb and lspci?
<logzet> I think the USB is both of them
<clever> does blkid show the label?
<logzet> ls{usb,pci} just print some IDs
<logzet> It shows partlabels
<logzet> But thats something different, isnt it?
<clever> /dev/sdb2: LABEL="amd" UUID="14989079359259406011" UUID_SUB="17123459550043989470" TYPE="zfs_member" PARTLABEL="ZFS1" PARTUUID="13e57ae8-4788-4a71-a0eb-e9d62644da67"
<clever> lrwxrwxrwx 1 root root 10 Jul 5 05:09 /dev/disk/by-partlabel/ZFS1 -> ../../sdb2
<clever> logzet: yeah, those are under by-partlabel, not by-label
<logzet> And that does indeed exist on the live system, but by-label doesnt
<logzet> :/
<{^_^}> [nixpkgs] @volth opened pull request #43394 → flash: 30.0.0.113 -> 30.0.0.134 → https://git.io/fNIDU
xy2_ has quit [Ping timeout: 240 seconds]
<clever> logzet: can you take a photo of the blkid output, and upload it somewhere?
<logzet> clever: Do you want to see the full IDs?
<clever> more about the labels and other minor things
jluttine has quit [Ping timeout: 256 seconds]
<logzet> It says:
<logzet> /dev/sdb1: UUID="…" TYPE="vfat" PARTLABEL="Basic data partition" PARTUUID="…"
<logzet> /dev/sdb2: PARTLABEL="Basic data partition" PARTUUID="…"
<logzet> clever: ^
<logzet> Which looks rather strange
<clever> logzet: hmmm, and if you mkdir /mnt; mount -v /dev/sdb1 /mnt; ls /mnt/; what do you see
<pie_> infinisil, sooo...if i want to make a .nanorc with home-manager, what do I do?
<infinisil> home.files.".nanorc".text = "foobar"
<logzet> Hah, only one file ReadyBoost.sfcache
<logzet> clever: ^
<logzet> So the stick partitions don't even show up there
<pie_> infinisil, cool thanks
<clever> logzet: try unplugging the usb stick, and plugging it into different usb ports, and checking blkid after each port
<logzet> Do vendors include extra disks to implement Win8 features?
<clever> logzet: what about fdisk -l /dev/sdb
jluttine has joined #nixos
<{^_^}> Channel nixpkgs-18.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/411cc559c05 (from 2 hours ago, history: https://channels.nix.gsc.io/nixpkgs-18.03-darwin)
<clever> logzet: and can you still see sdb in blkid, after unplugging the stick?
<logzet> clever: Yes, it stays there. No luck in changig ports
<clever> logzet: does lsusb change when you add/remove the usb stick?
<logzet> Just checked dmesg, no new output there if I connect the stick
<samueldr> hmmm, am I right in assuming I may be doing something wrong if I see `bootstrap-stage[01234]` in a cross build?
<clever> logzet: let me check something
<logzet> And lsusb does not change its output
<samueldr> well, I'm pretty sure I am since I get this at the end: `error: a 'armv7l-linux' is required to build '/nix/store/nbh24ic1rz0i06zha9illnbx0h114izf-expand-response-params.drv', but I am a 'x86_64-linux'`
<clever> logzet: can you pastebin the full output of lspci ?
<clever> samueldr: that looks like a native arm build
<samueldr> that's what it felt like
<logzet> clever: Difficult without inet, but lsusb und lspci don't show any labels, just addresses, is that normal for the "emergency" verion?
jackdk has joined #nixos
<samueldr> I am a bit out of my element, trying to wrap my mind around buliding an ext4 image... though I did set nixpkgs.crossSystem
<clever> logzet: yeah, thats normal, lets start with just the classes
<clever> logzet: do you see a class of 0c03?
<logzet> USB?
<clever> like: 00:14.0 Class 0c03: 8086:a12f
<clever> yeah
<clever> 00:14.0 USB controller [0c03]: Intel Corporation Sunrise Point-H USB 3.0 xHCI Controller [8086:a12f] (rev 31)
<clever> one is busybox lspci, the other is `lspci -nn` from pciutils
<logzet> clever: Yes, there are 3 0c03s
ajs124 has left #nixos ["Stream closed by us: Timed out waiting for stream resumption (connection-timeout)"]
<samueldr> hm, let's see, it started building when I stopped giving `system = "armv7l-linux"` to the config
ericsagnes has quit [Ping timeout: 240 seconds]
<clever> logzet: hmmm, and on closer inspection, 0c03 is 1.0, 2.0, and 3.0
<samueldr> and it by their names, looks like it will be armv7l https://stuff.samueldr.com/screenshots/2018/07/20180711195209.png
<clever> logzet: what are the vid:pid pairs after each one?
<logzet> 8086:1e2d 8086:1e26 8086:1e31
<clever> lol, 8086 is the VID for intel!
<samueldr> cheeky, but easy to remember
<logzet> Dmesg does not show new USB connections, not for my stick not for a mouse
<clever> less /nix/store/m2bwx92zkkjm1iwh1as2p23ih4gv0y1a-pciutils-3.5.6/share/pci.ids
<logzet> Are driver problems for USB an issue under linux?
<clever> logzet: it sounds like your missing usb drivers, confirming what devices you have
<clever> 1e2d 7 Series/C216 Chipset Family USB Enhanced Host Controller #2
<clever> 1e26 7 Series/C216 Chipset Family USB Enhanced Host Controller #1
<logzet> That need to be really exotic, if even the linux kernel does not have them by default
<clever> 1e31 7 Series/C210 Series Chipset Family USB xHCI Host Controller
<clever> logzet: they all look pretty standard
<clever> logzet: if you check lsmod, does it show ehci and xhci modules being loaded?
<logzet> yes
<clever> to get anything more, you would need a proper lspci, which is tricky at this stage
<clever> logzet: do you have nixos on anything else?
<logzet> Sure, typing on one installation
<logzet> *typing this
<clever> logzet: partition and format the usb stick as-if you where doing a normal UEFI install, then mount the USB stick partitions under /mnt/ and generate some config, then set oot.loader.grub.efiInstallAsRemovable=true; and finish the nixos-install
<clever> logzet: then you will have a non-live usb stick, that has a fully self-contained nixos that can freely be modified with nixos-rebuild, and have all changes persist
<clever> s/oot/boot/