seanparsons has quit [(Ping timeout: 240 seconds)]
thomastjeffery[m has joined #nixos
seanparsons has joined #nixos
Oida has quit [(Ping timeout: 255 seconds)]
<hodapp> is it actually possible to run IHaskell + Jupyter? just getting JupyterKernelspecException...
<cstrahan> Is anyone using YouCompleteMe / ycmd with Nix[OS]? Curious what people's .ycm_extra_conf.py look like.
<hodapp> and seemingly no one has documented anything, anywhere
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] grahamc opened pull request #31675: nixos/mysql: add extraArguments option for mysqld (master...mysql-extra-arguments) https://git.io/vFPmP
NixOS_GitHub has left #nixos []
miko__ has quit [(Ping timeout: 250 seconds)]
goibhniu has quit [(Ping timeout: 250 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] grahamc opened pull request #31676: sharutils: simplify substituteInPlace syntax to be Nix 1.11.8 compatible (master...sharutils) https://git.io/vFPmD
NixOS_GitHub has left #nixos []
Oida has joined #nixos
ertes has quit [(Ping timeout: 248 seconds)]
<Sonarpulse> steveeJ: sure
<Sonarpulse> though the native ones may be less relevant
<Sonarpulse> still doesn't hurt
<gchristensen> oh no
<gchristensen> "FATAL: kernel too old
<gchristensen> "
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] bendlas pushed 1 new commit to master: https://git.io/vFPYg
<NixOS_GitHub> nixpkgs/master a472c57 Yuriy Taraday: chromium: 62.0.3202.89 -> 62.0.3202.94...
NixOS_GitHub has left #nixos []
mandrews has quit [(Ping timeout: 260 seconds)]
digitus has quit [(Quit: digitus)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] garbas closed pull request #31460: neovim: 0.2.0 -> 0.2.1 (master...nvim-update) https://git.io/vFgx2
NixOS_GitHub has left #nixos []
nixos1022 has joined #nixos
erasmas has quit [(Quit: leaving)]
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/20a5e9db84 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
nix-gsc-io`bot has quit [(Client Quit)]
acarrico has joined #nixos
matthewbauer has joined #nixos
matthewbauer has quit [(Remote host closed the connection)]
jsgrant has joined #nixos
kus_ubuntui686 has joined #nixos
kus_ubuntui686 has quit [(Max SendQ exceeded)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] copumpkin closed pull request #31676: sharutils: simplify substituteInPlace syntax to be Nix 1.11.8 compatible (master...sharutils) https://git.io/vFPmD
NixOS_GitHub has left #nixos []
ertes has joined #nixos
Golden_Skittle has joined #nixos
<Golden_Skittle> Hi, how can I install packages from the github nixpkgs? I am having trouble finding documentation on this
markus1189 has joined #nixos
markus1199 has quit [(Ping timeout: 240 seconds)]
Neo-- has quit [(Ping timeout: 258 seconds)]
<Golden_Skittle> I found a hack solution to type this everytime I want to install,NIXPKGS_ALLOW_UNFREE=1 nix-env -i
<Golden_Skittle> but I already have the unfree software allowed in my configuration.nix
<tilpner> I recommend creating an overlay to add all channels and master to your package set
<tilpner> Then you could just use nix-env -iA nixpkgs.master.hello
<tilpner> A simple overlay would look like self: super: { master = import (fetchTarball "https://github.com/nixos/nixpkgs/archive/master.tar.gz") {}; }, but additional steps are necessary to make this work with nix-env
<Golden_Skittle> alright, cool thanks, Ill look into that
<tilpner> It's easier to use master packages if you don't use nix-env
<Golden_Skittle> what is master?
<tilpner> master is the branch you see when you visit "the github nixpkgs"
erictapen has quit [(Ping timeout: 260 seconds)]
<Golden_Skittle> okay cool
jsgrant has quit [(Remote host closed the connection)]
erictapen has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] flokli opened pull request #31678: linux_4_14: fix iwlwifi fw reset (master...fix-iwlwifi-linux-4.14) https://git.io/vFPGd
NixOS_GitHub has left #nixos []
ssmike has quit [(Remote host closed the connection)]
seafood has joined #nixos
<seafood> How does one build a .drv file from the command line?
ssmike has joined #nixos
<copumpkin> nix-store -r
erictapen has quit [(Ping timeout: 255 seconds)]
* Orbstheorem sent a long message: Orbstheorem_2017-11-15_01:25:22.txt - https://orbstheorem.ch/_matrix/media/v1/download/orbstheorem.ch/OhfQhUUBvuOpWAcbpyzUyDEF
<Orbstheorem> Setting `/dev/dri/card*` permissions to 777 does not help :(
hellrazo1 has joined #nixos
<tilpner> Orbstheorem - My user is in the video group, not sure if that's intended
Guest34220 has quit [(Ping timeout: 260 seconds)]
<tilpner> Orbstheorem - Oh, and I put bumblebee.group = "users";, though I forgot why
hellrazor has quit [(Ping timeout: 248 seconds)]
<Orbstheorem> Let me try
<Orbstheorem> shall I reboot?
<Orbstheorem> rebooting
<tilpner> Reboot was unnecessary, but you needed to log in again
<tilpner> (Which can be done without logging out)
<Orbstheorem> didn't work
<Orbstheorem> (I tryed newgrp before but it didn't work either)
<tilpner> Orbstheorem - I need the output of "ls -l /dev/dri/card*" and "groups"
<tilpner> And if that looks good you should probably check the logs again
<Orbstheorem> tilpner: https://paste.gnugen.ch/raw/lYxj
<tilpner> Hmm, that looks like it should work. And the error didn't change? :/
<Orbstheorem> nope :( https://paste.gnugen.ch/raw/shmD
<tilpner> FWIW I'm using primusrun instead of optirun, but that shouldn't make a difference
<Orbstheorem> same error :(
seafood has quit [(Quit: http://www.kiwiirc.com/ - A hand crafted IRC client)]
seafood has joined #nixos
kkini has quit [(Remote host closed the connection)]
kkini has joined #nixos
acowley_away is now known as acowley
python476 has quit [(Ping timeout: 268 seconds)]
Supersonic112 has quit [(Disconnected by services)]
hellrazo1 has quit [(Ping timeout: 248 seconds)]
cnu- has quit [(Ping timeout: 255 seconds)]
Supersonic112_ has joined #nixos
cnu- has joined #nixos
Supersonic112_ is now known as Supersonic112
seafood has quit [(Quit: http://www.kiwiirc.com/ - A hand crafted IRC client)]
seafood has joined #nixos
thc202 has quit [(Ping timeout: 240 seconds)]
<fearlessKim[m]> rycee: thqnks for the tip. I just discovered man home-configuration.nix (was grepping the source before) that's so cool :)
nixos1022 has quit [(Ping timeout: 255 seconds)]
lambdamu_ has joined #nixos
hellrazo1 has joined #nixos
lambdamu has quit [(Ping timeout: 248 seconds)]
* Orbstheorem will try prime and ask on #nouveau
mbrgm has quit [(Ping timeout: 248 seconds)]
mbrgm has joined #nixos
python47` has joined #nixos
ssmike has quit [(Ping timeout: 268 seconds)]
jsgrant has joined #nixos
ebzzry has joined #nixos
python47` has quit [(Read error: Connection reset by peer)]
ssmike has joined #nixos
Havvy has joined #nixos
srdqty has joined #nixos
boxofrox has quit [(Ping timeout: 268 seconds)]
<neonfuz> I just need to change one kernel build option, but doing that makes me compile the entire, huge kernel
<neonfuz> is there a way to build a more minimal kernel?
universalpackage has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ixmatus opened pull request #31680: nghttpx: Add a new NixOS module for the nghttpx proxy server (master...parnell/nghttpx-module) https://git.io/vFPlI
NixOS_GitHub has left #nixos []
leothrix has quit [(Ping timeout: 240 seconds)]
universalpackage has quit [(Client Quit)]
<adisbladis> Orbstheorem: Please tell if you figure it out. I'm having the same issue.
<tilpner> neonfuz - Only enable what you need during menuconfig (https://nixos.wiki/wiki/Linux_Kernel)
leothrix has joined #nixos
<fearlessKim[m]> neonfuz: if you hack on a software, it s best to do it in a nix-shell so you don t have to rebuild from scratch everytime
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ixmatus opened pull request #31681: maintainers: Add ixmatus to the maintainers set (master...parnell/add-maintainer) https://git.io/vFPlc
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] copumpkin pushed 7 new commits to staging: https://git.io/vFPlR
<NixOS_GitHub> nixpkgs/staging 0fe7bde Dan Peebles: Delete lib/sandbox.nix for now
<NixOS_GitHub> nixpkgs/staging 10220de Dan Peebles: Fix a couple of python modules to work in sandbox
<NixOS_GitHub> nixpkgs/staging 7dc0cab Dan Peebles: Fix go bootstrap build on sandbox
NixOS_GitHub has left #nixos []
<ebzzry> How do I install firefox with a language other than EN?
boxofrox has joined #nixos
Lisanna has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] copumpkin closed pull request #31681: maintainers: Add ixmatus to the maintainers set (master...parnell/add-maintainer) https://git.io/vFPlc
NixOS_GitHub has left #nixos []
<neonfuz> fearlessKim[m]: how would I do that?
<fearlessKim[m]> neonfuz: nix-shell -A KERNEL_PKG '<nixpkgs>'
<neonfuz> k
<fearlessKim[m]> than look in the docs for 'genericBuild' and stuff. Typically you run $genericBuild until it fails, then you do what you want and rebuild via $buildPhase
acarrico has quit [(Ping timeout: 255 seconds)]
Supersonic112 has quit [(Disconnected by services)]
<fearlessKim[m]> actually Ive had some trouble building my kernel so I plan to improve the docs on it a bit
Supersonic112_ has joined #nixos
Supersonic112_ is now known as Supersonic112
<neonfuz> are those env variables?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] jtojnar opened pull request #31683: glib: Add variable for overriding schemas (staging...schema-override-variable) https://git.io/vFP8U
NixOS_GitHub has left #nixos []
Sonarpulse has quit [(Ping timeout: 255 seconds)]
acarrico has joined #nixos
nh2 has quit [(Quit: Leaving.)]
<neonfuz> fearlessKim[m]: as environment vars those don't exist for me
<fearlessKim[m]> neonfuz: nope they can be variables or shell functions. you can look for them via set|less
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] earldouglas opened pull request #31687: jenkins: 2.89 -> 2.90 (master...jenkins-2.90) https://git.io/vFP4J
NixOS_GitHub has left #nixos []
Arcaelyx has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
universalpackage has joined #nixos
universalpackage has quit [(Remote host closed the connection)]
<neonfuz> GAH
<neonfuz> the kernel finished compiling, but ran out of space installing
<neonfuz> and of course deleted itself
jb55 has joined #nixos
patrl has joined #nixos
patrl has quit [(Client Quit)]
<Orbstheorem> adisbladis: I managed to get working my gpu by following the instructions on https://nouveau.freedesktop.org/wiki/Optimus/
universalpackage has joined #nixos
universalpackage has quit [(Client Quit)]
jtojnar has quit [(Quit: jtojnar)]
p4cman has joined #nixos
srdqty has quit [(Quit: WeeChat 1.9.1)]
<seafood> I'm having trouble getting GHC to build p_dyn versions of the libraries. I tried setting GhcLibWays in build.mk to include "p_dyn" but it did not work.
dj_goku_ has quit [(Remote host closed the connection)]
ssmike has quit [(Ping timeout: 255 seconds)]
<seafood> Sorry, I'm terribly sorry. Wrong channel.
<neonfuz> how do I upgrade kernel version in nixos?
<neonfuz> I added boot.kernelPackages = pkgs.linuxPackages_4_13;
<neonfuz> but I'm getting "inconsistent kernel versions: 4.13.12"
<neonfuz> hmm, I might have fixed it
<neonfuz> nope
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] disassembler closed pull request #31687: jenkins: 2.89 -> 2.90 (master...jenkins-2.90) https://git.io/vFP4J
NixOS_GitHub has left #nixos []
spietz has joined #nixos
AliasSpider has quit [(Ping timeout: 268 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] chris-martin opened pull request #31688: gtetrinet: init at 0.7.11 (master...pr/gtetrinet) https://git.io/vFP0C
NixOS_GitHub has left #nixos []
spietz has quit [(Ping timeout: 248 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] disassembler closed pull request #31671: emby: 3.2.33.0 -> 3.2.36.0 (master...emby_3.2.36.0) https://git.io/vFizx
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] disassembler pushed 2 new commits to master: https://git.io/vFP0z
<NixOS_GitHub> nixpkgs/master fa20e7c Chris Martin: gtetrinet: init at 0.7.11
<NixOS_GitHub> nixpkgs/master 223236d Samuel Leathers: Merge pull request #31688 from chris-martin/pr/gtetrinet...
NixOS_GitHub has left #nixos []
Golden_Skittle has quit [(Quit: Leaving)]
dj_goku has joined #nixos
<neonfuz> anyone know how to upgrade kernel?
aloiscochard has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej pushed 1 new commit to master: https://git.io/vFPuT
<NixOS_GitHub> nixpkgs/master 3dded41 Orivej Desh: gtetrinet: prevent warnings and fix style
NixOS_GitHub has left #nixos []
ThatDocsLady_ has joined #nixos
<hyper_ch> neonfuz: boot.kernelPackages = pkgs.linuxPackages_latest; or boot.kernelPackages = pkgs.linuxPackages_testing;
Wizek has quit [(Quit: Connection closed for inactivity)]
ma271 has joined #nixos
AliasSpider has joined #nixos
a6a3uh has joined #nixos
universalpackage has joined #nixos
myrl has joined #nixos
<myrl> I'm a bit confused now. What is release-* used for?
<myrl> It
<myrl> It's not only bugfix backports, right?
universalpackage has quit [(Remote host closed the connection)]
universalpackage has joined #nixos
<srhb> myrl: They are the branches that turn into the stable channels, afaik.
<srhb> (Once tests pass)
universalpackage has quit [(Client Quit)]
<srhb> So once upon a time, release-17.09 was cut from master. Now, it's cherry picked onto to bring in new changes for nixos-17.09. :)
universalpackage has joined #nixos
myrl has quit [(Ping timeout: 248 seconds)]
vcunat has joined #nixos
seafood has quit [(Quit: http://www.kiwiirc.com/ - A hand crafted IRC client)]
asuryawanshi has joined #nixos
asuryawanshi has quit [(Remote host closed the connection)]
myrl has joined #nixos
<myrl> Errr
asuryawanshi has joined #nixos
<myrl> Did someone reply to my question? Sorry. wl/broadcom is verrryyyy sad.
universalpackage has quit [(Remote host closed the connection)]
<srhb> Yeah: So once upon a time, release-17.09 was cut from master. Now, it's cherry picked onto to bring in new changes for nixos-17.09. :)
<srhb> It is the channel from which 17.09 is made.
<srhb> Er, branch
<srhb> myrl: Does that help?
<myrl> srhb: Yeah. Sorry. :P wl crashed form e again.
<srhb> Woah :P
<myrl> srhb: So, what gets cherry picked from master?
<myrl> Rather
asuryawanshi has quit [(Ping timeout: 240 seconds)]
<myrl> How do people determine that it's fine to cherry pick from master?
<srhb> myrl: A heapful of common sense. Non-destructive changes are usually fine, even if it's a major version bump.
<vcunat> myrl: primary purpose are security fixes
<srhb> The easiest way to see it is really to look at the log :)
<vcunat> there's a pair of release managers who would decide any controversial stuff
ma271 has quit [(Ping timeout: 255 seconds)]
<vcunat> (globin and fpeltz for 17.09)
endformationage has quit [(Quit: WeeChat 1.9.1)]
<myrl> vcunat: srhb: How about for older releases?
<srhb> myrl: There are no older releases that are supported.
seafood has joined #nixos
<myrl> srhb: Even for security backports?
<srhb> myrl: Even for security backports.
<myrl> Thanks. I think I understand now.
<myrl> So, consider release-* as a stable rolling release?
<srhb> It's not very rolling, but I guess a little, sure.
<srhb> (As in, updates come in sporadically when the tests pass, not on some fixed date)
<myrl> Thanks!
<srhb> :)
<vcunat> The current support cycle is (only) six months.
<vcunat> Basically only the last release and the unstable channel get supported. Unstable is real rolling-style - the last automatically tested version from master.
<vcunat> (There's some small overlap of support allowing sime time to jump between releases.)
<myrl> How often do quality-of-life commits get backported? I see firefox-bin getting bumped to 57, but I'm not sure what other programs do.
<hyper_ch> what are quality-of-life commits?
<myrl> Yeah, I should really have properly defined that.
<myrl> I meant commits for programs, that are more about features rather than being bugfixes.
<Lisanna> Hey guys, running into a strange issue with stdenv.... when I set the sourceRoot to a location inside $out, it makes it through the configurePhase, but the buildPhase fails saying it can't find ac-local-1.15
leat1 has quit [(Quit: WeeChat 1.9.1)]
<Lisanna> aclocal-1.15*
<Lisanna> is there something inhernetly wrong with having the sourceRoot be inside $out?
<AliasSpider> 榁
<vcunat> myrl: features are generally not backported
<vcunat> that's the main point of stable releases
<vcunat> you can't really have features without risk of breakages
<vcunat> (and it should differ significantly from the unstable channel)
<vcunat> basically all firefox updates are marked with some "critical security" bugs
seafood has quit [(Quit: http://www.kiwiirc.com/ - A hand crafted IRC client)]
<myrl> vcunat: Oh. Makes sense.
<myrl> Thanks.
<vcunat> :-)
<vcunat> Lisanna: I don't think there's anything wrong
<vcunat> are you sure the error is related to what you did?
MercurialAlchemi has joined #nixos
zzamboni has joined #nixos
<Lisanna> vcunat: pretty sure, when I comment out just the part the changes the sourceRoot, it builds fine
<vcunat> $out doesn't exist in the beginning
tommyangelo_ has quit [(Remote host closed the connection)]
<vcunat> typically the build creates it during installPhase
<Lisanna> I know
tommyangelo_ has joined #nixos
<Lisanna> ohh, I think I figured it out... the copy step is changing the modification / creation date of Makefile.am, causing autotools to try to regenerate the build system, but I haven't given it the tools to do that, so it fails
MP2E has quit [(Remote host closed the connection)]
<Lisanna> yep, that was it
<vcunat> yes, that happens
<vcunat> there's some option to cp to preserve dates
Itkovian has joined #nixos
<etu> vcunat: -a I think
<etu> as in archive
<etu> oh, Lisanna needed it
b has quit [(Remote host closed the connection)]
vcunat has quit [(Ping timeout: 240 seconds)]
theseriousadult has joined #nixos
jb55 has quit [(Ping timeout: 255 seconds)]
pie_ has quit [(Ping timeout: 240 seconds)]
p4cman has quit [(Quit: Connection closed for inactivity)]
hellrazo1 has quit [(Ping timeout: 255 seconds)]
<Lisanna> etu: vcunat: it's -p ^^
<Lisanna> here's what I ended up with, in case anyone else is interested: https://github.com/NixOS/nixpkgs/issues/31689
hellrazo1 has joined #nixos
universalpackage has joined #nixos
miko__ has joined #nixos
Cheng has joined #nixos
<etu> Lisanna: -a implies --preserve=all :p
<etu> (as well as some other stuff though)
Cheng has quit [(Client Quit)]
pie_ has joined #nixos
universalpackage has quit [(Remote host closed the connection)]
universalpackage has joined #nixos
reinzelmann has joined #nixos
theseriousadult has quit [(Ping timeout: 240 seconds)]
leat has joined #nixos
zzamboni has quit [(Quit: Leaving.)]
adamt has joined #nixos
adamt has quit [(Changing host)]
adamt has joined #nixos
fractal_ has quit [(Ping timeout: 260 seconds)]
<neonfuz> what should nix-env -qP output?
<neonfuz> I thought it should output installed packages with attribute path, but it's printing some number before the human readable name insetad...
universalpackage has quit [(Remote host closed the connection)]
universalpackage has joined #nixos
ntc has quit [(Ping timeout: 248 seconds)]
ntc has joined #nixos
rogue_koder has quit [(Ping timeout: 248 seconds)]
zzamboni has joined #nixos
zzamboni has quit [(Client Quit)]
zzamboni has joined #nixos
magnetophon has quit [(Ping timeout: 248 seconds)]
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/3dded417f6 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
nix-gsc-io`bot has quit [(Client Quit)]
<pie_> whats the proper way to turn something like https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/applications/graphics/krita/default.nix into a default.nit that nix-shell can run?
<AliasSpider> �
ntc has quit [(Ping timeout: 248 seconds)]
<AliasSpider> 捑
<AliasSpider> 
ntc has joined #nixos
Itkovian has quit [(Read error: Connection reset by peer)]
universalpackage has quit [(Remote host closed the connection)]
Itkovian has joined #nixos
universalpackage has joined #nixos
Olgierd has quit [(Ping timeout: 248 seconds)]
<makefu> pie_: you could import callPackage and load this default.nix in your shell.nix. derivation
<makefu> something like this: with import <nixpkgs> { }; callPackage default.nix { }
<pie_> hm ok thanks ill give that a shot
orivej has quit [(Ping timeout: 240 seconds)]
universalpackage has quit [(Remote host closed the connection)]
civodul has joined #nixos
universalpackage has joined #nixos
<pie_> makefu, ergh...that by itself is not enough and im not sure whats needed. "error: syntax error, unexpected PATH, expecting '.' or '='"
<pie_> im trying various things but no luck yet
Lisanna has quit [(Ping timeout: 260 seconds)]
Olgierd has joined #nixos
zzamboni has quit [(Quit: Leaving.)]
<Ralith> it is enough; it sounds like you have an unrelated syntax error
dhess has joined #nixos
jtojnar has joined #nixos
miko__ has quit [(Ping timeout: 240 seconds)]
<pie_> sorry wrong error *faepalm*
<pie_> error: anonymous function at krita/default.nix:1:1 called without required argument ‘mkDerivation’, at /nix/store/hp8xrp0sjvkwpd2535d7l7cif708rw48-nixos-17.03.1556.4d1e1d07f9/nixos/lib/customisation.nix:56:12
zzamboni has joined #nixos
<pie_> i guess something needs to be passed along
ambro718 has joined #nixos
<AliasSpider> 躤
nschoe has joined #nixos
ertes-w has joined #nixos
<pie_> or rather obviously it needs the nixpkgs environment but i dont know the way to do that
zzamboni has quit [(Ping timeout: 258 seconds)]
fractal has joined #nixos
zzamboni has joined #nixos
universalpackage has quit [(Quit: Konversation terminated!)]
universalpackage has joined #nixos
myrl has quit [(Ping timeout: 268 seconds)]
zzamboni has quit [(Ping timeout: 255 seconds)]
<sphalerite> pie_: nix-build '<nixpkgs>' -A krita
zzamboni has joined #nixos
<sphalerite> pie_: actually I might be missing some context from that answer. callPackage, as makefu mentioned, is what provides the nixpkgs context
<joko> Hello, hydra evaluator reports the following error on a job: "value is a list while a set was expected". Any idea how to trace it?
<clever> joko: load release.nix in nix-repl
<joko> clever: I get the same error there, too
<clever> joko: can you link your release.nix file?
<pie_> sphalerite, the -A version doesnt really help me thoug hbecause im trying to use the file to build unstable (?)
<clever> pie_: nix-build -E 'with import <nixpkgs> {}; callPackage ./default.nix {}'
<joko> clever: that would be a bit difficult, it's for my employer :(
<clever> joko: can you paste the output of "nix-repl release.nix" ?
<joko> clever: sure thing
FRidh has joined #nixos
zzamboni has quit [(Ping timeout: 258 seconds)]
<clever> joko: try again after adding --show-trace to nix-repl
zzamboni has joined #nixos
<joko> clever: no additional input :(
ambro718 has quit [(Ping timeout: 248 seconds)]
<clever> joko: what about nix-instantiate release.nix -A shipUnit --show-trace ?
proteus-guy has joined #nixos
universalpackage has quit [(Remote host closed the connection)]
<joko> clever: perfect, I saw the error there
<joko> Many thanks, sir!
universalpackage has joined #nixos
<clever> yep
<pie_> clever, yeah thats the same error about not being passed mkderivation
<AliasSpider> 
<AliasSpider> ⸄
<AliasSpider> 飾
<clever> pie_: callPackage should have handled that
<AliasSpider> ⻇
<clever> pie_: can you try it with --show-trace, and then pastebin the output?
zzamboni has quit [(Ping timeout: 248 seconds)]
goibhniu has joined #nixos
<clever> pie_: can you also pastebin the default.nix?
zzamboni has joined #nixos
<AliasSpider> Linux
<AliasSpider> 擔
thc202 has joined #nixos
universalpackage has quit [(Remote host closed the connection)]
universalpackage has joined #nixos
jensens has joined #nixos
<sphalerite> when do we get firefox 57.0? :D
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] cocreature opened pull request #31690: why3: 0.87.3 -> 0.88.1 (master...why3-0.88.1) https://git.io/vFPoX
NixOS_GitHub has left #nixos []
<AliasSpider> ੑ
<etu> sphalerite: It's merged like 12-13 hours ago :)
<sphalerite> oooh I see it's on master already
<sphalerite> yay
periklis has joined #nixos
zzamboni has quit [(Ping timeout: 268 seconds)]
zzamboni has joined #nixos
universalpackage has quit [(Remote host closed the connection)]
universalpackage has joined #nixos
magnetophon has joined #nixos
universalpackage has quit [(Client Quit)]
seafood has joined #nixos
<pie_> clever, ah ok one sec (thought it should be just directly the one from the repo)
<pie_> * with a changed url
stanibanani has joined #nixos
<CrazedProgrammer> anybody else not being able to upgrade because spl-kernel-0.7.3-4.14 is marked as broken?
<clever> pie_: oh
<clever> pie_: mkDerivation is an attribute of stdenv
<clever> pie_: you want stdenv.mkDerivation and { stdenv, ...
<pie_> ahhhh
<clever> pie_: and also qt5.callPackage
<pie_> clever, huh shouldnt that have been in there though
<pie_> or was i not paying attention and downloaded an olg nix file by accident
<pie_> *old
a6a3uh has quit [(Quit: Bye)]
<pie_> aaand now :P
<AliasSpider> :D
<pie_> error: anonymous function at /mnt/data/krita/default.nix:1:1 called without required argument ‘karchive’, at /nix/store/hp8xrp0sjvkwpd2535d7l7cif708rw48-nixos-17.03.1556.4d1e1d07f9/nixos/lib/customisation.nix:56:12
<pie_> ah maybe i should check how this is called
<clever> yeah
<AliasSpider> ĸ ;)
<AliasSpider> :D
<pie_> krita = libsForQt5.callPackage ../applications/graphics/krita {openjpeg = openjpeg_1;};
<pie_> and now it goes
binaryphile has quit [(Ping timeout: 248 seconds)]
a6a3uh has joined #nixos
<rycee> fearlessKim: Cool :-) Yeah, having the man page is quite nice. It was pretty easy to set up since NixOS already contained all the necessary code.
asuryawanshi has joined #nixos
<AliasSpider> UNIX
<sphalerite> AliasSpider: are you trying to say something?
* sphalerite suspects a bot
<sphalerite> Also, trying firefox 57 and riot is still horribly slow ☹
<fearlessKim[m]> am I the only one where Ctrl+V sometimes fail in riot ? impossible to paste xD
asuryawanshi has quit [(Ping timeout: 248 seconds)]
<sphalerite> I don't think I've had that problem
<sphalerite> hm, telegram web has a different font in 57.0 o.O
seafood has quit [(Quit: http://www.kiwiirc.com/ - A hand crafted IRC client)]
pie_ has quit [(Read error: Connection reset by peer)]
<etu> sphalerite: I think that's just riot that's slow then? :p
<AliasSpider> ")
pie_ has joined #nixos
<sphalerite> etu: yes, that's not new. Someone at some point said it was better in 57.0, but I'm not really seeing much of an improvement
<dhess> clever: In an overlay, is the proper way to get the config `self.config` ?
<clever> dhess: that should work
<dhess> clever: sweet, tnx
goibhniu has quit [(Remote host closed the connection)]
<sphalerite> super.config would also work, and I suspect that it's the preferred way. I'm not 100% sure though
<dhess> sphalerite: yeah I wasn't sure whether it should be self or super
binaryphile has joined #nixos
<sphalerite> pierron said at the conference that self is for packages and super for functions iirc… but what about stuff that's neither >.>
<sphalerite> Well ideally we shouldn't be using config at all
a6a3uh has quit [(Quit: Bye)]
goibhniu has joined #nixos
<dhess> sphalerite: I'm trying to get config.haskellPackagesOverrides because I'm creating a new haskell.packages.ghc attribute
<AliasSpider> 碙
a6a3uh has joined #nixos
<sphalerite> gchristensen: any chance of shutting AliasSpider up?
<dhess> or rather, I'm trying to override haskellPackages with a new GHC package+modules
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vbgl pushed 1 new commit to master: https://git.io/vFPiW
<NixOS_GitHub> nixpkgs/master c0f0855 Moritz Kiefer: why3: 0.87.3 -> 0.88.1
NixOS_GitHub has left #nixos []
<AliasSpider> 둘
<sphalerite> sounds like an opportunity to remove haskellPackagesOverrides :P
<dhess> sphalerite: Well I was doing that, as I'm using haskellPackages.extend anyway, later in the overlay.
Porkepix has joined #nixos
<dhess> But I'm trying to make this work in the general case and if someone is combining overlays and the old haskellPackagesOverrides in a config file somewhere, it should probably support that case.
ma271 has joined #nixos
<Porkepix> Hi! Little question here, running a computer on a bit old version of OS X for which other packages manager are starting to have broken things, and as I know someone that advices me to try Nix several times, I wanted to give it a try.
AndreasO has joined #nixos
<LnL> what version?
<Porkepix> I downloaded it, but sadly the installer refused to continue because my OS X version was too old (10.9) and it required 10.10 as a minimum. So I was wondering why is this version a minimal requirement, and while isn't it on the download page?
goibhniu has quit [(Remote host closed the connection)]
<dhess> Porkepix: probably because Nix downloads some Apple libraries and frameworks and those were updated to 10.10 versions in the last year or so.
<LnL> yeah, don't remember the exact reason
goibhniu has joined #nixos
<dhess> If you can find an installer from like early 2016 it should work
AndreasO has quit [(Client Quit)]
<dhess> LnL: pretty sure the 10.9 frameworks broke in 10.11
<dhess> or 10.12 actually
<Porkepix> dhess: Mmmh, I don't get why should it depend on Apple things? If you can just run a compiler, shouldn't you be free to get whatever you need?
<Porkepix> I mean, if gcc or clang are here, well you can get whatever you need, right?
<dhess> Porkepix: Well, for example, you need Apple's libSystem just to make system calls.
<LnL> Porkepix: this is the last version of nixpkgs that works https://github.com/LnL7/nixpkgs/tree/darwin-10.9
<dhess> Porkepix: and unlike other package managers like Homebrew, Nix tries to be as self-contained as it can, and not to depend on what ships with your particular version of macOS.
<LnL> ah it's xnu and libc that where updated
<Porkepix> So what would be the downside of using an older nix version? Would up-to-date packages still works?
<LnL> dhess: frameworks would only break some stuff
<Porkepix> dhess: Yes, that's why I don't get why would it have specific OS version requirements
<dhess> Porkepix: well it has to update the Apple dependencies at some point, if for no other reason than to keep up with security updates and bug fixes.
<dhess> Porkepix: anyway, the downside to using an older Nix is that you won't many package updates.
<Porkepix> Okay, so packages version depends on Nix version
<Porkepix> :/
<dhess> you can update them yourself as needed if you're willing to create your own derivations. If it's just a few packages, it's not that hard.
periklis has quit [(Ping timeout: 240 seconds)]
hotfuzz has quit [(Ping timeout: 252 seconds)]
ebzzry has left #nixos ["WeeChat 1.9.1"]
hotfuzz has joined #nixos
FRidh has quit [(Ping timeout: 268 seconds)]
<Porkepix> Well, the idea for me would have been to have up-to-date packages, for all packages
<LnL> you might be able to fix the libc stuff, but there are probably more problems
<Porkepix> I didn't think the packages versions would be linked to Nix one
erictapen has joined #nixos
thc202 has quit [(Ping timeout: 268 seconds)]
magnetophon has quit [(Remote host closed the connection)]
<sphalerite> Yeah, I'd recommend fixing whatever's keeping on you on an outdated OS ;p
<AliasSpider> WINNT
<dhess> speaking of outdated OSes :)
<AliasSpider> :)
<dhess> weird :O
<AliasSpider> ꊅ
<sphalerite> is there anyone other than gchristensen here with ops?
<clever> sphalerite: markov chain or troll! lol
<AliasSpider> ህ3
thc202 has joined #nixos
<Porkepix> sphalerite: Well, while one reason could be fixed (dying HDD I do not want to have it go through a full system upgrade), the other one would be more difficult (Apple being a little snitch starting with 10.10 and calling home to report things in spotlight & co ;()
<etu> clever: markov chains are better than that afaik
<LnL> sphalerite: probably, but I've not seen anybody else use it
pie_ has quit [(Ping timeout: 240 seconds)]
<AliasSpider> 핔
athan has quit [(Ping timeout: 250 seconds)]
ylwghst has joined #nixos
<AliasSpider> )
AliasSpider has quit [(K-Lined)]
* ylwghst
universalpackage has joined #nixos
FRidh has joined #nixos
universalpackage has quit [(Client Quit)]
ylwghst has quit [(Quit: leaving)]
ylwghst has joined #nixos
athan has joined #nixos
<sphalerite> Hm. Could nix-store --optimise make use of hashes computed and stored by the filesystem to run much faster?
zzamboni has quit [(Quit: Leaving.)]
<sphalerite> (Thinking zfs)
<adisbladis> sphalerite: You could just use zfs dedup?
<adisbladis> And skip optimise
<sphalerite> I suppose that depends first and foremost on whether userspace can even access them
<sphalerite> adisbladis: that's expensive
Isorkin has quit [(Ping timeout: 248 seconds)]
zzamboni has joined #nixos
<sphalerite> Actually, maybe enabling dedup on a nix store dataset wouldn't be too bad?
<sphalerite> Since it's not written to all too frequently
zzamboni has quit [(Client Quit)]
zzamboni has joined #nixos
<sphalerite> And only once per path
jsgrant has quit [(Ping timeout: 255 seconds)]
<sphalerite> That would probably even be more efficient than running nix-store --optimise periodically, I think?
<sphalerite> clever: you know stuff about zfs! What do you think?
<clever> sphalerite: that would allow partial duplicates between 2 files to be shared
<sphalerite> Yeah, but would the cost be reasonable?
roconnor__ has joined #nixos
<clever> sphalerite: yeah, that would need some testing
zzamboni has quit [(Ping timeout: 248 seconds)]
<clever> sphalerite: i think the DDT is only required for writes and deletes
<clever> so reads dont care about the size of the DDT
<sphalerite> yeah that would make sense
zzamboni has joined #nixos
<clever> sphalerite: in theory, you can make a new dataset and just mount it to /nix2/, turn on dedup, then just copy all of /nix over
<clever> and then look at the numbers
<sphalerite> yeah I think I'll try that, if I have the space
a6a3uh has quit [(Quit: Bye)]
<sphalerite> (I try to keep at least 100GB free based on what I've heard about zfs's performance when the disk gets fuller)
roconnor has quit [(Ping timeout: 248 seconds)]
<adisbladis> sphalerite: I
<adisbladis> sphalerite: Im thinking that the nix store dataset is small enough to not eat too much ram
<sphalerite> yeah mine is 22GB, and I don't think it ever really goes above 40
<adisbladis> Actually not a bad idea :) I think I'll give it a go too
tmaekawa has joined #nixos
universalpackage has joined #nixos
<sphalerite> there's some feature in nix for copying stuff to a store with chroot iirc?
<sphalerite> I don't want to copy the store with .links
<sphalerite> oh maybe I should just `rsync -aP --exclude .links /nix/store/ /mnt/nix/`
<sphalerite> since they're hard links and not symlinks it's not actually necessary to copy them over, right?
<sphalerite> clever: what was the magical arcstat.py command again?
<clever> arcstat.py -f time,l2hit%,l2read,l2bytes,l2size,l2asize,l2miss,l2hits,read,dmis,mru,mread,c,ph%,pm%,mfu,mm%,miss,mrug,dhit,mfug,hits,dm%,mhit,dh%,mh%,mmis,hit%,eskip,arcsz 10
<clever> arcstat.py -f time,read,dmis,dhit,dh%,mrug,mru,mfu,mfug,mread,c,ph%,pm%,mm%,miss,hits,mhit,mh%,mmis,hit%,eskip,arcsz 10
<clever> sphalerite: one includes L2, the other doesnt
<clever> the help output describes most of the fields
<sphalerite> Or is there a separate thing for seeing DDT information?
<clever> dedup is elsewhere
<clever> [root@amd-nixos:~]# zpool status -D
<clever> dedup: DDT entries 630380, size 1.71K on disk, 567B in core
fendor has joined #nixos
<clever> there are 630k rows in the dedup table, each record takes 1.7kb on disk, and 567 bytes in ram
<clever> so its using 340mb of ram
universalpackage has quit [(Remote host closed the connection)]
<clever> and nearly 1gig of disk
universalpackage has joined #nixos
<clever> sphalerite: and one other thing
<clever> [root@amd-nixos:~]# zfs list -t filesystem -o name,used,written,logicalused,compressratio
<clever> NAME USED WRITTEN LUSED RATIO
<clever> amd 189G 96K 288G 1.66x
<clever> this includes both the effects of compression and dedup, i believe
<clever> amd/nix 67.2G 67.2G 131G 2.16x
<clever> so my store is 131gig of data, but its only using 67gig on-disk
<clever> amd/docker 597M 12.4M 2.25G 4.18x
<clever> sphalerite: i also enabled dedup for amd/docker, because i was loading the same image (built by nix) over&over, and they where 98% identical
<steveeJ> clever: what does amd refer to here?
<clever> steveeJ: the name of the pool
universalpackage has quit [(Quit: Konversation terminated!)]
<steveeJ> clever: what storage driver are you using with docker then? couldn't it handle CoW without the dedup on the fs level?
<clever> steveeJ: i set docker to the zfs driver, so docker makes a snapshot of every image
<clever> steveeJ: and then it uses zfs commands to atomicly spawn an entire FS from that snapshot
<clever> so if i was to spawn 20 containers from the same image, it would be nearly instant
reinzelmann has quit [(Quit: Leaving)]
<steveeJ> and how does the additional dedup help in this case? two separate images that are not layered but still '98% identical'?
jtojnar has quit [(Remote host closed the connection)]
jtojnar has joined #nixos
<clever> steveeJ: when nix builds an image, it creates an entire layer, that has the closure of a given store path
<clever> steveeJ: and if you import 2 such images, they wind up being 98% identical, often with just 5 bytes differing in a bash script
<steveeJ> I see, and there's no reference between them for Docker
<clever> so zfs dedup is needed
<clever> yeah
reinzelmann has joined #nixos
<clever> there is a different docker/nix project i forget the name of, that makes one layer for every storepath
zzamboni has quit [(Quit: Leaving.)]
<clever> which could optimize things better
<clever> but that would leave other docker end-users downloading 200 layers
<clever> and the kernel may not be happy trying to union 200 filesystems together
<sphalerite> Does the kernel handle all those overlay mounts well?
zzamboni has joined #nixos
tmaekawa has quit [(Quit: tmaekawa)]
<clever> i think it also depends on what storage driver you use in docker
<clever> it could either keep the original layer.tar files, and just unpack them in sequence for each container, or it count union pre-unpacked ones together
<clever> s/count/could/
<steveeJ> I'm wondering if there are folks that mount /nix, or a subset thereof, to each Docker container in production
<sphalerite> it would make sense, if you mount it read-only and aren't worried about isolation bugs
Isorkin has joined #nixos
<steveeJ> this is something I experimented with in nix2aci, generating mounts for each dependency. the project was targeted at rkt though instead of Docker
<clever> steveeJ: i believe nix-daemon does something similar, for its sandboxes
<steveeJ> it ends up with lots of bind-mounts, which are probably less complex for the kernel to handle than dozens of overlayfs mounts
<sphalerite> hm, can two devices with 802.11ac communicate with each other through ac even if the AP they're associated to only supports 802.11n?
p4cman has joined #nixos
<sphalerite> do they even talk directly to each other, or does the AP act as an intermediary for all the communication?
<etu> sphalerite: No, they don't talk directly
<clever> sphalerite: i believe everything must go thru the AP when in AP mode
<sphalerite> aww
<clever> and in the case of WPA, only the AP knows how to decrypt things from each peer
<etu> clever: Unless you're using KRACK ;)
<clever> so the AP must decrypt the packet, re-encrypt with the other session, then rebroadcast
<clever> yeah, if KRACK is in play, you could mitm the session, and inject a fake reply before the real server sends one to the router
<pmeunier> Hi! How is overrideAttrs supposed to work with stdenv.mkDerivation rec { … } (mind the "rec")? If the overridden attribute is used in other attributes, will they get overridden too?
<dhess> Can you all have a look at this gist, which adds GHC > 8.0.2 support for ARM systems via an overlay? https://gist.github.com/dhess/f81be9858aef3563cf521f099ba65ab8
zzamboni has quit [(Quit: Leaving.)]
<dhess> Specifically, I want to make sure I've done the haskell.compiler and haskell.packages overrides correctly, since those are nested attrs
<clever> airpwn is a tool to mitm http requests, even if WEP is at play (and KRACK could also add WPA support)
<dhess> you can ignore the first 2 files and just focus on haskell.nix
<clever> dhess: one way you can improve the giant chain of if's on line 12-33, is to use a set
* sphalerite needs to switch to a mesh network setup
haskman has joined #nixos
<dhess> It works for me, I can build Haskell apps on my ARM boxes, just want to make sure I didn't miss some subtelty
* sphalerite doubts it's possible with his hardware
<clever> dhess: srcs = { "i686-linux" = ...; "x86_64-linux" = ...; .... }; and then srcs.${stdenv.system}
<clever> dhess: now instead of chaining if's, your just looking up the system in a set
<clever> only a single if is needed to deal with not-found
<dhess> clever: ok, thanks. I think I just copy-and-pasted that syntax from the other GHC binary derivations, but good to know :)
<dhess> clever: I'm more interested in the last file, haskell.nix
<steveeJ> clever: have you tested to distribute docker images via nix/hydra directly instead of a docker registry?
<clever> dhess: ah yeah, overrides on sub-attributes are messy
<clever> steveeJ: yeah, i just wget the image from hydra and "docker load" it
<dhess> clever: yeah I tried several different ways and this is the only thing that evaluated
<clever> steveeJ: let me grab the docs
<dhess> but it does seem to work!
Isorkin_ has joined #nixos
<dhess> clever: this is loosely based on your test-ghc.nix gist, which was very helpful.
zzamboni has joined #nixos
Isorkin has quit [(Ping timeout: 248 seconds)]
<steveeJ> clever: awesome! the last piece for comfort would be a registry shim that just generates URLs for the files on hydra
<sphalerite> clever: compression=on or compression=lz4?
<clever> sphalerite: i believe on is an alias for lz4
<clever> gzip-9 gets better compression, but has a noticable effect on cpu usage
<sphalerite> Yeah, currently. Which is preferable though?
<sphalerite> for a general use case
<clever> i think "on" is the recomended one, so upstream can change it to the "best" algo when a better one comes out
orivej has joined #nixos
zzamboni has quit [(Ping timeout: 248 seconds)]
<sphalerite> huh. used/refer on the deduped store dataset are the same…?
<clever> sphalerite: try logicalused
<sphalerite> Also, would zfs be a sensible choice for a low-powered machine like my chromebook?
zzamboni has joined #nixos
<clever> not sure, ive been wondering the same about my raspberry pi
<sphalerite> logicalused is 48.6G, written is 52.1G... so it's actually using more space!?
<clever> sphalerite: what about used vs logicalused?
<sphalerite> used is 52.1G
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] romildo opened pull request #31693: enlightenment: fix names of setuid wrapped files (master...fix.enlightenment) https://git.io/vFP7D
NixOS_GitHub has left #nixos []
<sphalerite> Hm, does dedup maybe not apply if you set it after mounting? I can't remember in which order I did it
<clever> sphalerite: that might be the size of the DDT on-disk, what does "zpool status -D" say?
<clever> dedup only applies to blocks written while it is enabled
<clever> same for compression
<clever> so you must re-write every block for the change to take effect
<sphalerite> yeah, I definitely enabled it before copying the data
<clever> ah
<sphalerite> dedup: DDT entries 258291, size 491B on disk, 158B in core
<clever> 120mb on-disk for the DDT
<clever> sphalerite: can you gist zfs list -t filesystem -o name,used,written,logicalused,compressratio,dedup,compression ?
FRidh has quit [(Ping timeout: 240 seconds)]
<sphalerite> I've actually destroyed and recreated the filesystem because I also forgot to enable compression (I've now set it to on for the pool so it doesn't happen again) and am just copying the data again
martinb has joined #nixos
joehh has joined #nixos
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-17.09 advanced to https://github.com/NixOS/nixpkgs/commit/ac35504065 (from 12 hours ago, history: https://channels.nix.gsc.io/nixos-17.09)
nix-gsc-io`bot has quit [(Client Quit)]
<martinb> When creating a FHSUserEnv, is there a way to get the path of e.g. the /share directory of a package which has been included in targetPkgs? Specifically, I want to recreate the XDG_DATA_DIRS variable inside the env with a path to something like /usr/share/..., where "..." depends on the specific packages in targetPkgs...
zzamboni has quit [(Quit: Leaving.)]
zzamboni has joined #nixos
das-g[m] has joined #nixos
<sphalerite> clever: rpool/nixstore 30.1G 30.1G 48.5G 1.77x on on
<clever> sphalerite: some savings there, about 18gig saved
<sphalerite> Looking better now
<sphalerite> yeah
<sphalerite> but is that actually from dedup and not just from compression?
<clever> yeah, i'm not sure how to seperate them
<clever> simplest thing is to do it again with no compression
<sphalerite> well that's what I did the first time round and it seemed to end up using more space
<clever> that might be the size of the dedup table
<clever> so try once more with only compression
<avn> sphalerite: hardlinking more effective than dedup on zfs
<avn> (for nix/store
<clever> avn: hardlinking works for 100% identical files, dedup works better for partially matching, and will depend heavily on the data
<avn> clever: at least it costs not to disable hardlinking when use zfs
zzamboni has quit [(Quit: Leaving.)]
<sphalerite> As it happens I don't have many (any?) OS images in my nix store so it's probably better to just stick with not using dedup
simukis has joined #nixos
<clever> sphalerite: you could also compare lz4 and gzip-9
<adisbladis> avn: It
<adisbladis> Its less maintenance to use dedup though
iyzsong has joined #nixos
<clever> adisbladis: nix also has an auto optimize option
Neo-- has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nix] edolstra pushed 1 new commit to master: https://git.io/vFPAt
<NixOS_GitHub> nix/master 2713186 Eelco Dolstra: Doh
NixOS_GitHub has left #nixos []
<pmeunier> Hi! How is overrideAttrs supposed to work with stdenv.mkDerivation rec { … } (mind the "rec")? If the overridden attribute is used in other attributes, will they get overridden too? If not, how to override them?
zzamboni has joined #nixos
<clever> pmeunier: rec happens before the overrides, so you have to override everything
<clever> pmeunier: no simple way to just override .version
ssmike has joined #nixos
<pmeunier> clever: thanks!
<pmeunier> how do I create functions callable with the dot syntax like a.override
<pmeunier> ?
ma271 has quit [(Ping timeout: 260 seconds)]
<clever> pmeunier: you can use // to just merge a set onto something, or .passthru
<clever> pmeunier: for example, foo = pkgs.hello // { bar = args: value; };
<clever> then foo.bar is a function
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] svanderburg pushed 4 new commits to master: https://git.io/vFPAi
<NixOS_GitHub> nixpkgs/master 5ae373b Maximilian Bosch: {shout, quassel-webserver}: move to nodePackages...
<NixOS_GitHub> nixpkgs/master 9e0f861 Maximilian Bosch: airfield: fix build...
<NixOS_GitHub> nixpkgs/master daf76db Maximilian Bosch: top-level: get rid of npm2nix build
NixOS_GitHub has left #nixos []
<pmeunier> how does it get access to "self", i.e. can that function return an updated version of pkgs.hello?
martinb has quit [(Ping timeout: 248 seconds)]
zzamboni has quit [(Client Quit)]
<clever> pmeunier: when creating the bar value, pkgs.hello is in-scope
<pmeunier> how is it called? self? this?
<clever> pmeunier: foo = pkgs.hello // { bar = args: otherFunc args pkgs.hello; };
<clever> pmeunier: you have to pass the old hello to a function in this case
<clever> pmeunier: overrideAttrs is a special thing between the user-facing stdnev.mkDerivation, and the backend that actualy handles making the derivation
<pmeunier> alright, but what if I want to call (pkgs.hello.firstOverride bla).secondOverride bli? the secondOverride will only have access to pkgs.hello, not to "self"/"this"
<clever> you can chain overrides
<clever> (pkgs.hello.overrideAttrs (old: { foo = "foo"; })).overrideAttrs (old: { bar = "bar"; })
<clever> i believe
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nix] edolstra closed pull request #1678: anchor nix::Exit exception (master...feature/anchor-exit-exception) https://git.io/vFiV7
NixOS_GitHub has left #nixos []
<clever> the override function had to setup a new .overrideAttrs, against the new version
<pmeunier> wait, but that's not my example.
<pmeunier> in my example the functions are *explicitly* called "firstOverride" and "secondOverride"
zzamboni has joined #nixos
<pmeunier> I made them myself.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej closed pull request #31678: linux_4_14: fix iwlwifi fw reset (master...fix-iwlwifi-linux-4.14) https://git.io/vFPGd
NixOS_GitHub has left #nixos []
<clever> what are you trying to do with those custom overrides?
<pmeunier> provide easier ways to override a rec.
<clever> ah
<clever> nothing can override things before rec
<clever> rec modifies the values before they reach the first function
<pmeunier> thanks, but you've already said that.
<pmeunier> I want to modify things that depend on the attribute anyway (and I've well understood your answer).
<pmeunier> like for instance stdenv.mkDerivation rec { a = x; buildInputs = [ a ] ++ blabla; }
<pmeunier> I know there's a rec, but still, I can modify the buildInputs separately.
<pmeunier> but I'd even love to do it recursively.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] domenkozar pushed 1 new commit to release-17.09: https://git.io/vFPxw
<NixOS_GitHub> nixpkgs/release-17.09 e9776f0 taku0: firefox: 56.0.2 -> 57.0...
NixOS_GitHub has left #nixos []
k2s has joined #nixos
<clever> pmeunier: in something like that, it might be better to use .override, which operates at a much sooner level
zzamboni has quit [(Remote host closed the connection)]
<clever> pmeunier: .override changes the arguments given to the whole file, on line 1, so the x coming into it is changed
<pmeunier> right, but I need a function in that case (which I wanted to avoid)
<pmeunier> thanks!
zzamboni has joined #nixos
zzamboni has quit [(Ping timeout: 260 seconds)]
zzamboni has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 opened pull request #31694: linuxPackages.openafs-client: fixes for 4.14 (master...openafs) https://git.io/vFPpH
NixOS_GitHub has left #nixos []
zzamboni has quit [(Ping timeout: 248 seconds)]
zzamboni has joined #nixos
FRidh has joined #nixos
davidak has joined #nixos
erictapen has quit [(Ping timeout: 248 seconds)]
johbo has quit [(Quit: Bye)]
johbo has joined #nixos
zzamboni has quit [(Ping timeout: 240 seconds)]
zzamboni has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] c0bw3b closed pull request #24271: quassel-webserver: 2.1.1 -> 2.2.8 (master...quassel-webserver-update) https://git.io/vSUf3
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] peti pushed 2 new commits to release-17.09: https://git.io/vFPj3
<NixOS_GitHub> nixpkgs/release-17.09 b3b1f2e Peter Simons: maxima: 5.40.0 -> 5.41.0...
<NixOS_GitHub> nixpkgs/release-17.09 a5f90be Joerg Thalheim: wxmaxima: 15.04.0 -> 17.10.1...
NixOS_GitHub has left #nixos []
ylwghst has quit [(Ping timeout: 240 seconds)]
joehh has quit [(Ping timeout: 255 seconds)]
Guest52155 has joined #nixos
romildo has joined #nixos
sigmundv__ has joined #nixos
martinb has joined #nixos
<joko> Hmm, my Hydra server seems to be stuck on a job (scheduled to be built), any way to find the issue there?
glion has joined #nixos
Neo-- has quit [(Ping timeout: 248 seconds)]
civodul has quit [(Ping timeout: 255 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej pushed 1 new commit to master: https://git.io/vFXv4
<NixOS_GitHub> nixpkgs/master 8562538 Orivej Desh: phpPackages.apcu,imagick: fix build after #31526
NixOS_GitHub has left #nixos []
erictapen has joined #nixos
erictapen has quit [(Remote host closed the connection)]
erictapen has joined #nixos
<clever> joko: what is in your /etc/nix/machines ?
<orivej> joko: some jobs stuck without explanation that I've seen depend on another scheduled job has an explanation for; some depend on supportedFeatures that no machine provides
<orivej> err, depend on something another scheduled job has an explanation for
ylwghst has joined #nixos
mkoenig has quit [(Ping timeout: 248 seconds)]
mkoenig_ has joined #nixos
k2s has quit [(Ping timeout: 268 seconds)]
<sphalerite> What's likely to be faster in terms of throughput? A USB3 stick in a USB2 port, or networked SSD storage accessed via 802.11n?
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] NeQuissimus pushed 1 new commit to master: https://git.io/vFXfE
<NixOS_GitHub> nixpkgs/master bd9b124 Tim Steinbach: linux: 4.13.12 -> 4.13.13
NixOS_GitHub has left #nixos []
<romildo> It seems that haskell-ide-engine is not packaged yet in nixpkgs.
<romildo> It is a haskell application but I cannot find it at hackage. Source code is available at https://github.com/haskell/haskell-ide-engine
<manveru> sphalerite: i'd say USB2... unless you get like 4 spatial streams on wifi
<manveru> but of course nothing beats measuring, might be really shitty usb stick :)
<joko> clever, orivej: I feel ashamed, I hadn't set distributedBuilds >_<
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] c0bw3b closed pull request #31677: materia-theme: 20171005 -> 20171112 (master...upd.materia) https://git.io/vFP3i
NixOS_GitHub has left #nixos []
ssmike has quit [(Remote host closed the connection)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] aszlig pushed 1 new commit to release-17.09: https://git.io/vFXJj
<NixOS_GitHub> nixpkgs/release-17.09 33f482e aszlig: vim: 8.0.1150 -> 8.0.1245...
NixOS_GitHub has left #nixos []
<sphalerite> manveru: thanks :)
ssmike has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] primeos pushed 1 new commit to master: https://git.io/vFXU3
<NixOS_GitHub> nixpkgs/master f460037 Michael Weiss: fuse3: 3.2.0 -> 3.2.1
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] aszlig pushed 1 new commit to release-17.09: https://git.io/vFXUB
<NixOS_GitHub> nixpkgs/release-17.09 ccb2cc7 Tuomas Tynkkynen: vim: 8.0.1245 -> 8.0.1257...
NixOS_GitHub has left #nixos []
nh2 has joined #nixos
Itkovian has joined #nixos
<joko> One more question, I'm evaluating the use of home-manager and I would like to use Hydra to build some of the packages I define in .config/nixpkgs/home.nix
<joko> But I'm guessing builtins.currentSystem is not right, any idea what's the correct one?
<clever> joko: stdenv.system would be the target your building for
<clever> joko: and its set via import <nixpkgs> { system = "x86_64-darwin"; }
nithor has quit [(Ping timeout: 258 seconds)]
Guest52155 has quit [(Ping timeout: 250 seconds)]
FRidh has quit [(Quit: Konversation terminated!)]
<garbas> anybody has experience with lenovo X1 gen4? a friend is in a need of help https://twitter.com/tomlazar/status/930462662655430657
FRidh has joined #nixos
<joko> clever: thanks a lot!
universalpackage has joined #nixos
<joko> garbas: boot.loader.grub.device = "/dev/nvme0n1";
<joko> this is wrong for efi
<joko> It should be nodev
<clever> joko: also, grub isnt enabled, so that line can just be deleted
<joko> Why doesn't he use systemd-boot? It's easier
<etu> joko: He does
<etu> joko: The comment is wrong though
<garbas> joko: clever: he is coming from freebsd (and osx) new to the whole linux world :)
<joko> Oh yeah
<clever> garbas: line 24 can also be deleted, nixos will auto-detect that based on the config in hardware-configuration.nix
<garbas> clever: do you maybe have twitter account to reply directly.
<garbas> i have no problem being a proxy, but i'm still in the middle of my first coffee and there might be some latency :)
<joko> :P
<ikwildrpepper> garbas: have you ever had issues with pypi2nix, where pytest-runner somehow is missing in some deps?
<garbas> but thank you for helping out!
<clever> i cant see anything obvious in that first gist that would explain the boot problems
spietz has joined #nixos
<garbas> ikwildrpepper: yes, there is the usual patch you need to have in overrides
* garbas looks for example
<ikwildrpepper> garbas: thnx
universalpackage has quit [(Remote host closed the connection)]
ssmike has quit [(Ping timeout: 264 seconds)]
universalpackage has joined #nixos
<clever> garbas: the only thing fishy that i can see is `zpool set bootfs=tank/root/nixos tank`, other then that, all i can think of, is to try EFI grub, rather then efi systemd
<garbas> ikwildrpepper: i usually just skip it since this is setup requirement
erictapen has quit [(Remote host closed the connection)]
<garbas> ikwildrpepper: and there is no way to know get setup requirements of a package. i was looking into patching pip at one point but then had to drive to hospital my wife for a delivery. and after that who has time :)
orivej has quit [(Ping timeout: 250 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Moredread opened pull request #31695: pythonPackages.mpi4py: 2.0.0 -> 3.0.0 (master...mpi4py-3.0.0) https://git.io/vFXIK
NixOS_GitHub has left #nixos []
orivej has joined #nixos
<ikwildrpepper> garbas: :D
<joko> clever: I think line 16 is installing grub for BIOS systems as well and if the system has CSM, then it tries to boot from there
universalpackage has quit [(Remote host closed the connection)]
universalpackage has joined #nixos
<clever> joko: but grub.enable isnt set, so the grub code never even runs
<joko> oh, correct
erictapen has joined #nixos
<goibhniu> garbas: perhaps you can point him to the log: https://botbot.me/freenode/nixos/
<clever> goibhniu: good idea
asuryawanshi has joined #nixos
universalpackage has quit [(Remote host closed the connection)]
universalpackage has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #29506: travis-ci: don’t merge prs (master...travis-no-merge) https://git.io/v5Flc
NixOS_GitHub has left #nixos []
asuryawanshi has quit [(Remote host closed the connection)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nix] edolstra pushed 1 new commit to master: https://git.io/vFXL0
<NixOS_GitHub> nix/master 8956ae1 Eelco Dolstra: Add a "profile" option to S3BinaryCacheStore...
NixOS_GitHub has left #nixos []
periklis has joined #nixos
<goibhniu> I'll try to reply to him on twitter
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] grahamc closed pull request #28826: gnome3: Add dleyna service (master...dleyna) https://git.io/v5BZv
NixOS_GitHub has left #nixos []
erictapen has quit [(Ping timeout: 248 seconds)]
forgetful has joined #nixos
davidak has left #nixos []
ssmike has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] disassembler pushed 2 new commits to master: https://git.io/vFXtC
<NixOS_GitHub> nixpkgs/master dd3d1cf taku0: flashplayer: 27.0.0.183 -> 27.0.0.187
<NixOS_GitHub> nixpkgs/master 8f75c78 Samuel Leathers: Merge pull request #31660 from taku0/flashplayer-27.0.0.187...
NixOS_GitHub has left #nixos []
<forgetful> Hi everybody. Can somebody help me with a problem. I am running nix on ubuntu and whenever I try to use ssh which I installed with nix I get the following error: No user exists for uid 1000. Of course the user exists and if I use the ssh command that comes with ubuntu there is no problem. Thanks.
<gchristensen> disasm: always backport flash player
<gchristensen> disasm: and browser updates
<gchristensen> disasm: you'll want to go to the list of commits that were merged (https://github.com/NixOS/nixpkgs/pull/31660/commits) and `git cherry-pick -x commit commit commit` while on the release-17.09 branch, then push them
<gchristensen> in this case, git cherry-pick -x dd3d1cf6e1a55c93d28a99933aacfd3f1ee7c990
<disasm> ooh, I get to push from command line :) being extra cautious with this!
universalpackage has quit [(Remote host closed the connection)]
universalpackage has joined #nixos
<gchristensen> disasm: I have some helpers to prevent mistakes when pushing, would you like them?
<disasm> yeah :)
<gchristensen> this prevents deleting master or release branches, prevents me from creating new branches in nixos/nixpkgs, and errors out if I try to push more than one commit
<gchristensen> if I try to push one more commit to nixos/nixpkgs*
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] disassembler pushed 1 new commit to release-17.09: https://git.io/vFXqO
<NixOS_GitHub> nixpkgs/release-17.09 ea651ea taku0: flashplayer: 27.0.0.183 -> 27.0.0.187
NixOS_GitHub has left #nixos []
<disasm> gchristensen: look good?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] P-E-Meunier opened pull request #31698: Documenting the fact that overrideAttr doesn't work on recursive sets (master...documentation) https://git.io/vFXqn
NixOS_GitHub has left #nixos []
<gchristensen> you forgot the `-x` :) otherwise yes
universalpackage has quit [(Remote host closed the connection)]
universalpackage has joined #nixos
erictapen has joined #nixos
erictapen has quit [(Remote host closed the connection)]
erictapen has joined #nixos
romildo has quit [(Quit: Leaving)]
universalpackage has quit [(Remote host closed the connection)]
<disasm> ah crap... should I redo and force push?
universalpackage has joined #nixos
ssmike has quit [(Remote host closed the connection)]
<gchristensen> no!
ssmike has joined #nixos
<gchristensen> never force push to nixos/*
danbst[m] has joined #nixos
<larsvm> always use -f with all commands, what could go wrong?
<gchristensen> if you really need to fix something `git revert` the offending changes then push corrected diffs
<gchristensen> but in this case, the lack of a `-x` is minor
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] timor opened pull request #31699: zotero: 4.0.29 -> 5.0.25 (master...zotero-5) https://git.io/vFXml
NixOS_GitHub has left #nixos []
<tilpner> Doesn't GH allow branch protection that could prevent force pushes?
<tilpner> Or was that master only... :/
<LnL> I assume/hope that's enabled
<gchristensen> I think we have it on for all the release branches and master
fendor has quit [(Remote host closed the connection)]
universalpackage has quit [(Remote host closed the connection)]
fendor has joined #nixos
universalpackage has joined #nixos
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-17.09-small advanced to https://github.com/NixOS/nixpkgs/commit/a5f90be736 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-17.09-small)
nix-gsc-io`bot has quit [(Client Quit)]
erictapen has quit [(Ping timeout: 255 seconds)]
erictapen has joined #nixos
universalpackage has quit [(Client Quit)]
fenedor has joined #nixos
Svarog has joined #nixos
<joko> If I override a package in nixpkgs.config.packageOverrides (e.g. oraclejre8), then shouldn't services.tomcat.jdk = pkgs.oraclejre8 use its overriden version?
<forgetful> This might help understanding the problem: connect(3, {sa_family=AF_LOCAL, sun_path="/var/run/nscd/socket"}, 110) = -1 ENOENT (No such file or directory)
<joko> I think this is happening on the live setup, but the Hydra job somehow pulls the full version
<forgetful> openat(AT_FDCWD, "/nix/store/mjx71lmnlf4psm9942djjcd8b56hyk8b-glibc-2.26-75/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
<tilpner> Oh, good. Your warning sounded like it needed manual enforcement :)
<Dezgeg> forgetful: so is your user coming from /etc/passwd or some nss module?
<forgetful> dezgeg: it should come from /etc/passwd
fendor has quit [(Ping timeout: 248 seconds)]
<Dezgeg> hm, that's strange then
<forgetful> dezgeg: but I had the same error running the postrgres db, or cloning git repos via ssh
<forgetful> dezgeg: I believe this is the problem: cannot access '/nix/store/mjx71lmnlf4psm9942djjcd8b56hyk8b-glibc-2.26-75/etc/ld.so.cache': No such file or directory
<Dezgeg> that's not relevant most likely
<forgetful> Dezgeg: I even installed a fresh copy on a server and I get the same error
ssmike has quit [(Ping timeout: 250 seconds)]
<disasm> gchristensen: ok, thanks, I've updated my cp alias (I thought I had done that at nixcon, but most not have)
<Dezgeg> hmm, I can actually reproduce the problem on my arch machine
<Dezgeg> I guess the glibc upgrade broke things
<forgetful> yes, I think so
<forgetful> It is looking for this file: /nix/store/mjx71lmnlf4psm9942djjcd8b56hyk8b-glibc-2.26-75/lib/libnss_compat.so.2
<forgetful> which is not there
<forgetful> and in /etc/nsswitch.conf passwd is specified as compat
seafood has joined #nixos
<Dezgeg> yes (since when though...)
seafood has quit [(Client Quit)]
<forgetful> would it be enough to change it to db files to make it work?
<Dezgeg> well, theoretically, but care needs to be taken not to break your ubuntu programs :P
periklis has quit [(Ping timeout: 248 seconds)]
<Dezgeg> using 17.09 (which still has the old glibc) sounds like the best temporary option
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej pushed 1 new commit to master: https://git.io/vFXsx
<NixOS_GitHub> nixpkgs/master 2fc2063 Orivej Desh: php56Packages.apcu40: fix build after #31526
NixOS_GitHub has left #nixos []
zzamboni has quit [(Quit: Leaving.)]
<forgetful> How can I tell it to my Hydra installation? it pulls it in automatically.
Guest52155 has joined #nixos
chimay has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej pushed 1 new commit to release-17.09: https://git.io/vFXGC
<NixOS_GitHub> nixpkgs/release-17.09 b0e50cc Orivej Desh: php56Packages.apcu40: fix build after #31526...
NixOS_GitHub has left #nixos []
nithor has joined #nixos
<forgetful> Ok, sorry, bad question. How can I install the 17.09 release?
amfl has quit [(Read error: Connection reset by peer)]
martinb has quit [(Ping timeout: 240 seconds)]
amfl has joined #nixos
asuryawanshi has joined #nixos
spietz has quit [(Ping timeout: 240 seconds)]
07EAAFAA9 has joined #nixos
<07EAAFAA9> [nixpkgs] disassembler closed pull request #31695: pythonPackages.mpi4py: 2.0.0 -> 3.0.0 (master...mpi4py-3.0.0) https://git.io/vFXIK
07EAAFAA9 has left #nixos []
7GHAA71XT has joined #nixos
<7GHAA71XT> [nixpkgs] disassembler pushed 2 new commits to master: https://git.io/vFXnz
<7GHAA71XT> nixpkgs/master fb8ff9e André-Patrick Bubel: pythonPackages.mpi4py: 2.0.0 -> 3.0.0...
<7GHAA71XT> nixpkgs/master 27fbf66 Samuel Leathers: Merge pull request #31695 from Moredread/mpi4py-3.0.0...
7GHAA71XT has left #nixos []
spietz has joined #nixos
<Dezgeg> it's "nix-channel --add http://nixos.org/channels/nixos-17.09 nixpkgs && nix-channel --update" I think
<srhb> What's the canonical way of rendering an attrset as a string?
<gchristensen> Dezgeg: s/nixpkgs/nixos/ ?
<Dezgeg> that was on non-nixos
<gchristensen> oh
asuryawanshi has quit [(Ping timeout: 255 seconds)]
<orivej> srhb: there is lib.generators.toPretty
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] disassembler pushed 2 new commits to master: https://git.io/vFXc3
<NixOS_GitHub> nixpkgs/master f2a3a0a José Romildo Malaquias: jgmenu: init at 0.7.4
<NixOS_GitHub> nixpkgs/master cdea07b Samuel Leathers: Merge pull request #31669 from romildo/new.jgmenu...
NixOS_GitHub has left #nixos []
<forgetful> Dezgeg: thank you!
edef has quit [(Read error: error:1408F10B:SSL routines:SSL3_GET_RECORD:wrong version number)]
JosW has joined #nixos
edef has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] disassembler closed pull request #31665: streamlink: 0.8.1 -> 0.9.0 (master...streamlink) https://git.io/vFinx
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #31627: common-updater: use nix-prefetch-url to get new hash (master...common-updater) https://git.io/vFKnB
NixOS_GitHub has left #nixos []
ylwghst has quit [(Ping timeout: 268 seconds)]
phreedom has quit [(Ping timeout: 258 seconds)]
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
Wizek has joined #nixos
<infinisil> watching a nixops deploy after updating nixpkgs is such a nice experience :O
<sphalerite> hexdump seems to buffer its output if writing to a pipe but not if it's writing to a terminal. Can I get it to not buffer it even when writing to a pipe?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] matthewbauer opened pull request #31701: [wip] Wesnoth MacOS (master...wesnoth-mac) https://git.io/vFXCh
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ttuegel closed pull request #29893: qmake hook: force copy of binary fixes #29589 (master...qmake_fix) https://git.io/vdYHF
NixOS_GitHub has left #nixos []
glion has quit [(Ping timeout: 255 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ttuegel closed pull request #19731: emacs: Use wrapGAppsHook always when on GTK (master...emacs-gtk-variable) https://git.io/vP74f
NixOS_GitHub has left #nixos []
infinisil has quit [(Quit: ZNC 1.6.5 - http://znc.in)]
spietz has quit [(Ping timeout: 248 seconds)]
infinisil has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej pushed 1 new commit to master: https://git.io/vFX8y
<NixOS_GitHub> nixpkgs/master 3f0f3ee Orivej Desh: verbiste: 0.1.44 -> 0.1.45
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ttuegel pushed 2 new commits to master: https://git.io/vFX8d
<NixOS_GitHub> nixpkgs/master 048efb0 Peter Hoeg: amarok-kf5: init at 2.8.91-20170228
<NixOS_GitHub> nixpkgs/master 9231cc8 Thomas Tuegel: Merge pull request #26436 from peterhoeg/p/amarok...
NixOS_GitHub has left #nixos []
himmAllRight has quit [(Remote host closed the connection)]
himmAllRight has joined #nixos
python476 has joined #nixos
MP2E has joined #nixos
Itkovian has joined #nixos
ma271 has joined #nixos
forgetful has quit [(Quit: Leaving)]
<joko> Having set buildMachines, do you lose the ability to install stuff as simple user? As a simple user I do not have access to the sshKey of the buildMachines
dj_goku_ has joined #nixos
jsgrant has joined #nixos
dj_goku has quit [(Ping timeout: 255 seconds)]
<joko> Hydra user owns the sshKey file
ylwghst has joined #nixos
MercurialAlchemi has quit [(Ping timeout: 260 seconds)]
<steveeJ> bgamari: any idea how to solve the second issue in this comment? https://github.com/NixOS/nixpkgs/pull/30882#issuecomment-344598875
<clever> joko: nix-daemon needs read access to that keyfile
erictapen has quit [(Ping timeout: 258 seconds)]
<clever> joko: so the normal users can still use the build slaves
ssmike has joined #nixos
<joko> clever: I think I got locked out, even sudo nixos-rebuild switch is "waiting for locks or build slots..."
<clever> joko: if you delete /etc/nix/machines it will revert back to local builds
<clever> and the next rebuild will restore that symlink
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
pie_ has joined #nixos
danharaj has joined #nixos
cement has joined #nixos
<joko> clever: so it is not possible to have Hydra and run "sudo nixos-rebuild switch" on a new packet?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 1 new commit to master: https://git.io/vFXgk
<NixOS_GitHub> nixpkgs/master c32abb5 Joerg Thalheim: rustracer: 2.0.9 -> 2.0.12
NixOS_GitHub has left #nixos []
periklis has joined #nixos
Svarog has quit [(Quit: Ex-Chat)]
adamt has quit [(Ping timeout: 260 seconds)]
FRidh has quit [(Ping timeout: 250 seconds)]
Myrl-sucky has joined #nixos
<Myrl-sucky> Is there a way to declaratively add to nix-store, but not to $PATH?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] disassembler closed pull request #31428: opensc: 0.15.0 -> 0.17.0 (master...opensc-0_17_0) https://git.io/vFudt
NixOS_GitHub has left #nixos []
<clever> joko: also, hydra can use an alternative file for its slaves
<clever> joko: hydra accepts a list of paths to files matching the /etc/nix/machines format, so you can add a secondary one just for hydra, which nix will ignore
<joko> clever: It's funny, on my Hydra setup where I don't have localhost in buildMachines everything are working. On my company's Hydra I have just set up with localhost as the only buildMachine, it's not
reinzelmann has quit [(Quit: Leaving)]
<clever> joko: the flock command in there would limit you to a single job at a time, and the nice is more for when the hydra master is also a slave
spietz has joined #nixos
<joko> clever: But I am not running any job when I fire "nixos-rebuild switch", is the lock happening?
<clever> joko: if it ssh's back into itself, yeah
chimay has quit [(Quit: WeeChat 1.9.1)]
<clever> joko: can you gist the output of "ps -eH x" ?
<clever> while its blocked
<ldlework> When building minikube on OSX I get: go/src/k8s.io/minikube/vendor/github.com/zchee/go-vmnet/vmnet.go:9:10: fatal error: 'vmnet/vmnet.h' file not found
<clever> that will reveal a lot of details
leat has quit [(Quit: WeeChat 1.9.1)]
<ldlework> copumpkin in front of my team I was like "Oh I'll just install minikube with Nix" and then I ran into https://github.com/NixOS/nixpkgs/issues/30133
<ldlework> 🤣
<copumpkin> lol whoops
<copumpkin> but it's fixed now!
<joko> clever: http://sprunge.us/NQOT
<copumpkin> oh wait it isn't
<copumpkin> whoops
<ldlework> yeah this just happened
<clever> joko: that doesnt look like the right output
<clever> joko: the space and H are missing
a6a3uh has joined #nixos
<joko> clever: soz, wrong ps args, http://sprunge.us/EIHB
rogue_koder has joined #nixos
<clever> joko: ok, so i can see that pid 6467 is handling the nixos build
<clever> joko: which is linked to the nix-daemon at 6468
<clever> which has ssh'd back into the machine
yegortimoshenko has joined #nixos
ssmike1 has joined #nixos
<clever> joko: and then 6496 got the lock, and launched a 6516 slave
<ldlework> copumpkin is there any hope for that today or should I follow the plebs and use brew cask
* ldlework shudders.
<clever> joko: what is in /etc/nix/nix.conf ?
ssmike has quit [(Ping timeout: 255 seconds)]
ssmike1 is now known as ssmike
<joko> clever: plain stuff, I hope, http://sprunge.us/cIji
<yegortimoshenko> why reviewers (generally) don't use "squash & merge" mode of the GitHub merge button and instead ask the person who made the pull request to do that?
<clever> joko: 0 build cores doesnt sound right, hmmm
<clever> ah, docs say its valid
<copumpkin> ldlework: if you want to fix it, then today :)
b0f0 has joined #nixos
<copumpkin> otherwise probably not :)
<copumpkin> unless you can get a darwinian who isn't me to fix it for you
<clever> joko: it makes every job use all cores
<copumpkin> ldlework: also, mind blown that your nick isn't eye-dle-work
<ldlework> copumpkin ah I don't really have a sense of what the issue is
<copumpkin> stupid fonts
<ldlework> lol
<ldlework> I'll just thumbs up the issue to show my support
<clever> joko: let me check the source some more...
<copumpkin> ldlework: didn't I respond with what to fix? :D
<copumpkin> someone else can probably implement that
<ldlework> "Those headers aren't supposed to be impure so this is weird, but I guess they're semi-impure so that could explain it."
<ldlework> I don't really know what that's implying.
<clever> joko: oh, i think i know what the problem is
<clever> joko: when the master side started the build, it grabbed a ${out}.lock file in /nix/store to prevent concurrent builds of X
<clever> joko: the slave side (after ssh'ing into itself) is now waiting on that lock
<joko> oh
<clever> joko: so localhost will just never work in /etc/nix/machines
<clever> joko: you must use proper slaves, and/or put localhost in a secondary file via https://nixos.org/nixos/options.html#hydra.buildma
<clever> joko: that machine is managed by nixops, so it never has "nixos-rebuild" or "nix-build" directly ran on it
<joko> clever: I see now
<joko> Damn, if nixops was compatible with libvirt on top of other distros, I would use it, too :(
<clever> joko: the "none" backend should be
fenedor has quit [(Read error: Connection reset by peer)]
<infinisil> why would you ever want to use anything other than nixos though :P
<clever> joko: after you install nixos, you can just tell nixops to use the "none" backend, and give it an IP
<clever> joko: nixops will basicaly just nix-copy-closure the updates over, and activate them
<joko> infinisil: because I do not have root access on the hypervisor :(
<clever> the only thing you have to manualy handle, is provisioning new machines, and possibly installing nixos on them (if you cant clone something)
<joko> I definitely must start using nixops :D
<clever> joko: this tells nixops to ssh into a random netbook, over my VPN, and deploy updates
<infinisil> This is my current nixops config of localhost + a DigitalOcean server (not using the nixops DO stuff though): https://github.com/Infinisil/system/blob/master/nixops/default.nix
<fearlessKim[m]> is it possible to just create a folder in /etc via a service like environment.etc = [ { target= ... }] ?
<clever> joko: one special thing to keep in mind, is that nixops 100% ignores the remote /etc/nixos/ dir, so your deployment file must configure everything required to make it boot and get internet
<jack[m]> Heh. 2k issues on github!
ylwghst has quit [(Ping timeout: 255 seconds)]
<joko> clever: Alright, I'll definitely try it today...
<joko> What about reboots?
<gchristensen> its a big project, jack[m] :)
<infinisil> fearlessKim[m]: sure, /etc is writable like normal
<joko> clever: I mean, would setups survive a reboot?
<clever> fearlessKim[m]: /etc/kbd is doing exactly that as well
<clever> joko: nixops will update /boot/ every time it deploys
<joko> clever: And the system would still have its system generations?
<infinisil> Unless you do deployment.alwaysActivate = false;
<clever> joko: so it will rely on the VM system obeying the bootloader config in /boot/, and the guest having the right /boot partition mounted
<clever> joko: yep
<joko> clever: neat!
<infinisil> It's pretty much equivalent to a nixos-rebuild
<b0f0> Hi, where do I put configuration for Vim, what is the best way, or the nix-way to do it. I am asking this because I see two ways to do it, the usual way .vimrc and the nix way where you create a nix expression and put it in /etc/nixos/vim.nix, and the guy imported this in configuration.nix under package derivation. Anyway, what is the nix or the correct way to handle plugins and configuration file in nixOS?
<fearlessKim[m]> clever infinisil kbd uses .source = but what if I just want to create an empty folder ?
<clever> fearlessKim[m]: do you want it to be a read-only empty, or a writable empty?
<infinisil> fearlessKim[m]: In a service at runtime? Just mkdir. Not sure about at build-time
<joko> But the problem with nix-build would remain, right? In that case, is it ok to set distributedBuilds to false and use buildMachinesFiles?
<clever> b0f0: https://github.com/cleverca22/nixos-configs/blob/master/vim.nix this is a nixos module i can add to configuration.nix under imports
<fearlessKim[m]> I don't want to symlink a folder because the program is going to store secrets in there
<clever> b0f0: that configures and installs vim
<infinisil> fearlessKim[m]: What's bad about symlinking a folder?
spietz has quit [(Quit: WeeChat 1.9.1)]
<clever> fearlessKim[m]: you could create a dedicated user for the service, and set createHome
<b0f0> clever: thank you
Arcaelyx has joined #nixos
<clever> fearlessKim[m]: and baseDir is just /var/lib/hydra/
<fearlessKim[m]> inifinisil if I symlink a derviation folder tehn it becomes read-only
<fearlessKim[m]> clever: this seems overkill ? basically I want to fix this https://github.com/NixOS/nixpkgs/pull/31019#discussion_r147883476
<infinisil> Ah i get what you mean now, yeah what clever said, that's pretty much the standard way for services in NixOS
<fearlessKim[m]> hum networkmanager has already a service so not overkill maybe (I thought I would have to create sthg specific)
<infinisil> you could just add a folder to that stateDirs string to have it make another folder
<fearlessKim[m]> infinisil: yep had missed that that looks really good
Arcaelyx has quit [(Ping timeout: 255 seconds)]
<infinisil> You might have to pay attention to permissions though if there will be secrets in there
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] lebel opened pull request #31705: android-udev-rules: use proper path for udev/rules.d (master...android-udev-rules) https://git.io/vFXr9
NixOS_GitHub has left #nixos []
<fearlessKim[m]> sure stateDirs doesn't seem the best in that case
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-17.09-small advanced to https://github.com/NixOS/nixpkgs/commit/ccb2cc782c (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-17.09-small)
nix-gsc-io`bot has quit [(Client Quit)]
Arcaelyx has joined #nixos
seafood has joined #nixos
Neo-- has joined #nixos
seafood has quit [(Client Quit)]
spietz has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] disassembler closed pull request #31478: dotty: init at 0.4.0-RC1 (master...dotty) https://git.io/vF2aP
NixOS_GitHub has left #nixos []
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-17.09-small advanced to https://github.com/NixOS/nixpkgs/commit/b0e50cc7b9 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-17.09-small)
nix-gsc-io`bot has quit [(Client Quit)]
spietz has quit [(Ping timeout: 248 seconds)]
spietz has joined #nixos
nh2 has quit [(Quit: Leaving.)]
<infinisil> Hmm, nixos module system question: I want an option foo = mkOption { type = types.attrsOf types.attrs; ... }; but I want this to behave like submodules, so setting foo.bar = 1 and foo.qux = 2 in another place should result in foo = { bar = 1; qux = 2; }
nschoe has quit [(Ping timeout: 255 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Ericson2314 closed pull request #31292: gcc: Refactor treatment of configure flags (staging...gcc-refactor) https://git.io/vFWKA
NixOS_GitHub has left #nixos []
ThatDocsLady_ has quit [(Remote host closed the connection)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] acowley closed pull request #31570: qt59: darwin compatibility (master...qt59-darwin) https://git.io/vFrZC
NixOS_GitHub has left #nixos []
ThatDocsLady_ has joined #nixos
ShalokShalom has joined #nixos
ssmike has quit [(Ping timeout: 240 seconds)]
<gchristensen> anyone seen "ar: invalid option -- '/'" before?
ma271 has quit [(Quit: WeeChat 1.9.1)]
whald has joined #nixos
ma27 has joined #nixos
Sonarpulse has joined #nixos
nschoe has joined #nixos
Lisanna has joined #nixos
erasmas has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] NeQuissimus pushed 3 new commits to master: https://git.io/vFXM7
<NixOS_GitHub> nixpkgs/master 5b70c18 Maximilian Bosch: Revert "Revert "services.xserver: assert that either desktop- or window manager is not "none"""...
<NixOS_GitHub> nixpkgs/master 410f0f0 Maximilian Bosch: services.xserver: fix `apply` of default DM/WM...
<NixOS_GitHub> nixpkgs/master c9b8bbd Tim Steinbach: Merge pull request #31268 from Ma27/x11-defaults...
NixOS_GitHub has left #nixos []
<Lisanna> is there a way to get the Nix garbage collector to not delete things which have been used in builds that have run recently? I'm finding that I'm having to redownload things into the Nix store a lot with garbage collector turned on.
<tilpner> Lisanna - https://nixos.wiki/wiki/FAQ#How_to_keep_build-time_dependencies_around_.2F_be_able_to_rebuild_while_being_offline.3F , but I disabled that again, worried it might keep too much around
endformationage has joined #nixos
<Lisanna> Looks like I want gc-keep-output = true and gc-keep-derivations = false
<Lisanna> would be nice if there was just an option to delete any entry in the /nix/store that hasn't been a part of a build for e.g. 7 days
ertes-w has quit [(Ping timeout: 268 seconds)]
jsgrant has quit [(Ping timeout: 246 seconds)]
ma27 has quit [(Quit: WeeChat 1.9.1)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] mbld opened pull request #31707: borgbackup: Make build on darwin possible (master...darwin-borgbackup) https://git.io/vFXyY
NixOS_GitHub has left #nixos []
erictapen has joined #nixos
erictapen has quit [(Remote host closed the connection)]
erictapen has joined #nixos
<tilpner> Lisanna - I ended up putting a text file that lists store paths I wanted to keep into my systemPackages :/
<Lisanna> yeah... that doesn't sound very fun
orivej has quit [(Remote host closed the connection)]
orivej has joined #nixos
ma27 has joined #nixos
mariel__ has joined #nixos
ThatDocsLady_ has quit [(Read error: Connection reset by peer)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Ericson2314 pushed 2 new commits to staging: https://git.io/vFX9B
<NixOS_GitHub> nixpkgs/staging 9a24437 John Ericson: libbfd, libopcodes: Fix eval on Darwin...
<NixOS_GitHub> nixpkgs/staging 7c2834d John Ericson: Merge branch 'ericson2314-cross-base' into staging
NixOS_GitHub has left #nixos []
<joko> Is it possible to use fetch_nixpkgs.nix (as in https://github.com/input-output-hk/iohk-ops/blob/master/fetch-nixpkgs.nix) in the shell directly, get its nix store path and set nixpkgs in NIX_PATH accordingly?
srdqty has joined #nixos
asuryawanshi has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 1 new commit to master: https://git.io/vFX9N
<NixOS_GitHub> nixpkgs/master a165a38 Joerg Thalheim: Revert "rustracer: 2.0.9 -> 2.0.12"...
NixOS_GitHub has left #nixos []
Mateon1 has quit [(Ping timeout: 248 seconds)]
Mateon1 has joined #nixos
asuryawanshi has quit [(Remote host closed the connection)]
lebel has quit [(Remote host closed the connection)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej pushed 1 new commit to master: https://git.io/vFXHw
<NixOS_GitHub> nixpkgs/master 35e52ff Orivej Desh: mkcl: 1.1.9 -> 1.1.10.2017-11-14...
NixOS_GitHub has left #nixos []
Neo-- has quit [(Ping timeout: 240 seconds)]
<sphalerite> nix search seems to be sort of broken for me, only returning 388 packages with no query. What might cause this?
<steveeJ> in order to build vscode I need texlive, this seems really odd :-D
iyzsong has quit [(Ping timeout: 255 seconds)]
<steveeJ> sphalerite: what's your $NIXPATH?
orivej_ has joined #nixos
<sphalerite> steveeJ: nixpkgs=/nixpkgs:nixos-config=/etc/nixos/configuration.niz
<sphalerite> .nix*
<garbas> ikwildrpepper: would it be ok to move pypi2nix to nixos github org?
orivej has quit [(Ping timeout: 248 seconds)]
<steveeJ> sphalerite: what if you run nix search with NIX_PATH=nixpkgs=/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs prepended?
<sphalerite> steveeJ: I'm not using channels
davidak has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] manveru closed pull request #31604: neovim: 0.2.0 -> 0.2.1 (master...update-neovim) https://git.io/vFovV
NixOS_GitHub has left #nixos []
<garbas> ikwildrpepper: i think it looks weird that it is under my name and many nixos people working on it working on it
<sphalerite> steveeJ: aaah, using nix-env -qa instead revealed I'd introduced a syntax error in one package...
<steveeJ> sphalerite: instead of what?
<sphalerite> steveeJ: I have a nixpkgs checkout in /nixpkgs instead
<steveeJ> sphalerite: oh I got that! I meant using `nix-env qa instead`... of what?
<sphalerite> steveeJ: nix search
<steveeJ> I seem to be ignorant of what that is
<steveeJ> I have a function/alias combination which comes down to `nix-env -qaP ".*$1.*"`
<steveeJ> sphalerite: what is the nix search you're talking about?
jb55 has joined #nixos
erictapen has quit [(Ping timeout: 248 seconds)]
<adisbladis> steveeJ: It's a new command in nix 1.12
<acowley> Does anyone have any ideas about why GHC-8.0.2 is segfaulting while building GHC-8.2.1 on hydra? https://hydra.nixos.org/build/64048732/nixlog/1
leat has joined #nixos
digitus has joined #nixos
erictapen has joined #nixos
<steveeJ> Sonarpulse: \o/ my cross-related issues are fixed in that branch
jensens has quit [(Ping timeout: 255 seconds)]
erictapen has quit [(Ping timeout: 240 seconds)]
Guest34220 has joined #nixos
Guest34220 is now known as jgertm
a6a3uh has quit [(Quit: Bye)]
<eacameron> How would I get a version of haskellPackages.hlint but override one of its dependencies?
<gleber_> Anyone opinionated about nixos tests here? Can you review https://github.com/NixOS/nixpkgs/pull/31569 :)
Guest52155 has quit [(Ping timeout: 268 seconds)]
<steveeJ> eacameron: Is the dependency passed explicitly in the arguments? If so you can just use haskellPackages.hlint.override { oldDep = newDep }
<eacameron> steveeJ: I'll try that! I think it is.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ilya-kolpakov opened pull request #31709: google-cloud-sdk: disable gce as a dependency by default (fixes #31369) (master...google-cloud-sdk-fix) https://git.io/vFXbf
NixOS_GitHub has left #nixos []
ambro718 has joined #nixos
<steveeJ> eacameron: be aware that my syntax here isn't correct. I'm pretty sure this is explained in the manual somewhere.
erictapen has joined #nixos
erictapen has quit [(Remote host closed the connection)]
erictapen has joined #nixos
erictapen has quit [(Remote host closed the connection)]
erictapen has joined #nixos
<Lisanna> I'm noticing that "nix copy" is using quite a bit of memory when I pass it multiple paths and/or when I pass it a path with many dependencies, so when run inside runInLinuxVM it runs out of memory for any non-trivial closure ):
orivej_ has quit [(Quit: orivej_)]
orivej has joined #nixos
tgunb has joined #nixos
periklis has quit [(Ping timeout: 248 seconds)]
kreisys has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] disassembler pushed 2 new commits to master: https://git.io/vFXb1
<NixOS_GitHub> nixpkgs/master 44b3191 Lancelot SIX: gnupg: 2.2.1 -> 2.2.2...
<NixOS_GitHub> nixpkgs/master c189dfb Samuel Leathers: Merge pull request #31360 from lsix/update_gnupg_2_2_2...
NixOS_GitHub has left #nixos []
<Sonarpulse> steveeJ: :)
hariel has joined #nixos
jgertm has quit [(Ping timeout: 268 seconds)]
<eacameron> steveeJ: overrideAttrs was it! Thanks.
alhariel has quit [(Ping timeout: 248 seconds)]
<steveeJ> Sonarpulse: I've been hitting a couple issues on the way and am still documenting others. they're split into two comments on the PR
<Sonarpulse> steveeJ: ok
<Sonarpulse> will look
<Sonarpulse> i got a few work thinggies to do atn
<Sonarpulse> *atm
<Sonarpulse> but will get to that I promise
<steveeJ> Sonarpulse: no hurry. I have a found workarounds/fixes for some of them already
universalpackage has joined #nixos
<Sonarpulse> steveeJ: glad to hear its surmountable stuff
<Sonarpulse> thanks for testing!
miko__ has joined #nixos
universalpackage has quit [(Client Quit)]
<steveeJ> Sonarpulse: of course, I'm only helping you helping me :-D some of the problems are simple, with others I'm clueless ;)
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] 7c6f434c pushed 1 new commit to master: https://git.io/vFXAs
<NixOS_GitHub> nixpkgs/master c127e94 Michael Raskin: clisp-tip: 2.50pre20170130 -> 2.50pre20171114; progress on #31696
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] adisbladis opened pull request #31710: nodejs: 9.0.0 -> 9.2.0 & libuv: 1.15.0 -> 1.16.1 (staging...nodejs-9_2_0) https://git.io/vFXAG
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ttuegel pushed 2 new commits to master: https://git.io/vFXAW
<NixOS_GitHub> nixpkgs/master a950f3d rnhmjoj: radeon-profile: 20161221 -> 20170714
<NixOS_GitHub> nixpkgs/master 5827125 Thomas Tuegel: Merge pull request #31274 from rnhmjoj/radeon-profile...
NixOS_GitHub has left #nixos []
seafood has joined #nixos
danharaj has quit [(Ping timeout: 248 seconds)]
seafood has quit [(Client Quit)]
asuryawanshi has joined #nixos
<steveeJ> Sonarpulse: is there a logical change to what buildInputs and nativeBuildInputs mean in that PR?
<Sonarpulse> steveeJ: nope!
<Sonarpulse> well, perhaps a clarification
<Sonarpulse> things that were shoehorned into them now have a proper home
<steveeJ> could it possibly reveal bugs that haven't been found?
nico202 has joined #nixos
<Sonarpulse> what do you mean?
<Sonarpulse> oh
<Sonarpulse> sure
<Sonarpulse> absolutely
<Sonarpulse> env hooks
<Sonarpulse> I tried to make it more permissive
<Sonarpulse> but it still enforces the deps more than before
<Sonarpulse> before with native builds
<Sonarpulse> it basically doesn't matter which sort of dep it is
<Sonarpulse> now it does
<steveeJ> it seems that I have to put things that are in nativeBuildInputs to buildInputs to make some of the broken builds work
<Sonarpulse> yes
<Sonarpulse> those things should have never been in buildInputs
<Sonarpulse> but nothing was stopping it before
<nico202> anybody using home-manager can help me? I put a wrong path, now when changing it, it keeps trying to fetch the old url and it can't perform the switch
<Sonarpulse> I might end up having to add a special case for native
<Sonarpulse> to ease the transition when merging
<steveeJ> is the difference between these documented somewhere for me to read? My understanding is vague
universalpackage has joined #nixos
asuryawanshi has quit [(Ping timeout: 260 seconds)]
<Sonarpulse> steveeJ:
<Sonarpulse> yes
<Sonarpulse> the stdenv chapter
<Sonarpulse> in the manual
<Sonarpulse> on that branch
lebel has joined #nixos
universalpackage has quit [(Remote host closed the connection)]
nico202 has quit [(Ping timeout: 248 seconds)]
erictapen has quit [(Ping timeout: 255 seconds)]
bennofs has joined #nixos
Lisanna has quit [(Ping timeout: 260 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] 7c6f434c closed pull request #31496: btrfs-progs: 4.13.1 -> 4.13.3 (master...btrfs-progs-4_13_3) https://git.io/vFaPT
NixOS_GitHub has left #nixos []
bennofs has quit [(Ping timeout: 250 seconds)]
Ivanych has quit [(Quit: Leaving.)]
17SAA2TDF has joined #nixos
<17SAA2TDF> [nixpkgs] orivej closed pull request #31711: nodejs: 8.9.0 -> 8.9.1 (master...nodejs-8_9_1) https://git.io/vFXAZ
17SAA2TDF has left #nixos []
07EAAFDYR has joined #nixos
<07EAAFDYR> [nixpkgs] orivej pushed 2 new commits to master: https://git.io/vFXhl
<07EAAFDYR> nixpkgs/master f1f8ada adisbladis: nodejs: 8.9.0 -> 8.9.1
<07EAAFDYR> nixpkgs/master 9be7a88 Orivej Desh: Merge pull request #31711 from adisbladis/nodejs-8_9_1...
07EAAFDYR has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej closed pull request #31037: virtualbox: 5.1.26 -> 5.2.0 (master...virtualbox_5_2_0) https://git.io/vFmDv
NixOS_GitHub has left #nixos []
alfie has quit [(Ping timeout: 240 seconds)]
alfie has joined #nixos
Neo-- has joined #nixos
ssmike has joined #nixos
bfrog has joined #nixos
jsgrant has joined #nixos
Ivanych has joined #nixos
Lisanna has joined #nixos
<Lisanna> Is there a way to specify the curl options in nix-prefetch-url, so it can match a corresponding fetchurl Nix expression that sets "curlOpts"?
<Lisanna> I don't see it as a command line argument, but maybe an environment variable?
JosW has quit [(Quit: Konversation terminated!)]
k2s has joined #nixos
k2s has quit [(Remote host closed the connection)]
<gchristensen> nightmare problem after nightmare problem
ylwghst has joined #nixos
<gchristensen> how do you deal with 2 repos each with pinned nixpkgs, but in one you want to override the other?
<dhess> gchristensen: I hate days like that :(
<gchristensen> yeah :( (^ btw that question is rhetorical)
<dhess> those are the only days when I hate computers
agjacome has joined #nixos
ylwghst has quit [(Ping timeout: 260 seconds)]
<ambro718> Why does https://nixos.org/nixos/packages.html not show non-free packages? Seems quite unhelpful.
<mbrock> hmm, I want to use `nix-build -I foo=https://github.com/.../archive/xxx.tar.gz` but the archive doesn't include submodules, which I need
<mbrock> I suppose I can use `--arg` with a `fetchFromGitHub` expression instead
hexamod has joined #nixos
jgertm has joined #nixos
adamt has joined #nixos
adamt has quit [(Changing host)]
adamt has joined #nixos
Ralith__ has quit [(Ping timeout: 268 seconds)]
adamt_ has joined #nixos
adamt_ has quit [(Changing host)]
adamt_ has joined #nixos
tgunb has quit [(Ping timeout: 268 seconds)]
adamt has quit [(Ping timeout: 255 seconds)]
Myrl-sucky has quit [(Ping timeout: 248 seconds)]
Myrl-sucky has joined #nixos
tylerjl has joined #nixos
<mbrock> yes, that works, and specifying a SHA256 hash there makes it somehow more secure against malicious GitHub behavior (though in practice it's mostly annoying to have to specify both a Git hash and a Nix hash...)
<mbrock> kinda wish there was a `trustThatSHA1IsntHorriblyCompromised = true;`
ssmike has quit [(Ping timeout: 255 seconds)]
leothrix has quit [(Ping timeout: 248 seconds)]
Ralith_ has joined #nixos
thomastjeffery[m has left #nixos ["User left"]
srdqty has quit [(Ping timeout: 255 seconds)]
amfl has quit [(Read error: Connection reset by peer)]
amfl has joined #nixos
srdqty has joined #nixos
taktoa has quit [(Remote host closed the connection)]
reinzelmann has joined #nixos
orivej has quit [(Ping timeout: 248 seconds)]
mariel__ has quit [(Ping timeout: 248 seconds)]
Ivanych has quit [(Ping timeout: 255 seconds)]
simendsjo has joined #nixos
Neo-- has quit [(Ping timeout: 255 seconds)]
python476 has quit [(Remote host closed the connection)]
simendsjo has quit [(Remote host closed the connection)]
JameySharp[m] has quit [(Ping timeout: 276 seconds)]
retrry[m] has quit [(Ping timeout: 276 seconds)]
eqyiel[m] has quit [(Ping timeout: 276 seconds)]
StuK[m] has quit [(Ping timeout: 276 seconds)]
kitten[m] has quit [(Ping timeout: 276 seconds)]
FRidh[m] has quit [(Ping timeout: 276 seconds)]
dpc has quit [(Ping timeout: 276 seconds)]
apocolocyntos[m] has quit [(Ping timeout: 276 seconds)]
hendrik[m] has quit [(Ping timeout: 276 seconds)]
dkellner[m] has quit [(Ping timeout: 276 seconds)]
matrixkrav has quit [(Ping timeout: 276 seconds)]
sudoreboot[m] has quit [(Ping timeout: 276 seconds)]
Sovereign_Bleak has quit [(Ping timeout: 276 seconds)]
demyan[m] has quit [(Ping timeout: 276 seconds)]
Li[m] has quit [(Ping timeout: 276 seconds)]
dalaing has quit [(Ping timeout: 276 seconds)]
taohansen has quit [(Ping timeout: 276 seconds)]
jluttine[m] has quit [(Ping timeout: 276 seconds)]
magnap has quit [(Ping timeout: 276 seconds)]
das-g[m] has quit [(Ping timeout: 276 seconds)]
myklam[m] has quit [(Ping timeout: 276 seconds)]
pvn[m] has quit [(Ping timeout: 276 seconds)]
nixo[m] has quit [(Ping timeout: 276 seconds)]
timclassic has quit [(Ping timeout: 276 seconds)]
eqyiel[m] has joined #nixos
JameySharp[m] has joined #nixos
apocolocyntos[m] has joined #nixos
retrry[m] has joined #nixos
<greymalkin> Nixops+GCE: Does anyone know what level of service account to create to perform proper deployments?
<neonfuz> what's the current state of scons?
<neonfuz> I'm trying to build a scons program right now, isn't working
<neonfuz> it can't find gcc, and if I hack it to be able to find it, it can't find crti.o
statusfailed has joined #nixos
<tilpner> neonfuz - It doesn't seem to pick up dependencies, but works well otherwise
reinzelmann has quit [(Quit: Leaving)]
b has joined #nixos
bennofs has joined #nixos
kitten[m] has joined #nixos
das-g[m] has joined #nixos
StuK[m] has joined #nixos
dkellner[m] has joined #nixos
dpc has joined #nixos
pvn[m] has joined #nixos
jluttine[m] has joined #nixos
myklam[m] has joined #nixos
FRidh[m] has joined #nixos
elasticdog has joined #nixos
hendrik[m] has joined #nixos
matrixkrav has joined #nixos
nixo[m] has joined #nixos
timclassic has joined #nixos
Li[m] has joined #nixos
Sovereign_Bleak has joined #nixos
dalaing has joined #nixos
demyan[m] has joined #nixos
magnap has joined #nixos
taohansen has joined #nixos
sudoreboot[m] has joined #nixos
<pie_> ok so....how do i get in a configurephase environment? i need to figure out collection optional dependencies for apackage
elasticdog has quit [(Changing host)]
elasticdog has joined #nixos
binaryphile has left #nixos ["Leaving"]
seafood has joined #nixos
seafood has quit [(Client Quit)]
<copumpkin> in nix 1.12 I can't seem to get nix-build to stop talking to the daemon by unsetting NIX_REMOTE
<disasm> neonfuz: are you in a nix-shell?
<mbrock> $ nix-env -iA nixos.latest.firefox-bin
<mbrock> error: attribute `nixos' in selection path `nixos.latest.firefox-bin' not found
<mbrock> as usual I have no idea how to understand what things are in scope for nix-env invocations
<srhb> mbrock: Usually, the first bit (nixos) refers to a channel.
<mbrock> ahh, I guess I'm supposed to have a channel---yeah
adamt_ has quit [(Ping timeout: 260 seconds)]
<mbrock> I'm using a local checkout of nixpkgs, not a channel...
<srhb> Then you're probably calling it nixpkgs.
<neonfuz> disasm: no, I probably should be
<neonfuz> I mostly just don't know how to get started from scratch
<disasm> neonfuz: yeah, try nix-shell -p scons and see if it works
<neonfuz> should I start with a new entry in nixpkgs? or is in the project directory okay?
<neonfuz> I did that actually
<neonfuz> I don't have scons on my regular environment
<neonfuz> I did nix-shell -p scons --run scons
<neonfuz> I read I can add "ENV = {'PATH' : os.environ['PATH']}" in a section of the SConstruct file, and that got it to be able to find git
<neonfuz> gcc* derp
<neonfuz> so I know that I can make it find gcc by adding it to my path, but what about crti.o and crt1.o?
<disasm> neonfuz: I'd setup a default.nix in your project directory, something like this skeleton: https://gist.github.com/6ece4211ecf326c5a48c7ed2047810e6 and put any dependencies in buildInputs
<disasm> I take that back...
<disasm> create a default.nix that builds the derivation of your source directory
<disasm> then have scons as a nativeBuildInput and change your configurePhase to run scons
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh closed pull request #31707: borgbackup: Make build on darwin possible (master...darwin-borgbackup) https://git.io/vFXyY
NixOS_GitHub has left #nixos []
<neonfuz> it worked :O
<neonfuz> thanks
<disasm> neonfuz: oh, cool :)
<disasm> using the skeleton?
<neonfuz> at least... compiling it did, using the skeleton yes
<neonfuz> I removed the shell hook lol
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh closed pull request #31703: Rope / spyder update (master...rope) https://git.io/vFX2E
NixOS_GitHub has left #nixos []
<neonfuz> and replaced the build packages with just gcc and sconss
<disasm> yeah, I use that to remind me how to do things in different project directories :)
<neonfuz> s/ss//
<neonfuz> err, whatever
goibhniu1 has joined #nixos
goibhniu has quit [(Ping timeout: 268 seconds)]
stanibanani has quit [(Ping timeout: 248 seconds)]
Ivanych has joined #nixos
tmaekawa has joined #nixos
tmaekawa has quit [(Client Quit)]
python476 has joined #nixos
bennofs has quit [(Ping timeout: 255 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] stephengroat opened pull request #31712: cmocka: 1.0.1 -> 1.1.1 (master...patch-1) https://git.io/vF1GO
NixOS_GitHub has left #nixos []
<neonfuz> well great, now I have the userland side of things, now I just need to get this usb to parallel cable working lol
<neonfuz> doesn't work out of the box
Neo-- has joined #nixos
<disasm> neonfuz: udev rules to allow your user access to the port?
acarrico has quit [(Ping timeout: 255 seconds)]
orivej has joined #nixos
<pie_> how can i use python.withPackages in a buildInputs?
<neonfuz> disasm: I think it's a driver thing
<neonfuz> dmesg doesn't show it loading any more drivers or anything
<neonfuz> just the regular "new usb device" stuff
<neonfuz> unless it doesn't need firmware,
<neonfuz> but wouldn't at least a message about a new device being made under /dev show up under dmesg?
slack1256 has joined #nixos
<neonfuz> seems the chip is a "Prolific 2305 chip"
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] maiksensi opened pull request #31713: pytest: 3.2.3 -> 3.2.5 (master...update-pytest-3.2) https://git.io/vF1ZQ
NixOS_GitHub has left #nixos []
acarrico has joined #nixos
ShalokShalom has quit [(Remote host closed the connection)]
<maiksen> FRidh[m]: Ive seen youve been added as reviewer, I am currently running `nox review` but it will take a while...., so I opened the pr anyways. Hope that is okay (its my first pr so I didnt know for sure)
<kreisys> hello, quick question.. I couldn't find anything in the manuals. is there a "correct" way to fetchUrl from an http server that requires an authentication token?
hexamod has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
p4cman has quit [(Quit: Connection closed for inactivity)]
vcunat has joined #nixos
strive has joined #nixos
strive has left #nixos ["WeeChat 1.9"]
<kreisys> I saw that basic auth can be achieved by means of a netrc file but no mention of auth headers... I tried curlOpts = "-H \"Authorization: Bearer xxxxxxxxxxx\""; but then it just treats the words "Bearer" and the token itself as additional hosts and fails 🙄
mekeor has joined #nixos
<spietz> anyone know how I can install firefox quantum on nixos?
<steveeJ> Sonarpulse: I managed to fix all the errors I encountered. it's documented in the PR
<Sonarpulse> steveeJ: wonderful! thanks!
<steveeJ> Sonarpulse: most welcome!
ambro718 has quit [(Ping timeout: 248 seconds)]
<greymalkin> Nixops error "'NoneType' object has not attribute 'get'" -- no other explanation, error, or output.
<greymalkin> Is there a better way to get a trace to figure out whence this error may be coming?
seafood has joined #nixos
seafood has quit [(Client Quit)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] domenkozar created lib+paths (+1 new commit): https://git.io/vF1CD
<NixOS_GitHub> nixpkgs/lib+paths 7897128 Domen Kožar: lib: add isInStore and isPath, slighly change isStorePath...
NixOS_GitHub has left #nixos []
<gchristensen> domenkozar: danger will robinson, creating scary branch names with `+`s in them
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] joachifm pushed 3 new commits to master: https://git.io/vF1C5
<NixOS_GitHub> nixpkgs/master 8ecae36 Joachim Fasting: linux_hardened: enable slab freelist hardening
<NixOS_GitHub> nixpkgs/master 870c86d Joachim Fasting: linux_hardened: structleak covers structs passed by address
<NixOS_GitHub> nixpkgs/master df0300c Joachim Fasting: tor-browser-bundle-bin: 7.0.9 -> 7.0.10
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] domenkozar opened pull request #31715: lib: add isInStore and isPath, slighly change isStorePath (master...lib+paths) https://git.io/vF1CA
NixOS_GitHub has left #nixos []
<mekeor> in a shell-script, how would you check if you're on nixos?
b has quit [(Quit: Lost terminal)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] c0bw3b opened pull request #31716: hwinfo: 21.38 -> 21.50 (master...pkg/hwinfo) https://git.io/vF1WP
NixOS_GitHub has left #nixos []
<disasm> mekeor: could check for existence of /etc/NIXOS
<dash> i think that's the canonical way, yep
<mekeor> cool, alright, thanks :)
yegortimoshenko has quit [(Ping timeout: 260 seconds)]
<greymalkin> gah... something is wrong with nixops on my install... trying the vbox example from the manual is resulting in "error: string index out of range" and I can't delete the resource afterwards.
yegortimoshenko has joined #nixos
jsgrant has quit [(Ping timeout: 255 seconds)]
<steveeJ> something in my expressions is pulling in uboot and I have no clue what it is. how can I find out?
<steveeJ> Sonarpulse: is it possible that on this branch the line "platform = { kernelArch = "x86_64"; kernelAutoModules = true; kernelBaseConfig = "defconfig"; kernelHeadersBaseConfig = "defconfig"; kernelTarget = "bzImage"; name = "pc"; uboot = null; };" from my config is somehow ignored?
mekeor has quit [(Remote host closed the connection)]
<greymalkin> nix-shell --pure to the rescue; hopefully it will be able to start virtualbox on my mixed machine.
<greymalkin> I keep wanting to go pure nixos; but the number of packages that I end up having to pull from AUR keeps me from doing so.
miko__ has quit [(Ping timeout: 252 seconds)]
cement has quit [(Ping timeout: 248 seconds)]
miko__ has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej pushed 1 new commit to master: https://git.io/vF18H
<NixOS_GitHub> nixpkgs/master f55308e Orivej Desh: gvpe: fix build with glibc 2.26...
NixOS_GitHub has left #nixos []
Myrl-sucky has quit [(Quit: WeeChat 1.9.1)]
<symphorien> steveeJ: nix 1.12 has nix why-depends
vcunat has quit [(Ping timeout: 250 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej pushed 1 new commit to master: https://git.io/vF14j
<NixOS_GitHub> nixpkgs/master f96b3bf Orivej Desh: ptlib: fix build with glibc 2.26...
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] NeQuissimus pushed 2 new commits to master: https://git.io/vF1BJ
<NixOS_GitHub> nixpkgs/master ff16004 Tim Steinbach: linux: 4.9.61 -> 4.9.62
<NixOS_GitHub> nixpkgs/master 8b3293d Tim Steinbach: linux: 4.4.97 -> 4.4.98
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] NeQuissimus pushed 2 new commits to release-17.09: https://git.io/vF1BU
<NixOS_GitHub> nixpkgs/release-17.09 c1fa922 Tim Steinbach: linux: 4.9.61 -> 4.9.62...
<NixOS_GitHub> nixpkgs/release-17.09 26bf372 Tim Steinbach: linux: 4.4.97 -> 4.4.98...
NixOS_GitHub has left #nixos []
detran has quit [(Remote host closed the connection)]
Nazral has joined #nixos
hiratara has quit [(Ping timeout: 255 seconds)]
hiratara has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 opened pull request #31717: Rustracer (master...rustracer) https://git.io/vF1R3
NixOS_GitHub has left #nixos []
b0f0 has left #nixos ["WeeChat 1.9.1"]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] bjornfor pushed 2 new commits to master: https://git.io/vF1R9
<NixOS_GitHub> nixpkgs/master 7a32e68 Renaud: libx86emu: 1.5 -> 1.12
<NixOS_GitHub> nixpkgs/master 0768420 Renaud: hwinfo: 21.38 -> 21.50
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] bjornfor closed pull request #31716: hwinfo: 21.38 -> 21.50 (master...pkg/hwinfo) https://git.io/vF1WP
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] maiksensi closed pull request #31713: pytest: 3.2.3 -> 3.2.5 (staging...update-pytest-3.2) https://git.io/vF1ZQ
NixOS_GitHub has left #nixos []
ma27 has quit [(Ping timeout: 255 seconds)]
[0x4A6F] has joined #nixos
agjacome has quit [(Quit: leaving)]
davidak has quit [(Ping timeout: 250 seconds)]
jensens has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] maiksensi opened pull request #31718: pytest: 3.2.3 -> 3.2.5 (staging...pytest-3.2) https://git.io/vF1EX
NixOS_GitHub has left #nixos []
jsgrant has joined #nixos
[0x4A6F] has quit [(Ping timeout: 260 seconds)]
taktoa has joined #nixos
noobly has joined #nixos
detran has joined #nixos
<noobly> my compton config file is MIA
seafood has joined #nixos
<noobly> checked the configuration file paths listed on man compton but it wasn't in any of them, unless it ships blank?
ma27 has joined #nixos
noobly has quit [(Quit: Page closed)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] primeos pushed 1 new commit to master: https://git.io/vF1zK
<NixOS_GitHub> nixpkgs/master a5b611d Michael Weiss: scons: 3.0.0 -> 3.0.1...
NixOS_GitHub has left #nixos []
hiratara has quit [(Quit: ZNC - http://znc.in)]
hiratara has joined #nixos
jensens has quit [(Ping timeout: 248 seconds)]
haskman has quit [(Quit: Adios Amigos!)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] c0bw3b pushed 2 new commits to master: https://git.io/vF12C
<NixOS_GitHub> nixpkgs/master bec7c22 Stephen: cmocka: 1.0.1 -> 1.1.1
<NixOS_GitHub> nixpkgs/master 958d603 Renaud: Merge pull request #31712 from stephengroat/patch-1...
NixOS_GitHub has left #nixos []
andrewrk has left #nixos ["Leaving"]
simukis has quit [(Ping timeout: 248 seconds)]
taktoa has quit [(Remote host closed the connection)]
seafood has quit [(Quit: http://www.kiwiirc.com/ - A hand crafted IRC client)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] tasmo opened pull request #31719: newsboat: init at r2.10.1 (master...master) https://git.io/vF1al
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej pushed 1 new commit to master: https://git.io/vF1aP
<NixOS_GitHub> nixpkgs/master 6ab109a Orivej Desh: rdf4store: fix build with glibc 2.26...
NixOS_GitHub has left #nixos []
glion has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] jtojnar opened pull request #31720: sublime3: Use consistent program name (master...sublime-wm-class) https://git.io/vF1aA
NixOS_GitHub has left #nixos []
nithor has quit [(Ping timeout: 255 seconds)]
kreisys has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<gchristensen> taylor.fausak.me/2017/11/15/2017-state-of-haskell-survey-results/a
<gchristensen> taylor.fausak.me/2017/11/15/2017-state-of-haskell-survey-results/ Preferred build tool: 850 (stack) 105 (Nix)
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej pushed 2 new commits to master: https://git.io/vF1VN
<NixOS_GitHub> nixpkgs/master ea011d6 Orivej Desh: libnscd: fix build with glibc 2.26...
<NixOS_GitHub> nixpkgs/master c0794dc Orivej Desh: libnscd: delete...
NixOS_GitHub has left #nixos []
miko__ has quit [(Ping timeout: 255 seconds)]
Neo-- has quit [(Ping timeout: 240 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz closed pull request #31641: mysql module: fix flaky check (master...patch-13) https://git.io/vFKDi
NixOS_GitHub has left #nixos []
jsgrant has quit [(Ping timeout: 268 seconds)]
mekeor has joined #nixos
jfrankenau has joined #nixos
jfrankenau has quit [(Client Quit)]
<mekeor> i want a version of a package which is not available in stable channel but in unstable channel. i'm using a custom overlay atm. but i wonder how unstable the unstable branch is. and i wonder if there's an way to install single package from a channel.
yegortim` has joined #nixos
yegortimoshenko has quit [(Ping timeout: 255 seconds)]
<Ralith> what's the proper way to add an external dependency to a melpa package?
jsgrant has joined #nixos
<Sonarpulse> stevee: it's quite possible!
<Sonarpulse> not ignored, per se
<Sonarpulse> but it won't affect cross
<Sonarpulse> just native and the cross build platform
<manveru> mekeor: pretty easy, and it won't influence anything else on the system
<pie_> can anyone give me a little help? cmake doesnt find python26Packages.sip and python36Packages.pyqt5 even though ive added them to buildinputs
<mekeor> manveru: will `nix-env -u` upgrade all my packages to the versions available on the unstable branch after this?
sigmundv__ has quit [(Ping timeout: 250 seconds)]
<manveru> nix-env -u doesn't influence your packages in nixos, only the ones you installed as user
sigmundv__ has joined #nixos
spietz has quit [(Ping timeout: 248 seconds)]
<mekeor> so, will packages installed as user be upgraded to the unstable versions?, manveru
hexamod has joined #nixos
<manveru> i don't think so
<manveru> but that depends on your $NIX_PATH
<manveru> you can also remove nixpkgs-unstable channel after installing that one package to go sure :)
<mekeor> true
<mekeor> thank you <3
<pie_> heres the relevant error any my .nix https://pastebin.com/f6deRxpp
<pie_> im running it with nix-build -E 'with import <nixpkgs> {}; libsForQt5.callPackage ./default.nix {openjpeg = openjpeg_1;}'
<manveru> isn't it propagatedBuildInputs?
<pie_> "blog of the HPC team of GRICAD"
<pie_> manveru, ugh really? xD for some reason i expected it to complain
<manveru> since you use recursive set, it won't
<manveru> it just ignores unknown attrs
<mekeor> pie_: doesn
<pie_> now it says:
<pie_> import sipconfig
<pie_> ModuleNotFoundError: No module named 'sipconfig'
<mekeor> pie_: doesn't SIP have to be a native build input?
<pie_> mekeor, i dont know
<mekeor> *native*
<pie_> this is the first time ive seen that
<pie_> same for pyqt though:
<pie_> import PyQt5.Qt
<pie_> ModuleNotFoundError: No module named 'PyQt5'
<manveru> nativeBuildInputs is for buildinputs that won't be around after building is finished
<pie_> ah
<mekeor> pie_: well, looks like SIP is needed at build time. so, i would guess, it's a *native* input
<pie_> but i thought normal buildinputs does that
<manveru> you will probably need it _after_ the build finished, given that the python lib wants to link against it
* mekeor shrugs
<manveru> sorry... way too late for me to start building C++ stuff
<pie_> the problem is on the python side probably
* pie_ pats manveru
<pie_> i mean the problem isnt with sip, its that python isnt getting the stuff