<judson> If not having all the generated code is a virtue, what's the best way to proceed?
<judson> If the answer is "look up all your deps in the main python packages list" I might just bail on it. I got my install of jira_cli, anyway. :/
laggy_wifi_ has quit [(Remote host closed the connection)]
laggy_wifi_ has joined #nixos
justanotheruser has joined #nixos
sibi_ has quit [(Quit: Connection closed for inactivity)]
<rnhmjoj[m]> yep, that's how you do it. https://nixos.org/nixpkgs/manual/#contributing
Neo-- has quit [(Ping timeout: 246 seconds)]
laggy_wifi_ has quit [(Remote host closed the connection)]
laggy_wifi_ has joined #nixos
paraseba has quit [(Quit: EliteBNC 1.6.3 - http://elitebnc.org)]
<Ralith> rnhmjoj: perhaps you could set up a stdenv that uses ccache?
Wharncliffe has joined #nixos
laggy_wifi_ has quit [(Remote host closed the connection)]
laggy_wifi_ has joined #nixos
laggy_wifi_ has quit [(Remote host closed the connection)]
laggy_wifi_ has joined #nixos
davidak has quit [(Quit: Leaving.)]
ssmike has quit [(Remote host closed the connection)]
laggy_wifi_ has quit [(Remote host closed the connection)]
laggy_wifi_ has joined #nixos
paraseba has joined #nixos
<Ralith> I would imagine so, but I'm no expert
laggy_wifi_ has quit [(Remote host closed the connection)]
laggy_wifi_ has joined #nixos
yastero has quit [(Quit: EliteBNC 1.6.3 - http://elitebnc.org)]
laggy_wifi_ has quit [(Remote host closed the connection)]
jensens has quit [(Ping timeout: 240 seconds)]
laggy_wifi_ has joined #nixos
<rnhmjoj[m]> i'll give it a try
markus1189 has joined #nixos
yastero has joined #nixos
markus1199 has quit [(Ping timeout: 260 seconds)]
laggy_wifi_ has quit [(Remote host closed the connection)]
laggy_wifi_ has joined #nixos
MP2E has joined #nixos
laggy_wifi_ has quit [(Remote host closed the connection)]
laggy_wifi_ has joined #nixos
avn has quit [(Ping timeout: 248 seconds)]
laggy_wifi_ has quit [(Remote host closed the connection)]
laggy_wifi_ has joined #nixos
Sonarpulse has quit [(Ping timeout: 255 seconds)]
laggy_wifi_ has quit [(Remote host closed the connection)]
laggy_wifi_ has joined #nixos
kkini has joined #nixos
hamishmack has joined #nixos
laggy_wifi_ has quit [(Remote host closed the connection)]
sigmundv has quit [(Ping timeout: 268 seconds)]
laggy_wifi_ has joined #nixos
jb55 has quit [(Ping timeout: 248 seconds)]
Mateon3 has joined #nixos
Mateon1 has quit [(Ping timeout: 240 seconds)]
Mateon3 is now known as Mateon1
laggy_wifi_ has quit [(Remote host closed the connection)]
laggy_wifi_ has joined #nixos
<bhipple[m]> Anyone around who might be able to help with reviewing + merging https://github.com/NixOS/nixpkgs/pull/31801 ? Been sitting idle for a few days
avn has joined #nixos
laggy_wifi_ has quit [(Remote host closed the connection)]
laggy_wifi_ has joined #nixos
<bhipple[m]> I'm also wondering if there's a reason not to use the rec attribute set (urlPrefix and url have some duplication that could be reduced). Is it just because some of hte initial examples are many years old and it's copy+paste or is there a concrete reason (evaluator slowness, maybe?)
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] grahamc closed pull request #31801: Init Centos 7.3 vmTools diskImage (master...centos-7.3-vmtools-image) https://git.io/vFHY5
NixOS_GitHub has left #nixos []
<jeaye> Bam.
<bhipple[m]> Thanks Graham!
<gchristensen> :)
justanotheruser has quit [(Ping timeout: 250 seconds)]
<bhipple[m]> Do you happen to know if there's a stable URL for Centos 7.4? I have a working NixPkg for Centos 7.4 too, but since it's on http://mirror.centos.org and not the vault the URL will disappear as soon as the next revision comes out
<gchristensen> no idea, sorry
laggy_wifi_ has quit [(Remote host closed the connection)]
laggy_wifi_ has joined #nixos
laggy_wifi_ has quit [(Remote host closed the connection)]
laggy_wifi_ has joined #nixos
dan_b_ has quit [(Ping timeout: 264 seconds)]
ris has quit [(Ping timeout: 248 seconds)]
dan_b_ has joined #nixos
laggy_wifi_ has quit [(Remote host closed the connection)]
laggy_wifi_ has joined #nixos
mandrews has joined #nixos
<mandrews> Hey all, what's the deal with the wiki? I haven't been able to reach nixos.wiki for some time.
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixpkgs-17.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/e0a0dd0004 (from 4 hours ago, history: https://channels.nix.gsc.io/nixpkgs-17.09-darwin)
nix-gsc-io`bot has quit [(Client Quit)]
<dhess`> Haha, wow, the test harness for NixOS is f'ing amazing.
<dhess`> nice work, folks
laggy_wifi_ has quit [(Remote host closed the connection)]
laggy_wifi_ has joined #nixos
isHavvy has joined #nixos
orivej has quit [(Read error: Connection reset by peer)]
orivej has joined #nixos
laggy_wifi_ has quit [(Remote host closed the connection)]
laggy_wifi_ has joined #nixos
Havvy has quit [(Ping timeout: 240 seconds)]
<petersjt014[m]> [looks fine to me](http://downforeveryoneorjustme.com/nixos.wiki)
phreedom has joined #nixos
laggy_wifi_ has quit [(Remote host closed the connection)]
laggy_wifi_ has joined #nixos
Supersonic112 has quit [(Ping timeout: 248 seconds)]
laggy_wifi_ has quit [(Remote host closed the connection)]
laggy_wifi_ has joined #nixos
mbrgm has quit [(Ping timeout: 260 seconds)]
mbrgm has joined #nixos
laggy_wifi_ has quit [(Remote host closed the connection)]
laggy_wifi_ has joined #nixos
laggy_wifi_ has quit [(Remote host closed the connection)]
laggy_wifi_ has joined #nixos
laggy_wifi_ has quit [(Remote host closed the connection)]
laggy_wifi_ has joined #nixos
<hodapp> dhess`: what test harness?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] disassembler pushed 2 new commits to master: https://git.io/vFAYg
<NixOS_GitHub> nixpkgs/master 98c84e4 Ismaïl Senhaji: pytorch: fix sha256 hash
<NixOS_GitHub> nixpkgs/master f47780a Samuel Leathers: Merge pull request #31951 from iSma/fix/pytorch-0.2.0...
NixOS_GitHub has left #nixos []
<hodapp> hmmm. maybe my TensorFlow problems will go away if I switch to MXNet or something, bleh
<dhess`> hodapp: make-test.nix and friends
nuncanada has quit [(Ping timeout: 240 seconds)]
laggy_wifi_ has quit [(Remote host closed the connection)]
Khetzal has quit [(Read error: Connection reset by peer)]
laggy_wifi_ has joined #nixos
thc202 has quit [(Ping timeout: 268 seconds)]
Khetzal has joined #nixos
laggy_wifi_ has quit [(Remote host closed the connection)]
laggy_wifi_ has joined #nixos
drakonis has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] disassembler closed pull request #31955: ocamlPackages.reason: 3.0.0 -> 3.0.2 (master...reason) https://git.io/vFAUa
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] disassembler pushed 2 new commits to master: https://git.io/vFAOl
<NixOS_GitHub> nixpkgs/master 8d2d26d Robert Schütz: abcm2ps: 8.13.16 -> 8.13.17
<NixOS_GitHub> nixpkgs/master fdc2fe1 Samuel Leathers: Merge pull request #31911 from dotlambda/abcm2ps...
NixOS_GitHub has left #nixos []
laggy_wifi_ has quit [(Remote host closed the connection)]
laggy_wifi_ has joined #nixos
spietz has quit [(Ping timeout: 240 seconds)]
spietz has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] disassembler closed pull request #29345: locustio: 0.7.2 -> 0.7.5 (master...locustio) https://git.io/v59sL
NixOS_GitHub has left #nixos []
Supersonic112 has joined #nixos
laggy_wifi_ has quit [(Remote host closed the connection)]
laggy_wifi_ has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] disassembler pushed 3 new commits to master: https://git.io/vFA3i
<NixOS_GitHub> nixpkgs/master 4434843 David McFarland: libgssglue: init at 0.4
<NixOS_GitHub> nixpkgs/master 916d1a4 David McFarland: rdesktop: enable credssp w/ libgssglue
<NixOS_GitHub> nixpkgs/master b4c63c3 Samuel Leathers: Merge pull request #31921 from corngood/rdesktop-krb...
NixOS_GitHub has left #nixos []
<samueldr> mandrews: are you still having issues with the wiki?
deepfire has quit [(Ping timeout: 240 seconds)]
laggy_wifi_ has quit [(Remote host closed the connection)]
laggy_wifi_ has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] disassembler pushed 2 new commits to staging: https://git.io/vFA37
<NixOS_GitHub> nixpkgs/staging 52c6c64 Jan Tojnar: libinput: 1.9.1 → 1.9.2...
<NixOS_GitHub> nixpkgs/staging 057e20a Samuel Leathers: Merge pull request #31947 from jtojnar/libinput-1.9.2...
NixOS_GitHub has left #nixos []
<dhess`> I think it used to be the case that Nix couldn't download containers from a registry and run them out of the box; has that been resolved?
laggy_wifi_ has quit [(Remote host closed the connection)]
<dhess`> Some of these larger apps are such a PITA to package, I'd be tempted just to install the Docker container and use that. (e.g., HomeAssistant)
laggy_wifi_ has joined #nixos
mandrews has quit [(Ping timeout: 260 seconds)]
laggy_wifi_ has quit [(Remote host closed the connection)]
laggy_wifi_ has joined #nixos
laggy_wifi_ has quit [(Remote host closed the connection)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] nicknovitski closed pull request #31802: newsboat: init at 2.10.1 (master...newsboat) https://git.io/vFHYj
NixOS_GitHub has left #nixos []
laggy_wifi_ has joined #nixos
<disasm> dhess`: I'm pulling containers from docker hub on nixos, no issues. I have plexpass and samba-ad running in docker just fine.
laggy_wifi_ has quit [(Remote host closed the connection)]
laggy_wifi_ has joined #nixos
mrkgnao has joined #nixos
laggy_wifi_ has quit [(Remote host closed the connection)]
laggy_wifi_ has joined #nixos
hamishmack has quit [(Quit: hamishmack)]
hamishmack has joined #nixos
hamishmack has quit [(Client Quit)]
laggy_wifi_ has quit [(Remote host closed the connection)]
laggy_wifi_ has joined #nixos
Oida has quit [(Ping timeout: 248 seconds)]
Oida has joined #nixos
laggy_wifi_ has quit [(Remote host closed the connection)]
laggy_wifi_ has joined #nixos
<MichaelRaskin> bhipple: re: stable URL: if you can predict the future stable URL, you can pass urls= to fetchurl, it will try both options. If I understand correctly that you fetch an ISO, checking for a 404 is fast compared to the actual download.
laggy_wifi_ has quit [(Remote host closed the connection)]
laggy_wifi_ has joined #nixos
mizu_no_oto has joined #nixos
drakonis has quit [(Ping timeout: 240 seconds)]
marusich has joined #nixos
laggy_wifi_ has quit [(Remote host closed the connection)]
laggy_wifi_ has joined #nixos
justanotheruser has joined #nixos
laggy_wifi_ has quit [(Remote host closed the connection)]
laggy_wifi_ has joined #nixos
srdqty has joined #nixos
laggy_wifi_ has quit [(Remote host closed the connection)]
laggy_wifi_ has joined #nixos
srdqty has quit [(Client Quit)]
srdqty has joined #nixos
laggy_wifi_ has quit [(Remote host closed the connection)]
laggy_wifi_ has joined #nixos
hamishmack has joined #nixos
laggy_wifi_ has quit [(Remote host closed the connection)]
laggy_wifi_ has joined #nixos
hamishmack has quit [(Quit: hamishmack)]
mizu_no_oto has quit [(Quit: Computer has gone to sleep.)]
Wharncliffe has quit [(Quit: Lost terminal)]
laggy_wifi_ has quit [(Remote host closed the connection)]
laggy_wifi_ has joined #nixos
hamishmack has joined #nixos
laggy_wifi_ has quit [(Remote host closed the connection)]
laggy_wifi_ has joined #nixos
jb55 has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej pushed 2 new commits to staging: https://git.io/vFAnA
<NixOS_GitHub> nixpkgs/staging 98ff9fc Jan Tojnar: libxml2: 2.9.5 → 2.9.7
<NixOS_GitHub> nixpkgs/staging a7e1bfe Orivej Desh: Merge pull request #31957 from jtojnar/libxml-2.9.7...
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] mrkgnao opened pull request #31958: Update Stockfish (pkgs/games/stockfish, version 7 -> 8) (master...master) https://git.io/vFAcf
NixOS_GitHub has left #nixos []
laggy_wifi_ has quit [(Remote host closed the connection)]
laggy_wifi_ has joined #nixos
Oida has quit [(Ping timeout: 248 seconds)]
Oida has joined #nixos
jmeredith has quit [(Quit: Connection closed for inactivity)]
laggy_wifi_ has quit [(Remote host closed the connection)]
laggy_wifi_ has joined #nixos
schoppenhauer has quit [(Ping timeout: 240 seconds)]
srdqty has quit [(Quit: WeeChat 1.9.1)]
schoppenhauer has joined #nixos
laggy_wifi_ has quit [(Remote host closed the connection)]
laggy_wifi_ has joined #nixos
babyflakes has joined #nixos
laggy_wifi_ has quit [(Remote host closed the connection)]
laggy_wifi_ has joined #nixos
endformationage has quit [(Quit: WeeChat 1.9.1)]
laggy_wifi_ has quit [(Remote host closed the connection)]
laggy_wifi_ has joined #nixos
pie__ has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej pushed 1 new commit to staging: https://git.io/vFACG
<NixOS_GitHub> nixpkgs/staging 9d2bd32 Orivej Desh: tzdata: avoid symlink loop "./posix" -> ".."...
NixOS_GitHub has left #nixos []
pie_ has quit [(Remote host closed the connection)]
vcunat has joined #nixos
vcunat has quit [(Client Quit)]
laggy_wifi_ has quit [(Remote host closed the connection)]
<taaperotassu> Sometimes there are applications that can be found in github but not in nixos site.. why? such as https://github.com/NixOS/nixpkgs/blob/master/pkgs/applications/misc/kitty/default.nix vs https://nixos.org/nixos/packages.html
laggy_wifi_ has joined #nixos
oahong has joined #nixos
oahong has quit [(Changing host)]
oahong has joined #nixos
laggy_wifi_ has quit [(Remote host closed the connection)]
laggy_wifi_ has joined #nixos
laggy_wifi_ has quit [(Remote host closed the connection)]
laggy_wifi_ has joined #nixos
laggy_wifi has joined #nixos
pie__ has quit [(Ping timeout: 268 seconds)]
laggy_wifi_ has quit [(Ping timeout: 250 seconds)]
jb55 has quit [(Ping timeout: 240 seconds)]
laggy_wifi has quit [(Remote host closed the connection)]
laggy_wifi has joined #nixos
hamishmack has quit [(Quit: hamishmack)]
zzamboni has joined #nixos
laggy_wifi has quit [(Remote host closed the connection)]
laggy_wifi has joined #nixos
laggy_wifi has quit [(Remote host closed the connection)]
laggy_wifi has joined #nixos
zzamboni has quit [(Quit: Leaving.)]
adamt has joined #nixos
zzamboni has joined #nixos
katyucha has quit [(Ping timeout: 246 seconds)]
zzamboni has quit [(Client Quit)]
Capprentice has joined #nixos
ma27 has joined #nixos
Soham has quit [(Ping timeout: 240 seconds)]
miko__ has joined #nixos
MP2E has quit [(Remote host closed the connection)]
<dhess`> disasm: ok, thanks for the confirmation
laggy_wifi has quit [(Remote host closed the connection)]
laggy_wifi has joined #nixos
ma27 has quit [(Ping timeout: 255 seconds)]
Wizek has quit [(Quit: Connection closed for inactivity)]
laggy_wifi has quit [(Remote host closed the connection)]
laggy_wifi has joined #nixos
laggy_wifi has quit [(Remote host closed the connection)]
laggy_wifi has joined #nixos
adamt has quit [(Ping timeout: 268 seconds)]
johnw has quit [(Quit: ZNC - http://znc.in)]
laggy_wifi_ has joined #nixos
laggy_wifi has quit [(Read error: Connection reset by peer)]
miko__ has quit [(Ping timeout: 250 seconds)]
laggy_wifi_ has quit [(Remote host closed the connection)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] yrashk opened pull request #31959: gdbgui: init at 0.9.0.1 (master...gdbgui) https://git.io/vFAlA
NixOS_GitHub has left #nixos []
laggy_wifi_ has joined #nixos
MP2E has joined #nixos
reinzelmann has joined #nixos
laggy_wifi_ has quit [(Remote host closed the connection)]
laggy_wifi_ has joined #nixos
justan0theruser has joined #nixos
laggy_wifi_ has quit [(Remote host closed the connection)]
laggy_wifi_ has joined #nixos
justanotheruser has quit [(Ping timeout: 240 seconds)]
laggy_wifi_ has quit [(Remote host closed the connection)]
justbeingglad has joined #nixos
laggy_wifi_ has joined #nixos
zzamboni has joined #nixos
zzamboni has quit [(Client Quit)]
laggy_wifi_ has quit [(Remote host closed the connection)]
laggy_wifi_ has joined #nixos
laggy_wifi_ has quit [(Remote host closed the connection)]
laggy_wifi_ has joined #nixos
laggy_wifi_ has quit [(Remote host closed the connection)]
laggy_wifi_ has joined #nixos
laggy_wifi_ has quit [(Remote host closed the connection)]
laggy_wifi_ has joined #nixos
adamt has joined #nixos
adamt has quit [(Changing host)]
adamt has joined #nixos
freusque has joined #nixos
<adamt> I want to install riot-web, but have to add a configuration file to the root of riot (the package). How would I do that?
laggy_wifi_ has quit [(Remote host closed the connection)]
laggy_wifi_ has joined #nixos
<adamt> Do I make a new package that somehow inherits everything from riot, and then add the file somehow, or can i do it with a package override somehow?
hamishmack has joined #nixos
laggy_wifi_ has quit [(Remote host closed the connection)]
laggy_wifi_ has joined #nixos
justbeingglad has left #nixos []
orivej has quit [(Ping timeout: 248 seconds)]
laggy_wifi_ has quit [(Remote host closed the connection)]
adamt_ has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] bjornfor closed pull request #27344: Gnuradio: Enable Darwin Support (master...gnuradio-update) https://git.io/vQSNo
NixOS_GitHub has left #nixos []
laggy_wifi_ has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] mikoim opened pull request #31960: inconsolata: 1.010 -> 2.001 (master...fonts/inconsolata) https://git.io/vFAB0
NixOS_GitHub has left #nixos []
dan_b_ has quit [(Ping timeout: 260 seconds)]
adamt has quit [(Ping timeout: 268 seconds)]
laggy_wifi_ has quit [(Remote host closed the connection)]
laggy_wifi_ has joined #nixos
hotfuzz_ has joined #nixos
periklis has joined #nixos
zzamboni has joined #nixos
hotfuzz has quit [(Ping timeout: 260 seconds)]
laggy_wifi_ has quit [(Remote host closed the connection)]
laggy_wifi_ has joined #nixos
ansero1234 has joined #nixos
laggy_wifi_ has quit [(Remote host closed the connection)]
laggy_wifi_ has joined #nixos
adamt_ is now known as adamt
reinzelmann has quit [(Quit: Leaving)]
<tilpner> adamt - Yes, you could do that in postInstall from an overrideAttrs
laggy_wifi_ has quit [(Remote host closed the connection)]
<adamt> tilpner: What if the package itself gets a postInstall definition? Won't mine override that of the package?
<adamt> (say, in a future update)
<tilpner> adamt - You can append to it, if necessary
laggy_wifi_ has joined #nixos
<tilpner> taaperotassu - In case you're still wondering, that package was only added 28 days ago. I'm not entirely sure which channel the package search displays (could be 17.09 or unstable), but kitty hasn't made it to the 17.09 channel yet, only unstable
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] adisbladis opened pull request #31961: hedgewars: 0.9.22 -> 0.9.23 (master...hedgewars-0_9_23) https://git.io/vFARQ
NixOS_GitHub has left #nixos []
laggy_wifi_ has quit [(Remote host closed the connection)]
laggy_wifi_ has joined #nixos
BioSpider has joined #nixos
laggy_wifi_ has quit [(Remote host closed the connection)]
laggy_wifi_ has joined #nixos
laggy_wifi_ has quit [(Remote host closed the connection)]
laggy_wifi_ has joined #nixos
laggy_wifi_ has quit [(Remote host closed the connection)]
laggy_wifi_ has joined #nixos
laggy_wifi_ has quit [(Remote host closed the connection)]
laggy_wifi_ has joined #nixos
ertes has quit [(Ping timeout: 268 seconds)]
ansero1234 has quit [(Remote host closed the connection)]
phreedom has quit [(Quit: No Ping reply in 180 seconds.)]
orivej has joined #nixos
laggy_wifi_ has quit [(Remote host closed the connection)]
laggy_wifi_ has joined #nixos
phreedom has joined #nixos
laggy_wifi_ has quit [(Remote host closed the connection)]
laggy_wifi_ has joined #nixos
Tucky has joined #nixos
hotfuzz_ has quit [(Quit: WeeChat 1.9.1)]
hotfuzz has joined #nixos
zzamboni has quit [(Ping timeout: 250 seconds)]
laggy_wifi_ has quit [(Remote host closed the connection)]
laggy_wifi_ has joined #nixos
laggy_wifi_ has quit [(Remote host closed the connection)]
laggy_wifi_ has joined #nixos
<adamt> tilpner: It doesn't look like postInstall is even run. I even added a postInstall step to the package directly (i don't use channels but a local clone of nixpkgs) to test, and that wasn't run either. riot-web overrides installPhase, can that be the reason that the postInstall hook doesn't seem to run?
orivej has quit [(Ping timeout: 240 seconds)]
<adamt> This is what i did: http://nixpaste.lbr.uno/cdUmX2iT?nix (and then pointed nginx to serve the content of riot)
orivej has joined #nixos
<tilpner> And config.sample.json still exists in the output? I'm not all that familiar with the phases, it could be the reason, but I can't check right now
laggy_wifi_ has quit [(Remote host closed the connection)]
laggy_wifi_ has joined #nixos
<adamt> tilpner: Yeah, config.sample.json still exists, and config.json doesn't. Hmm
<adamt> Maybe i should map /config.json (in nginx) to a specific file in the nix store containing the config. :P
zzamboni has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] pSub pushed 2 new commits to master: https://git.io/vFAzg
<NixOS_GitHub> nixpkgs/master 5f111a8 adisbladis: hedgewars: 0.9.22 -> 0.9.23
<NixOS_GitHub> nixpkgs/master 6b21d3a Pascal Wittmann: Merge pull request #31961 from adisbladis/hedgewars-0_9_23...
NixOS_GitHub has left #nixos []
laggy_wifi_ has quit [(Remote host closed the connection)]
laggy_wifi_ has joined #nixos
<adamt> It works if I mess with the installPhase, but that seems extremly ugly.
reinzelmann has joined #nixos
forgetfulf has quit [(Quit: Leaving)]
Isorkin has quit [(Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org)]
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/d6d96c3274 (from 6 days ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
nix-gsc-io`bot has quit [(Client Quit)]
laggy_wifi_ has quit [(Remote host closed the connection)]
laggy_wifi_ has joined #nixos
laggy_wifi_ has quit [(Remote host closed the connection)]
laggy_wifi_ has joined #nixos
zzamboni has quit [(Ping timeout: 240 seconds)]
<srhb> adamt: Is this the entire override?
<adamt> srhb: Yup.
<adamt> srhb: This works, but it feels very wrong: http://nixpaste.lbr.uno/0qgrKFpg?nix
laggy_wifi_ has quit [(Remote host closed the connection)]
laggy_wifi_ has joined #nixos
<srhb> adamt: Looks like riot-web defines installPhase without runHook postInstall
laggy_wifi_ has quit [(Remote host closed the connection)]
<adamt> srhb: I thought the runHook was somehow provided by mkDerivation, and not required to run manually from the installPhase. Sounds like i'll stick with this ugly solution for now. :-)
laggy_wifi_ has joined #nixos
<srhb> adamt: I don't think it's that bad to be honest. Alternatively, as it looks like you're providing a *configured* version of riot-web. you might want to simply create a second derivation that uses riot-web as its buildInput
<srhb> adamt: (You can avoid duplication by just symlinking into riot-web)
<srhb> That way it becomes a sort of overlay package.
<srhb> But yeah, it's fine really :)
<adamt> srhb: I have no idea how to do that. Also, you should be enjoying your holiday.
<srhb> I am! Didn't even get out of bed yet. :-P
laggy_wifi_ has quit [(Remote host closed the connection)]
laggy_wifi_ has joined #nixos
Cheng has joined #nixos
IRCNickname has quit [(Ping timeout: 248 seconds)]
laggy_wifi_ has quit [(Remote host closed the connection)]
laggy_wifi_ has joined #nixos
thc202 has joined #nixos
laggy_wifi_ has quit [(Remote host closed the connection)]
laggy_wifi_ has joined #nixos
<Cheng> How do I use NIX_CURL_FLAGS? I tried "env NIX_CURL_FLAGS=--invalid-flag nixos-rebuild switch". Although passing an invalid flag, curl still seemed to run
FRidh has joined #nixos
<srhb> adamt: I was thinking something like this: http://nixpaste.lbr.uno/wyycd51G?nix
kkini has quit [(Quit: ERC (IRC client for Emacs 25.1.1))]
<adamt> srhb: Yeah, that's prettier.
laggy_wifi_ has quit [(Remote host closed the connection)]
laggy_wifi_ has joined #nixos
spietz has quit [(Ping timeout: 240 seconds)]
laggy_wifi_ has quit [(Remote host closed the connection)]
laggy_wifi_ has joined #nixos
MP2E has quit [(Remote host closed the connection)]
ChongLi has joined #nixos
ChongLi_ has quit [(Read error: Connection reset by peer)]
laggy_wifi_ has quit [(Remote host closed the connection)]
laggy_wifi_ has joined #nixos
periklis has quit [(Ping timeout: 248 seconds)]
drever has joined #nixos
<pcarrier> I don't seem to have a tty
laggy_wifi_ has quit [(Remote host closed the connection)]
<pcarrier> when I turn on sddm
laggy_wifi_ has joined #nixos
<srhb> pcarrier: As in, they're just blank?
<pcarrier> srhb: as in, I can't switch to them with ctrl-alt-Fkeys
<pcarrier> oooh f-lock on this laptop so sorry I realized as soon as I wrote it
<srhb> :P
orbekk has quit [(Quit: WeeChat 1.9.1)]
drever has quit [(Client Quit)]
drever has joined #nixos
laggy_wifi_ has quit [(Remote host closed the connection)]
laggy_wifi_ has joined #nixos
<drever> hi, i want to install the matlab runtime on nixos. for this the java binaries have to be patched. The nixos wiki on patching binaries tells me to use patchelf with the variable $NIX_CC. However, this variable is not set on my system (17.09 in a VM). Where should the variable $NIX_CC come from?
whald has joined #nixos
ssmike has joined #nixos
ssmike has quit [(Remote host closed the connection)]
<fearlessKim[m]> I would like to set services.strongswan.secrets from the REPL to debug a pb, how can I do that ?
<manveru> drever: that variable is set inside of a mkDerivation
<srhb> Specifically by stdenv.cc iirc
laggy_wifi_ has quit [(Remote host closed the connection)]
laggy_wifi_ has joined #nixos
<tommyangelo> does anyone know what to do when the sshd service failed to restart with `bad SSH2 mac spec`?
<srhb> tommyangelo
<srhb> Start by providing your ssh setup :)
<tommyangelo> srhb: `services.openssh.enable = true;`
<srhb> tommyangelo: No custom keys or anything?
<tommyangelo> srhb: nope. Looks like the problem was fixed here: https://github.com/NixOS/nixpkgs/commit/48252b15b9a2431f8770af4a335579e3aea1d4e0 but I cannot get nixops to deploy again because ssh is not running on the host
laggy_wifi_ has quit [(Remote host closed the connection)]
<srhb> tommyangelo: Guess you'll have to rollback through a remote console.
<Rovanion> Hi! Is anyone using way-cooler and knows how to start it? Trying to start it it just barfs out my environment variables and then dies without an error message.
laggy_wifi_ has joined #nixos
<srhb> Rovanion: It's marked as broken in unstable, so presumably it cannot start.
<Rovanion> srhb: Where do you see that?
roconnor has joined #nixos
<srhb> Rovanion: In pkgs/applications/window-managers/way-cooler/default.nix
<srhb> Rovanion: It should have failed to install entirely with a message for you, unless you have allowBroken = true;
<Rovanion> grep -r allowBroken /etc/nixos/ returns nothing.
laggy_wifi_ has quit [(Remote host closed the connection)]
<srhb> Rovanion: Which version are you on?
<Rovanion> Looking at https://nixos.org/nixos/packages.html for way-cooler I don't see a broken marker there.
laggy_wifi_ has joined #nixos
<Rovanion> 17.09
drever_ has joined #nixos
<Rovanion> I think. lsb_release -a doesn't seem to be a thing.
<srhb> Rovanion: Indeed, it is not marked as broken in 17.09
zzamboni has joined #nixos
pie__ has joined #nixos
roconnor_ has quit [(Ping timeout: 260 seconds)]
<tommyangelo> srhb: damn, I can't get over how easy nix makes this stuff. `nixos-rebuild switch --rollback` on the host, then nixops deploy on my laptop. Done. Thanks for the help!
<srhb> tommyangelo: You're welcome. :)
dan_b_ has joined #nixos
oahong has quit [(Ping timeout: 240 seconds)]
drever has quit [(Ping timeout: 260 seconds)]
<rsa> modified xkeyboardconfig to add one file to xkb/symbols, now recompiling everyting depending on X >.<
oahong has joined #nixos
oahong has quit [(Changing host)]
oahong has joined #nixos
jensens has joined #nixos
ThatDocsLady_ has joined #nixos
<srhb> rsa: Yeah, there's no pretty way to do that.
<srhb> (That I know of, at least)
pie__ has quit [(Ping timeout: 268 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] srhb opened pull request #31964: imagemagick: 6.9.9-21 -> 6.9.9-23 (master...imagemagick-up) https://git.io/vFA60
NixOS_GitHub has left #nixos []
laggy_wifi_ has quit [(Remote host closed the connection)]
laggy_wifi_ has joined #nixos
Cheng has quit [(Remote host closed the connection)]
Cheng has joined #nixos
laggy_wifi_ has quit [(Remote host closed the connection)]
laggy_wifi_ has joined #nixos
phreedom has quit [(Quit: No Ping reply in 180 seconds.)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #31941: user-mgmt.xml: extraUsers => users (master...master) https://git.io/vFNG5
NixOS_GitHub has left #nixos []
laggy_wifi_ has quit [(Remote host closed the connection)]
laggy_wifi_ has joined #nixos
Neo-- has joined #nixos
laggy_wifi_ has quit [(Remote host closed the connection)]
laggy_wifi_ has joined #nixos
<srhb> adamt: I took a look at the ES datadir. It doesn't seem related to the disk layout at all, and it looks like we could just throw all the disks in extraConf.
<srhb> adamt: We could also parameterize this properly with types.listOf types.path or something, of course.
<srhb> (And have it default to whatever the default path is for ES anyway, I suppose)
drever_ has quit [(Ping timeout: 240 seconds)]
laggy_wifi_ has quit [(Remote host closed the connection)]
laggy_wifi_ has joined #nixos
asuryawanshi has joined #nixos
<adamt> srhb: Ah. That's great. We might need to do quite some work to bump it to Elasic v6 anyways (current package does funny classpath stuff, among others, and god knows what might have changed in those parts..), so expanding the module will be piece of cake in comparison. I think.
<srhb> adamt: Oh, really. I haven't looked at the actual package yet, just the module, and that looks just fine and easy to extend :)
<srhb> Sounds fun!
<srhb> For some value of fun...
asuryawanshi has quit [(Remote host closed the connection)]
asuryawanshi has joined #nixos
Cheng has quit [(Quit: Leaving)]
laggy_wifi_ has quit [(Remote host closed the connection)]
laggy_wifi_ has joined #nixos
roberth has quit [(Ping timeout: 240 seconds)]
<srhb> adamt: ES 2.4 will be deprecated by March 2018, so we might want to delay a bit on the module. :-)
<adamt> srhb: Or we can just do the work now, and not submit it until later. :P
<srhb> adamt: Overachiever. Fine! ;-)
mrkgnao has quit [(Ping timeout: 248 seconds)]
<srhb> Actually, 18.03 is after the deprecation, so it might be fine to throw it in unstable soonish
<srhb> adamt: We should probably aim for a few 18.03 milestones :)
laggy_wifi_ has quit [(Remote host closed the connection)]
<adamt> srhb: I'm not an overachiever, I'm just lazy
laggy_wifi_ has joined #nixos
<srhb> \o/
zzamboni has quit [(Quit: Leaving.)]
<fearlessKim[m]> config.networking.networkmanager.basePackages ? pkgs.networkmanager_l2tp returns false but l2tp should be true ( i want to check if l2tp is in the set) ?
<Rovanion> So has anyone tried sway on nixos 17.09? I've never used a wayland WM before but am sort of guessing that you don't have to start something like xorg before starting the WM in wayland-land, or am I wrong? When trying to start sway from the terminal I get the error: Not running from X11 and no access to /dev/input/event0 or logind unavailable. logind.service doesn't seem to be a thing on my machine though.
amfl has quit [(Read error: Connection reset by peer)]
<pcarrier> can I specify the kernel version in configuration.nix easily? I'm not 100% sure but I suspect 4.9.61 -> 4.9.63 broke my wifi
amfl has joined #nixos
laggy_wifi_ has quit [(Remote host closed the connection)]
<srhb> pcarrier: Yes, boot.kernelPackages
laggy_wifi_ has joined #nixos
<srhb> pcarrier: However, you probably do not have 4.9.61 in your nixpkgs unless you roll back to an earlier version.
Wizek has joined #nixos
<pcarrier> I'm game for doing that
<pcarrier> how would I do that? :D
davidak has joined #nixos
proteusguy has joined #nixos
<pcarrier> the rollback interface is a bit annoying
<pcarrier> I never know how to look at which gens exist
zzamboni has joined #nixos
<srhb> pcarrier: I think the easier solution is to point nixos-rebuild at a checkout at the commit you're after
<srhb> pcarrier: With -Inixpkgs=/path/to/checkout
<pcarrier> wow that worked
<pcarrier> nix-channel --rollback, now back to .61, and I have wifi again
<srhb> pcarrier: Interesting :)
<pcarrier> OK so it sounds like I want to freeze all my system in one git repo
<pcarrier> nix-home, system-wide config, versions of the various repos
<adamt> pcarrier: Or pull in a vastly newer kernel and see if that fixes the issue as well
<pcarrier> can I do that and still leverage the binary cache?
<srhb> pcarrier: Only for as long as those versions are in the cache of course.
<srhb> pcarrier: Personally I just roll forward over most issues, or override specifics.
<srhb> pcarrier: Like for instance linuxPackages_4_9 in your case
<pcarrier> so I like my system to be stable :D
laggy_wifi_ has quit [(Remote host closed the connection)]
sibi_ has joined #nixos
<srhb> Well, then you don't need binary caches, it never changes! ;-)
whald has quit [(Remote host closed the connection)]
laggy_wifi_ has joined #nixos
zzamboni has quit [(Ping timeout: 248 seconds)]
<pcarrier> yeah that's not a bad point, I just wonder how to design that thing at this point ;)
<srhb> pcarrier: What I'd do in your case is pull in linuxPackages_4_9 from that older version of nixpkgs.
<srhb> pcarrier: And leave everything else as upstream has it.
zzamboni has joined #nixos
dywedir has joined #nixos
<fearlessKim[m]> ok found out how to load config from REPL and why it returned false \o/
laggy_wifi_ has quit [(Remote host closed the connection)]
<pcarrier> srhb: could you point me to how such a thing can be done?
fendor has joined #nixos
Oida has quit [(Quit: byez)]
laggy_wifi_ has joined #nixos
nuncanada has joined #nixos
<srhb> pcarrier: That's a completely arbitrary revision, so change it!
<srhb> pcarrier: Just random snippets from my examples :)
oida has joined #nixos
zzamboni has quit [(Ping timeout: 246 seconds)]
zzamboni has joined #nixos
laggy_wifi_ has quit [(Remote host closed the connection)]
laggy_wifi_ has joined #nixos
zzamboni has quit [(Ping timeout: 240 seconds)]
fendor has quit [(Ping timeout: 240 seconds)]
zzamboni has joined #nixos
FRidh has quit [(Quit: Konversation terminated!)]
<dan_b> ok, this is a pretty random question, but is there a tool for indenting/code-formatting nix files?
<dan_b> I'm used to having emacs do that, but whatever I'm using for nix mode doesn't support "pressing tab does the right thing"
zzamboni has quit [(Ping timeout: 246 seconds)]
FRidh has joined #nixos
fendor has joined #nixos
zzamboni has joined #nixos
adamt_ has joined #nixos
bkchr has joined #nixos
adamt has quit [(Ping timeout: 250 seconds)]
cfricke has joined #nixos
<bkchr> Hi, I got a question regarding nixops. Is it possible to simulate a network with nixops? I want something like PC1 <--> Router <--> PC2
Isorkin has joined #nixos
zzamboni has quit [(Ping timeout: 240 seconds)]
simukis has joined #nixos
laggy_wifi_ has quit [(Quit: Konversation terminated!)]
zzamboni has joined #nixos
iyzsong has joined #nixos
roberth has joined #nixos
erictapen has joined #nixos
wzy8L-B2[m] has joined #nixos
zzamboni has quit [(Ping timeout: 255 seconds)]
metaphysician has quit [(Ping timeout: 255 seconds)]
metaphysician has joined #nixos
mrkgnao has joined #nixos
<aminechikhaoui> bkchr: that's probably better to do with nixos tests
<gchristensen> srhb: ping
<srhb> adamt_: Upgrading to es6 was a piece of cake, no patches needed for basic functionality. The startup script has actually become more sane and more portable(!)
<srhb> gchristensen: pong
<srhb> adamt_: The NixOS e+l+k test actually passes with minimal effort.
tgunb has joined #nixos
<gchristensen> srhb: https://github.com/NixOS/nixpkgs/pull/31964#issuecomment-346577801 you weren't on the authorized list when you made this comment, but I just added you. You should try again.
<srhb> gchristensen: Oh, I was wondering why it was ignoring me. Thanks!
<srhb> I actually managed to build it locally in the meantime.
<srhb> (But I'll give it a spin anyway)
<gchristensen> eh, it can't hurt :P
drever has joined #nixos
fendor has quit [(Ping timeout: 255 seconds)]
<srhb> Woo, the borg obeys me
<srhb> (The borg obey me?)
<gchristensen> :P
zzamboni has joined #nixos
linzst has joined #nixos
<bkchr> aminechikhaoui: hmm, can nixos tests be used outside of testing Nixos? I want to write tests for an application of me
<manveru> bkchr: yes
<manveru> they still involve starting nixos though :)
<aminechikhaoui> bkchr: see for example https://github.com/NixOS/nixpkgs/blob/b18b70c74d5a2eadde6985ee9b2fac3411374eb5/nixos/tests/nat.nix, you can write a nixops like expression where you specify your nodes configuration (including any specific pkgs/services)
<aminechikhaoui> but it will run in vms instead of nixops backends
<bkchr> aminechikhaoui: how would I run this?
<gchristensen> srhb: do you know the rules of the borg btw?
<the-kenny> Anyone else having problems with rustChannels using the nixpkgs-rust-overlay by mozilla? I use http://p.tarn-vedra.de/rust-shell.nix.html as a shell.nix for my rust development, and it started failing with "/nix/store/izkijl7w7qkjdfr09qk43v1n3bnbdnvm-stdenv/setup: ./install.sh: /bin/bash: bad interpreter: No such file or directory" today
<srhb> gchristensen: I do not!
zzamboni has quit [(Quit: Leaving.)]
<gchristensen> 1. make sure you've reviewed the code before you trigger it on a PR that isn't your own
zzamboni has joined #nixos
<gchristensen> 2. be gentle, preferably don't run mass rebuilds / massive builds like chromium on it
fendor has joined #nixos
<bkchr> the-kenny: here is my default.nix, I use for rust stuff. https://github.com/bkchr/home_directory/blob/master/projects/superscale/default.nix
<the-kenny> bkchr: can you confirm that this works with a recent nightly?
<srhb> gchristensen: Sounds absolutely sane, thank you :)
<bkchr> aminechikhaoui: nice, ty :)
<the-kenny> bkchr: hmmm nevermind. I just updated rust-overlay.nix and now it seems to work.
<bkchr> the-kenny: perfect :)
oahong has quit [(Ping timeout: 240 seconds)]
fendor has quit [(Ping timeout: 268 seconds)]
oahong has joined #nixos
oahong has quit [(Changing host)]
oahong has joined #nixos
deepfire has joined #nixos
adamt_ has quit [(Quit: Leaving)]
adamt_ has joined #nixos
adamt_ has quit [(Changing host)]
adamt_ has joined #nixos
adamt_ is now known as adamt
freusque has quit [(Quit: WeeChat 1.9.1)]
civodul has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] grahamc closed pull request #31964: imagemagick: 6.9.9-21 -> 6.9.9-23 (master...imagemagick-up) https://git.io/vFA60
NixOS_GitHub has left #nixos []
freusque has joined #nixos
fpletz has quit [(Ping timeout: 264 seconds)]
asuryawanshi has quit [(Ping timeout: 240 seconds)]
<srhb> gchristensen: Where do I attempt to PR that to? channels?
Neo-- has quit [(Remote host closed the connection)]
linzst has quit [(Quit: Leaving)]
<srhb> Oh, no, release?
<gchristensen> release-17.09 on nixos/nixpkgs
Neo-- has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] srhb opened pull request #31968: imagemagick: 6.9.9-21 -> 6.9.9-23 (release-17.09...backport-imagemagick) https://git.io/vFA59
NixOS_GitHub has left #nixos []
<srhb> Hmm, I should probably look up how those commits look. Hang on..
<srhb> Oh, they look just like this one. yay.
<gchristensen> srhb: want to ping grahamcofborg to build some stuff, then I'll merge as soon as stuff passes?
<gchristensen> srhb: also, have you considered asking for merge rights?
<srhb> gchristensen: Sure! And yes, but then I forgot who I should ask :P
<gchristensen> go to #nixos-dev and mention it then someone (me) will cc domenkozar
fpletz has joined #nixos
<srhb> gchristensen: Thanks!
<joko> Suppose that I have a nix function with input arguments on a file, how to run nix-repl on that file and set its input arguments
<joko> ?
<infinisil> joko: Just do it interactively: nix-repl> result = (import ./default.nix) arg1 arg2
katyucha has joined #nixos
adamt_ has joined #nixos
adamt_ has quit [(Changing host)]
adamt_ has joined #nixos
adamt has quit [(Disconnected by services)]
adamt_ is now known as adamt
zzamboni has quit [(Quit: Leaving.)]
<joko> infinisil: thanks!
mizu_no_oto has joined #nixos
pie_ has joined #nixos
phreedom has joined #nixos
zzamboni has joined #nixos
freusque has quit [(Ping timeout: 240 seconds)]
zzamboni has quit [(Client Quit)]
zzamboni has joined #nixos
fpletz has quit [(Ping timeout: 240 seconds)]
zzamboni has quit [(Ping timeout: 248 seconds)]
zzamboni has joined #nixos
YuFanLovezYou[m] has joined #nixos
freusque has joined #nixos
<larsvm> in what channel do i need to be to have the firefox version 57?
<larsvm> now i guess i'm on the default 17.09
fpletz has joined #nixos
zzamboni has quit [(Ping timeout: 260 seconds)]
<bkchr> How can I call a nixos test with nix-build and provide arguments?
<dan_b_> larsvm; there was some chat yesterday about overlays for firefox
<manveru> larsvm: you can simply install firefox from nixpkgs-unstable
<makefu> bkchr: when using nix-build you can use --arg 'name' 'value'
Arcaelyx_ has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<bkchr> makefu: nix-build nat.nix --arg 'withFirewall' 'false' ?
<MichaelRaskin> Wasn't FF57 backported to 17.09, though?
<manveru> hmm, possibly
<makefu> bkchr: hopefully :D i just saw something similar in my shell history
<manveru> haven't checked in a while, it wasn't on 17.09 1-2 weeks ago
fpletz has quit [(Changing host)]
fpletz has joined #nixos
<MichaelRaskin> Two weeks ago it wan't realeased!
<manveru> :D
<manveru> i've used it for months :P
<MichaelRaskin> As nightly or beta, though.
katyucha has quit [(Quit: Lost terminal)]
<manveru> sure
<bkchr> makefu: Okay, that does not work :(
<larsvm> manveru: thanks!
<makefu> bkchr: what is your current build command?
<bkchr> makefu: nix-build nat.nix --arg withFirewall false
<bkchr> called without required argument ‘withFirewall’
<makefu> bkchr: it seems that the build will not be called directly with the build but via make-test
<bkchr> makefu: nix-build login.nix but that works for example
<makefu> mhhhh, maybe quickly hard-coding true or false
<bkchr> okay :)
<makefu> is the test run by the channels?
BioSpider has quit [(Quit: Going offline, see ya! (www.adiirc.com))]
<bkchr> Sorry, don't know
<makefu> it seems like this, but to run the test release.nix is using 'callTest tests/nat.nix { withFirewall = false; };'
<bkchr> yeah, I saw that
iyzsong has quit [(Read error: Connection reset by peer)]
iyzsong has joined #nixos
<dan_b_> hmm. I wrote a derivation which depends on pkgs.qemu and it seems to be rebuilding the entire universe
<srhb> grahamc: Don't worry about the rss-glx thing, I hadn't noticed it was broken. I was just trying to spot check dependents on imagemagick (it's hard to cover them all on a laptop though!)
<srhb> Er, gchristensen ^
<dan_b_> is hydra stuck? (how do I tell if hydra is stuck?)
<gchristensen> srhb: no worries hehe your PR was just a recently opened PR that I'm testing on :$
<srhb> Ah :P
<makefu> bkchr: found out how to do it
<makefu> nix-build -E '(import nixos/tests/nat.nix {withFirewall = false;})'
<bkchr> makefu: ohh nice! Ty :)
zzamboni has joined #nixos
<gchristensen> heads up y'all: @grahamcofborg can take another command, "eval", to re-trigger evals. editing a PR description will no longer trigger a new eval check. please see: https://github.com/grahamc/ofborg#commands
<bkchr> makefu: can you maybe help at another question. Do you know any way to copy a program into a machine that is created by a test? :D
<makefu> i think you need to update the build expression for the test machine
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 2 new commits to master: https://git.io/vFAhq
<NixOS_GitHub> nixpkgs/master fcec492 Yurii Rashkovskii: gdbgui: init at 0.9.0.1...
<NixOS_GitHub> nixpkgs/master a30fa6d Jörg Thalheim: Merge pull request #31959 from yrashk/gdbgui...
NixOS_GitHub has left #nixos []
<makefu> for example the expression for the nat server: https://github.com/NixOS/nixpkgs/blob/release-17.09/nixos/tests/nat.nix#L59 you could simply add 'environment.systemPackages'
<bkchr> makefu: yeah, I would like to build something on my host and push that into the machine ^^
mizu_no_oto has quit [(Quit: Computer has gone to sleep.)]
<makefu> mhhh not sure if this is currently supported
<bkchr> okay
<makefu> you could have it built by the virtual server and tested inside there
ma27 has joined #nixos
<makefu> that is at least how all the other tests work
<bkchr> I'm thinking of integrating the nix test stuff into a project of mine
<bkchr> And would like to do my ci tests with it
<bkchr> So it would be nice, that I could copy some stuff into the machine
<makefu> bkchr: mhhh maybe you could create a nix expression which actually does the build and then use the derivation to test
<makefu> or create a derivation which would fetch the finished build
<bkchr> hmm
<bkchr> Yeah, I will need to think about that
reinzelmann has quit [(Quit: Leaving)]
Wizek_ has joined #nixos
mrkgnao has quit [(Ping timeout: 248 seconds)]
cfricke has quit [(Quit: WeeChat 1.9.1)]
<knedlsepp> Hi! Is there by any chance a way to "antiquote" nix expressions inside of a regular text file? Currently I am going with an approach that uses substituteInPlace MYFILE --replace "{{GDB}}" "${gdb}/bin/gdb". Where file is something that I ship with the nix expression. What I would like to do is just antiquote the entire MYFILE as if it were a string.
<makefu> wonderful
<bkchr> Sadly the feature is not documented.. :(
<bkchr> If not, I would have found it much earlier :D
<makefu> weird that it is undocumented, yes
erictapen has quit [(Ping timeout: 250 seconds)]
<gchristensen> the nixos test infra could use way more docs :(
<makefu> because it is actually a quite fantastic toolchain
<gchristensen> yeah, it really is
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] grahamc closed pull request #31968: imagemagick: 6.9.9-21 -> 6.9.9-23 (release-17.09...backport-imagemagick) https://git.io/vFA59
NixOS_GitHub has left #nixos []
<makefu> i think there nixos has an edge towards all the other distros. plus it is something people easily understand
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] bkchr opened pull request #31972: Adds missing documentation for copyFileFromHost in NixOS tests (master...copyfilefromhost_missing_documentation) https://git.io/vFxvs
NixOS_GitHub has left #nixos []
<gchristensen> bkchr: NICE
<bkchr> :)
sigmundv has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #27513: [NixOS] Fix + update `hardware.parallels` config option (master...prl-tools-fix) https://git.io/v7e9A
NixOS_GitHub has left #nixos []
nordkap has joined #nixos
<nordkap> aszlig: just dropped by to once again thank you for your help yesterday. it's working now the way I wanted!
adamt has quit [(Remote host closed the connection)]
zzamboni has quit [(Ping timeout: 250 seconds)]
<joko> If I have funA { inp1, inp2, ... }, is there any x so that x inp1 = funA { inp2, ... }?
rosa has joined #nixos
phreedom has quit [(Quit: No Ping reply in 180 seconds.)]
<rosa> Problem: what would i do when a package requires glibc but does not list it as a dependency nor provides it
Neo-- has quit [(Remote host closed the connection)]
Neo-- has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] grahamc opened pull request #31973: inginious: fix options eval (master...options-fix-inginious) https://git.io/vFxUa
NixOS_GitHub has left #nixos []
rosa has quit [(Quit: rosa)]
rosa has joined #nixos
roberth has quit [(Ping timeout: 260 seconds)]
rosa has quit [(Client Quit)]
rosa has joined #nixos
<joko> Is it possible to set just one attribute on a set and leave the rest in the set undefined?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] grahamc closed pull request #31973: inginious: fix options eval (master...options-fix-inginious) https://git.io/vFxUa
NixOS_GitHub has left #nixos []
<dan_b_> [nix-shell:~/src/nixwrt]$ qemu-system-mipsel -nodefaults -m 256 -M malta -nographic -serial stdio -kernel result/vmlinux
<dan_b_> Linux version 4.14.1 (nixbld1@) (gcc version 6.4.0 (GCC)) #1 SMP Thu Nov 23 12:31:02 UTC 2017
<dan_b_> earlycon: uart8250 at I/O port 0x3f8 (options '38400n8')
<dan_b_> yay me, i've managed to crosscompile a mipsel kernel
<dan_b_> next step: a root filesystem
<dan_b_> one small step towards being able to run something not openwrt on my home routers
rosa has quit [(Quit: rosa)]
rosa has joined #nixos
Cheng has joined #nixos
<Cheng> Hi, how do I pass environment variables to nix-daemon?
rosa has quit [(Quit: rosa)]
rosa has joined #nixos
<rosa> cx
dan_b_ has quit [(Ping timeout: 240 seconds)]
goibhniu1 is now known as goibhniu
fendor has joined #nixos
olto has joined #nixos
chrishill has joined #nixos
<infinisil> Cheng: Try `nix.envVars.FOOBAR = "foobar"`
iyzsong has quit [(Ping timeout: 264 seconds)]
<Cheng> infinisil: Thanks
rosa has quit [(Read error: Connection reset by peer)]
<chrishill> Hey, so I am having issues with memory consumption after I upgraded NixOS from 32 bit 16.09 (`16.09.1943.25f4906da6`) to the 17.09 (`17.09.1880.ac2bb5684c`). First I upgraded from 32 bit 16.09 to 64 bit 16.09 through a live CD (usb). Then I ugraded to 17.09 by switching to `nix-channel --add https://nixos.org/channels/nixos-17.09 nixos`.
rosa has joined #nixos
<chrishill> Now after the upgrade applications like Firefox and Emacs (Spacemacs) take up a lot of memory. To the point where I can’t have many applications open at the same time. Sometime I use so much memory that I can’t use my mouse etc. so I am unable to kill the processes.
<chrishill> I know that on 64 bit the processor is able to use more of the RAM (which is 4GiB). But applications are using a lot more memory on the regular, and I haven’t really noticed any increase in performance with this increased memory usage.
<chrishill> Am I missing something here? I know very little on the differences between 32 bit and 64 bit.
<infinisil> chrishill: Like every single application is using more memory? Or is there a few ones that just take up so much?
<chrishill> So the applications that use most memory that I regularly use are Emacs, Firefox, Eclipse. And it seems that they all use more memory.
<chrishill> infinisil: yesterday the only major applications that were open at some point were Firefox and Eclipse, and they used 3.7 GiB.
<chrishill> I am probably going to be buying more RAM. But the use seems so… excessive that it feels like I am missing something, or have done something wrong.
<chrishill> infinisil: and also Spotify uses a lot of memory. I can’t say if it would be more than before because I was unable to install Spotify on 32 bit.
<infinisil> chrishill: Do you have numbers of memory usage before and after?
<chrishill> I have to keep in mind how many applications I have open, maybe close Eclipse if I am going to be writing in Emacs if I want to avoid the whole desktop (Xmonad if it matters) to freeze on me.
rosa has quit [(Quit: rosa)]
<infinisil> because if you were close to your machines limit before, then upgrading to 64bit and some version updates might have busted it
<chrishill> infinisil: Unfortunately I didn’t really keep track of statistics of that. Before the upgrade it was never really an issue.
<chrishill> infinisil: The weird thing is that I have been able to use the same applications before. So maybe I was close to the machine’s limits before, but then I don’t know how I was able to use the same applications.
Cheng has quit [(Remote host closed the connection)]
<infinisil> chrishill: Do you have swap?
<chrishill> Firefox used to crash pretty often, so maybe that had to do with memory. But I don’t really remember it using a lot of memory. I used to chalk it up to just being buggy and prone to be brought done by heavy scripts in one tab.
shlevy has quit [(Ping timeout: 250 seconds)]
<chrishill> infinisil: No, I am running on a 120 SSD so I decided against using swap this time. On that point, when I did have swap installed it was not really used much. Maybe the most usual number that I saw was 100 megabytes or less. I certainly didn’t have any experiences like, “Okay, now I forced the computer to swap”.
shlevy has joined #nixos
<chrishill> I realize that I probably have a lot to learn (or that I could learn on this subject). I am mainly asking if I might have missed something, or what to read up on when it comes to this stuff.
nordkap has quit [(Quit: Leaving)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] zimbatm opened pull request #31975: Inginious 0.40 (master...inginious-0.40) https://git.io/vFxm1
NixOS_GitHub has left #nixos []
roberth has joined #nixos
<Ankhers> gchristensen: Looks like your issues have been fixed.
<Ankhers> (Erlang)
<gchristensen> ohh! linkL
<gchristensen> ?
<infinisil> chrishill: Yeah swap isn't really used I think unless really needed. So it might just solve your problem if you had some
pie_ has quit [(Remote host closed the connection)]
<infinisil> chrishill: I'd try giving it like 4GB swap and see how it goes, an SSD is really good for it too
pie_ has joined #nixos
<gchristensen> Ankhers: YAY!
tgunb1 has joined #nixos
<Ankhers> I have been not so patiantely waiting for that :P
<Ankhers> And I wish I could spell this morning :(
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] zimbatm opened pull request #31976: pythonPackages.psutil: 4.3.0 -> 4.4.2 (master...psutil-4.4.2) https://git.io/vFxYp
NixOS_GitHub has left #nixos []
tgunb has quit [(Ping timeout: 250 seconds)]
<gchristensen> :D
periklis has joined #nixos
phreedom has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh pushed 1 new commit to python-unstable: https://git.io/vFx3F
<NixOS_GitHub> nixpkgs/python-unstable 83f2892 zimbatm: pythonPackages.psutil: 4.3.0 -> 4.4.2...
NixOS_GitHub has left #nixos []
fendor has quit [(Ping timeout: 240 seconds)]
ma27 has quit [(Ping timeout: 255 seconds)]
<gchristensen> zimbatm: it looks like you're not in the whitelist for ofborg, would you like access?
<zimbatm> sounds good :)
<zimbatm> do you have a reference for usage?
<zimbatm> also, do you need access to more hardware?
<gchristensen> yes, and yes, but let's talk about the second bit another time
<gchristensen> zimbatm: https://github.com/grahamc/ofborg#guidelines you have access now
<zimbatm> thanks!
<zimbatm> hetzner machines are super cheap, I would be interested in starting an unofficial hardware team
<gchristensen> there is movement to have an official hardware team too ... :)
<zimbatm> also I am looking into running macOS inside of qemu
<gchristensen> nice!
fendor has joined #nixos
orivej has quit [(Ping timeout: 240 seconds)]
<sphalerite> hardware team in what sense?
<gchristensen> to help maintain hydra and what-not
<gchristensen> by the way, today is Thanksgiving in the USA, and I'm grateful for being part of such a wonderful community
Tucky has quit [(Quit: WeeChat 1.9.1)]
rosa has joined #nixos
dan_b_ has joined #nixos
<Rovanion> What is the package name of urxvt? I
rosa has quit [(Client Quit)]
tgunb1 has quit [(Ping timeout: 250 seconds)]
<chrishill> infinisil: So you think having 4GB or more swap could solve the problem? It wouldn’t just thrash the swap? Yeah I’m probably going to buy a twice as large SSD too since they are reasonably priced now. ☺
<Rovanion> Searching for urxvt or rxvt-unicode on https://nixos.org/nixos/packages.html turns up a lot of different stuff, but nix-env -qa rxvt on my nixos 17.09 only returns rxvt-2.7.10.
<neonfuz> man it's really irritating how nixos builds such a maximalist kernel
<neonfuz> I just want to change one option on one kernel module, but I apparently need to recompile the whole kernel and every kernel module to do that?
<neonfuz> building my kernel on other distros that don't build every module takes minutes, this takes maybe an hour
freusque has quit [(Quit: WeeChat 1.9.1)]
<Rovanion> How can I search for every package matching the glob *rxvt* ?
<Ankhers> Rovanion: I like using https://nixos.org/nixos/packages.html. It excludes non-free packages though.
fendor has quit [(Ping timeout: 240 seconds)]
<Ankhers> And I just noticed you already used that :(
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] deepfire opened pull request #31979: buildkite-agent: secrecy improvements: non-store, non-Nix provisioning of secrets (release-17.09...buildkite-secrecy) https://git.io/vFxC8
NixOS_GitHub has left #nixos []
darlan has joined #nixos
<Rovanion> Ankhers: Well I'm not sure but the results there don't always match the reality of what's available on my machine it seems.
darlan has quit [(Client Quit)]
lambdamu has joined #nixos
<samueldr> neonfuz: the package page already is searching for the word "globbed"
<dan_b_> I quite often end up using github search on https://github.com/NixOS/nixpkgs/
<samueldr> anything unfree isn't listed
jb55 has joined #nixos
seanparsons has quit [(Ping timeout: 246 seconds)]
<Rovanion> error: selector ‘rxvt_unicode’ matches no derivations
<samueldr> I'm working on a remake of the searcher that allows selecting unfree
<samueldr> Rovanion: try nix-env -iA nixos.rxvt_unicode
<neonfuz> samueldr: uhh, nix-env -qa | grep rxvt works
<neonfuz> not exactly what you want
<Ankhers> nix-env -qa .*rxvt.*
<neonfuz> or that
<Ankhers> man pages for the win!
<neonfuz> well '.*rxvt.*'
<neonfuz> you need to escape the *
<Ankhers> It worked for me without the quotes.
<neonfuz> odd
<dan_b_> nix-env -qaP | grep rxvt # more rxvt than you can shake a stick it
<dan_b_> *at
<Rovanion> This is strange. rxvt_unicode was a package name when installing, but not when searching through nix-env -qa rxvt_unicode.
seanparsons has joined #nixos
<samueldr> I need to fact check one thing
<samueldr> but with nix, there is a package name, and an attribute
fendor has joined #nixos
<Ankhers> When you search, it searches the packages name, and it outputs the attribute name I believe.
<samueldr> yes, that's what I was verifying
<samueldr> this split can be confusing, especially when used to other package managers
<Rovanion> In my .nix files where I specify systempackages, do I specify attributes or package namesŋ
<Rovanion> ?
miko__ has joined #nixos
<samueldr> nix-env -i 'something' will install by searching for the name
<samueldr> nix-env -iA will install using the attribute
<samueldr> attribute names
<hedning[m]> Ankhers: You need to supply `--attr-path` or `-P` to get `-qa` to output the attribute name
<hedning[m]> else it will only print the regular name
<Ankhers> Then I misunderstood something when someone else told me how it worked. Thanks!
<hedning[m]> np :)
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] peterromfeldhk opened pull request #31980: fastlane: 2.63.0 -> 2.66.2 (master...fastlane) https://git.io/vFx8c
NixOS_GitHub has left #nixos []
fendor has quit [(Ping timeout: 240 seconds)]
tgunb has joined #nixos
orbekk has joined #nixos
jb55 has quit [(Ping timeout: 248 seconds)]
dan_b_ has quit [(Ping timeout: 255 seconds)]
<Rovanion> Hmm, I've installed terminus_font but it doesn't show up in xfontsel. Is it possible to see which files are added by a package?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] pbogdan opened pull request #31981: wordpress: 4.8.3 -> 4.9 (master...update-wordpress) https://git.io/vFx4K
NixOS_GitHub has left #nixos []
<MichaelRaskin> nienfuz: well, for a centrally-built kernel in binary cache a maximalist config makes sense; if you already change the options, you can override the entire config.
CodeWarrior has joined #nixos
Sonarpulse has joined #nixos
civodul has quit [(Quit: ERC (IRC client for Emacs 25.3.1))]
<fearlessKim[m]> is is possible to pass a custom .config file for the kernel build ?
asuryawanshi has joined #nixos
asuryawanshi has quit [(Remote host closed the connection)]
asuryawanshi has joined #nixos
justan0theruser has quit [(Ping timeout: 255 seconds)]
pie_ has quit [(Ping timeout: 240 seconds)]
taaperotassu has quit [(Quit: WeeChat 1.9.1)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] adisbladis reopened pull request #31176: pythonPackages: Add version and pname attributes to packages (master...pythonPackages-versionattr) https://git.io/vFnep
NixOS_GitHub has left #nixos []
<joko> Some of my configuration files are looking on a path that my Hydra server does not have and I am getting errors like "getting status of '/opt': No such file or directory". Is it possible to bypass this error?
orivej has joined #nixos
justan0theruser has joined #nixos
tgunb has quit [(Ping timeout: 248 seconds)]
jb55 has joined #nixos
Sonarpulse has quit [(Ping timeout: 252 seconds)]
ertes-w has quit [(Ping timeout: 240 seconds)]
<joko> I've tried with builtins.tryEval, but still no chance
MP2E has joined #nixos
deepfire has quit [(Ping timeout: 248 seconds)]
aminechikhaoui has quit [(Ping timeout: 260 seconds)]
aminechikhaoui has joined #nixos
ThatDocsLady_ has quit [(Remote host closed the connection)]
ThatDocsLady_ has joined #nixos
<sphalerite> don't think so, besides avoiding that evaluation
<sphalerite> one of my servers seems to be rebooting itself at fairly random intervals. The journal doesn't say anything, so I don't really have any clue what's going on. Does anyone know a way I can find out what's going on without being physically present during one of the shutdowns?
fikovnik has joined #nixos
<sphalerite> joko: you could guard the access of /opt with an if builtins.pathExists. Not beautiful but it should work.
<neonfuz> I can't seem to get parallel building working for my kernel
<neonfuz> what do I all need to do, set nix.buildCores, and then set enableParallelBuilding=true; on the package?
deepfire has joined #nixos
Sigma has quit [(Remote host closed the connection)]
<sphalerite> neonfuz: it should already have parallel building enabled — see nix-instantiate --eval '<nixpkgs>' -A linuxPackages.kernel.enableParallelBuilding
periklis has quit [(Ping timeout: 248 seconds)]
drever has quit [(Ping timeout: 250 seconds)]
bennofs has joined #nixos
Sigma has joined #nixos
fikovnik has quit [(Remote host closed the connection)]
<neonfuz> hm well odd, it doesn't seem to want to use all 4 cores
<neonfuz> or at least it only pushes my computer up to about 30% cpu despite me specifying the number of buildCores as the number of logical cores on my system
<neonfuz> which doesn't seem right
ma27 has joined #nixos
sigmundv has quit [(Ping timeout: 255 seconds)]
mizu_no_oto has joined #nixos
mizu_no_oto has quit [(Client Quit)]
rcshm has joined #nixos
ixxie has joined #nixos
rcshm has quit [(Client Quit)]
numerobis has joined #nixos
numerobis has left #nixos ["WeeChat 1.9.1"]
erictapen has joined #nixos
<ixxie> yo cstrahan - I see you cleaned up my mess ^^ thanks!
ertes has joined #nixos
<tilpner> Mic92 - The "Details" section is expandable, by clicking at it: https://github.com/NixOS/nixpkgs/pull/31150#issuecomment-346643520
<Mic92> tilpner: ok, after I did not work on the first click for me.
<ixxie> cstrahan: I would like to try and go for the NixOS module now; if you could point me in the right direction I will try and get started
spearman has joined #nixos
<spearman> does anyone know how to install new fonts to nixos for use in .Xresources ?
<spearman> normally i can put them in $HOME/.fonts/ but this doesn't seem to work
<spearman> specifically i want to set the font with `urxvt*font: xft: IBM 3270 Narrow Medium-14` but i get some default font
<Mic92> how are linker flags passed on darwin usually? https://github.com/NixOS/nixpkgs/pull/31150#issuecomment-346643520
<ixxie> spearman: I think theres a whole font infrastructure https://nixos.org/nixos/options.html#fonts.
<ixxie> but I am not sure how this relates to your issue
<spearman> ty, i was just looking at that now
<FRidh> How much space is required to build gcc64? I increased my /run/user/1000 to 2 GB and it still fails to build
johnw has joined #nixos
justan0theruser has quit [(Ping timeout: 264 seconds)]
pie_ has joined #nixos
sigmundv has joined #nixos
FRidh has quit [(Remote host closed the connection)]
spearman has quit [(Remote host closed the connection)]
<hyper_ch> hmmmm, is ruffus a python program/package/lib?
davidak has quit [(Ping timeout: 260 seconds)]
vcunat has joined #nixos
Neo-- has quit [(Ping timeout: 240 seconds)]
FRidh has joined #nixos
<ixxie> hyper_ch: google is your friend: https://pypi.python.org/pypi/ruffus
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixpkgs-17.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/5cf0f372b7 (from 5 hours ago, history: https://channels.nix.gsc.io/nixpkgs-17.09-darwin)
nix-gsc-io`bot has quit [(Client Quit)]
reinzelmann has joined #nixos
davidak has joined #nixos
erictapen has quit [(Ping timeout: 248 seconds)]
justan0theruser has joined #nixos
<hyper_ch> ixxie: google hates me.... hmm, no packages for nixos :(
rtjure has quit [(Ping timeout: 248 seconds)]
<hyper_ch> so, to packages no provided for ocrmypdf... hmmm
<ixxie> anybody know of a nice beginners guide to making nixos moduiles?
<hyper_ch> ixxie: for what?
<hyper_ch> ixxie: what do you want to package?
justan0theruser has quit [(Ping timeout: 240 seconds)]
<sphalerite> neonfuz: does passing --cores on the command line work?
<sphalerite> ?
orivej has quit [(Ping timeout: 248 seconds)]
<ixxie> sphalerite: right xD I was hoping for some alternative material to complement this too
<ixxie> hyper_ch: well I was working on the jupyterhub package, now with cstrahan's help its ready to be merged I think, and I was thinking to make a nixos module for it
spearman has joined #nixos
<sphalerite> ixxie: ah, in that case idk sorry
<spearman> how do you append to an option that is a list of strings?
argc_ has joined #nixos
justan0theruser has joined #nixos
katyucha has joined #nixos
<spearman> i have added a local package to system packages with (import /home/spearman/nix/local/ibm3270font), now i want to add the "path" to font.extraFonts
<spearman> like fonts.extraFonts = [ "/home/spearman/nix/local/ibm3270font" ]; ?
<hyper_ch> ixxie: I just have that link but never tried https://nixos.org/nixos/manual/index.html#sec-writing-modules
<hyper_ch> sphalerite: how good are you with python packaging? :)
asuryawanshi has quit [(Ping timeout: 260 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #31960: inconsolata: 1.010 -> inherit google-fonts (master...fonts/inconsolata) https://git.io/vFAB0
NixOS_GitHub has left #nixos []
<hyper_ch> python is weird... if I copy this expression https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/development/python-modules/reportlab/default.nix and put it into a local .nix file and call that package in the configuration.nix - then it complains about being called without required arguement
<neonfuz> sphalerite: not really sure what I did, but it seems to be using all my cores now lol
<neonfuz> sweet
<spearman> actually the current value of fonts.extraFonts contains store paths, how do i add the store path for my imported derivation?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #31980: fastlane: 2.63.0 -> 2.66.2 (master...fastlane) https://git.io/vFx8c
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #31967: ricty: init at 4.1.0 (master...fonts/ricty) https://git.io/vFA5O
NixOS_GitHub has left #nixos []
<Isorkin> How to configure zsh plugin - antigen - http://pastebin.ru/Y6RmN6fx - not normal work config. Error - -antigen-cache-generate:zcompile:54: can't write zwc file: /nix/store/...-antigen-2.2.1/share/antigen/antigen.zsh.zwc
<spearman> ah i can just put in the path to the derivation without quotes it seems that resolves to the `out`put
<spearman> well it's showing in fc-list so that's a good sign :)
FRidh has quit [(Remote host closed the connection)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] andir opened pull request #31986: ipset: 6.27 -> 6.34 (master...ipset) https://git.io/vFxKV
NixOS_GitHub has left #nixos []
spearman has quit [(Remote host closed the connection)]
bkchr has quit [(Quit: Konversation terminated!)]
bennofs has quit [(Quit: WeeChat 1.9.1)]
orbekk has quit [(Quit: WeeChat 1.9.1)]
orbekk has joined #nixos
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
ixxie has quit [(Quit: Lost terminal)]
orbekk has quit [(Ping timeout: 240 seconds)]
orbekk has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] jtojnar opened pull request #31987: stdenv: Move devhelp books to outputDevdoc (staging...devhelp-devdoc) https://git.io/vFx6L
NixOS_GitHub has left #nixos []
<sphalerite> neonfuz: my best guess is that you didn't switch the system config, which resulted in the build-cores option not applying
<sphalerite> hyper_ch: try using pythonPackages.callPackage instead of the plain callPackage
erictapen has quit [(Remote host closed the connection)]
<sphalerite> hyper_ch: you may need to specify python[23]Packages if it's only compatible with one of the two which isn't the default
erictapen has joined #nixos
<hyper_ch> sphalerite: ok, I can try that
<hyper_ch> where to specify python2/3 packages?
<hyper_ch> sphalerite: ok, that was easy, except it build for 27 instead of 36
rosa has joined #nixos
<sphalerite> use python3Packages instead of pythonPackages
<rosa> Will it ever be possible to patch hardcoded paths without recompiling
<rosa> or at least redirect them
<hyper_ch> sphalerite: ha, will try
<rosa> like what cde does
rosa has quit [(Client Quit)]
<sphalerite> rosa: it already is possible. But YMMV on the results. I also don't know how to use the functionality or what it's called
rosa has joined #nixos
erictapen has quit [(Ping timeout: 248 seconds)]
gsmith has quit [(Remote host closed the connection)]
thblt has joined #nixos
<sphalerite> rosa: the patching part is what I meant in my previous message. As for bundling a package with its dependencies for portable use, there's nix-bundle https://github.com/matthewbauer/nix-bundle
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Baughn opened pull request #31988: povray: Add X11/SDL preview support (master...povray) https://git.io/vFxiG
NixOS_GitHub has left #nixos []
<sphalerite> Anybody know if linux's netconsole will also log kernel panics?
<sphalerite> clever: you seem most likely to know ^
vcunat1 has joined #nixos
vcunat has quit [(Ping timeout: 240 seconds)]
vcunat1 has quit [(Client Quit)]
vcunat has joined #nixos
<rosa> I meant as in patching hardcoded paths directly, like for example /usr/share/zle/zle.so
dan_b_ has joined #nixos
<rosa> without recompiling zsh
<clever> sphalerite: hmmm, not sure abotu that one
<MP2E> patchelf does that, that's how we package programs that don't have source code available, generally speaking. There are exceptions, like Steam, which doesn't play nice unless we create a chroot for it
<sphalerite> well I guess I'll find out :D
<rosa> how would i do so
<clever> [3634187.500929] sysrq: SysRq : HELP : loglevel(0-9) reboot(b) crash(c) terminate-all-tasks(e) memory-full-oom-kill(f) kill-all-tasks(i) thaw-filesystems(j) sak(k) show-backtrace-all-active-cpus(l) show-memory-usage(m) nice-all-RT-tasks(n) poweroff(o) show-registers(p) show-all-timers(q) unraw(r) sync(s) show-task-states(t) unmount(u) force-fb(V) show-blocked-tasks(w) dump-ftrace-buffer(z)
<clever> sphalerite: if you write a 'c' to /proc/sysrq-trigger it should immediately crash, without even a flush to disk
<sphalerite> clever: oh yeah good point, I could try that while I'm still here so I don't have to wait for another crash :D
<rosa> also apparently i have more work to do with the dynamic loader as it does not seem to want to execute its main()
<sphalerite> clever: yep it does, thanks for the suggestion!
<MP2E> rosa: by writing a nix expression for that program, here's one we use for discord as an example https://github.com/NixOS/nixpkgs/blob/master/pkgs/applications/networking/instant-messengers/discord/default.nix#L33
<rosa> wich i need it to so it will cd to itself to load its cache
adc has left #nixos ["WeeChat 1.9.1"]
<clever> sphalerite: netconsole can show the panic?, i should rig that up between all my machines
rosa has quit [(Quit: rosa)]
<sphalerite> clever: yep, it did
<MP2E> main relevant part is L33, later on we do wrap the program to explicitly add some libraries to the LD_LIBRARY_PATH, because discord loads some shared objects at runtime, but generally speaking patchelf should work without that
<clever> sphalerite: nice
rosa has joined #nixos
thblt has quit [(Ping timeout: 260 seconds)]
rosa has quit [(Client Quit)]
<clever> sphalerite: nice
srdqty has joined #nixos
<clever> hmmm, but can it work at all over wifi ...
<clever> i suspect it might...
<sphalerite> lol
rosa has joined #nixos
<sphalerite> Hm, does it automatically reboot after a certain time? I thought it did, after 30 seconds, but it hasn't done so yet
<hyper_ch> ok, this is more difficult to build :(
<clever> sphalerite: depends on the kernel param panic=
srdqty has quit [(Client Quit)]
<sphalerite> rosa: there shouldn't be any ld.so.cache involved when running software with nix
goibhniu1 has joined #nixos
suneej has joined #nixos
<rosa> I know
goibhniu has quit [(Ping timeout: 264 seconds)]
<suneej> hi everyone new to nixos
<suneej> need help with gtk3 development
<suneej> when i run pkg-config --libs --cflags gtk+-3.0
<sphalerite> well, the absence of a reboot suggests that the other reboots were not caused by a kernel panic…
<suneej> i get the following:
<sphalerite> suneej: https://nixos.wiki/wiki/FAQ#I_installed_a_library_but_my_compiler_is_not_finding_it._Why.3F are you aware of this yet?
<suneej> no i'm not let me check that quick
<suneej> thanks
<suneej> thats what I was looking for thanks @sphalerite
olto has quit [(Quit: hasta luego)]
<sphalerite> yay, prescient issue diagnosis! xD
<suneej> :-P
reinzelmann has quit [(Quit: Leaving)]
suneej has quit [(Read error: Connection reset by peer)]
civodul has joined #nixos
MP2E has quit [(Remote host closed the connection)]
ilyaigpetrov has quit [(Quit: Connection closed for inactivity)]
taktoa has quit [(Remote host closed the connection)]
rosa has quit [(Quit: rosa)]
rosa has joined #nixos
rosa has quit [(Client Quit)]
rosa has joined #nixos
rosa has quit [(Read error: Connection reset by peer)]
davidak has quit [(Quit: Leaving.)]
bfrog has joined #nixos
rihards has joined #nixos
rihards has quit [(Client Quit)]
rihards has joined #nixos
acarrico has quit [(Ping timeout: 268 seconds)]
markus1189 has quit [(Ping timeout: 240 seconds)]
Ralith_ has quit [(Remote host closed the connection)]
markus1189 has joined #nixos
rosa has joined #nixos
rosa has quit [(Client Quit)]
bfrog has quit [(Ping timeout: 264 seconds)]
rosa has joined #nixos
ma27 has quit [(Ping timeout: 246 seconds)]
markus1189 has quit [(Ping timeout: 248 seconds)]
Isorkin has quit [(Ping timeout: 268 seconds)]
rosa has quit [(Quit: rosa)]
rosa has joined #nixos
rosa has quit [(Client Quit)]
rosa has joined #nixos
markus1189 has joined #nixos
<rosa> by the way why does patchelf (when used on a non nixos distro) produce a "truncated file" that is incompatible with ldconfig yet loads fine
sigmundv has quit [(Ping timeout: 268 seconds)]
<rosa> and how does nixos avoid using ld*
<rosa> besides manually patching the files source code
markus1189 has quit [(Read error: Connection reset by peer)]
rosa has quit [(Quit: rosa)]
rosa has joined #nixos
ris has joined #nixos
jb55 has quit [(Ping timeout: 260 seconds)]
markus1189 has joined #nixos
ma27 has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] joachifm pushed 2 new commits to master: https://git.io/vFxyt
<NixOS_GitHub> nixpkgs/master e0b9563 Andreas Rammhold: texstudio: 2.12.4 -> 2.12.6...
<NixOS_GitHub> nixpkgs/master 9c048f4 Joachim F: Merge pull request #31984 from andir/texstudio...
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] bjornfor opened pull request #31990: nixos/syncthing: change group from nogroup to syncthing (master...nixos-syncthing-group) https://git.io/vFxyq
NixOS_GitHub has left #nixos []
<sphalerite> How do I find someone's id in riot for android >.>
isidore has joined #nixos
rosa has quit [(Quit: rosa)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] jtojnar opened pull request #31991: gnome3.gsettings_desktop_schemas: do not rely on gnome-backgrounds (master...eschew-backrounds) https://git.io/vFxyX
NixOS_GitHub has left #nixos []
rihards has quit [(Quit: rihards)]
dan_b_ has quit [(Ping timeout: 248 seconds)]
simukis has quit [(Ping timeout: 260 seconds)]
<schoppenhauer> hi
<schoppenhauer> i have the following shell (default.nix): https://pastebin.com/2QdMq3An but when trying qmake && make on my project, it complains about not finding the Qt libraries, even though the corresponding .la files are in the place where -L/... points to
dan_b has quit [(Ping timeout: 248 seconds)]
<schoppenhauer> which is … strange
hiratara has quit [(Ping timeout: 258 seconds)]
<schoppenhauer> ok, well, there are only .la-files, not .so-files, but that should be right for c++
ssmike has joined #nixos
hiratara has joined #nixos
isidore has quit [(Quit: WeeChat 1.9.1)]
dan_b has joined #nixos
dan_b_ has joined #nixos
<schoppenhauer> it works with qt56.full
miko__ has quit [(Ping timeout: 258 seconds)]
sigmundv has joined #nixos
rosa has joined #nixos
dywedir has quit [(Remote host closed the connection)]
fendor has joined #nixos
<sphalerite> /ignore @freenode_rosa:matrix.org
Baughn has quit [(Quit: ZNC 1.6.2+deb1 - http://znc.in)]
<sphalerite> Oops.
dan_b has quit [(Ping timeout: 240 seconds)]
rosa has quit [(Quit: rosa)]
rosa has joined #nixos
<dhess`> :\
acarrico has joined #nixos
jb55 has joined #nixos
ertes has quit [(Ping timeout: 240 seconds)]
rosa has quit [(Client Quit)]
rosa has joined #nixos
dan_b_ has quit [(Ping timeout: 240 seconds)]
<sphalerite> schoppenhauer: .la files are for static linking IIUC
<sphalerite> schoppenhauer: and libtool is the thing that handles them, so gcc itself may not find it. I'm not sure about the workings of qmake interact, if at all, with libtool
rosa has quit [(Client Quit)]
rosa has joined #nixos
civodul has quit [(Quit: ERC (IRC client for Emacs 25.3.1))]
stef__ has joined #nixos
<schoppenhauer> sphalerite: ok. in qt56.full, there are .so-files.
<schoppenhauer> sphalerite: but not in qt5.full
<schoppenhauer> (which is, afaik, qt 5.9)
rosa has quit [(Client Quit)]
rosa has joined #nixos
<viric> hm I may be dumb...
<sphalerite> Which nixpkgs version are you on? I have .so files in my qt5Full
<viric> but how can I merge 3 files? I have local, remote, and common base.
<stef__> Hi. I am a new nixos user. While I was tweaking the configuration.nix during install, I replace /mnt/etc/nixos to a symbolic link `ln -s /tmp/tmpinstall/nixos-config` where nixos-config was a git manage project where I could version and comment my modification on the nix configuration file. At some moment nixos-install went well, and the installation process succeeded. But now I have a problem.
<viric> is there any diffutil or so that will do that?
<sphalerite> viric: I think if the changes don't conflict and it's a text file you can just produce a patch for each change and apply both the resulting patches to the base file
<stef__> after rebbot my /etc/nixos is still symbolic link to /tmp/tmpinstall
dan_b has joined #nixos
dan_b_ has joined #nixos
<sphalerite> stef__: do you have a copy of the nixos-config repo elsewhere?
<stef__> I can't access the directory as a user, and there are no corresponding /Tmp/tmpinstall directory
<viric> sphalerite: is it? So I have to run multiple commands
<viric> sphalerite: what if I want a 'diff3' thing?
<viric> oh diff3 may be able to emrge
<stef__> sphalerite: yes, I can clone it. but I wonder where my current nix configuration come from ?
<viric> merge
<stef__> I can't find it unde /etc/nixos
* sphalerite didn't even know diff3 existed
<sphalerite> stef__: nixos just builds a system from the configuration files but the configuration files don't need to continue existing for the system to exist. In your case it's just gone
ssmike has quit [(Ping timeout: 258 seconds)]
<sphalerite> stef__: which is why it's a very sensible idea to keep the config in git, as you have done :)
<stef__> sphalerie: ok. so I have to put the proper file into /etc/nixos before I can call nixos-rebuild switch ?
<sphalerite> yes
<pcarrier> is there an obvious reason I couldn't run go binaries on nixos?
<stef__> great
ssmike has joined #nixos
<stef__> My first impression of nixos is: it's great I'm convinced
<sphalerite> it doesn't have to be /etc/nixos, you can put it elsewhere and specify it through NIX_PATH as nixos-config=…, but yeah
<sphalerite> glad to hear it!
<sphalerite> pcarrier: they expect the dynamic loader to be in /lib/… which it isn't in nixos
vcunat has quit [(Ping timeout: 264 seconds)]
<sphalerite> they may work if you use patchelf to change the loader path, or manually invoke the right loader on them. I seem to remember some issues about the former not working though.
<pcarrier> oooh that is gonna be annoying
<viric> damn diff3, it doesn't even report a conflict when there is.
<sphalerite> pcarrier: you can try `$(cat $(nix-build '<nixpkgs>' -A gcc)/nix-support/dynamic-linker) your-go-binary`
<pcarrier> yeah so I have shell scripts calling go binaries and co
<pcarrier> I'm not gonna rewrite all that tooling for my team because I want to use the one Linux distro where Go binaries don't just work :)
<pcarrier> sphalerite: any chance I could write something in my configuration.nix to create a /lib64/ld-linux-x86-64.so.2 and /bin/bash in /run/current-system/activate I guess?
<sphalerite> then patchelf might be a better option. Or a FHS user env. Or (ideally 😉) packaging the go software in question
<sphalerite> FHS user env sounds like a better idea than that
dan_b_ has quit [(Ping timeout: 240 seconds)]
dan_b has quit [(Ping timeout: 255 seconds)]
jtojnar has quit [(Remote host closed the connection)]
rosa has quit [(Ping timeout: 240 seconds)]
<pcarrier> again yes ideally I would be using nix for all the things, but right now I have a monorepo setup I spent a lot of time building that automatically install its tools on OSX and Linux and it does expect stuff like /lib64/ld-linux-x86-64.so.2
<pcarrier> and I really don't feel like rewriting everything to start using NixOS
thblt has joined #nixos
rosa has joined #nixos
jtojnar has joined #nixos
<sphalerite> Yeah, FHS env sounds like the right thing fro you.
<pcarrier> not really, unless I pull direnv, python, etc. into an FHS env
<pcarrier> we currently use direnv and let a bunch of stuff just appear in PATH
<sphalerite> Why not?
<pcarrier> I don't want to maintain a list of wrappers to be created in the FHS env
pie_ has quit [(Remote host closed the connection)]
<sphalerite> that is, why not pull direnv and python etc into the env
<pcarrier> how would I enter/leave the env in my shell?
<sphalerite> nix-shell. See the docs I linked, https://nixos.org/nixpkgs/manual/#sec-fhs-environments
pie_ has joined #nixos
<pcarrier> > simply change runScript to the application path, e.g. ./bin/start.sh -- relative paths are supported.
<pcarrier> there isn't an "application path".
<pcarrier> I want the gradle files that call my shell script to work in my IDE for example
<sphalerite> in that case just use bash
<sphalerite> and run the IDE from that shell
<pcarrier> which uses dotfiles from my homedir
rosa has quit [(Client Quit)]
<sphalerite> an FHS env won't disappear your homedir :)
rosa has joined #nixos
dan_b has joined #nixos
dan_b_ has joined #nixos
ssmike has quit [(Ping timeout: 255 seconds)]
jtojnar has quit [(Remote host closed the connection)]
MrCoffee has joined #nixos
jtojnar has joined #nixos
Baughn has joined #nixos
ma27 has quit [(Ping timeout: 258 seconds)]
<schoppenhauer> sphalerite: how can I find out which nixpkgs version I have? (but I think it should be stable)
<schoppenhauer> https://nixos.org/channels/nixpkgs-unstable says nix-channel --list
<schoppenhauer> ok, so I am on unstable
<pcarrier> what is this `/etc/per-user-pkgs/`? :)
<sphalerite> schoppenhauer: right, idk in that case. I'm on 17.09, maybe it was broken somewhere in between
<schoppenhauer> ok
<sphalerite> I'd check nixpkgs issues to see if it's already there
thblt has quit [(Ping timeout: 248 seconds)]
<sphalerite> If not, file an issue. Maybe bisect, if you have the time
<schoppenhauer> bisect?
<aminechikhaoui> anyone noticing issues with realtime logs in hydra ?
jb55 has quit [(Ping timeout: 240 seconds)]
<aminechikhaoui> seems it only shows the download from binary cache steps
<aminechikhaoui> but not the actual build logs
<schoppenhauer> ah, git bisect
<schoppenhauer> ok
rosa has quit [(Quit: rosa)]
<aminechikhaoui> I see this in both hydra.nixos.org and a private hydra deployment
<schoppenhauer> ok, maybe tomorrow. good night and thank you sphalerite
<pcarrier> I'd love to maintain my user env as a nix expression as well
<pcarrier> instead of using nix-env ops to introduce side effects
rosa has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] mickours closed pull request #31963: simgrid: 3.13 -> 3.17 clean and add options (master...update-simgrid) https://git.io/vFAVz
NixOS_GitHub has left #nixos []
rosa has quit [(Quit: rosa)]
Wizek_ has quit [(Ping timeout: 240 seconds)]
rosa has joined #nixos
<sphalerite> pcarrier: that's perfectly possible. I do that using a nix expression and nix-env with the -r flag, many others use home-manager which brings nixos-like modules to the user enc
<sphalerite> Env
acarrico has quit [(Ping timeout: 260 seconds)]
jtojnar has quit [(Remote host closed the connection)]
Mateon3 has joined #nixos
mekeor has joined #nixos
jtojnar has joined #nixos
stef__ has quit [(Quit: Page closed)]
Mateon1 has quit [(Ping timeout: 240 seconds)]
Mateon3 is now known as Mateon1
<jeaye> pcarrier: I keep my user homes in /etc/user/ and use environment.etc to manage them.
argc_ has quit [(Quit: Leaving)]
<jeaye> Nobody says ~ needs to be in /home/. This is NixOS, all previous assumptions are already thrown out the window. :P
rosa has quit [(Quit: rosa)]
rosa has joined #nixos
jtojnar has quit [(Remote host closed the connection)]
jtojnar has joined #nixos
rosa has quit [(Client Quit)]
rosa has joined #nixos
<pcarrier> hmmm. what's the clean way to relocate /etc/nixos/configuration and keep my user env declaration alongside it in a repo?
<clever> [clever@amd-nixos:~]$ echo $NIXPKGS_CONFIG
<clever> /etc/nix/nixpkgs-config.nix
<clever> pcarrier: if this file exists, nixpkgs will ignore the config.nix in $HOME
jtojnar has quit [(Remote host closed the connection)]
<clever> pcarrier: and you can change that variable with nixos config
jtojnar has joined #nixos
rosa has quit [(Client Quit)]
rosa has joined #nixos
erictapen has joined #nixos
phreedom has quit [(Quit: No Ping reply in 180 seconds.)]
phreedom has joined #nixos
kini has quit [(Ping timeout: 260 seconds)]
jtojnar has quit [(Remote host closed the connection)]
jtojnar has joined #nixos
kini has joined #nixos
<pcarrier> hmmm I'm pretty keen on keeping those things in /home/repos
<pcarrier> can I tell nixos-rebuild to read configuration.nix from there through configuration.nix?
erictapen has quit [(Ping timeout: 248 seconds)]
rosa has quit [(Quit: rosa)]
rosa has joined #nixos
<pcarrier> it's quite hard to get started :D
<clever> pcarrier: nixos will just use <nixos-config> from your $NIX_PATH to find configuration.nix
<pcarrier> it's obviously a super flexible system but "standard practices" to hold onto would help me a lot.
<clever> pcarrier: so nix.nixPath can be used to change its location
<clever> but you will need to use -I nixos-config=path the first time, to make it find the config that contains the config path
rosa has quit [(Client Quit)]
Cypi has joined #nixos
<Cypi> Hi. I am trying to install Tkinter for Python3. I have the packages `python36` and `python36Packages.tkinter` in my configuration.nix, and yet when I try to `import tkinter`, I get `ModuleNotFoundError: No module named '_tkinter'`.
<Cypi> Would anyone have any idea?
mekeor has quit [(Ping timeout: 255 seconds)]
<clever> Cypi: you need to use pythonWithPackages
<pcarrier> clever: how would I see the current value of nix.nixpaths for my config?
<clever> pcarrier: the nixos-option command
aristid has quit [(Ping timeout: 258 seconds)]
<pcarrier> exit -1 on nixos-options nix.nixpkgs
aristid has joined #nixos
<clever> pcarrier: nixpath
<pcarrier> or nix.nixPath
<pcarrier> or nixpath.
<clever> [root@amd-nixos:~]# nixos-option nix.nixPath
<clever> Value:
<clever> [ "nixpkgs=/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs" "nixos-config=/etc/nixos/configuration.nix" "/nix/var/nix/profiles/per-user/root/channels" ]
<clever> Cypi: something like this: nix-shell -p 'python3.withPackages (ps: with ps; [jupyter beautifulsoup4])'
<pcarrier> so I don't want to override that, if it's user-specific?
<clever> pcarrier: nix.nixPath is system wide
<pcarrier> also, kinda worried it doesn't work here.
<Cypi> Can't I just put something in the global configuration.nix so that I can just get Tkinter when I run `python3` from any shell?
<clever> pcarrier: you may need to logout and log back in for it to take effect
<clever> Cypi: you could put something like (python3.withPackages (ps: with ps; [jupyter beautifulsoup4])) into systemPackages
<clever> Cypi: that will create a python that can use those 2 packages