johnw has quit [(Ping timeout: 240 seconds)]
contrapumpkin has quit [(Quit: My MacBook Pro has gone to sleep. ZZZzzz…)]
<simpson> Holy fuck, I forgot how much easier Haskell is with Nix. Amazing.
<slabity_> I'll brb
slabity_ has quit [(Quit: leaving)]
<Infinisil> simpson: The haskellWithPackages thing?
contrapumpkin has joined #nixos
johnw has joined #nixos
<simpson> Infinisil: Even just nix-shell and $(cabal sandbox init) works perfectly on the first try.
<simpson> Well, the second try, since I had to go look up which GHC can satisfy `base == 4.8.*` because the GHC team hasn't just given up and synced those numbers to their release numbers already.
<simpson> It *is* documented, technically: https://wiki.haskell.org/Base_package#Versions
dalaing_ has joined #nixos
<Infinisil> I can't wait for nix to take over the world
<Infinisil> Oh btw, is it safe to say that every nix package builds on every Linux distro?
Mateon1 has left #nixos []
ris has quit [()]
<simpson> No, because some packages are broken or non-Linux.
<Infinisil> Yeah yeah, I don't mean those
<Infinisil> Because I'm gonna be recommending people to use nix to install some software if they're having problems with their distro and it's available in nixpkgs
sigmundv__ has quit [(Remote host closed the connection)]
<clever> ah
<clever> ive given up on installing things with emerge on gentoo, its too slow, but i cant always change the os right away
<clever> so i just use nix on all of my old gentoo boxes
<Infinisil> That's a win-win situation
sigmundv_ has joined #nixos
<Infinisil> Question: This package has a cli part and a gui part, whereas the cli is a dependency of the gui. Both are built from a single source. What's the best way to package these?
<ebzzry> Infinisil: ping. I got dc’d yesterday.
<clever> a: make a single package that just builds both and puts them into $out
<Infinisil> Right now I'm using a default.nix file which does `callPackage ./cli.nix`, where the cli.nix file is the package for the cli
<clever> b: make a single package that builds both, but puts the gui stuff in the $gui output, via outputs = [ "out" "gui" ];
<clever> c: make 2 packages, which it sounds like youve done already
<Infinisil> So with b), can I put stuff in both $out/bin and $gui/bin and it is available from PATH?
<clever> it will only be in path if you install foo.gui and foo.out at the same time
<clever> but if you only install foo.out, the gui can be deleted by a GC
<clever> and then it wont depend on things like libX11
<clever> so it uses up less disk space
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] NeQuissimus closed pull request #26766: openldap: 2.4.44 -> 2.4.45 ; minikube: 0.19.1 -> 0.20.0 (master...minikube_openldap) https://git.io/vQLDN
NixOS_GitHub has left #nixos []
<Infinisil> Hmm, maybe I could do option a), but have an argument `includeGUI ? true`
<clever> that can be done, but would possibly result in having to recompile it, if the binary cache doesnt have both variants
<Infinisil> Hmm true..
<Infinisil> When doing multiple outputs, would users need to install it using nix-env -iA nixos.scyther.gui / nixos.scyther.cli ?
<clever> the tricky thing there, is that nix-env will think one is an upgrade for the other
<clever> and always remove the pre-existing one
<Infinisil> Eww
<clever> but you could then make a 3rd package, using buildEnv and arguments
<clever> that will conditionaly merge the cli and gui (either outputs, or seperate packages)
<clever> that operation is fast, so it can be re-built on the end-users machine
<clever> chrome and firefox plugins work in a similiar way
<Infinisil> Oh, so cli package, gui package, and a package that combines them with `includeGUI ? true`
<clever> yeah
<clever> and that 3rd one could just return the un-modified cli in the false case
<Infinisil> Ah yes, thanks I'll try that
<clever> if includeGUI then (buildEnv { name = "foo-with-gui"; paths = [ cli gui ]; } else cli
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] NeQuissimus pushed 2 new commits to staging: https://git.io/vQql7
<NixOS_GitHub> nixpkgs/staging 0737359 Tim Steinbach: openldap: 2.4.44 -> 2.4.45
<NixOS_GitHub> nixpkgs/staging 56761c9 Tim Steinbach: minikube: 0.19.1 -> 0.20.0
NixOS_GitHub has left #nixos []
<Infinisil> Thanks, I think this is gonna work
boj has quit [(Ping timeout: 260 seconds)]
<Infinisil> Works already :D
<clever> :D
<Infinisil> Now I have one more problem: I should include multiple versions (latest from master, latest release and some other branch), how would I make these available idiomaticly?
<clever> some packages have a foo and a foo-unstable attribute
<clever> but there is no way to make nixpkgs always build from master
<Infinisil> Hmm
<Infinisil> I could make it another argument: `version ? "1.1.3"`, then check if its one of the supported ones and build that one
<Infinisil> Non-default versions don't need to be built by hydra
<clever> you can also just set meta.hydraPlatforms
<clever> that controls which platforms hydra will build it for
<clever> and if its an empty list, none
<clever> then it can be in the main attribute list as foo-unstable, but not pre-built
eacameron has joined #nixos
<Infinisil> Ah yes
<clever> and if hydraPlatforms is missing, it defaults to meta.platforms
<clever> which restricts where nix will even try to build it
boj has joined #nixos
<clever> so you could prevent nix from building the package on arm, or darwin
<Infinisil> Oh that reminds me, I should also make this package work on Darwin, it's supposed to work on it as well
<clever> another fun thing to setup, is darwin build slaves
<Infinisil> Which are?
<clever> ensure nix is in the $PATH on non-interactive shells (try ssh mac "nix-store --help")
<clever> then configure nix.buildMachines on your nixos box
<Infinisil> Oh that's pretty fancy
<clever> the first 2 options
<clever> then you can do nix-build '<nixpkgs>' -A foo --argstr system x86_64-darwin
<Infinisil> Can't use it though, I'm dual booting
<clever> this will force it to build a darwin version, ignoring the current host
<clever> in my case, i dont own any mac hardware, so i use www.macincloud.com
<Infinisil> I see
<clever> but in your case, you could do it from a linux VM inside the mac
<clever> or flag a linux VM as a linux build slave, so the mac can still do linux builds
<Infinisil> I'll just get it to work on linux first, darwin comes later
<clever> then you can build for either platform, while booted into mac
<clever> a mac guest in a VM would be harder
<ebzzry> Infinisil: back to my nix-shell question earlier, how can I make https://goo.gl/zAkQBq work for an input like: ./lisp --noinform --eval '(progn (format t "Hello, world!") (quit))'
<Infinisil> ebzzry: That doesn't work?
pie_ has quit [(Changing host)]
pie_ has joined #nixos
<Infinisil> Ah yeah it doesn't, hold on
<ebzzry> Infinisil: clone that repo, then please try it. =)
jgertm has quit [(Ping timeout: 255 seconds)]
<Infinisil> Ugh I hate bash scripts, such an ugly language, string handling is the worst
<ebzzry> Infinisil: yup!
<Infinisil> Yeah, I've been wanting to have a closer look at turtle
<Infinisil> ebzzry: Maybe this helps you further: escaped=$(printf "%q" "$@")
<Infinisil> This escapes all special chars, maybe that's gonna work
MP2E has quit [(Quit: leaving)]
<ebzzry> Infinisil: let me try that
<ebzzry> Infinisil: where should I plug that?
<Infinisil> I have no idea
<Infinisil> Lol
<ebzzry> Infinisil: =)
vmandela has joined #nixos
<Infinisil> Maybe you could just loop through all arguments and build up a string like this
kthnnlg has quit [(Ping timeout: 260 seconds)]
<Infinisil> Oh and if you don't know already, do `set -x` at the beginning to see what's happening and getting called
eacameron has quit [(Remote host closed the connection)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] NeQuissimus pushed 1 new commit to master: https://git.io/vQqBs
<NixOS_GitHub> nixpkgs/master 4e08459 Tim Steinbach: linux-hardened-copperhead: 4.11.6c -> 4.11.6d
NixOS_GitHub has left #nixos []
Supersonic112 has quit [(Disconnected by services)]
Supersonic112_ has joined #nixos
Supersonic112_ is now known as Supersonic112
vaibhavsagar has joined #nixos
eacameron has joined #nixos
mudri has quit [(Quit: WeeChat 1.8)]
thc202 has quit [(Ping timeout: 268 seconds)]
ogkloo has quit [(Ping timeout: 276 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] NeQuissimus pushed 2 new commits to master: https://git.io/vQqBb
<NixOS_GitHub> nixpkgs/master c4a4860 Pascal Bach: virtualbox: 5.1.18 -> 5.1.22
<NixOS_GitHub> nixpkgs/master 6fb9f89 Tim Steinbach: Merge pull request #25368 from bachp/virtualbox-5.1.22...
NixOS_GitHub has left #nixos []
ogkloo has joined #nixos
<pie_> stallarium fails to build from unstable for some reason
<Infinisil> Alright dude, I'm giving up on this bash fucking "string" handling, what a piece of bullshit this is
s33se has joined #nixos
dalaing_ has quit [(Ping timeout: 246 seconds)]
<jbaum98> is there a way to add your own custom modules to nixos?
<jbaum98> like if i've written one, how do i enable it
s33se_ has quit [(Ping timeout: 255 seconds)]
<clever> jbaum98: just put it into the imports list of configuration.nix
<clever> jbaum98: and also, configuration.nix itself is a nixos module
ryanartecona has joined #nixos
<justanotheruser> I'm running into an import error at python run time stating "ImportError: libfreetype.so.6: cannot open shared object file: No such file or directory". I get it from importing a module that is part of the panda3d python package. This is my definition to install panda3d, let me know if you see the cause of the issue please, I am indeed including the "freetype" package. https://hastebin.com/raw/yawisavoye
<kanzure> hm.
<kanzure> justanotheruser: do you actually have libfreetype.so.6 and if so does setting LD_LIBRARY_PATH help
dalaing_ has joined #nixos
<kanzure> er, LD_LIBRARY_PATH=/whatever python3 panda.py
pie_ has quit [(Ping timeout: 255 seconds)]
<jbaum98> clever: ahh thank you
dalaing_ has quit [(Ping timeout: 255 seconds)]
<Infinisil> ebzzry: Using Haskell: https://hastebin.com/hecizoqebi.hs
ison111 has joined #nixos
<justanotheruser> kanzure: I was having trouble with libstdc++.so.6 earlier, now the module I'm trying to build references it properly after adding pkgconfig. Both libstdc++.so.6 and libfreetype.so.6 are in the nix store, however only libstdc++ is in the nix store for the environment this module is being built in, it looks like. Maybe I should just include another environments LD_LIBRARY_PATH, however is there a more correct
<justanotheruser> solution?
lambdamu has joined #nixos
mbrgm has quit [(Ping timeout: 240 seconds)]
mbrgm has joined #nixos
<justanotheruser> Trying another envs libfreetype I get ImportError: libfreetype.so.6: wrong ELF class: ELFCLASS32
<justanotheruser> so I guess some env has some package which has 32 bit libfreetype as a dependency?
lambdamu_ has quit [(Ping timeout: 240 seconds)]
<justanotheruser> I'm surprised it doesn't just include the library when I build it... I mean, nixos.freetype is what I want for libfreetype right
<clever> justanotheruser: did you install freetype with nix-env?
<justanotheruser> no
<justanotheruser> here is the expression https://hastebin.com/raw/yawisavoye
<clever> where did you specify freetype?
<justanotheruser> it is a dependency of panda3d
<clever> how did you pass it to panda3d?
<justanotheruser> hmm?
<clever> you have to pass it into the panda3d derivation somehow
riot has joined #nixos
<clever> or it will never use it
<ison111> Where do I add additional dependencies when doing a package override? I added it to buildInputs but it didn't seem to work
<clever> ison111: which override method did you use?
<ison111> clever: global. using nixpkgs.config.packageOverrides
<clever> ison111: did you use overrideDerivation or overrideAttrs?
<ison111> clever: Oh, overrideAttrs
<justanotheruser> clever: doesn't specifying it as a buildInput in buildPythonPackage do that for me?
<clever> justanotheruser: nope
<justanotheruser> oh
orivej has joined #nixos
<justanotheruser> then how does it know to use libstdc++?
<clever> justanotheruser: you need to add the ${freetype}/lib/ to LD_LIBRARY_PATH
<justanotheruser> clever: ok, so do postInstall = "wrapProgram $out/bin/python3 --prefix LD_LIBRARY_PATH : ${pkgs.freetype}/lib"?
<clever> justanotheruser: you need to wrap the shell script that runs python3 on the python file
<justanotheruser> why do I have to do this for this dependency and not all the others?
rjsalts has quit [(Read error: Connection reset by peer)]
rjsalts has joined #nixos
<clever> justanotheruser: because python is strange
<justanotheruser> I'll give you that
<clever> justanotheruser: for both python, and java, you cant patchelf the RPATH of the elf file, because its an input, not your output
<clever> so you have to set LD_LIBRARY_PATH when running it
<justanotheruser> for c programs, is the postinstall patchelfing?
<justanotheruser> generally
<clever> gcc will just set the right headers from the start
<justanotheruser> oh right
<Infinisil> Why oh why do I get a dns error when looking up my servers domain on 8.8.8.8, but other dns work?
mrkgnao has joined #nixos
rjsalts has quit [(Read error: Connection reset by peer)]
rjsalts has joined #nixos
eliaslfox has quit [(Ping timeout: 260 seconds)]
<clever> Infinisil: oh, maybe thats why ive been seeing weird dns issues on this end
<Infinisil> Also with only google's dns?
<clever> yeah
<Infinisil> Well that's a reason more to avoid google :D
<clever> i run my own recursive caching server, on nixos
<clever> and have set it up for somebody else recently, their router was returning ipv6 results for an ipv4 query
rjsalts has quit [(Ping timeout: 276 seconds)]
<clever> causing things to just fail in wonky ways, because it had no v6 addr
zeus_ has quit [(Remote host closed the connection)]
<Infinisil> Oh, yeah I'd like to use my own one too when I get around configuring it
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ttuegel closed pull request #26748: KDE PIM Applications (master...kdepim-wip) https://git.io/vQTNU
NixOS_GitHub has left #nixos []
<clever> Infinisil: services.bind.enable = true; is all you need, lol
rjsalts has joined #nixos
<Infinisil> One thing I need is access to my router, its website redirects to the domain swisscom.mobile, which is handled by the router directly
darlan has joined #nixos
darlan has quit [(Client Quit)]
<Infinisil> Somehow, I don't fully get it why
<justanotheruser> clever: is there any way I can store the state of the build at a certain step, and only run it again if that step of the expression has been changed?
<clever> Infinisil: ah, networking.extraHosts is the cheap way
<justanotheruser> Every time I build Eigen it takes a while
<clever> justanotheruser: you would need a seperate derivation for every step, and then link them all up in nix
<clever> this is an example i had throw together many months ago
<justanotheruser> neato, I'll try this out
<justanotheruser> ty again
<Infinisil> I just learned about iperf today, pretty cool, gonna have to write a nixos module for that and make a PR
<Infinisil> `iperf -s` on server, `iperf -c domain.com` on client, it tests throughput
<clever> main issue ive run into, is v2 vs v3
<clever> some of my servers only have one or the other, and many of them rename the binary to remove the ver number
<Infinisil> I see, it's not compatible?
<clever> yeah
<clever> you have to run the same version on both ends
<Infinisil> I would have thought it would just choose the lowest supported versions by both ends
<clever> isnt that flexible
ryanartecona has quit [(Quit: ryanartecona)]
<Infinisil> Now I just need a web interface to that so I can check it on any platform :D
boj has quit [(Ping timeout: 240 seconds)]
<Infinisil> Man, there's so many things to learn, web dev is on my to-learn list as well
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vandenoever opened pull request #26777: libopus: 1.1.5 -> 1.2 (master...opus) https://git.io/vQqEh
NixOS_GitHub has left #nixos []
sigmundv_ has quit [(Ping timeout: 240 seconds)]
cybrian has quit [(Quit: cya)]
<nixy> clever: Well with Nix it would be pretty easy to run the same version on both ends ;)
<clever> yep
mbbx6spp has quit [(Quit: WeeChat 1.8)]
<Infinisil> Oh hey clever, here is the WIP scyther package for now: https://github.com/Infinisil/nix-scyther/blob/master/default.nix
<Infinisil> If you're interested
<ison111> clever: So is overrideAttrs the right one to use for buildInputs?
<Infinisil> ison111: Yes, if you want to override buildInputs (which is an attribute of the derivation)
<ison111> Infinisil: Is that how I can add additional dependencies though? I added one that way to a package with a global override but it didn't seem to work.
<clever> ison111: how did you try building the package?
<clever> what command did you run?
eacameron has quit [(Remote host closed the connection)]
<ison111> Just with nixos-rebuild switch, is that what you meant?
<clever> ah, can you gist the contents of configuration.nix?
<ison111> clever: There's a lot of comments in there though sorry. But I did the override starting on line 48.
<clever> ah, that looks like it should have worked
<clever> but, will adding pillow to the buildInputs actually affect the build?
<clever> ison111: what are you expecting it to do?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz pushed 4 new commits to release-17.03: https://git.io/vQqui
<NixOS_GitHub> nixpkgs/release-17.03 f4b4edc Franz Pletz: coreutils: fix tests depending on setuid/setgid bits...
<NixOS_GitHub> nixpkgs/release-17.03 b972c0e Franz Pletz: exim: patch CVE-2017-1000369 (stack clash)...
<NixOS_GitHub> nixpkgs/release-17.03 6c026fe Franz Pletz: linux: patch CVE-2017-1000364 (stack clash)...
NixOS_GitHub has left #nixos []
<Infinisil> Good question, maybe some compiler flag needs to be added
<clever> i have a feeling that you need to instead modify the pythonpath within apache
<ison111> clever: Well I just want to run an apache server with mod_wsgi, but I need a bunch of python libraries which it can't find. So I'm trying to just add the python libraries I need as dependencies. Right now that's just a small test to see if I can add the PIL library, but it still says it can't find it.
<clever> ah
<clever> but its failing at runtime, not build time
<clever> so you need to configure apache, so it configures mod_wsgi correctly
<clever> see the above link
yegods has quit [(Remote host closed the connection)]
<ison111> clever: Oh wow, I didn't even know that existed. Thanks. I have one more issue though, I need it to use python3 instead of python2. I noticed in the mod_wsgi nix file that it has "python2" in its buildInputs. So I guess I can add python3 to it using ++ the way I did in my configuration.nix file, but is there a way to remove "python2"? Maybe some kind of -- operator?
<clever> ison111: mod_wsgi.override { python2 = python3; };
<ison111> clever: ah, thanks
<clever> this will pass it python3, under the attribute name python2
eacameron has joined #nixos
orivej has quit [(Ping timeout: 260 seconds)]
nh2 has quit [(Quit: Leaving.)]
orivej has joined #nixos
nh2 has joined #nixos
nh2 has quit [(Client Quit)]
ryantrinkle has quit [(Ping timeout: 240 seconds)]
eliaslfox has joined #nixos
ogkloo has quit [(Quit: WeeChat 1.4)]
Infinisil has quit [(Remote host closed the connection)]
Infinisil has joined #nixos
Infinisil has quit [(Quit: ZZzzzz.z...)]
NightTrain has quit [(Quit: Lost terminal)]
boj has joined #nixos
ryanartecona has joined #nixos
indi_ has joined #nixos
vmandela has quit [(Quit: Leaving.)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] aszlig pushed 2 new commits to master: https://git.io/vQq2S
<NixOS_GitHub> nixpkgs/master fa6fd34 aszlig: github/pr-template: Add note about NixOS tests...
<NixOS_GitHub> nixpkgs/master 63fb845 aszlig: virtualbox: Rebase hardened.patch on top of 5.1.22...
NixOS_GitHub has left #nixos []
jgertm has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] therealpxc opened pull request #26778: fish: 2.5.0 -> 2.6.0 (master...fish) https://git.io/vQqa2
NixOS_GitHub has left #nixos []
ryanartecona has quit [(Quit: ryanartecona)]
eacameron has quit [(Remote host closed the connection)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] mt-caret opened pull request #26779: networkmanager: fix arping path (master...networkmanager) https://git.io/vQqVi
NixOS_GitHub has left #nixos []
zeus_ has joined #nixos
nslqqq has joined #nixos
newhoggy_ has joined #nixos
nslqqq has quit [(Ping timeout: 240 seconds)]
nslqqq has joined #nixos
newhoggy has quit [(Ping timeout: 246 seconds)]
orivej has quit [(Ping timeout: 246 seconds)]
orivej has joined #nixos
vaibhavsagar has quit [(Quit: Leaving)]
marsel has joined #nixos
phreedom has quit [(Remote host closed the connection)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] volth opened pull request #26782: rrdtool: 1.7.0 -> 1.7.0.2017-06-23 (master...rrdtools-1.7.0-git) https://git.io/vQqob
NixOS_GitHub has left #nixos []
MercurialAlchemi has joined #nixos
newhoggy_ has quit [(Remote host closed the connection)]
newhoggy has joined #nixos
newhoggy has quit [(Ping timeout: 246 seconds)]
marsel has quit [(Ping timeout: 240 seconds)]
newhoggy has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] bzizou opened pull request #26783: [openmpi] 1.10.1 -> 1.10.7 (master...openmpi) https://git.io/vQq6a
NixOS_GitHub has left #nixos []
pietranera has joined #nixos
hotfuzz_ has joined #nixos
newhoggy has quit [(Ping timeout: 240 seconds)]
zeus_ has quit [(Read error: Connection reset by peer)]
zeus_ has joined #nixos
hotfuzz has quit [(Ping timeout: 276 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] joachifm closed pull request #26773: nixos: replaced "userns" with "user namespaces" for clarity (master...patch-1) https://git.io/vQt70
NixOS_GitHub has left #nixos []
pietranera has quit [(Quit: Leaving.)]
pietranera has joined #nixos
pietranera has quit [(Client Quit)]
pietranera has joined #nixos
bzizou has joined #nixos
mrkgnao has quit [(Ping timeout: 255 seconds)]
mrkgnao has joined #nixos
Itkovian has joined #nixos
ilyaigpetrov has joined #nixos
markus1189 has quit [(Ping timeout: 240 seconds)]
markus1189 has joined #nixos
DrWaste has joined #nixos
yegods has joined #nixos
<joachifm> looks like glibc is now broken on i686 and aarch64 (re ongoing rebuilds)
pietranera has quit [(Ping timeout: 240 seconds)]
marsel has joined #nixos
ambro718 has joined #nixos
zeus_ has quit [(Remote host closed the connection)]
zeus_ has joined #nixos
elninja44 has quit [(Remote host closed the connection)]
pietranera has joined #nixos
indi_ has quit [(Remote host closed the connection)]
indi_ has joined #nixos
indi_ has quit [(Remote host closed the connection)]
indi_ has joined #nixos
jensens has joined #nixos
freusque has joined #nixos
indi_ has quit [(Ping timeout: 246 seconds)]
boomshroom has joined #nixos
<boomshroom> Hello, sorry about earlier.
pie_ has joined #nixos
<boomshroom> I'm trying to setup a shared configuration between my desktop and my laptop and currently I have separate branches for each with a master branch for common changes. Is there a better way to do this?
<boomshroom> I'm also wondering about how much can go in
<boomshroom> I'm also wondering about how much can go in ~/.config/nixpkgs/config.nix as I'm trying to keep most of the configuration user-side rather than system-side.
thc202 has joined #nixos
hotfuzz_ is now known as hotfuzz
pietranera has quit [(Ping timeout: 240 seconds)]
arkad has joined #nixos
<boomshroom> For file layout, I have a common configuration.nix, the generated hardware-configuration.nix, and a platform-configuration.nix, which is hand-written and different between systems.
Vorpal has quit [(Ping timeout: 258 seconds)]
<boomshroom> I take it there aren't many people around this time of night.
<tommyangelo[m]> currently compiling libreoffice-5.3.1.2 but it seems stuck at "checking for references to /tmp/nix-build-libreoffice-5.3.1.2.drv-0 in /nix/store/gzibdnv3i5svxzzcg6i0017in86bgywa-libreoffice-5.3.1.2...". How long should that take
yegods has quit [(Remote host closed the connection)]
ebzzry has quit [(Ping timeout: 260 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] markus1189 opened pull request #26784: ammonite: disable remote logging by default (master...ammonite-disable-remote-logging) https://git.io/vQqDk
NixOS_GitHub has left #nixos []
ambro718 has quit [(Ping timeout: 240 seconds)]
bastian has joined #nixos
archebian has joined #nixos
archebian has quit [(Quit: WeeChat 1.0.1)]
archebian has joined #nixos
jgertm has quit [(Ping timeout: 255 seconds)]
archebian has left #nixos []
reinzelmann has joined #nixos
ertes has quit [(Quit: Bye!)]
goibhniu has joined #nixos
page has quit [(Quit: Lost terminal)]
zeus_ has quit [(Remote host closed the connection)]
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
zeus_ has joined #nixos
archebian has joined #nixos
berce has joined #nixos
ThatDocsLady has joined #nixos
Itkovian has joined #nixos
Tucky has joined #nixos
zeus_ has quit [(Ping timeout: 246 seconds)]
<berce> I 'm trying to get a smartcard reader working. In debian, it would need package libarc38u. Can you help me to make it available in nixos?
jensens has quit [(Ping timeout: 255 seconds)]
yegods has joined #nixos
Wizek has joined #nixos
<goibhniu> hi berce, have you read this already? http://nixos.org/nixpkgs/manual/#chap-quick-start
boomshroom has quit [(Ping timeout: 260 seconds)]
<berce> yes
<goibhniu> cool, have you written an expression?
<berce> I was hoping for guiding like: start from this package and replace the url.
arianvp2 has quit [(Quit: arianvp2)]
Wizek_ has joined #nixos
<goibhniu> usually the readme will say what extra buildInputs you need, or you can also check a build script from some other distro
<qknight> hey. i'd like to install nixos on digitalocean but we can't find the tool to create a cloud-config. https://github.com/elitak/nixos-infect <- this is the manual we are following
FRidh has joined #nixos
<berce> goibhniu: I 'm looking at hello. It looks really simple. I know nix is brilliant, but is it brilliant enough to know where the library files have to be put?
<goibhniu> berce: it will make a fair attempt
pie_ has quit [(Changing host)]
pie_ has joined #nixos
<goibhniu> berce: best to try it out and ask if you run into any issues
<berce> goibhniu: I 'll give it a try. Thanks.
<archebian> What should I do when I get cmake errors?
<archebian> I'm trying to add a package to nixpkgs
<goibhniu> archebian: what's the error?
<qknight> archebian: have a look at other cmake projects already in nixpkgs
<archebian> In file included from /tmp/nix-build-bytecoin.drv-0/bytecoin-1d48dc274048787b7a95814e216c61a1a7307ef1-src/src/CryptoNoteCore/SwappedMap.cpp:18:0:
<archebian> /tmp/nix-build-bytecoin.drv-0/bytecoin-1d48dc274048787b7a95814e216c61a1a7307ef1-src/src/CryptoNoteCore/SwappedMap.h: In member function 'void SwappedMap<Key, T>::close()':
<archebian> /tmp/nix-build-bytecoin.drv-0/bytecoin-1d48dc274048787b7a95814e216c61a1a7307ef1-src/src/CryptoNoteCore/SwappedMap.h:198:3: error: 'cout' is not a member of 'std'
<archebian> std::cout << "SwappedMap cache hits: " << m_cacheHits << ", misses: " << m_cacheMisses << " (" << std::fixed << std::setprecision(2) << static_cast<double>(m_cacheMisses) / (m_cacheHits + m_cacheMisses) * 100 << "%)" << std::endl;
<qknight> archebian: use a pastebin
<archebian> roger that
<archebian> thanks
ertes-w has joined #nixos
<qknight> archebian: can you compile the project inside a nix-shell -p g++ cmake (among the other dependencies?)
<archebian> ive never used nix-shell before, all my codings been from configuration.nix
<archebian> here is my .nix for custom package
<archebian> i import it into package environment with (import bytecoin.nix)
<qknight> archebian: use nix-shell also, it is great for ad-hoc hacking and playing with code
<archebian> do you know how i should figure out what its dependencies would be?
<archebian> ok i will check it out
<archebian> thanks
georges-duperon has joined #nixos
berce has quit [(Ping timeout: 260 seconds)]
<archebian> how can I get a list of available builtInputs?
<qknight> archebian: give me a sec, compiling now
<archebian> nice
<qknight> archebian: nix-env -qaP lists all buildinputs possible
<qknight> archebian: in general you look at similar packages and copy from there
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh opened pull request #26785: scyther: init at 1.1.3 (master...scyther) https://git.io/vQq9S
NixOS_GitHub has left #nixos []
<archebian> are the package names build inputs?
page has joined #nixos
pietranera has joined #nixos
<qknight> archebian: the attribute names
<archebian> but what about when I pass boost.dev to buildInputs, the build needs it but its not listed in nix-env -qaP
<archebian> and theres times other things I can install don't show up, such as discord and vim_configurable
<qknight> archebian: i'd use git clone on the src and point src = fetchgit { ... } to src=/tmp/cloned; and hack on the code
<qknight> archebian: also use nix-build -K (keep) so you can inspect the code
<archebian> nice thank u for showing me that
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh closed pull request #26752: pythonPackages.pygraphviz: fix build (master...graphviz) https://git.io/vQkdG
NixOS_GitHub has left #nixos []
<qknight> archebian: my guess is that the source base does not compile on other linuxes either because changes in g++ and such
<ikwildrpepper> anyone here using declarative hydra projects?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 4 new commits to master: https://git.io/vQqHV
<NixOS_GitHub> nixpkgs/master 00101eb Volth: jetbrains updater: use perlPackages.LWPProtocolhttps
<NixOS_GitHub> nixpkgs/master 7fa29f3 Volth: a little simpification (use File::Slurp)
<NixOS_GitHub> nixpkgs/master a260532 Volth: fixed regexp, it did not match the last block
NixOS_GitHub has left #nixos []
<qknight> anyone using digitalocean with nixos?
<qknight> i wonder if we need nixos-infect manually at all
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh pushed 1 new commit to master: https://git.io/vQqHS
<NixOS_GitHub> nixpkgs/master 4f0d812 Frederik Rietdijk: python.pkgs.spyder: remove maintainers...
NixOS_GitHub has left #nixos []
<ikwildrpepper> qknight: I use DO with nixops
<ikwildrpepper> I think that uses nixos-infect
phreedom has joined #nixos
<qknight> ikwildrpepper: paul and me are just trying to deploy something there and we are currently reverse engineering the https://github.com/NixOS/nixops/blob/985886cff4ac09c9cb635e31b45f0cc0dbd84e0a/nixops/backends/digital_ocean.py#L107 stuff
<qknight> ikwildrpepper: since the nixops documentation doesn't cover how to deploy or even set that token
<ikwildrpepper> hm weird, perhaps the docs on nixos.org/nixops/manual are not up to date, let me check
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/8accb9cb1c (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
nix-gsc-io`bot has quit [(Client Quit)]
<qknight> archebian: i think it only lacks: #include <cstdint>
<qknight> archebian: i think it only lacks: #include <iostream>
<qknight> archebian: sorry (pasted the wrong stuff cstdint is not required)
<qknight> archebian: so simply patch the source and try with that
mmmrrr has joined #nixos
<ikwildrpepper> qknight: I think we have just set DIGITAL_OCEAN_AUTH_TOKEN
<ikwildrpepper> that's it
<qknight> ikwildrpepper: yes, we found that out like 5minutes ago as well
<qknight> ;-)
<qknight> ikwildrpepper: but it is not in the docs, right?
<ikwildrpepper> it is in the options
<qknight> ikwildrpepper: but it'd like it to be mentioned in the nixops docs as well
<ikwildrpepper> http://nixos.org/nixops/manual/#opt-deployment.digitalOcean.authToken
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh pushed 1 new commit to master: https://git.io/vQqQR
<NixOS_GitHub> nixpkgs/master aa3f37c Peter Jones: pythonPackages.intelhex init at 2.1
NixOS_GitHub has left #nixos []
<ikwildrpepper> we can add a mention to the digital ocean section
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh closed pull request #26581: pythonPackages.intelhex init at 2.1 (master...pjones/intelhex) https://git.io/vHF1U
NixOS_GitHub has left #nixos []
<mmmrrr> Can someone tell me: where do the .desktop files live for packages installed from /etc/nixos/configuration.nix ? :)
<qknight> ikwildrpepper: can you commit?
<qknight> cool!
newhoggy has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 2 new commits to master: https://git.io/vQq7J
<NixOS_GitHub> nixpkgs/master 5c2d4ef Markus Hauck: ammonite: disable remote logging by default
<NixOS_GitHub> nixpkgs/master 69ca7b1 Jörg Thalheim: Merge pull request #26784 from markus1189/ammonite-disable-remote-logging...
NixOS_GitHub has left #nixos []
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-17.03-small advanced to https://github.com/NixOS/nixpkgs/commit/b049392e16 (from 7 hours ago, history: https://channels.nix.gsc.io/nixos-17.03-small)
nix-gsc-io`bot has quit [(Client Quit)]
mrkgnao has quit [(Ping timeout: 255 seconds)]
yegods has quit [(Read error: Connection reset by peer)]
arianvp2 has joined #nixos
newhoggy has quit [(Remote host closed the connection)]
Mateon3 has joined #nixos
Mateon3 is now known as Mateon1
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh pushed 1 new commit to master: https://git.io/vQq52
<NixOS_GitHub> nixpkgs/master be2b6c2 Alexandre Peyroux: gramalecte: init at v0.5.17
NixOS_GitHub has left #nixos []
MoreTea has joined #nixos
archebian has quit [(Quit: WeeChat 1.0.1)]
user____ has joined #nixos
<jophish> b
user____ is now known as archebian
archebian has quit [(Client Quit)]
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-17.03 advanced to https://github.com/NixOS/nixpkgs/commit/9b948ea439 (from 16 hours ago, history: https://channels.nix.gsc.io/nixos-17.03)
nix-gsc-io`bot has quit [(Client Quit)]
MoreTea has quit [(Ping timeout: 255 seconds)]
archebian has joined #nixos
sary has joined #nixos
mmmrrr has quit [(Remote host closed the connection)]
mudri has joined #nixos
m0rphism has quit [(Quit: WeeChat 1.8)]
indi_ has joined #nixos
indi_ has quit [(Ping timeout: 260 seconds)]
mpcsh has quit [(Quit: THE NUMERICONS! THEY'RE ATTACKING!)]
mpcsh has joined #nixos
arianvp2 has quit [(Quit: arianvp2)]
reinzelmann has quit [(Quit: Leaving)]
indi_ has joined #nixos
indi_ has quit [(Remote host closed the connection)]
indi_ has joined #nixos
bzizou has quit [(Remote host closed the connection)]
indi_ has quit [(Ping timeout: 268 seconds)]
<jophish> I think that I have some leftover locks which are preventing builds
<jophish> restarting the daemon doesn't seem to work
<jophish> Apparently the machine has been restarted since this started
<gchristensen> you might have some build dirs remaining? maybe show the gc roots and delete the old dirs
<jophish> there are two roots, in /run/user/1003
<jophish> for the .drv file
orivej has quit [(Ping timeout: 240 seconds)]
<jophish> Removing those didn't help
<jophish> I've told the intern to make a documentation improvement to the package and compile again :)
ebzzry has joined #nixos
seppellll has joined #nixos
tmaekawa has joined #nixos
indi_ has joined #nixos
indi_ has quit [(Remote host closed the connection)]
<pietranera> Hello, this may be a silly question, but how to I update the system packages in NixOS (a la nix-channel --update && nix-enc -u)?
<pietranera> s/nix-enc/nix-env/
<goibhniu> hi pietranera, `nixos-rebuild switch --upgrade`
<goibhniu> nix-env will only update the packages in the user profile
<pietranera> goibhniu thanks, I knew that nix-env would not work but couldn't figure out the nixos command. Thanks!
<goibhniu> cool, you're welcome!
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] peti pushed 8 new commits to master: https://git.io/vQqji
<NixOS_GitHub> nixpkgs/master 167b27b Peter Simons: LTS Haskell 8.19
<NixOS_GitHub> nixpkgs/master 7673cd0 Peter Simons: hackage-packages.nix: automatic Haskell package set update...
<NixOS_GitHub> nixpkgs/master 5148757 Peter Simons: haskell-hspec-core: break infinity dependency cycle...
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] peti pushed 1 new commit to release-17.03: https://git.io/vQqjX
<NixOS_GitHub> nixpkgs/release-17.03 bff2ea5 Peter Simons: haskell: fix logic error in generic builder introduced in 00892b7e4ed2e8eb52227db8e8312a06bd1d6699...
NixOS_GitHub has left #nixos []
simukis has joined #nixos
reinzelmann has joined #nixos
nh2 has joined #nixos
MrCoffee has joined #nixos
ryantrinkle has joined #nixos
mudri has quit [(Ping timeout: 260 seconds)]
arjen-jonathan has joined #nixos
r444 has joined #nixos
Wizek__ has joined #nixos
python476 has joined #nixos
Wizek has quit [(Ping timeout: 268 seconds)]
archebian has quit [(Quit: WeeChat 1.0.1)]
civodul has joined #nixos
MercurialAlchemi has quit [(Ping timeout: 260 seconds)]
reinzelmann has quit [(Quit: Leaving)]
darlan has joined #nixos
MrCoffee has quit [(Quit: Lost terminal)]
darlan has quit [(Quit: Communi 3.5.0 - http://communi.github.com)]
abcrawf has quit [(Remote host closed the connection)]
nckx has quit [(Quit: restarting my GuixSD server)]
Acou_Bass has quit [(Quit: ZNC - http://znc.in)]
nckx has joined #nixos
abcrawf has joined #nixos
ebzzry has quit [(Ping timeout: 260 seconds)]
<python476> hi
Acou_Bass has joined #nixos
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-17.03-small advanced to https://github.com/NixOS/nixpkgs/commit/bff2ea5a4c (from 84 minutes ago, history: https://channels.nix.gsc.io/nixos-17.03-small)
nix-gsc-io`bot has quit [(Client Quit)]
eacameron has joined #nixos
iyzsong has joined #nixos
sigmundv__ has joined #nixos
mudri has joined #nixos
Infinisil has joined #nixos
Tarinaky_ has quit [(Read error: Connection reset by peer)]
r444 has quit [(Ping timeout: 240 seconds)]
eliaslfox has quit [(Ping timeout: 240 seconds)]
mudri` is now known as mudri|srcf
python476 has quit [(Ping timeout: 240 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vcunat pushed 2 new commits to master: https://git.io/vQmqX
<NixOS_GitHub> nixpkgs/master 75872f3 Vladimír Čunát: knot-dns: security 2.5.1 -> 2.5.2...
<NixOS_GitHub> nixpkgs/master c76f8d9 Vladimír Čunát: knot-resolver: maintenance 1.3.0 -> 1.3.1
NixOS_GitHub has left #nixos []
peacememories has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vcunat pushed 1 new commit to release-17.03: https://git.io/vQmme
<NixOS_GitHub> nixpkgs/release-17.03 7c1a165 Vladimír Čunát: knot-dns: security 2.4.2 -> 2.4.5...
NixOS_GitHub has left #nixos []
<Infinisil> Nice, nix is yet again on HN's frontpage https://news.ycombinator.com/item?id=14618128
sigmundv__ has quit [(Ping timeout: 276 seconds)]
* gchristensen unblocks HN to go see
phinxy has joined #nixos
phinxy has quit [(Changing host)]
phinxy has joined #nixos
<Infinisil> The comment by atemerev resonates with me: Nix' syntax isn't very nice, I'd prefer something more Haskell like
<gchristensen> that seems like an effective way to scare off more people
<Infinisil> At least you'd have good documentation with Haskell.. Could use the whole hoogle stuff
<gchristensen> so you're not saying haskell-like, you're saying directly use haskell?
<Infinisil> I'm not sure
<Gravious> Infinisil, :D
<Infinisil> I would like it to be full Haskell, but that's not really possible with backwards compatibility
<gchristensen> also seems very tough to put haskell so deep in the build chain
<Infinisil> Maybe
<Infinisil> Oh and the new cli design looks neat (mentioned in the HN post): https://github.com/NixOS/nix/issues/779
<gchristensen> you can get that via nix-shell -p nixUnstable
ryantrinkle has quit [(Ping timeout: 268 seconds)]
<Infinisil> Damn, I'm still amazed how nice nix solves everything, you just said "do nix-shell -p nixUnstable", whereas in anything other than nix you'd need to do all that shitty dependency installing
<Infinisil> So glad I found nix
<gchristensen> <3
<gchristensen> I saved my coworkers a day and a half of work by making a nice shell.nix for a project we're starting
<Infinisil> Nice, what was it?
<gchristensen> it sets up go and a few dependencies like protobuf / protoc / language-plugins
<gchristensen> and it automatically detects (using some clever trickery if I may say so) if you've cloned the repo to the wrong place
MercurialAlchemi has joined #nixos
<Infinisil> Why would it matter that you cloned something in a specific place?
<Infinisil> I don't have the full picture I guess
<gchristensen> Go's GOPATH requires you clone your project to $GOPATH/src/github.com/OrgName/RepoName/
<Infinisil> Ahhh I see
cpennington has joined #nixos
<Infinisil> I haven't looked into Go very much, I'm not sure what to think of its library management
<gchristensen> so I have something like this: https://gist.github.com/grahamc/b96d4e2b0461a2e590af514725a8a8be and if the directoryStructureIsSane it exposes the development shell, and if it isn't sane it exposes a `diagnosticEscapeHatchShell` which provides instructions on how to fix it
Rotaerk has quit [(Quit: Leaving)]
indi_ has joined #nixos
bitchecker has quit [(Remote host closed the connection)]
<gchristensen> I'm actually really really proud of this :D
bitchecker has joined #nixos
<Infinisil> Very nice!
cpennington has quit [(Ping timeout: 246 seconds)]
<Infinisil> There's no hasSuffix in builtins I assume
<gchristensen> I didn't find one, but maybe
Havvy has quit [(Ping timeout: 276 seconds)]
<Infinisil> Imagine being able to use Haskell for Nix, you'd have so many libraries available :o
jensens has joined #nixos
<Infinisil> Seems like you got it from there somehow
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh pushed 1 new commit to release-17.03: https://git.io/vQmO3
<NixOS_GitHub> nixpkgs/release-17.03 2fee075 rnhmjoj: pythonPackages.pygraphviz: fix build and add python.pkgs.graphviz...
NixOS_GitHub has left #nixos []
<pie_> Infinisil, ikr? :P
<gchristensen> Infinisil: lol I didn't
<gchristensen> I came up with it on my own, but shockingly close :)
<Infinisil> gchristensen: Haha, damn
<pie_> hail nixos
<Infinisil> HAIL NIXOS
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh closed pull request #26785: scyther: init at 1.1.3 (master...scyther) https://git.io/vQq9S
NixOS_GitHub has left #nixos []
<Infinisil> I still need to put nixos on my now-windows machine, but I'm afraid of all the boot problems im gonna get
indi_ has quit [(Remote host closed the connection)]
cpennington has joined #nixos
<gchristensen> qknight: ping
qewzee is now known as mojo
mojo is now known as qewzee
peacememories has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
simukis has quit [(Read error: Connection reset by peer)]
simukis has joined #nixos
newhoggy has joined #nixos
newhoggy has quit [(Remote host closed the connection)]
<Isorkin> how to view installed all system packages?
<Infinisil> nix-env -q
<Isorkin> indefini: this command view install packages by user
<Infinisil> Ah
<Infinisil> Well if you used configuration.nix you can just look there
nslqqq has quit [(Ping timeout: 260 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ntruessel opened pull request #26789: chromium: 59.0.3071.86 -> 59.0.3071.109 (master...update-chromium) https://git.io/vQmZf
NixOS_GitHub has left #nixos []
nslqqq has joined #nixos
newhoggy has joined #nixos
DrWaste has quit [(Quit: Run away!)]
bastian has quit [(Ping timeout: 240 seconds)]
newhoggy has quit [(Remote host closed the connection)]
ryantrinkle has joined #nixos
newhoggy has joined #nixos
Havvy has joined #nixos
indi_ has joined #nixos
newhoggy has quit [(Ping timeout: 268 seconds)]
erasmas has joined #nixos
johnsonav has joined #nixos
Havvy has quit [(Ping timeout: 268 seconds)]
reinzelmann has joined #nixos
<Infinisil> Where would one put bash/zsh completion files in $out?
ris has joined #nixos
newhoggy has joined #nixos
<ris> hello world - any darwin people here?
peacememories has joined #nixos
<ris> ohlook
<ris> theres a special channel
<ris> will ask there
ris has left #nixos []
r444 has joined #nixos
<r444> how do i enable parallels guest tools in guest nixos?
<Infinisil> A special channel for nix on darwin? I doubt there's much going on there
newhoggy has quit [(Ping timeout: 255 seconds)]
<r444> but what do i do with it?
<r444> Infinisil: it feels really-really dead
<Infinisil> r444: See also here: http://nixos.org/nixos/options.html#parallels
<Infinisil> r444: Just put hardware.parallels.enable = true in configuration.ni
<Infinisil> x
<r444> thanks
indi_ has quit [(Remote host closed the connection)]
newhoggy has joined #nixos
<Ankhers> https://gist.github.com/ankhers/96c90df0dcaa74fe152b7d6afd37907f -- Is there a way to refer to the erlang derivation that is inside my args variable?
indi_ has joined #nixos
<r444> can i search nixpkgs for the target binary i need instead of expr/derivation names?
<r444> e.g. I need a genisoimage binary
newhoggy has quit [(Ping timeout: 240 seconds)]
<ij> If you want to use some nix file, do you figure out how to use it just by looking at source and usually not by searching for examples?
proteusguy has quit [(Ping timeout: 268 seconds)]
reinzelmann has quit [(Quit: Leaving)]
newhoggy has joined #nixos
indi_ has quit [(Remote host closed the connection)]
freusque has quit [(Quit: WeeChat 1.7.1)]
<Infinisil> Ankhers: I don't know exactly what you mean, but you can just use `args.<whatever you want from args>`, assuming the thing you want is an attribute of it
<Ankhers> Infinisil: Thanks!
newhoggy has quit [(Ping timeout: 276 seconds)]
<Infinisil> ij: I often try to find examples, can't find them most times. Most options are simple to use though, so it's not much of a problem
<r444> any ideas hot to continue?
<r444> how to continue*
kthnnlg has joined #nixos
<Infinisil> r444: The hash is different, I think it needs to be the same
<Infinisil> r444: Your iso has rbq207irjl9hmvglkjdhbmafif2148b0, while the build expects vaacf0z6a7v2ysxs11qnwwasnvjlcfs8
<r444> hmmm
<r444> i got mine from the parallels desktop itself
<Infinisil> r444: Either get the right iso, or change the hash to what you got
<r444> how do i do the latter?
<Infinisil> What does your nix file look like?
<r444> can't seem to find the iso
newhoggy has joined #nixos
<r444> i don't have a nix file for this, it's configuration.nix + nixpkgs
<Infinisil> Ah, so you're modifying a clone of nixpkgs? Where is your `test` package?
<r444> hardware.parallels.enable = true; in configuration.nix
<r444> i've not modified anything yet
mudri has quit [(Ping timeout: 268 seconds)]
ris has joined #nixos
<r444> i don't think `nixos-rebuild test` mentions a package name, if that's what you're implying
<Infinisil> Oh, also I mixed up sha256 hash with output hash before
<Infinisil> Ahh lol, yeah
<Infinisil> Hmm
<r444> i followed the nixos-rebuild output
<r444> made the iso from parallels desktop(it allows you to mount the installer into VM)
<r444> and did the command from the nixos-rebuild output
<Infinisil> You need to somehow override the prl-tools package
newhoggy has quit [(Ping timeout: 240 seconds)]
<Infinisil> Maybe with the src attribute
<r444> ah, ok, so i have to do overridePackages somewhere
<r444> is there a common way to structure configuration?
<Infinisil> Ah yes it's actually very much this
MercurialAlchemi has quit [(Ping timeout: 246 seconds)]
<Infinisil> Do you mean regarding overridePackages?
<r444> I'll need to write an override somewhere, but I suspect configuration.nix will get clumbersome very fast
<r444> yes, I'm wondering if there's a common practice/convention for that
digitus has joined #nixos
<Infinisil> You could put it in a separate file and then include it
<r444> how do people version it?
<Infinisil> Version what? configuration.nix?
<r444> git repos with scripts that copy the contents to /etc/nixos?
newhoggy has joined #nixos
<r444> configuration.nix and the rest of custom configuration
<r444> It feels like I'm about to invent a wheel
<r444> reinvent*
darlan has joined #nixos
<Infinisil> I personally use symlinks for now
<r444> so you point the /etc/nixos/configuration.nix to your repo or something?
<Infinisil> Like I have a git repo in /home/infinisil/system and /etc/nixos/configuration.nix is a symlink to /home/infinisil/system/nixos/mac-config.nix
<Infinisil> Also hardware-configuration.nix so it can be used with nixos-generate-config
<r444> I wasn't sure if it'll work with nixos-rebuild and the rest of the machinery
<r444> ok, good to know
<Infinisil> Regarding the parallels thing, you might be able to just replace this hash with the correct one to make it work: https://github.com/NixOS/nixpkgs/blob/master/pkgs/os-specific/linux/prl-tools/default.nix#L40
<Infinisil> Hmm actually maybe not
newhoggy has quit [(Ping timeout: 246 seconds)]
<Infinisil> You see, the whole file is known to work with exactly that iso, the hash is there to make it reproducable. If you're lucky your iso works without modifications. But I'd try to get the correct one
<Infinisil> I don't know much about parallels or where these iso come from
newhoggy has joined #nixos
<r444> I tried to google it
<r444> i have no clue how to get that iso
newhoggy has quit [(Ping timeout: 255 seconds)]
<Infinisil> I searched too, I have no clue what Parallels Tools for Linux even is
newhoggy has joined #nixos
<Infinisil> Can't find anything
<disasm> Infinisil: parallels is an osx hypervisor, like virtualbox. parallels tools is the daemon that runs and handles driver level stuff. I have parallels on my mac here, but I have yet to try nixos in it. Haven't rebooted into OSX in over a month.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Ericson2314 pushed 40 new commits to master: https://git.io/vQmV3
<NixOS_GitHub> nixpkgs/master c4ba2e3 John Ericson: cc-wrapper: Remove `stdenv.is*` for `targetPlatform.is*`...
<NixOS_GitHub> nixpkgs/master 459f1c6 John Ericson: cc-wrapper: Learn about target prefixes...
<NixOS_GitHub> nixpkgs/master d70e726 John Ericson: cc-wrapper: Simplify and correct logic to chose dynamic linker library
NixOS_GitHub has left #nixos []
<r444> Infinisil: daemon that allows you to interact with a host OS
<r444> i want to share some folders
<Infinisil> Ahh
<r444> basically i want to launch emacs in my host OS X, use tramp to get to nixos VM
ambro718 has joined #nixos
<r444> have no clue how to make it work though
<r444> I feel kinda stupid describing my issue on parallels forums, because it's obvious from the answers i get, they have no clue about nixos.
<disasm> I think you can just override the version and the hash
newhoggy has quit [(Ping timeout: 240 seconds)]
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/c76f8d9c7a (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
nix-gsc-io`bot has quit [(Client Quit)]
<Infinisil> Wait so you want to run nixos inside OSX using Parallels?
<r444> Infinisil: yes
<disasm> do you have the prl-tools-lin.iso file r444?
<r444> disasm: not really, i was able to mount the disk by the parallels desktop on the host system
<r444> then i made an iso out of it without the second thought
<Infinisil> You could really just try overriding version and hash, maybe it'll work
<r444> I'll try that, looking up the documentation right now
<r444> not super familiar with nixos
<r444> (more like not at all)
<Infinisil> Wait actually I don't think you need to override the hash
<Infinisil> Hold on
pxc has joined #nixos
newhoggy has joined #nixos
<disasm> r444: check /Applications/Parallels Desktop.app/Contents/Resources/Tools/prl-tools-lin.iso
<r444> good idea
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-17.03-small advanced to https://github.com/NixOS/nixpkgs/commit/2fee07561f (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-17.03-small)
nix-gsc-io`bot has quit [(Client Quit)]
<disasm> r444: then scp it to your nixos VM
<disasm> and run nix-store --add-fixed sha256 prl-tools-lin.iso
<r444> i want to compare sha256 first
<disasm> I believe that should output the sha256
<r444> does it make sense to compare it with the sha256 from the file itself?
<disasm> I don't think that's needed
<Infinisil> I think you could override source like: nixpkgs.config.packageOverrides = pkgs: { prl-tools = (pkgs.prl-tools.overrideAttrs (old: { src = ./prl-tools-lin.iso })) };
<Infinisil> This just uses a local file for source
<r444> oh cool
newhoggy has quit [(Ping timeout: 255 seconds)]
<Infinisil> Let me know if it works, I'm not sure myself
<r444> there's syntax error somewhere
<r444> i'm trying to figure it out
Tarinaky has joined #nixos
<Infinisil> Ah, after the path there needs to be a ;
newhoggy has joined #nixos
<Infinisil> Oh and another one
<Infinisil> nixpkgs.config.packageOverrides = pkgs: { prl-tools =
<Infinisil> (pkgs.prl-tools.overrideAttrs (old: { src = ./prl-tools-lin.iso }))
<Fuuzetsu> Infinisil: w.r.t. "Imagine being able to use Haskell for Nix, you'd have so many libraries available :o" yes but the thing is that you usually don't need these libraries. What do you want libraries for? No immediate uses come to mind that would offset the insane price of moving to it. It's still possible to use Haskell here however. You can write your Haskell script then use nix's "runCommand" to invoke it, passing parameters from nix.
<Fuuzetsu> You can use the output of your Haskell code however you wish. You can even output a nix expression and evaluate that.
<Infinisil> Damnit
<Fuuzetsu> I do this in some project (client's so private) and it works great.
<Infinisil> r444: After every assignment (blabla = blabla;) there needs to be a ;
<Infinisil> Fuuzetsu: Good point
eacameron has quit [(Remote host closed the connection)]
<r444> oh, i found the missing ;
<Infinisil> Fuuzetsu: Well now that I think about it once more, the stuff that nix has in its library (nixpgks/lib) and in pkgs is actually very much enough, you're right
<r444> error message is .... meh at least
<Infinisil> r444: Yeah it's not easy to find sometimes
<Fuuzetsu> Infinisil: I actually only 2 days ago realised that nix doesn't support floating point. After years of using it; and only because I read about that somewhere, not because I tried to use it...
<r444> the error after `nixos-rebuild test` looks the same as before
newhoggy has quit [(Ping timeout: 260 seconds)]
<Infinisil> Fuuzetsu: Heh, yeah floating point doesn't have much use in nix
newhoggy has joined #nixos
<Fuuzetsu> my use-case was parsing and processing some YAML FWIW; if it was JSON then we have a built-in for that (though processing would be a pain anyway)
<Infinisil> r444: Seems like the override didn't do anything then
peacememories has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<Infinisil> Fuuzetsu: Why did you need to parse yaml at build time?
acertain has quit [(Ping timeout: 276 seconds)]
<r444> disasm: i see the sha and it's different
<Fuuzetsu> parsing stack.yaml and extracting local packages, dependency overrides and extra-packages then overriding the package set with those
<r444> any pointers how to proceed from there?
<Sonarpulse> Fuuzetsu: havee you ever talked to domenkozar about that?
<Fuuzetsu> so we build Haskell package but use information from stack.yaml to make sure it's closer to "stack build" or whatever
<Fuuzetsu> Sonarpulse: about what precisely? parsing stack.yaml? no
<Sonarpulse> also hi, long time no see
<Infinisil> I se
<Fuuzetsu> hey; don't really come on IRC much these days (years?)
newhoggy has quit [(Ping timeout: 260 seconds)]
peacememories has joined #nixos
<Sonarpulse> years :D
<Infinisil> r444: If the override was applied, the hash wouldn't be checked I'm pretty sure, don't really know
<Infinisil> Hi Sonarpulse :)
<r444> I just pasted the snippet into the configuration.nix
<Sonarpulse> and yeah. parsing stack.yaml
Filystyn has joined #nixos
<Fuuzetsu> nope, just wrote that stuff in-house when I needed it, no public solutions as far as I saw (though I expect many home-grown ones)
<disasm> r444: can you gist configuration.nix?
<Infinisil> r444: Ah I see
ryanartecona has joined #nixos
<r444> disasm: yep, one moment
<Infinisil> I think that's the problem, but don't know how to fix it
newhoggy has joined #nixos
<Sonarpulse> Fuuzetsu: I think domen's stuff would postdate yours, but might be public already
<Fuuzetsu> mine's "trivial" and incomplete so didn't bother releasing
<Fuuzetsu> would be interested in what he has
<r444> Infinisil: so you say it's the other thing that should be overriden?
jgertm has joined #nixos
lambdael has joined #nixos
newhoggy has quit [(Ping timeout: 240 seconds)]
lambdael has quit [(Client Quit)]
lambdael has joined #nixos
<disasm> yeah, that's the problem...
<Infinisil> I really have no idea why overriding does nothing
<disasm> r444: ok... I have a solution I think, one sec
tokudan has joined #nixos
newhoggy has joined #nixos
marsel has quit [(Ping timeout: 240 seconds)]
<r444> Fuuzetsu: Sonarpulse: https://github.com/4e6/stack2nix we did that recently, not sure how it compares though
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<Fuuzetsu> let me build it and find out what it actually does
ryanartecona has quit [(Quit: ryanartecona)]
<Infinisil> disasm: one sec has passed about 500 times now :P
<Filystyn> how to safetly remove user and make new one ;-)
newhoggy has quit [(Ping timeout: 240 seconds)]
<r444> Fuuzetsu: i'm not sure though, I'll ask my colleague who did it
<r444> we've used some bash to do that before
<Infinisil> My hate for bash is increasing every day
<r444> he says it's raw, but requires some testing
<r444> s/raw/should be working/g
<r444> bash is hellish, sure
<Filystyn> bash is fine man
<Filystyn> jsut not for everythign ;-)
<r444> i find it ok for calling binaries and doing nothing else
<Infinisil> Here is a list of things I find bash ok for:
<Fuuzetsu> []
<Infinisil> Dito
<simpson> [system shell, user shell]
<copumpkin> offlinehacker: have you looked much at helm/nix possibilities?
Itkovian has joined #nixos
<Infinisil> Well ok, but I'd like something else to replace that eventually
darlan has quit [(Remote host closed the connection)]
<r444> disasm: any ideas regarding parallels issue?
kthnnlg_ has joined #nixos
goibhniu has quit [(Ping timeout: 240 seconds)]
ryanartecona has joined #nixos
<disasm> r444: that config.hardware makes this hard...
newhoggy has joined #nixos
<r444> I think I have to go away for a few hours soon
<r444> is it ok if I'll get back to you with this later(or possibly tomorrow)?
kthnnlg has quit [(Ping timeout: 240 seconds)]
<r444> I'm pretty frustrated at this point
<disasm> I'm thinking copy this whole file to /etc/nixos
arianvp2 has joined #nixos
<disasm> change prl-tools = to an override of the package
<disasm> get rid of options, get rid of the mkIf
<disasm> and then do an import of that file into configuration.nix
<Infinisil> That could work
<disasm> that's the only thing I can think of
<Fuuzetsu> what are you trying to do?
<disasm> Fuuzetsu: override the parallels src
<Fuuzetsu> can I see your configuration.nix with that?
<Infinisil> Fuuzetsu: We tried this, but it doesn't do anything: https://gist.github.com/dredozubov/e81fe626ce69f8948ab5b114db41948e#file-gistfile1-txt-L29-L31
arianvp2 has quit [(Client Quit)]
<Fuuzetsu> yes that won't do anything
<disasm> because the let prl-tools = in there
<Infinisil> But how can one override this then?
peacememories has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
civodul has quit [(Quit: ERC (IRC client for Emacs 25.2.1))]
<r444> Fuuzetsu: I want to use nixos as a guest within parallels desktop, but to share folders and stuff like with host I need to install parallels tools
eacameron has joined #nixos
newhoggy has quit [(Ping timeout: 260 seconds)]
<r444> i have an iso parallels expects me to mount in a guest linux system
<Fuuzetsu> boot.kernelPackages.prl-tools = pkgs.prl-tools.overrideAttrs (oldAttrs: { src = …; });
<Infinisil> Ahh yeah that looks better, wouldn't this give the error "attribute defined multiple times"?
iyzsong has quit [(Ping timeout: 240 seconds)]
<r444> error: attribute ‘extend’ missing, at /nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs/nixos/modules/system/boot/kernel.nix:26:31
<Fuuzetsu> no, it's taking " prl-tools = config.boot.kernelPackages.prl-tools;"; and `config` is an attribute passed in and you're defining it in there; even if it was, you can force it and do various stuff
<Infinisil> Fuuzetsu: Ah yeah, makes sense
newhoggy has joined #nixos
<Fuuzetsu> r444: you sure you set `boot.kernelPackages.prl-tools` and not `boot.kernelPackages`?
<Fuuzetsu> hm
<Infinisil> Well my next move would be to just clone nixpkgs and change this very file yourself (putting the path for src)
<r444> the only thing i've changed is the value of src = ...
<Infinisil> Then use -I nixpkgs=/path/to/nixpkgs
<r444> i've replaced ... with a path
<disasm> Infinisil: but then you have to manage updates yourself
<Fuuzetsu> let me put that in my config and mess with it
<disasm> r444: can you gist it again?
<r444> do you mean configuration.nix?
<disasm> I probly have about a half hour or so left on some of these jobs running on my laptop before I can reboot into osx and try something.
<disasm> r444: yeah
<Infinisil> disasm: I doubt it's even gonna work, because those patches and stuff may not apply to the version he has
<Infinisil> disasm: I would do that to just test if it's gonna work before investing any more time
<r444> disasm: ^
<Fuuzetsu> aha I have an idea, just trying first
Filystyn has quit [(Remote host closed the connection)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] mdorman opened pull request #26792: Automated Emacs package updates (master...emacs-updates) https://git.io/vQmMT
NixOS_GitHub has left #nixos []
bennofs has joined #nixos
<disasm> Infinisil: what patches?
newhoggy has quit [(Ping timeout: 255 seconds)]
<Fuuzetsu> boot.kernelPackages = pkgs.linuxPackages_latest // { prl-tools = pkgs.prl-tools.overrideAttrs (oldAttrs: { src = … ;});};
<Fuuzetsu> maybe?
<disasm> ah yeah, xorg version might end up being different and what not.
Filystyn has joined #nixos
Filystyn has quit [(Changing host)]
Filystyn has joined #nixos
<r444> Fuuzetsu: it got a bit farther
<r444> builder for ‘/nix/store/1hdghnwnphqlxwj4zklvarvpngsiir6k-prl-tools-lin.iso.drv’ failed to produce output path ‘/nix/store/vaacf0z6a7v2ysxs11qnwwasnvjlcfs8-prl-tools-lin.iso’
<r444> i see this though
<r444> cannot build derivation ‘/nix/store/qw4bp1yhfgykzxshf8j4y8vggzv999yx-prl-tools-10.0.2.27712.drv’: 1 dependencies couldn't be built
<r444> ...
<r444> error: build of ‘/nix/store/fx0zc8j4dy1jchi43zz82lpn02kjxrfb-nixos-system-nixos-17.03.1371.76d649b594.drv’ failed
lambdael has quit [(Quit: WeeChat 1.7.1)]
<disasm> r444: can you gist the whole output?
<Fuuzetsu> seems like it failed to build prl-tools: that means your override worked, now to just fix your build
ris has quit [(Ping timeout: 240 seconds)]
<r444> gotta go away for a few hours
newhoggy has joined #nixos
<r444> I'll annoy you a bit later or tomorrow, ok?
<disasm> r444: are you on parallels 10 or 11?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] hirnpfirsich opened pull request #26793: Fix/spotify update (master...fix/spotify-update) https://git.io/vQmMX
NixOS_GitHub has left #nixos []
<r444> 12
<Infinisil> Fuuzetsu: "just"
<r444> my nickname may be dredozubov, don't be alarmed if it will be different :)
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] hirnpfirsich closed pull request #26793: Fix/spotify update (master...fix/spotify-update) https://git.io/vQmMX
NixOS_GitHub has left #nixos []
lambdael has joined #nixos
<r444> thanks for the help, see you
<Infinisil> See ya
<disasm> see ya!
r444 has quit [(Remote host closed the connection)]
<Infinisil> Damn, that PR by hirnpfirsich got resolved quickly
<Filystyn> hello
<Filystyn> can someone tell me what causes tjis problem
<Filystyn> one huge fucking linking cluster fuck
<Infinisil> Filystyn: Anything to reproduce it? Or what are the errors?
<Filystyn> giving
<Filystyn> lookie
<Filystyn> just at soem point happened maybe i need some hard *resest* lol
<Infinisil> That looks pretty bad..
<Filystyn> this happens only with clem
* Fuuzetsu is the one that package Clementine
<Filystyn> but it worked fine untill i installed many DE
<Fuuzetsu> packaged*
<Fuuzetsu> haven't touched it in long time..
<Filystyn> to see which one i prefered
newhoggy has quit [(Ping timeout: 260 seconds)]
<Filystyn> or maybe this is coincidence
<Filystyn> :o
<Filystyn> also
<Fuuzetsu> you should report that to the clementine developers
pietranera has quit [(Ping timeout: 268 seconds)]
lambdael has quit [(Quit: WeeChat 1.7.1)]
<disasm> yeah, that seems like a bug. It could potentially be caused by something in your config you didn't have before, but malloc() memory corruption means something isn't being allocated correctly causing corruption in memory, or you have bad RAM, one of the two.
newhoggy has joined #nixos
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
alx741_ has joined #nixos
<Filystyn> nah i have 8 giga ram
<Filystyn> this is just fuckign segfault
simendsjo has joined #nixos
<Filystyn> and the linking problem was solved it was other program tho
<Filystyn> i compiled it in bad way
<Filystyn> sorry for the mess;-)
<disasm> although no ones replied to that, not a good sign.
<Filystyn> hmm
<disasm> Filystyn: what version do you have?
alx741 has quit [(Ping timeout: 258 seconds)]
<Filystyn> was there new nixos?
<disasm> I mean of clementine?
<Filystyn> 17.03.1298.5bafc71b61 (Gorilla)
<Filystyn> I would gladly evolve to unstable
<Filystyn> i thought i was useing one
newhoggy has quit [(Ping timeout: 240 seconds)]
Infinisil has quit [(Quit: Gonna go eat)]
<disasm> it's 1.2.3 in unstable too
<Fuuzetsu> don't know if anyone has been updating it
proteusguy has joined #nixos
<Fuuzetsu> it's at 1.3.1 on github so guess not
<Fuuzetsu> (clementine is, not nixpkgs)
newhoggy has joined #nixos
<simendsjo> I haven't been able to upgrade NixOS for a while as ghc-syb-utils haven't been able to build. I found a github issue for this that said that it had been fixed and would be available in a matter of days. It has now taken some days longer, and it looks like nixpkgs doesn't build properly (if I interpret Hydra correctly). Is there something I can do to work around this and upgrade my system despite this problem? Unfortunately, I don't know
<simendsjo> enough nix to help resolve the issues.
<disasm> the only difference between unstable and stable is it adds optionals for ipod mtp cd and cloud
arjen-jonathan has quit [(Ping timeout: 260 seconds)]
<Fuuzetsu> 1.3.x has tons of fixes, I'd suggest packaging and trying that.
<disasm> simendsjo: are you on unstable?
<Fuuzetsu> simendsjo: which issues are these? can you link? why is ghc-syb-utils blocking your system, is it a dependency for something you're using?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] hirnpfirsich opened pull request #26794: spotify: 1.0.55.487.g256699aa-16 -> 1.0.57.474.gca9c9538-30 (master...fix/spotify-update) https://git.io/vQmSX
NixOS_GitHub has left #nixos []
newhoggy has quit [(Ping timeout: 255 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] veprbl opened pull request #26795: root: 6.09.02 -> 6.10.00 (master...root_6.10.00) https://git.io/vQm9t
NixOS_GitHub has left #nixos []
newhoggy has joined #nixos
newhoggy has quit [(Read error: Connection reset by peer)]
newhoggy has joined #nixos
roconnor has joined #nixos
newhoggy_ has joined #nixos
newhoggy has quit [(Ping timeout: 246 seconds)]
newhoggy_ has quit [(Ping timeout: 246 seconds)]
newhoggy has joined #nixos
Infinisil has joined #nixos
roconnor has quit [(Quit: Konversation terminated!)]
newhoggy has quit [(Ping timeout: 268 seconds)]
alx741_ has quit [(Quit: alx741_)]
alx741 has joined #nixos
kugelblitz has joined #nixos
marsel has joined #nixos
<sphalerite> Idea: would it be feasible and useful for binary caches/remote stores to provide deltas from previous versions in addition to complete packages? As I imagine it, it would save a lot of download on mass-rebuilds
newhoggy has joined #nixos
endformationage has joined #nixos
zeus_ has joined #nixos
<kugelblitz> how can i get ldconfig to run on nixos? It complains that /nix/store/HASH-glibc-2.25/etc/ld.so.cache is on a readonly filesystem
<sphalerite> kugelblitz: depending on what you're aiming to do, you could just pass the -C argument to put the cache elsewhere
<sphalerite> For improving program load performance, the model doesn't really work for NixOS AFAIU. https://github.com/NixOS/nixpkgs/issues/24844 would be a better solution but I don't know how to implement it
newhoggy has quit [(Ping timeout: 240 seconds)]
hotfuzz_ has joined #nixos
jgertm has quit [(Ping timeout: 255 seconds)]
hotfuzz has quit [(Ping timeout: 240 seconds)]
<kugelblitz> sphalerite, like nix-shell -C "out=/some/writable/path" ?
<sphalerite> kugelblitz: no, ldconfig -C /some/writable/path/ld.so.cache
<kugelblitz> ah
newhoggy has joined #nixos
<sphalerite> kugelblitz: reason for the concept not really working being that nixos doesn't have a systemwide library search path from which a cache could be generated meaningfully, as each executable has its own search path
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh pushed 2 new commits to master: https://git.io/vQm59
<NixOS_GitHub> nixpkgs/master 26e1664 Langston Barrett: flask-restplus: update to 0.10
<NixOS_GitHub> nixpkgs/master cb0851d Frederik Rietdijk: Merge pull request #26714 from siddharthist/flask-restplus...
NixOS_GitHub has left #nixos []
<kugelblitz> ah hm I just wanted a list of libraries which gcc can link to
<sphalerite> ah right, in the nix-shell?
<kugelblitz> when i do a nix-shell -p SOMELIBS then i want to see which ones are actually there
<Infinisil> sphalerite: Regarding your idea: Aren't binary caches not very bad for diffing? I feel like every single version would have an incremental update that's just as big as the whole thing
<kugelblitz> yep
<Infinisil> s/binary caches/binaries/g
acowley_away is now known as acowley
joko has joined #nixos
<sphalerite> kugelblitz: best I can think of is ls $(printf "%s/lib " $nativeBuildInputs)
<sphalerite> Infinisil: but in the case of a mass-rebuild it would often just be library paths changing, while most of the program code stays the same
<Infinisil> sphalerite: Ah I see
<acowley> Is anyone familiar with building qt5 applications these days?
<acowley> I have a thing that used makeQtWrapper, and I'm not sure how to get it working since the refactoring that removed makeQtWrapper
newhoggy has quit [(Ping timeout: 260 seconds)]
<acowley> As of now, on darwin I get: This application failed to start because it could not find or load the Qt platform plugin "cocoa"
<acowley> in "".
<sphalerite> Infinisil: and I think that would be especially useful in packages that contain a lot of data (particularly games) that doesn't depend on the build inputs to the game's derivation at all
zeus_ has quit [(Read error: Connection reset by peer)]
<Infinisil> sphalerite: I feel like zfs could work for that, the whole snapshot and incremental send/receive thing
zeus_ has joined #nixos
<sphalerite> acowley: I think it's just not been removed, just moved into qt5
newhoggy has joined #nixos
<acowley> sphalerite: Not in my nixpkgs :/
<acowley> I'm on nixpkgs-unstable from yesterday
<acowley> I think things are supposed to work automatically now, but I must have left something out of the derivation for this thing that used to work
<sphalerite> oh, in that cacse I don't know
<acowley> I see, there's a custom mkDerivation now
<acowley> Which is a problem for me as I'm already using a custom mkDerivation. Previously I'd wrapQtProgram myself
<acowley> This is an interesting (eh) design problem
newhoggy has quit [(Ping timeout: 246 seconds)]
<sphalerite> mkDerivation should be more composable
Tucky has quit [(Remote host closed the connection)]
<acowley> Yes in so far as it's probably better than bash, but no in that it's too popular a place to inject custom arguments.
<acowley> E.g., given another customized mkDerivation (something that manipulates arguments and calls stdenv.mkDerivation), how to compose the two?
<sphalerite> Or rather: perhaps custom mkDerivations should be implemented as a transformation function that is composed with mkDerivation but can also be used on its own
<acowley> Yeah
<acowley> Precisely
<sphalerite> Doesn't even sound too difficult. But I don't know what I'm getting into here :p
<kugelblitz> sphalerite, thanks for the hint, did not know about $nativeBuildInputs
<acowley> sphalerite: I think you're right, it's just a tiny refactoring
newhoggy has joined #nixos
<acowley> sphalerite: But looking at what's there now, I don't think it will solve my immediate problem
<sphalerite> kugelblitz: it would be buildInputs but for some magic that mkDerivation does
<sphalerite> acowley: could you not refactor qt's custom mkDerivation like that, PR it, and use your branch in the meantime?
<acowley> sphalerite: Yes, I will PR the refactor if I can determine it's the problem
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] lheckemann opened pull request #26796: fossil: 1.36 -> 2.2 (master...fossil) https://git.io/vQmFM
NixOS_GitHub has left #nixos []
newhoggy has quit [(Ping timeout: 258 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] LnL7 pushed 2 new commits to master: https://git.io/vQmFd
<NixOS_GitHub> nixpkgs/master d79b476 Matthew Daiter: erlangR20: init
<NixOS_GitHub> nixpkgs/master b0b5911 Daiderd Jordan: Merge pull request #26764 from mdaiter/erlangR20...
NixOS_GitHub has left #nixos []
newhoggy has joined #nixos
Filystyn has quit [(Remote host closed the connection)]
newhoggy has quit [(Ping timeout: 240 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] LnL7 pushed 1 new commit to master: https://git.io/vQmb6
<NixOS_GitHub> nixpkgs/master 54a370f Daiderd Jordan: beam-packages: add erlangR20
NixOS_GitHub has left #nixos []
newhoggy has joined #nixos
newhoggy has quit [(Ping timeout: 260 seconds)]
ertes-w has quit [(Ping timeout: 260 seconds)]
newhoggy has joined #nixos
bennofs has quit [(Quit: WeeChat 1.8)]
stanibanani has joined #nixos
newhoggy has quit [(Ping timeout: 240 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] LnL7 opened pull request #26797: erlang: remove erlangR16 and all versioned variants from all-packages (master...erlang-versions) https://git.io/vQmA7
NixOS_GitHub has left #nixos []
Sonarpulse has quit [(Ping timeout: 255 seconds)]
reinzelmann has joined #nixos
jgertm has joined #nixos
<acowley> If I add qtbase to propagatedBuildInputs I get a segfault rather than a missing plugin error. I think that's all the progress I'll make today.
newhoggy has joined #nixos
<LnL> might be something related to https://github.com/NixOS/nixpkgs/issues/12346
ambro718 has quit [(Ping timeout: 240 seconds)]
<acowley> LnL: You got it!
<acowley> I could have sworn I had already baked this into the qt5 support code in nixpkgs
<LnL> a segfault and something with frameworks is usually that in my experience :)
<acowley> When I was doing the qt5 on darwin work last year this was an issue
<acowley> LnL: Yeah, I think I had forcibly unacquired that wisdom
<LnL> I made some changes to fix it for the simple cases
cpennington has quit [(Ping timeout: 260 seconds)]
newhoggy has quit [(Ping timeout: 240 seconds)]
newhoggy has joined #nixos
<LnL> copumpkin had an idea to fix it, but can't find the issue
<copumpkin> oh
<simendsjo> disasm, Fuuzetsu: I'm on stable. I think it's a dependency for ghc, although I haven't checked. The github issue: https://github.com/NixOS/nixpkgs/issues/26689
<copumpkin> yeah forgot I was going to do that
<copumpkin> :)
<LnL> heh
<copumpkin> I can describe it if you'd like
<copumpkin> I started doing it
<copumpkin> and then got sad about the ld-wrapper
yegods has joined #nixos
<copumpkin> probably best to just describe the idea on there actually
<LnL> yeah, "rpath hackery" :D
newhoggy has quit [(Ping timeout: 260 seconds)]
<acowley> Well, I +1'ed the hooray emoji on that issue, so I've done my part
<acowley> :P
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] LnL7 closed pull request #26153: cc-wrapper: propagate outputs (staging...cc-outputs) https://git.io/vHnaw
NixOS_GitHub has left #nixos []
newhoggy has joined #nixos
Sonarpulse has joined #nixos
ris has joined #nixos
<acowley> copumpkin: That sounds surprisingly reasonable!
<LnL> yeah, that sounds like it should work
newhoggy has quit [(Ping timeout: 246 seconds)]
ryanartecona has quit [(Quit: ryanartecona)]
cpennington has joined #nixos
newhoggy has joined #nixos
Jackneilll has joined #nixos
newhoggy has quit [(Ping timeout: 240 seconds)]
hellrazor has joined #nixos
<disasm> simendsjo: it's on master, but doesn't look like it's even staged for 17.03 from what I can tell
Itkovian has joined #nixos
noffle has joined #nixos
newhoggy has joined #nixos
<disasm> peti: is https://github.com/NixOS/nixpkgs/issues/26689 getting backported to 17.03? If not, simendsjo is interested in how to override doCheck to get it to build.
<noffle> hello. I'm running the nixos livecd and noticed that wifi commands like iwlist and iwconfig seem to not be present
zeus_ has quit [(Read error: Connection reset by peer)]
atemerev has joined #nixos
zeus_ has joined #nixos
<Neo---> noffle, I don't have iwlist, but you might get (some at least) information from nmcli?
newhoggy has quit [(Ping timeout: 255 seconds)]
<peti> disasm: Hmm, back-porting that single change is going to be difficult.
<Neo---> noffle, e.g. nmcli device wifi list
<atemerev> Hi! I am trying to build a python package; it includes a few dependencies not listed in pythonPackages (e.g. sseclient). I have added the dependency to pythonPackages and then to propagatedBuildInputs, but it still not found during the build process:
newhoggy has joined #nixos
<disasm> peti: can you give simendsjo some help? I know nothing about ghc :)
<noffle> Neo---: ah ha, that did it!
<atemerev> Collecting sseclient>=0.0.14 (from dcos==1.9.0)
<noffle> thank you
<atemerev> Could not find a version that satisfies the requirement sseclient>=0.0.14 (from dcos==1.9.0) (from versions: )
<noffle> wasn't familiar with nmcli
<Neo---> atemerev, I need to run now but maybe this helps you: https://gist.github.com/uskudnik/a45632557fae343f89dc80a66f54dff7
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<Neo---> i think you need the buildEnv
newhoggy has quit [(Ping timeout: 246 seconds)]
newhoggy has joined #nixos
<Neo---> eh, buildInputs and extraLibs set up
<Neo---> anyway, I need to run, hope it's any use! :)
hotfuzz_ has quit [(Read error: Connection reset by peer)]
<Neo---> noffle, no problem :)
<Neo---> noffle, pro-tip: you can short that to nmcli d w l ;)
bennofs has joined #nixos
hotfuzz_ has joined #nixos
<noffle> nice
newhoggy has quit [(Ping timeout: 260 seconds)]
<peti> disasm: pkgs/development/haskell-modules/configuration-common.nix is the place to look at.
<disasm> atemerev: I see you listed yourself as the maintainer for those packages, are you trying to add these to nixpkgs?
acertain has joined #nixos
newhoggy has joined #nixos
<disasm> simendsjo: I think you can do something like this: ghc-syb-utils = overrideCabal super.ghc-syb-utils (drv: { doCheck = false; });
<disasm> thx peti for the pointer.
<atemerev> disasm: yes, eventually
newhoggy has quit [(Ping timeout: 260 seconds)]
<disasm> atemerev: so are you adding those to your nixpkgs fork?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Ericson2314 opened pull request #26798: ios-cross: Just properly use the cc-wrapper (master...ios-cross-stdenv) https://git.io/vQYT4
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Ericson2314 pushed 2 new commits to master: https://git.io/vQYTg
<NixOS_GitHub> nixpkgs/master f43ae98 John Ericson: ios-cross: Just properly use the cc-wrapper...
<NixOS_GitHub> nixpkgs/master a240313 John Ericson: Merge pull request #26798 from obsidiansystems/ios-cross-stdenv...
NixOS_GitHub has left #nixos []
<simendsjo> disasm: Where do I put this? I see overrideCabal is defined in haskell-modules/lib.nix, but I'm still very much a newbie with nix.
<atemerev> disasm: to my clone, firstly
newhoggy has joined #nixos
<disasm> simendsjo: depends on how you're installing the package. if it's via nixos-rebuild, it would go in configuration.nix.
Itkovian has joined #nixos
<disasm> atemerev: so after you add those packages, they need to go in pkgs/top-level/python-packages.nix
jensens has quit [(Ping timeout: 276 seconds)]
<disasm> then you should be able to run something like nix-shell -I nixpgs=/path/to/nixpkgs -p pythonPackages.dcos-cli
ison111 has quit [(Quit: WeeChat 1.7.1)]
newhoggy has quit [(Ping timeout: 260 seconds)]
cpennington has quit [(Ping timeout: 255 seconds)]
<simendsjo> disasm: I get a problem where overrideCabal isn't defined. Tried searching through the documentation, but I couldn't find overrideCabal in the nixpkgs Haskell documentation.
<Sonarpulse> peti: were getting close to the point where I'd open a PR for my cross changes to the haskell infra
<Sonarpulse> there's still a few more systems fixes I'll need to hydra can actually test the stuff
<Sonarpulse> but if you like, I can open the PR first for style, etc
<peti> Sonarpulse: Hmm, just open the PR whenever it suits your needs. I'll need a few days to actually read the changes anyway.
newhoggy has joined #nixos
<Sonarpulse> exactly
<Sonarpulse> I'll do that then
zeus_ has quit [(Read error: Connection reset by peer)]
zeus_ has joined #nixos
<disasm> simendsjo: try haskell.lib.overrideCabal
<disasm> simendsjo: err pkgs.haskell.lib.overrideCabal
acowley is now known as acowley_away
ambro718 has joined #nixos
chrishill has joined #nixos
<chrishill> Hi. Is there a stable version of Firefox in Nixpkgs? I think I only got nightly installed, but I would like to try the stable.
<chrishill> Is it something like firefox-51?
yegods has quit [(Remote host closed the connection)]
newhoggy has quit [(Ping timeout: 276 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Ericson2314 closed pull request #24983: [WIP] Cross compilation changes, with enphasis on (haskell) GHC HEAD (master...cross-haskell) https://git.io/vSbqA
NixOS_GitHub has left #nixos []
<simendsjo> disasm: Sorry for wasting your time, but I'm stuck :/ My latest attempt: environment.systemPackages = with pkgs; [(pkgs.haskellPackages.ghc-syb-utils (drv: { doCheck = false; }))];
yegods has joined #nixos
yegods has quit [(Remote host closed the connection)]
yegods has joined #nixos
MP2E has joined #nixos
newhoggy has joined #nixos
cpennington has joined #nixos
hotfuzz_ is now known as hotfuzz
<Infinisil> chrishill: Firefox is always called Nightly by default when it's not distributed by mozilla
<MP2E> hi there, have been trying to use nix-copy-closure with another machine, both running latest nixpkgs master as of an hour ago. If I try --from to copy over ssh, I get the error 'got EOF while expecting 8 bytes from the remote side'
oida_ has joined #nixos
<MP2E> weird thing is that logging in with just SSH works. nix-store works once I log in
jgertm has quit [(Ping timeout: 260 seconds)]
<MP2E> also nix-copy-closure works normally if I put both pcs in the same LAN and use a local IP
<gchristensen> unfortunately I got approval from Mozilla to distribute the officially named Firefox version but they reconsidered after I asked for _written_ approval :(
<MP2E> but doesn't work with an IP outside the network, despite being able to SSH in still
<Infinisil> chrishill: You can enable the official branding but you need to compile it yourself then (takes quite a while). I'm currently doing that
<Infinisil> gchristensen: Ohh, weird
newhoggy has quit [(Ping timeout: 240 seconds)]
<chrishill> Infinisil: I’m having problems with Netflix and it’s DRM videoplaying system. I suspected that being nightly was the problem. It at some point prompted me to go to Firefox’s site and download Firefox, while in Firefox.
newhoggy has joined #nixos
<chrishill> Infinisil: so compiling it with the official branding might fix that, you think?
oida has quit [(Ping timeout: 260 seconds)]
MichaelRaskin has joined #nixos
<Infinisil> chrishill: I'm pretty sure the official branding doesn't anything other than firefox's GUI
<Infinisil> doesn't affect*
<gchristensen> chrishill: if you don't mind, I use google-chrome for DRM videoplaying
<makefu> can somebody other than bennofs confirm the origin of `nix` from the hackernews-comment stating " I believe that this meaning is even intentional, the original author of nix (Eelco Dolstra) is from the Netherlands. The name comes from the fact that by default, nothing is available in build environments in nix. " ? i'd love to add this trivia to the wiki
<Infinisil> Why would firefox not work for that though?
<chrishill> gchristensen: good thinking, thanks!
<chrishill> Sheesh, I had too much tunnel vision to think of that myself
<Infinisil> makefu: You could write Dolstra an E-Mail
newhoggy has quit [(Ping timeout: 268 seconds)]
<chrishill> Infinisil: I think it’s an issue with the Nix installation, since it works on my APT installed firefox on my desktop but not on the Nix installed Firefox on my laptop
<chrishill> It gives a pretty bland and bad error message
<gchristensen> makefu: you could open an issue asking on nixos/nix
<disasm> chrishill: In the Add-ons Manager tab, select the Plugins panel. Is Widevine Content Decryption Module provided by Google Inc enabled?
<makefu> gchristensen: ok i will open a ticket and add the reference to the wiki ;)
newhoggy has joined #nixos
<Infinisil> makefu: Wait, what wiki? The unofficial one?
<makefu> !
<makefu> i would not even know where to add it in the official documentation
<Infinisil> It's not really documentation really, just history
<Infinisil> The normal wiki would be better for that I think: https://en.wikipedia.org/wiki/NixOS#History
MP2E has quit [(Read error: Connection reset by peer)]
MP2E has joined #nixos
newhoggy has quit [(Ping timeout: 240 seconds)]
stanibanani has quit [(Ping timeout: 260 seconds)]
<makefu> how about `everywhere`, it s just such a nice piece of trivia
zeus_ has quit [(Read error: Connection reset by peer)]
zeus_ has joined #nixos
pietranera has joined #nixos
<Infinisil> where everywhere = [ wikipedia, ?? ]
<dtzWill> makefu: it's in one of the papers, "The name Nix is derived from the Dutch word niks, mean-
<dtzWill> ing nothing; build actions do not see anything that has not been explicitly declared as an input."
<dtzWill> 1 sec i'll link it to you
<MichaelRaskin> Well, on the Wikipedia mere provable truth will not preserve it from deletionists unless you force some media to ask Eelco Dolstra this question
<makefu> dtzWill: great!
<dtzWill> from "Nix: A Safe and Policy-Free System for Software Deployment", fwiw, page2 it's the footnote
<Infinisil> dtzWill: Nice!
<MichaelRaskin> A paper is primary source, and Wikipedia loves secondary, no?
<dtzWill> took me entirely too long to recognize that as a joke, lol
<MichaelRaskin> I guess I could stretch the joke by looking up a Talk page where this exact question was seriously discussed
<LnL> :p
newhoggy has joined #nixos
<MichaelRaskin> I mean primary vs. secondary for stuff like that; can you cite a rock band homepage for the album publishing dates, for example?
ryanartecona has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Ericson2314 opened pull request #26799: haskell infra: Fix cross compilation to work with new system (master...cross-haskell) https://git.io/vQYqd
NixOS_GitHub has left #nixos []
<Sonarpulse> peti: https://github.com/NixOS/nixpkgs/pull/26799 ok, tear it to shreds!
pie__ has joined #nixos
pie_ has quit [(Read error: Connection reset by peer)]
<chrishill> disasm: that add on might have been the problem. I tried disabling all add ons. But if that one needs to be running...
ThatDocsLady has quit [(Quit: Arma-geddin-outta-here!)]
newhoggy has quit [(Ping timeout: 246 seconds)]
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<Infinisil> A kinda unrelated question: Is is somehow possible to mathematically have encrypt something and guarantee it can't be decrypted before some date?
<MP2E> just tried nix-copy-closure --to to see if it's just --from having an issue, that gives me a different error : "program /nix/store/*hash*-openssl-1.0.2l-bin/bin/openssl failed with exit code 1 at /nix/store/*hash*-nix-1.11.11/lib/perl5/site_perl/5.24.1/x86_64-linux-thread-multi/Nix/CopyClosure.pm line 44"
<MP2E> pretty odd
<MP2E> followed up by 'unexpected end-of-file'
<MichaelRaskin> Infinisil: not really
<MichaelRaskin> It does depend on your definition of encryption, in some sense
<Infinisil> MP2E: Rerun it maybe, I often get unexpected EOF because of bad network connection, rerunning it fixes it every time
<MichaelRaskin> It is possible to split a file into two files stored on different devices so that seizing one is not enough to say anything about the file, except size
<Sonarpulse> Infinisil: if it requires all the CPU time in the world until that day to crack it, and you throw away the key :D
<gchristensen> Infinisil: no, because the current date is an input that can always be faked
<dash> Infinisil: yes, here's how it works
<dash> Infinisil: ah, Sonarpulse understands it.
<nixos-users-wiki> "FAQ" edited by makefu https://git.io/vQYmK
<Sonarpulse> :D
<Infinisil> Sonarpulse: Yeah, but that doesn't practically work
<Sonarpulse> sorry
<gchristensen> that is The Only Way
<Infinisil> Hmm...
<gchristensen> because the date isn't a mathematical construct, but an input to the equation
<dash> build a stone megastructure that won't unlock until the sun shines on the keyhole
<dash> align to local latitude etc
<gchristensen> the local latitude of the date you want it to unlock*
<dash> this only works if the future date is less than a year away
<Infinisil> Okay okay, there's no nice way
newhoggy has joined #nixos
<Infinisil> One thing I find really cool is how blockchains can do a proof that something happened *before* some date, I'm trying to find other similar things
<dash> Infinisil: put the key on a flash drive, hide it in a crypt and raise a lich guardian to kill adventurers before the appointed day
chrishill has quit [(Quit: Leaving)]
<Infinisil> :')
<dash> now that I mention it, I might just do that anyhow
<dtzWill> xD
<Infinisil> Is it possible to proof that something happened *after* a certain point in time?
<dash> Infinisil: sure
<gchristensen> blockchain is built on lots of people agreeing something happened
<MichaelRaskin> A problem with «mathematically impossible» is also that we don't actually know even P vs. NP
<Infinisil> dash gchristensen: How would you do it?
<dash> Infinisil: selfie with a newspaper
<gchristensen> so the people verifying things all just agree "yep, this thing says it is done and it isn't this date yet"
<simendsjo> disasm: Finally got it to compile by putting the following in the packages list: (pkgs.haskell.lib.overrideCabal pkgs.haskellPackages.ghc-syb-utils (drv: { doCheck = false; })). Unfortunately, I got the same error as before. Tried doing a collect and rebuild, but the same error again.
<MichaelRaskin> gchristensen: fake blockchain histories are pretty easy to create, though
ertes has joined #nixos
<gchristensen> and the assumption is that if enough verifiers agree then it is true enough to move forward
<MichaelRaskin> This only works if there is no global net partition event
<gchristensen> yeah and a lot of other stuff, the blockchain is an ecological disaster
<Infinisil> gchristensen: This gives a guarantee that something happened before a certain time I think
newhoggy has quit [(Ping timeout: 240 seconds)]
<Infinisil> Our assumption is that blockchains work as intended
<MichaelRaskin> Infinisil: but you can be partitioned from blockchain
<gchristensen> what is a date other than a point in time
rory has joined #nixos
<clever> MichaelRaskin: but with the difficulty of the chain as high as it is, any partition is going to suffer so badly it wont progress at all
<MichaelRaskin> clever: that is the point
<clever> MichaelRaskin: you would need to partition the entire internet nearly 50/50 by hashing power
<MichaelRaskin> If you want to use blockchain history as proof of date, I will fake a blockchain history where China has been literally nuked
<MichaelRaskin> Which means I need to mine _one_ block (at current difficulty), then difficulty goes down, fast
<MichaelRaskin> From formal verification point of view, this is a formally correct history
<clever> i believe there is also another point, that when given 2 chains of the same length, prefer the chain that has had a higher difficulty
<clever> and also, the time it took you to make that 1 block will set you behind time wise a decent amount, until you can get the difficulty down enough to cheat and make more blocks then you should
<MichaelRaskin> clever: my point is that if you rely on blockchain as proof of time, you _require_ unfiltered network access
MP2E has quit [(Ping timeout: 240 seconds)]
newhoggy has joined #nixos
<MichaelRaskin> And if you trust your network access, you can as well just check time.is
<clever> yeah, you would need to eventualy hear about the other fork and correct things, or hard-code a minimum difficulty for the chain to be acceptable
<clever> and i wouldnt really use a blockchain as a replacement for ntp, the resolution is far lower
rory is now known as guest
<Infinisil> Oh and regarding proofing something happened *after* a point: Assuming "happened" means "we knew the data that produced hash x", this is impossible, because we can't look into the future, it wouldn't make any sense
<MichaelRaskin> And when I hear «encryption» and «mathematically» and «guaranteed» in the same phrase, I go check Scott Aaronson's blog to see if there is any major paper on P vs. NP. The answer has always been «no» so far…
newhoggy has quit [(Ping timeout: 240 seconds)]
<disasm> simendsjo: sorry, I know nothing about haskell, someone else here might be able to help you.
reinzelmann has quit [(Quit: Leaving)]
<simendsjo> Ok, thanks so far. I tried moving it to packageOverrides (adding the following: haskellPackages.ghc-syb-utils = pkgs.haskell.lib.overrideCabal pkgs.haskellPackages.ghc-syb-utils (drv: { doCheck = false; });), but now I get errors like `ghcWithPackages missing`.
<clever> simendsjo: haskellPackages.ghc-syb-utils = doesnt work in an obvious way, it does haskellPackages = { ghc-syb-utils = ...; };
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] aszlig pushed 1 new commit to master: https://git.io/vQYOM
<NixOS_GitHub> nixpkgs/master 06271b6 aszlig: krita: Fix build dependencies...
NixOS_GitHub has left #nixos []
<clever> simendsjo: which overwrites the entire haskellPackages set, with a new one containing just a single attribute
<clever> simendsjo: there is also haskellPackages.override which handles internal references to ghc-syb-utils for you
newhoggy has joined #nixos
ertes has quit [(Quit: Bye!)]
<clever> simendsjo: haskellPackages = haskellPackages.override (super: self: { ghc-syb-utils = pkgs.haskell.lib.overrideCabal super.ghc-syb-utils (drv: { doCheck = false; }); }); i think
<LnL> simendsjo: use something like this http://nixos.org/nixpkgs/manual/#miscellaneous-topics
<clever> *doh*, i have super and self backwards in my example
<LnL> or haskellPackageOverrides
newhoggy has quit [(Ping timeout: 260 seconds)]
newhoggy has joined #nixos
marsel has quit [(Ping timeout: 260 seconds)]
jgertm has joined #nixos
newhoggy has quit [(Ping timeout: 260 seconds)]
newhoggy has joined #nixos
guest has left #nixos []
afics has quit [(Quit: afics)]
MP2E has joined #nixos
newhoggy has quit [(Read error: Connection reset by peer)]
newhoggy has joined #nixos
afics has joined #nixos
lambdamu has quit [(Ping timeout: 268 seconds)]
zeus_ has quit [(Read error: Connection reset by peer)]
zeus_ has joined #nixos
newhoggy has quit [(Ping timeout: 260 seconds)]
lambdamu has joined #nixos
newhoggy has joined #nixos
<simendsjo> I really have no idea what I'm doing here... This is how far I've gotten. Need to read a couple of days if I should understand why this doesn't work: https://gist.github.com/simendsjo/1cd629341179efb46a178eb521559fb8
<simendsjo> .. that is, it builds, but it still run the tests.
zeus_ has quit [(Ping timeout: 258 seconds)]
zeus_ has joined #nixos
bennofs has quit [(Ping timeout: 258 seconds)]
zeus__ has joined #nixos
Itkovian has joined #nixos
newhoggy has quit [(Ping timeout: 246 seconds)]
homelessrobot[m] has joined #nixos
cpennington has quit [(Remote host closed the connection)]
FRidh has quit [(Quit: Konversation terminated!)]
zeus_ has quit [(Ping timeout: 246 seconds)]
Itkovian has quit [(Client Quit)]
newhoggy has joined #nixos
ryanartecona has quit [(Quit: ryanartecona)]
<simendsjo> Finally: https://gist.github.com/simendsjo/ff14e2be283df4aec8465b3b59f64e44. Glad someone didn't record me trying to get this working :) Thanks for all the help. Perhaps an example like this (using overrideCabal) should be in the documentation.
newhoggy has quit [(Ping timeout: 240 seconds)]
<Infinisil> I feel like a website for nix examples would be nice
<Infinisil> One where you could add an example along with some tags
newhoggy has joined #nixos
<Infinisil> Every used function package could get indexed so you can search for either tags or functions (e.g. builtins.map)
<Infinisil> function and* package*
<Infinisil> wait no, <s>package</s>
simendsjo has quit [(Quit: ERC (IRC client for Emacs 25.1.1))]
newhoggy has quit [(Ping timeout: 240 seconds)]
zeus__ has quit [(Read error: Connection reset by peer)]
zeus_ has joined #nixos
ambro718 has quit [(Quit: Konversation terminated!)]
slabity_alt has joined #nixos
newhoggy has joined #nixos
mellowmaroon has joined #nixos
<mellowmaroon> I was able to fix a lot of my java issues by only having oraclejdk/jre installed, instead of both it and openjdk
newhoggy has quit [(Ping timeout: 240 seconds)]
goibhniu has joined #nixos
mellowmaroon has left #nixos []
newhoggy has joined #nixos
Itkovian has joined #nixos
avn_nb has joined #nixos
orivej has joined #nixos
<justanotheruser> how do I use ${pkgs.libtiff} in the command line?
zeus_ has quit [(Read error: Connection reset by peer)]
<justanotheruser> also, why was the nixos wiki shut down?
zeus_ has joined #nixos
newhoggy_ has joined #nixos
newhoggy has quit [(Ping timeout: 246 seconds)]
<Infinisil> justanotheruser: How are you intending to use this in the command line? I bet you're trying to do something this was not intended for
<justanotheruser> Infinisil: ls
slabity has quit [(Disconnected by services)]
<goibhniu> justanotheruser: the wiki was overwhelmed by spambots, so much of the content was moved to the manual, there's also a new github wiki: https://github.com/nixos-users/wiki/wiki
<justanotheruser> ty
hotfuzz_ has joined #nixos
orivej has quit [(Ping timeout: 246 seconds)]
slabity_alt is now known as slabity
newhoggy has joined #nixos
newhoggy_ has quit [(Ping timeout: 255 seconds)]
hotfuzz has quit [(Ping timeout: 246 seconds)]
kugelblitz has quit [(Ping timeout: 240 seconds)]
<Infinisil> justanotheruser: Ah I see
<Infinisil> I actually don't know of an easy way to get the path of a package
<Infinisil> nix-env -q something something probably
newhoggy_ has joined #nixos
newhoggy has quit [(Ping timeout: 246 seconds)]
<dtzWill> justanotheruser: nix-build '<nixos>' -A libtiff
<dtzWill> should do the trick
<Infinisil> What I often just do when I need to find out where an executable comes from is `realpath $(which hello)`
<dtzWill> i do that too, since once it's installed I don't want the path of /any/ version but the path of the one that I execute when I run the command... :)
<LnL> yep, nix-build prints the path on stdout
lordofsnackfalco has joined #nixos
<Infinisil> Isn't there some better way?
<justanotheruser> dtzWill: ty
<Infinisil> I feel like that's a bit abusive of nix-build
<LnL> using nix-build guaranties that it actually exitsts
<Infinisil> Well it works, so whatever
newhoggy_ has quit [(Ping timeout: 240 seconds)]
<justanotheruser> hmm, my program is telling me "ImportError: libtiff.so.5: cannot open shared object file: No such file or directory"
<LnL> if you just want to print it you can use nix-instantiate --eval -A hello.outPath
<justanotheruser> and it looks like within the libtiff path, there is no libtiff.so.5
<Infinisil> LnL: Ah nice
<Infinisil> justanotheruser: Can you gist it?
<LnL> but ls might say that it doesn't exist :)
yegods has quit [(Remote host closed the connection)]
<justanotheruser> Infinisil: https://hastebin.com/raw/mapusujege
newhoggy has joined #nixos
<LnL> justanotheruser: try libtiff.lib
yegods has joined #nixos
<LnL> or libtiff.out
<justanotheruser> LnL: where, in my ln line?
<LnL> not sure why a lib* package has bin as it's default output
<justanotheruser> yep, it's libtiff.out
<justanotheruser> how do I see what the possible attributes of a package are?
<justanotheruser> libtiff.out, libtiff.bin libtiff.lib
<justanotheruser> pkgs.stdenv.cc.cc.lib
<justanotheruser> etc
<Mateon1> How does npm with node-gyp look like on nixos? I'm trying to build a package that depends on keyboard-layourt, which fails due to missing X11/Xlib.h - how can I fix that, preferably without packaging a massive npm monstrosity?
<Mateon1> keyboard-layout*
<Infinisil> justanotheruser: You could use nix-repl for that
newhoggy has quit [(Ping timeout: 240 seconds)]
<Infinisil> Commands: :l <nixpkgs> , libtiff.outputs
<Infinisil> When you tab after libtiff. you get suggestions as well
<LnL> yeah, that's what I did, nix-repl '<nixpkgs>', libttiff.<tab>
MP2E has quit [(Quit: reboot)]
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
MP2E has joined #nixos
newhoggy has joined #nixos
<sphalerite> justanotheruser: you can also use the tab completion provided in zsh, not sure about bash but there is completion on nix-shell and nix-env for zsh
<justanotheruser> not sure what you mena by that, but I'll look at the commands for nix-repl
<justanotheruser> sphalerite: oh yeah? Maybe I should get that extension
tokudan has quit [(Quit: Leaving)]
<LnL> the zsh tab completion is almost as good as nix-repl now
<sphalerite> LnL: almost?
<LnL> well it doesn't work for complex expressions
lordofsnackfalco has left #nixos []
<Ralith> now if only zsh didn't break horribly whenever I ssh in from a remote system
<sphalerite> Ralith: how?
hiratara has quit [(Ping timeout: 276 seconds)]
<LnL> never had any issues with that
<sphalerite> ^
<Ralith> /nix/store/ghgv7545gy8c4pa5b63jqpfahd4amkmd-set-environment:23: can't find terminal definition for xterm-termite
newhoggy has quit [(Ping timeout: 268 seconds)]
eacameron has quit [(Remote host closed the connection)]
<Ralith> and yes, I have the terminfo installed
<Ralith> it's some dumb search path issue that's been known for ages
<Ralith> you can work around it by re-exporting TERM manually, which invokes some shell magic and makes it find it, but it's super obnoxious
<Ralith> since you have to do that on every single login
<sphalerite> Ralith: but I don't have that issue
<Ralith> hurray for you?
<ToxicFrog> I also don't have that issue, but all of my terminals report as "xterm-256color", IIRC
<sphalerite> Ralith: can you show me a way to reproduce it?
newhoggy has joined #nixos
<Ralith> ssh into a nixos system from a terminal that needs its own terminfo
<Ralith> such as termite
<Ralith> when the remote shell is zsh
hiratara has joined #nixos
<sphalerite> Where is the terminfo installed?
<sphalerite> In cases where it doesn't work
<sphalerite> or: can you point me to a bug report?
<Ralith> where it's supposed to be
* Infinisil doesn't even know what terminfo is
<ToxicFrog> Infinisil: it's a thing for programs to look up information about a terminal.
<ToxicFrog> Like what features it supports, or what sequences you have to send to it for various commands.
<ToxicFrog> Sadly, not everything is a vt220.
<ToxicFrog> Ralith: that bug lists two workarounds you can use to not have to manually set TERM each time
kristoffer has joined #nixos
kristoffer has quit [(Client Quit)]
newhoggy has quit [(Ping timeout: 268 seconds)]
<sphalerite> oh yeah that one
chrishill has joined #nixos
<ToxicFrog> Infinisil: if you've ever run into "termcap" (terminal capabilities), that's what terminfo replaced.
newhoggy has joined #nixos
MrCoffee has joined #nixos
<justanotheruser> Why isn't this legal? nix-repl> builtins.attrNames nixpkgs.nix-zsh-completions error: value is a function while a set was expected, at (string):1:20
<clever> nix-repl> builtins.attrNames nix-zsh-completions
<clever> this works for me
<clever> what did you do to set nixpkgs?, it doesnt exist by default
<chrishill> I can't install google-chrome. error: No Chrome plugins are available for your architecture.
seanz has joined #nixos
<chrishill> Does anyone have any experience with that?
slabity has left #nixos []
<justanotheruser> clever: imported it
<justanotheruser> what you just ran gives me error: undefined variable ‘nix-zsh-completions’ at (string):1:30
<clever> justanotheruser: with what command exactly?
<justanotheruser> I restarted nix-repl
<clever> chrishill: you need to set chromium.enableWideVine = true; in your nixpkgs config
<clever> justanotheruser: you have to load nixpkgs with either nix-repl '<nixpkgs>' or by running :l <nixpkgs> in nix-repl
newhoggy has quit [(Ping timeout: 240 seconds)]
<justanotheruser> my environment.systemPackages includes nix-zsh-completions
<justanotheruser> ok
<clever> nixpkgs = import <nixpkgs> wont work, because that returns the function at the top of nixpkgs
<clever> you have to call the function with arguments before you can access the packages within
<justanotheruser> yep, that worked, thanks!
<chrishill> clever: Thanks!
newhoggy has joined #nixos
avn_nb has quit [(Remote host closed the connection)]
<chrishill> clever: I still get the same error for some reason. This is my .nixpkgs/config.nix: { allowUnfree = true; chromium.enableWideVine = true; }
<sphalerite> Anyone know anything about debugging tab crashes in firefox?
<sphalerite> http://www.zsh.org/mla/workers/2016/date.html is crashing for me
<clever> chrishill: and are you installing chromium?, nix-env -iA nixos.chromium
<clever> sphalerite: ive been having a lot of tab crashes in chromium lately, when they get to 1 or 2gig of usage, the process just implodes on itself
newhoggy has quit [(Ping timeout: 240 seconds)]
<sphalerite> clever: I'm pretty sure this isn't a memory issue, it's a static page and fairly small
<clever> sphalerite: at least in chrome, i can open the chrome task manager, and see the usage for every process, and which tabs are tied to it
<clever> the gpu process alone is using 1.3gig
<sphalerite> clever: it also crashes at a very specific moment, when I'm scrolling up the page
<sphalerite> clever: in firefox there's about:performance
<clever> ah, sounds different then
fnljk has joined #nixos
slabity has joined #nixos
newhoggy has joined #nixos
lordofsnackfalco has joined #nixos
<chrishill> clever: I was trying to installe google-chrome. I'll try that one as well
<chrishill> clever: nope, that didn't work. But never mind, it's not important. :)
<Infinisil> sphalerite: That link isn't crashing for me, using firefox 54
<sphalerite> Infinisil: even if you scroll through the page?
newhoggy has quit [(Ping timeout: 255 seconds)]
lordofsnackfalco has quit [(Ping timeout: 260 seconds)]
Mateon1 has quit [(Remote host closed the connection)]
<sphalerite> Infinisil: it occurs with both firefox and firefox-bin for me
Mateon1 has joined #nixos
newhoggy has joined #nixos
<Infinisil> Yup, working fine
<Infinisil> Is it a plugin that's causing it maybe?
<sphalerite> Infinisil: nope, tried it in "safe mode" and in a new profile
<Infinisil> sphalerite: Which version of firefox?
newhoggy has quit [(Ping timeout: 260 seconds)]
<sphalerite> 54.0
<sphalerite> both firefox-bin and firefox
<sphalerite> I guess it'll get taken care of eventually
hiratara has quit [(Quit: ZNC - http://znc.in)]
<sphalerite> Firefox needs more rust :p
qewzee has quit [(Quit: ZNC 1.6.5 - http://znc.in)]
hiratara has joined #nixos
<clever> sphalerite: the tooltips on that site are nearly unusable due to bugs in my gpu driver!
<sphalerite> clever: lol
<clever> sphalerite: my gpu seems to paint the tooltips before the pixel data has been filled in, so it always paints garbage on the 1st try
<sphalerite> clever: with or without a compositor?
<clever> i have to hide, and then re-show the tooltip
<Infinisil> sphalerite: I can't wait for firefox to get more efficient, I really need that sparse battery power
<clever> no compositor
newhoggy has joined #nixos
<clever> but that site doesnt make it possible to just hide a tooltip, it constantly changes it as you move the mouse
<sphalerite> Infinisil: not sure how much more efficient it'll get, but at least there'll be fewer null-pointer-dereferences
ryantrinkle has quit [(Ping timeout: 246 seconds)]
<Ralith> clever: why are you so sure that's a bug in the driver and not in the application
pietranera has quit [(Ping timeout: 260 seconds)]
qewzee has joined #nixos
<clever> Ralith: because it happens to every app with tooltips
<sphalerite> Could also be a bug in the library
<clever> i believe
<Ralith> that just means it's probably a gtk bug :P
<clever> yeah, the lines are blurred a bit
<sphalerite> I think gtk does at this point assume there's a compositor
<sphalerite> what if you run compton? Are the tooltips better then?
<Ralith> I doubt it
<clever> but another strong piece of evidence, the WINDOWS wallpaper was visible on the XFCE desktop after a reboot
<Ralith> haha damn
<sphalerite> hahahaha
<clever> because it rendered the buffer before xfce had loaded the image
<clever> and junk from a previous reboot was in there
newhoggy has quit [(Ping timeout: 255 seconds)]
<Ralith> I have the tooltip issue on intel ivy bridge but only in chromium, everything else works fine
<sphalerite> so which driver is it?
<clever> 01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Bonaire XTX [Radeon R7 260X/360]
<clever> 376 videoDrivers = [ "ati" ];
<Ralith> maybe an X bug
<clever> i believe this is the open source one, the only other crippling fault it has, is that Xorg crashes hard if i unplug an active monitor
<clever> and X also likes to auto-activate any monitor i hot-plug
<clever> so i must be very carefull near the video cables
<sphalerite> I think I've sesen it before too, but I'm on intel graphics
<MP2E> compton is a life safer :P I was dealing with the worst visual tearing in xmonad til I enabled it
pietranera has joined #nixos
<clever> the closed-source driver is worse, any attempt to turn on dual-monito crashes xorg hard
<clever> and xfce restores dual-monitor upon login, crashing xorg hard
<sphalerite> well AMD aren't really trying with their proprietary drivers, are they?
<clever> yeah
newhoggy has joined #nixos
<clever> i also discovered some unique nixos problems with the open-source drivers before
<clever> one of the components in the mesa pathway, was merged into another project
<clever> but the auto-generated stuff in xorg packages, just got an http dir listing, and built everything in it
<clever> so nixos kept using the outdated repo, that had been long forgotten
<sphalerite> meanwhile nvidia aren't trying with their proprietary driver, nor are they cooperating in the slightest with the nouveau folks :(
<clever> because of that, xterm framerates where horid, "ls -ltrh" took minutes to output
<sphalerite> clever: ouch
<clever> i suspect it was forcing a vsync between every line of text, or possibly every character
<sphalerite> oh yeah, I've had to use windows a bit recently
<sphalerite> powershell's performance is abysmal
mudri has joined #nixos
<clever> oh yeah, and windows cant even keep up with my typing speed, lol
<clever> i often hammer out complex sequences of control codes in screen, using ctrl and shift
<clever> and if i do it too fast on windows with putty, it misses keystrokes
<sphalerite> >_>
<Infinisil> gross
newhoggy has quit [(Ping timeout: 260 seconds)]
<Infinisil> Oh hey, an idea: Normally you'd use bash for runtime stuff in your nix config. bash is interpreted and slow. But if we use haskell or any other compiled language, it's possible to compile all these scripts at build-time!
newhoggy has joined #nixos
Rotaerk has joined #nixos
<Infinisil> Making them much faster than bash
<clever> Infinisil: only cost is the 1gig you need just to install ghc
<MP2E> I think haskell hasn't been brought into nix due to concerns about bootstrapping and closure size, but I would like to see it used some :p
<MP2E> yeah
<clever> gcc and c/c++ would be cheaper, but then you run the risk of segfaults
ambro718 has joined #nixos
<Infinisil> clever: Ghc is installed anyways on my machine
<clever> Infinisil: and i think i have 7 copies of ghc 8 on mine
<clever> but not everyone can afford to waste space like that, lol
<clever> i have a netbook with nixos that barely has enough room for 2 generations of nixos
markus1189 has quit [(Ping timeout: 260 seconds)]
<clever> i had to disable Xorg and fully GC it, before it could finish a nixos-rebuild
<clever> a single copy of ghc would consume over 25% of the disk space
newhoggy has quit [(Ping timeout: 260 seconds)]
jgertm has quit [(Quit: WeeChat 1.8)]
markus1219 has quit [(Ping timeout: 260 seconds)]
seanparsons has quit [(Remote host closed the connection)]
<Infinisil> Lol
jgertm has joined #nixos
<Infinisil> Could use another machine to build it still
<atemerev> OK, I have figured out how to add dependencies to dcos-cli python package, it is compiling now. However, it includes the actual "dcos" binary which I don't know how to get installed. This is what's in the sources: https://github.com/dcos/dcos-cli/blob/master/cli/bin/create-binary.sh
sean has joined #nixos
<clever> remote build slaves wont do, since nix wants to download the deps to the local box, then push it out to slaves
<clever> Infinisil: so it would have to be a nixops target
<Rotaerk> MP2E, what do you mean by "haskell hasn't been brought into nix"?
<atemerev> How it usually works for python binaries?
<Rotaerk> I mean, it's there in nixpkgs
sean is now known as Guest22536
<clever> and even then, you must ensure zero references to ghc at runtime, or the 2nd nixos wont fit
<clever> and then its imposible to upgrade
Guest22536 has quit [(Client Quit)]
seanparsons has joined #nixos
seanz has quit [(Quit: Leaving.)]
markus1189 has joined #nixos
newhoggy has joined #nixos
<MP2E> Rotaerk: I mean as in we don't use Haskell in nix the package manager
<MP2E> and also to clarify, I think the team has stated some very good reasons why, closure size is a concern when you're talking about adding an entire gigabyte
<MP2E> it'd just 'be nice one day'
<Rotaerk> ah, haskell as opposed to nix expressions
newhoggy has quit [(Ping timeout: 260 seconds)]
<Infinisil> Why is GHC so big anyways?
<atemerev> Does anybody know how to declare Python application binaries with pyinstaller? Can't find any example...
<Infinisil> Well actually I get it
markus1199 has joined #nixos
newhoggy has joined #nixos
simukis has quit [(Ping timeout: 255 seconds)]
ryanartecona has joined #nixos
goibhniu has quit [(Ping timeout: 246 seconds)]
newhoggy has quit [(Ping timeout: 268 seconds)]
<dash> Infinisil: to scare away predators
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] LnL7 opened pull request #26802: fetchnixpkgs: init (master...fetchnixpkgs) https://git.io/vQY2o
NixOS_GitHub has left #nixos []
newhoggy has joined #nixos
markus1199 has quit [(Ping timeout: 255 seconds)]
markus1189 has quit [(Ping timeout: 260 seconds)]
newhoggy has quit [(Ping timeout: 276 seconds)]
dalaing_ has joined #nixos
digitus has quit [(Quit: digitus)]
pietranera has quit [(Quit: byebye)]
seppellll has quit [(Ping timeout: 255 seconds)]
orivej has joined #nixos
Mateon1 has quit [(Remote host closed the connection)]
Mateon1 has joined #nixos
markus1189 has joined #nixos
newhoggy has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] NeQuissimus opened pull request #26803: rkt: 1.26.0 -> 1.27.0 (master...rkt_1_27_0) https://git.io/vQYaF
NixOS_GitHub has left #nixos []
newhoggy has quit [(Ping timeout: 260 seconds)]
earldouglas has quit [(Quit: leaving)]
ilyaigpetrov has quit [(Quit: Connection closed for inactivity)]
newhoggy has joined #nixos
phinxy has quit [(Read error: Connection reset by peer)]
erasmas has quit [(Quit: leaving)]
<Infinisil> How can a zsh completion file from a package be included zsh? Like where does the package need to install the file in $out?
dalaing_ has quit [(Ping timeout: 260 seconds)]
<ekleog_> I'd guess $out/share/zsh (potentially with /site-functions), given ls -lah /run/current-system/sw/share/zsh/site-functions gives this path here
markus1199 has joined #nixos
<ekleog_> (got to go so can't help more than that, sorry and good luck :))
eacameron has joined #nixos
Havvy has joined #nixos
ris has quit [()]
ertes has joined #nixos
<Infinisil> ekleog_: Thanks!
<Infinisil> See ya
<LnL> Infinisil: $out/share/zsh/site-functions
<Infinisil> LnL: Gonna try it
primeos has joined #nixos
Wizek has joined #nixos
eacameron has quit [(Remote host closed the connection)]
newhoggy has quit [(Remote host closed the connection)]
Wizek__ has quit [(Ping timeout: 240 seconds)]
elninja44 has joined #nixos
Wizek_ has quit [(Ping timeout: 246 seconds)]
markus1209 has joined #nixos
Wizek has quit [(Ping timeout: 260 seconds)]
boj has quit [(Ping timeout: 246 seconds)]
Nobabs27 has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] LnL7 opened pull request #26804: erlang: change default to R19 (master...erlangR19) https://git.io/vQYrj
NixOS_GitHub has left #nixos []
eacameron has joined #nixos
markus1199 has quit [(Ping timeout: 260 seconds)]
markus1189 has quit [(Ping timeout: 260 seconds)]
markus1189 has joined #nixos
<atemerev> Hi again -- now I am stuck with wrapProgram. Using pyinstall, I have generated the binary, but it is in the _source_ directory, not in the output. How do I install it in PATH?
cpennington has joined #nixos
pxc has quit [(Ping timeout: 240 seconds)]
eacameron has quit [(Ping timeout: 240 seconds)]