gchristensen changed the topic of #nixos to: NixOS 18.03 and Nix 2.0 are released! || Share the output of nix-shell -p nix-info --run nix-info to help us help you. || https://nixos.org || Latest NixOS: https://nixos.org/nixos/download.html || Latest Nix: https://nixos.org/nix/download.html || Logs: https://logs.nix.samueldr.com/nixos/ || #nixos-dev, #nix-darwin, #nixos-aarch64, #nixos-chat
<infinisil> #41905
<{^_^}> https://github.com/NixOS/nixpkgs/issues/41905 (by Infinisil, open): I just spent hours bisecting to find a single commit making mpv unable to play anything, only for it to suddenly start working
boomshroom has joined #nixos
<infinisil> Mic92: ^ Hmm.. I did rebuild my system a couple times throughout this, but no driver update, just some small changes
<boomshroom> Hello! Mind if I ask what ports are allowed through the firewall by default? I specifically want to try Steam in-home streaming, but I noticed several other ports than Steam uses and I'm not sure which should be opened.
<infinisil> > nixos.options.networking.firewall.allowedTCPPorts.default
<{^_^}> [ ]
<infinisil> boomshroom: ^^
<Mic92> infinisil: strace would be helpful next time it hangs
<infinisil> Mic92: True.. Damn it
<boomshroom> infinisil: I'm guessing it only blocks incoming requests?
<infinisil> Yes that's what firewalls do, blocking outcoming traffic doesn't make much sense
<infinisil> I think
<Mic92> Sometimes it does make sense
<Mic92> like port 25
<infinisil> So you can't send emails?
<Mic92> to not become a spam bot. port 587 should be used for client traffic.
<Mic92> many university networks block port 25 by default
<adelbertc> how do i get the store path of a particular output in the case of multiple outputs?
<adelbertc> on macOS it seems openssl has multiple outputs but when interpolated it just gives me the `bin`
<adelbertc> i am looking for the one that includes the libraries and stuff
<infinisil> > openssl.dev
<{^_^}> "«derivation /nix/store/p3rbgd4q7aw7gb2v16nn3mpzcv8xs34f-openssl-1.0.2o.drv»"
<adelbertc> aha.
<Mic92> > "${openssl.dev}"
<{^_^}> "/nix/store/vp2imwdhvqfi2l2d39zqhqz7y56aw2kl-openssl-1.0.2o-dev"
<adelbertc> there we go!
<adelbertc> thank you!
<infinisil> > openssl.dev.outPath # <- Which is the same as this
<{^_^}> "/nix/store/vp2imwdhvqfi2l2d39zqhqz7y56aw2kl-openssl-1.0.2o-dev"
<boomshroom> `warning: Nix search path entry '$HOME/.nix-defexpr/channels' does not exist, ignoring` How can I silence that for `sudo nixos-rebuild switch`?
<Mic92> where was the code for the irc bot?
<Mic92> {^_^}: who is your creator?
<infinisil> ,whomademe Mic92
<{^_^}> Mic92: The PR linking on #<number>, the "," prefix commands and the "> " nix eval have been implemented by infinisil, my source code can be found at https://github.com/infinisil/nixbot, the other functions of me have been implemented by other people
<infinisil> I haven't updated it in a while, mainly due to thinking about using hnix for it, which would make it much nicer, but there's some problems with it
thetet has joined #nixos
<gchristensen> Mic92: the connection handlin parts parts are at https://github.com/NixOS/ofborg/tree/released/ircbot
unlmtd has joined #nixos
M-dpetranek has joined #nixos
cornu[m] has joined #nixos
amiloradovsky[m] has joined #nixos
happyente[m] has joined #nixos
tehnix[m] has joined #nixos
atopuzov[m] has joined #nixos
mirlur[m] has joined #nixos
Olinkl[m] has joined #nixos
ProofTechnique[m has joined #nixos
ConorCurry[m] has joined #nixos
kitten[m] has joined #nixos
bennofs[m] has joined #nixos
mtncoder[m] has joined #nixos
GuillaumeBuisson has joined #nixos
rnhmjoj[m] has joined #nixos
AlanPearce[m] has joined #nixos
SamuelEvans-Powe has joined #nixos
hw9891[m] has joined #nixos
leons1 has joined #nixos
pauricthelodger[ has joined #nixos
telent[m] has joined #nixos
fgaz[m] has joined #nixos
demyan[m] has joined #nixos
indefini has joined #nixos
WilliamHamilton has joined #nixos
moredhel has joined #nixos
tfc[m] has joined #nixos
YegorTimoshenko[ has joined #nixos
aspiwack[m] has joined #nixos
puffnfresh has joined #nixos
lycium[m] has joined #nixos
bachp has joined #nixos
primeos[m] has joined #nixos
davidar has joined #nixos
willghatch[m] has joined #nixos
BurNiinTRee[m] has joined #nixos
hendrik[m]1 has joined #nixos
mith[m] has joined #nixos
rihardsk[m] has joined #nixos
Naughtmare[m] has joined #nixos
timclassic has joined #nixos
adisbladis[m] has joined #nixos
wzy8L-B2[m] has joined #nixos
aniketd[m] has joined #nixos
wervenyt[m] has joined #nixos
wak-work has joined #nixos
ArdaXi1 has joined #nixos
Kallegro[m] has joined #nixos
nmikhailov[m] has joined #nixos
nh2[m] has joined #nixos
bdimcheff has joined #nixos
peel[m] has joined #nixos
xnaveira[m] has joined #nixos
rycee has joined #nixos
sudoreboot[m] has joined #nixos
ipj[m] has joined #nixos
octalsrc[m] has joined #nixos
desttinghim[m] has joined #nixos
timokau[m] has joined #nixos
das-g[m] has joined #nixos
mudri[m] has joined #nixos
thra11[m] has joined #nixos
tet[m] has joined #nixos
sorbet has joined #nixos
jerengie[m] has joined #nixos
JasonGrossman has quit [Ping timeout: 245 seconds]
olejorgenb[m] has joined #nixos
jesper has joined #nixos
bitmapper[m] has joined #nixos
hl has joined #nixos
bobvanderlinden_ has joined #nixos
wilornel has joined #nixos
Bugworm[m] has joined #nixos
copumpkin has joined #nixos
ayyjayess[m] has joined #nixos
vorot93[m] has joined #nixos
davidak[m] has joined #nixos
thefloweringash[ has joined #nixos
zaphar_ps[m] has joined #nixos
jgl[m] has joined #nixos
CoopDot has joined #nixos
colmeka[m] has joined #nixos
omawnakw[m] has joined #nixos
M-manveru has joined #nixos
YuFanLovezYou[m] has joined #nixos
reactormonk[m] has joined #nixos
semyon[m] has joined #nixos
Orbstheorem[m] has joined #nixos
aiyubkhan[m] has joined #nixos
chatnowvvv[m] has joined #nixos
have-quick[m] has joined #nixos
darkestmeson has joined #nixos
bluewolfy[m] has joined #nixos
florianjacob has joined #nixos
herzmeister[m] has joined #nixos
magnap has joined #nixos
spacekitteh[m] has joined #nixos
htafdwes[m] has joined #nixos
joh[m] has joined #nixos
tamwile[m] has joined #nixos
rszibele[m] has joined #nixos
TimePath has joined #nixos
sargon[m] has joined #nixos
abbafei[m] has joined #nixos
fearlessKim[m] has joined #nixos
edef[m] has joined #nixos
necronian has joined #nixos
yochai[m] has joined #nixos
nmikhailov[m]1 has joined #nixos
Wysteriary[m] has joined #nixos
don_quijote[m] has joined #nixos
M-ms has joined #nixos
nocent has joined #nixos
ngerstle[m] has joined #nixos
uvnikita[m] has joined #nixos
NickHu has joined #nixos
Phil[m]2 has joined #nixos
spawnthink[m] has joined #nixos
offlinehacker[m] has joined #nixos
taohansen has joined #nixos
icetan has joined #nixos
Obscurity[m] has joined #nixos
trikl[m] has joined #nixos
apurvapavaskar[m has joined #nixos
patrl[m] has joined #nixos
nyanloutre[m] has joined #nixos
pstn has joined #nixos
bkchr[m] has joined #nixos
Rick[29SMPittsbu has joined #nixos
Elephant454[m] has joined #nixos
freeman42x has joined #nixos
Dezgeg[m] has joined #nixos
dtz has joined #nixos
oknf[m] has joined #nixos
bhipple[m] has joined #nixos
jameshjacksonjr[ has joined #nixos
goibhniu[m] has joined #nixos
fighterhero[m] has joined #nixos
trubii[m] has joined #nixos
coorey[m] has joined #nixos
codyopel has joined #nixos
tokudan[m] has joined #nixos
AdamSlack[m] has joined #nixos
chominist[m] has joined #nixos
Minijackson[m] has joined #nixos
tosh[m] has joined #nixos
midchildan[m] has joined #nixos
nickdshsadhkas[m has joined #nixos
doubletwin[m] has joined #nixos
Christian[m]4 has joined #nixos
aramiscd[m] has joined #nixos
dkellner[m] has joined #nixos
MaJoe[m] has joined #nixos
M-Dan has joined #nixos
pierrebeaucamp[m has joined #nixos
equalunique[m] has joined #nixos
crystalgamma[m] has joined #nixos
slabity[m] has joined #nixos
Singularity[m] has joined #nixos
illegalprime[m] has joined #nixos
Pneumaticat has joined #nixos
paperdigits[m] has joined #nixos
sqzlh has joined #nixos
Drakonis[m] has joined #nixos
techtangents[m] has joined #nixos
vskilet[m] has joined #nixos
bionicmac[m] has joined #nixos
AntonLatukha[m] has joined #nixos
gh0st[m] has joined #nixos
nelag[m] has joined #nixos
jmorriss[m] has joined #nixos
regnat[m] has joined #nixos
malteof[m] has joined #nixos
jluttine[m] has joined #nixos
petersjt014[m] has joined #nixos
DIzFer[m] has joined #nixos
PeterRomfeld[m] has joined #nixos
asp_ has joined #nixos
Ralith has joined #nixos
sphalerit has joined #nixos
kainospur[m] has joined #nixos
mgttlinger[m] has joined #nixos
moredhel_[m] has joined #nixos
johnazoidberg has joined #nixos
zurk[m] has joined #nixos
hedning[m] has joined #nixos
mcatis[m] has joined #nixos
musicmatze[m] has joined #nixos
bugabinga[m] has joined #nixos
devr[m] has joined #nixos
greska[m] has joined #nixos
EuAndreh[m] has joined #nixos
dywedir[m] has joined #nixos
dash has joined #nixos
bendlas has joined #nixos
felipeac[m] has joined #nixos
Khorne[m] has joined #nixos
darkmeson has joined #nixos
rnkch[m] has joined #nixos
smrtak[m] has joined #nixos
attero has joined #nixos
r3mfKm[m] has joined #nixos
EB[m] has joined #nixos
bbigras-- has joined #nixos
grahamc has joined #nixos
M-fishy has joined #nixos
aaronc[m] has joined #nixos
peterhoeg has joined #nixos
lordfluffywobble has joined #nixos
stekke[m] has joined #nixos
panther420[m] has joined #nixos
danbst[m] has joined #nixos
gudea[m] has joined #nixos
Albtrz[m] has joined #nixos
Hook[m]1 has joined #nixos
zdisk[m] has joined #nixos
Adev[m] has joined #nixos
DenisLehmann[m] has joined #nixos
dadadus[m] has joined #nixos
v0id72[m] has joined #nixos
card[m] has joined #nixos
admin[m]4 has joined #nixos
jack[m] has joined #nixos
russiancow[m] has joined #nixos
ariutta has quit [Quit: Page closed]
<samueldr> Mic92: it's complicated
<{^_^}> Channel nixos-18.03-small advanced to https://github.com/NixOS/nixpkgs/commit/f829a6f0ee2 (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-18.03-small)
<samueldr> ^ this is in a shell script somewhere in gchristensen's configs
<samueldr> the PR and push events are here https://github.com/samueldr/github-to-irc
neof0x has quit [Ping timeout: 260 seconds]
jensens_ has quit [Ping timeout: 260 seconds]
thetet has quit [Ping timeout: 256 seconds]
<Mic92> infinisil: What are the default arguments you pass to nix-instantiate when just using `>`
Lev50 has quit [Quit: This computer has gone to sleep]
<infinisil> A couple of the option ones are probably unnecessary though
<Mic92> thnkas
thc202 has quit [Ping timeout: 256 seconds]
<Mic92> thanks
<boomshroom> Steam link did work, but was very slow and sound wasn't being forwarded correctly.
shah^ has quit []
jperras has joined #nixos
<Mic92> infinisil: do you add import nixpkgs in the evaluation?
silver_ has joined #nixos
<infinisil> Mic92: Not by default, but you can do "> pkgs = import <nixpkgs> {};" and import that scope with "> :l pkgs"
<Mic92> infinisil: why does it find openssl then, if it is not imported?
<infinisil> Mic92: The state is a combination of such assignments and scopes, it gets translated into a let .. in for all assignments and a `with scope;` for all scopes after the let in
<Mic92> > a = 1
<{^_^}> a defined
<Mic92> a
<Mic92> > a
<{^_^}> 1
<Mic92> I see
<{^_^}> [nixpkgs] @matthewbauer merged pull request #41900 → libcxxabi: use cmake as native build input → https://git.io/vhoYc
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vhoww
<infinisil> Mic92: There's #bottest if you wanna spam it
<Mic92> I rather build my own for xmpp
<gchristensen> Mic92: ooh whatre you doing?
<infinisil> I do intend to add more backends for it
silver has quit [Ping timeout: 268 seconds]
blankhart has joined #nixos
palo_ has quit [Quit: ZNC 1.6.5 - http://znc.in]
mahalel_ has joined #nixos
palo has joined #nixos
<Mic92> gchristensen: just a MUC bot we have in our hackerspace https://github.com/astro/tigger
camsbury has quit [Ping timeout: 248 seconds]
<{^_^}> [nixpkgs] @yrashk opened pull request #41907 → powershell: fix the build → https://git.io/vhow7
andreabedini has joined #nixos
ericsagn1 has joined #nixos
<gchristensen> nice!
igo95862 has joined #nixos
acarrico has quit [Ping timeout: 245 seconds]
bbarker has quit [Ping timeout: 264 seconds]
Intensity has quit [Ping timeout: 260 seconds]
acarrico has joined #nixos
keegans has joined #nixos
<keegans> hello! are there any plans to update the azure image located at https://nixos.org/nixos/download.html ?
silver_ has quit [Read error: Connection reset by peer]
woodson_ has joined #nixos
organixpear has joined #nixos
markus1189 has joined #nixos
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
markus1199 has quit [Ping timeout: 240 seconds]
organixpear has quit [Quit: Leaving]
Intensity has joined #nixos
camsbury has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #41818 → kicad-unstable: 2018-03-10 -> 2018-06-12 → https://git.io/vha0G
<{^_^}> [nixpkgs] @xeji pushed 3 commits to master: https://git.io/vhoo0
matthewbauer has quit [Ping timeout: 256 seconds]
thetet has joined #nixos
<Mic92> infinisil: simple enough https://github.com/astro/tigger/pull/13/files
<infinisil> Mic92: Nice :)
<infinisil> Mic92: Why --json though?
<Mic92> infinisil: otherwise the result looked ugly
<infinisil> Unevaluated?
<Mic92> probably
<Mic92> not like the repl though
<keegans> how can i create a vhd of NixOS for Azure?
<Mic92> keegans: I assume this is what the image format of Azure is called?
<infinisil> Mic92: My bot also doesn't show the result directly actually, but instead it passes it through the _show function, which is what makes a derivation show up nicely (and could be used for more)
<infinisil> > :v _show
<{^_^}> _show = x: if lib.isDerivation x then "«derivation ${x.drvPath}»" else x
jperras has quit [Ping timeout: 264 seconds]
<Mic92> I suppose I need this too
<Mic92> keegans: maybe? nixos/maintainers/scripts/azure/create-azure.sh
<keegans> Mic92: vhd is VirtualBox
<Mic92> there is also an upload script next to it.
<keegans> i'll take a look, thanks
<infinisil> Mic92: Oh and you probably won't have error messages like this
jperras has joined #nixos
xcmw has joined #nixos
disasm has joined #nixos
<Mic92> I was too lazy to capture stderr too
thetet has quit [Ping timeout: 256 seconds]
hoshineko has quit [Ping timeout: 260 seconds]
<colemickens> when updating packages, is there a bias to switch to fetchFromGitHub?
spear2 has joined #nixos
<colemickens> or the fetchTarball that's builtin now with a hash?
Mr_Keyser_Soze has joined #nixos
hoshineko has joined #nixos
<colemickens> and then there are mirror:// urls? is there guidance on this stuff/
<samueldr> fetchFromGithub would be advisable only if it was fetchgit AFAIK
<samueldr> this is because a release tarball doesn't necessarily represents a particular commit
tzemanovic has quit []
tzemanovic has joined #nixos
dbmikus__ has quit [Ping timeout: 248 seconds]
<infinisil> Each of those attrs is usable as a mirror
<infinisil> So mirror://sourceforge/...
<infinisil> Will use all those listed sourceforge urls
<infinisil> And the builtins.fetchurl can't do that for example
<infinisil> In nixpkgs I'd advise to continue to use pkgs.fetchurl / pkgs.fetchFromGitHub
Supersonic has quit [Disconnected by services]
Supersonic112 has joined #nixos
andreabedini has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Supersonic112 is now known as Supersonic
olto has quit [Ping timeout: 240 seconds]
olto has joined #nixos
blankhart has quit [Ping timeout: 276 seconds]
blankhart has joined #nixos
andreabedini has joined #nixos
hoshineko has quit [Remote host closed the connection]
mizu_no_oto has joined #nixos
hoshineko has joined #nixos
<gchristensen> nice
blankhart has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @nicknovitski opened pull request #41908 → fix dockertools.pullImage on darwin → https://git.io/vho6m
<shlevy> isHavvy: if we locally set rust = rust_1_26, we take the hit of updating the whole rust ecosystem coherently ourselves
<shlevy> without having to upgrade the entire rest of our system to 18.09-pre
sorixelle has joined #nixos
<gchristensen> can I gently force GRUB to redraw?
<samueldr> c then escape gchristensen, to go to command line and back to menu?
<samueldr> it may not be gentle enough
<samueldr> (and alternatively e, then escape, same effect, but edit instead of command line)
<gchristensen> hmm
Have-Quick has joined #nixos
dbmikus__ has joined #nixos
jperras has quit [Quit: WeeChat 2.1]
sir_guy_carleton has joined #nixos
matthewbauer has joined #nixos
camsbury has quit [Ping timeout: 260 seconds]
<infinisil> A nix-build shouldn't fetch stuff first, then build
<infinisil> Builds could be a lot faster if it started building whatever it can with what is already downloaded
<gchristensen> samueldr: pressing escape is danggerous, because it could get me in to BIOS setup
<samueldr> oh, you can't know whether grub is present or not yet
<samueldr> IIRC there is another key that can be used to go back to the menu
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<gchristensen> doesn't seem it
<samueldr> agh, if it wasn't for the other side-effects, you could use `exit[enter]` instead
<samueldr> I wouldn't get my hopes too high, it's only been a year, and only a "not so bad idea"
Lev50 has joined #nixos
<gchristensen> a "trick" is if you arrow up then down it'll redraw all the options
<samueldr> stateful enough, if you then mash up arrow later to reset
Have-Quick has quit [Quit: Have-Quick]
<samueldr> (which I knew you did in your previous gist)
<samueldr> let's hope they don't add forced wrap-around to the menu
<gchristensen> I'm in "one more test" mode even though I meant to go to bed 20min ago :)
seafood has joined #nixos
sir_guy_carleton has quit [Quit: WeeChat 2.0]
<samueldr> at 8 EST I was supposed to stop with mobile-nixos, just stopped 10 minutes ago 🐱
<samueldr> well, at 20:00 EST, for non-americans ;)
acarrico has quit [Ping timeout: 248 seconds]
Have-Quick has joined #nixos
camsbury has joined #nixos
<{^_^}> [nixpkgs] @matthewbauer pushed to staging « binutils: disable format hardening »: https://git.io/vhoPl
xcmw has joined #nixos
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Mr_Keyser_Soze has quit [Ping timeout: 276 seconds]
camsbury has quit [Remote host closed the connection]
jbboehr has quit [Remote host closed the connection]
<rotaerk> some feedback from an nVidia person about a driver issue impacting NixOS https://github.com/NixOS/nixpkgs/issues/39149#issuecomment-396773057
<{^_^}> [nixpkgs] @matthewbauer pushed commit from @uri-canva to master « bazel: add darwin support »: https://git.io/vhoXc
<rotaerk> I'm not that familiar with this stuff though
steell has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @matthewbauer closed pull request #40990 → bazel: add darwin support → https://git.io/vhU5l
<andreabedini> I am trying to investigate why the package purescript is not building anymore on hydra, the best I could find is "This job is not a member of the latest evaluation of its jobset. This means it was removed or had an evaluation error."
infinisil has quit [Quit: Configuring ZNC, sorry for the joins/quits!]
<andreabedini> but I haven't been able to track down the reason why
infinisil has joined #nixos
mizu_no_oto has quit [Quit: Computer has gone to sleep.]
lassulus_ has joined #nixos
lassulus has quit [Ping timeout: 256 seconds]
lassulus_ is now known as lassulus
Lev50 has quit [Ping timeout: 240 seconds]
Lev50 has joined #nixos
matthewbauer has quit [Ping timeout: 240 seconds]
MP2E has joined #nixos
<{^_^}> [nixpkgs] @aespinosa opened pull request #41909 → nixos/nexus: allow overriding the package → https://git.io/vho1n
dbmikus__ has quit [Quit: WeeChat 2.1]
olto has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @adisbladis pushed to master « go-ethereum: 1.8.10 -> 1.8.11 »: https://git.io/vho18
olto has joined #nixos
schoppenhauer has quit [Ping timeout: 276 seconds]
schoppenhauer has joined #nixos
Mr_Keyser_Soze has joined #nixos
nallar has joined #nixos
Ross has quit [Ping timeout: 276 seconds]
nallar is now known as Ross
_rvl has quit [Quit: ZNC 1.6.5 - http://znc.in]
pacmeister has joined #nixos
_rvl has joined #nixos
freeman42x]NixOS has joined #nixos
inquisitiv3 has joined #nixos
igo95862 has quit [Quit: igo95862]
Mr_Keyser_Soze has quit [Ping timeout: 260 seconds]
Rusty1_ has quit [Quit: Konversation terminated!]
neof0x has joined #nixos
MercurialAlchemi has joined #nixos
d1rewolf has quit [Ping timeout: 260 seconds]
robstr has joined #nixos
Guanin_ has quit [Ping timeout: 248 seconds]
<{^_^}> [nixpkgs] @marsam opened pull request #41910 → remarshal: supports darwin → https://git.io/vhoDP
wchresta has joined #nixos
mahalel_ has quit [Ping timeout: 240 seconds]
mahalel_ has joined #nixos
spear2 has quit [Remote host closed the connection]
spear2 has joined #nixos
Guanin_ has joined #nixos
hotfuzz has quit [Read error: Connection reset by peer]
hotfuzz has joined #nixos
mahalel_ has quit [Ping timeout: 248 seconds]
_rvl has quit [Quit: ZNC 1.6.5 - http://znc.in]
_rvl has joined #nixos
knupfer has joined #nixos
hamishmack has quit [Ping timeout: 245 seconds]
JasonGrossman has joined #nixos
<{^_^}> [nixpkgs] @uri-canva opened pull request #41911 → bazel: fix darwin build → https://git.io/vhoSu
doyougnu has quit [Ping timeout: 276 seconds]
jasongro` has joined #nixos
wchresta has quit [Ping timeout: 240 seconds]
harrymoreno has joined #nixos
spear2 has quit [Remote host closed the connection]
asuryawanshi has joined #nixos
spear2 has joined #nixos
morenoh149 has quit [Ping timeout: 265 seconds]
asuryawanshi has quit [Client Quit]
reinzelmann has joined #nixos
<MarcWeber> Can I ignore failing mounts at stage2 easily by boot configurations?
asuryawanshi has joined #nixos
pacmeister has quit [Ping timeout: 260 seconds]
<etu> OH, the tests for nixos-unstable has passed :D
<etu> About time!
seafood has quit [Quit: seafood]
<JasonGrossman> \o/
<etu> Just waiting for the builds for the channel to move:)
johanot has joined #nixos
<boomshroom> New toys on unstable? Yes please!
hyper_ch2 has joined #nixos
<{^_^}> [nixpkgs] @uri-canva opened pull request #41914 → bintools-wrapper: add support for frameworks → https://git.io/vhoHL
tzemanovic has quit [Remote host closed the connection]
inquisitiv3 has quit [Ping timeout: 245 seconds]
tzemanovic has joined #nixos
bemeurer has joined #nixos
asuryawanshi has quit [Remote host closed the connection]
<bemeurer> Hey, so I'm running nix on macOS, and I can't for the _life_ of me install any unfree packages
asuryawanshi has joined #nixos
<bemeurer> I already added { allowUnfree = true;} to .config/nixpkgs/config.nix
<bemeurer> But if I try `nix-env -iA nixpkgs.jetbrains.clion` it doesn't work
<bemeurer> It just does nothing
hamishmack has joined #nixos
don_quijote[m] has left #nixos ["User left"]
<bemeurer> Here's a verbose output
<bemeurer> I really just can't get it to work, it's really frustrating
jackdk has quit [Remote host closed the connection]
knupfer has quit [Ping timeout: 260 seconds]
<teto1> MarcWeber: you can
testuser_ has joined #nixos
<teto1> MarcWeber: you need options = [ "nofail" ]; in the fileSystems attrset
<teto1> bemeurer: is that the whole output ? looks strange :)
<bemeurer> teto1: Yeah, that's the whole output
<teto1> what an idea to install unfree software too :p
tzemanovic has quit []
seafood has joined #nixos
<bemeurer> I think it's just not available for macOS :(
<etu> It says in the description that it is
<etu> But limited to platforms.linux, that may be because the people who packaged it might not have had access to a macOS box to test it on etc
<bemeurer> etu: How can I help?
<bemeurer> i.e. how can I test it and add it as supported?
Intensity has quit [Ping timeout: 260 seconds]
endformationage has quit [Quit: WeeChat 1.9.1]
<etu> bemeurer: You can start by cloning nixpkgs, change the file and try to build the package in that clone of nixpkgs :)
<etu> bemeurer: And if it works, you can make a PR of it
<bemeurer> etu: Awesome :)
Intensity has joined #nixos
<bemeurer> Also, vscode will build on macOS, but doesn't generate the .app
<bemeurer> I guess another one to fix
<{^_^}> Channel nixos-unstable advanced to https://github.com/NixOS/nixpkgs/commit/4b649a99d84 (from 32 hours ago, history: https://channels.nix.gsc.io/nixos-unstable)
<etu> :O
jasongro` has quit [Ping timeout: 264 seconds]
JasonGrossman has quit [Ping timeout: 264 seconds]
bemeurer has quit [Quit: Page closed]
aanderse_ has joined #nixos
aanderse has quit [Ping timeout: 265 seconds]
freeman42x]NixOS has quit [Ping timeout: 276 seconds]
jtojnar has quit [Read error: Connection reset by peer]
jtojnar has joined #nixos
freeman42x]NixOS has joined #nixos
tzemanovic has joined #nixos
freeman42x]NixOS has quit [Remote host closed the connection]
freeman42x]NixOS has joined #nixos
mkoenig has quit [Ping timeout: 256 seconds]
spear2 has quit [Remote host closed the connection]
spear2 has joined #nixos
mkoenig has joined #nixos
spear2 has quit [Remote host closed the connection]
tertle||eltret has quit [Quit: Connection closed for inactivity]
<{^_^}> [nixpkgs] @Mic92 merged pull request #41904 → nixos/tinc: minor fixes → https://git.io/vhogW
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/vho7b
spear2 has joined #nixos
schjetne has quit [Remote host closed the connection]
schjetne has joined #nixos
schjetne has quit [Remote host closed the connection]
<srhb> etu: inorite
xy2_ has joined #nixos
<adisbladis[m]> \o/
<adisbladis[m]> Parthey
<etu> srhb: huh? :)
srl295 has quit [Quit: Connection closed for inactivity]
* etu has upgraded his vps to new unstable
<adisbladis[m]> etu: inorite -> I know, right
<adisbladis[m]> :D
<etu> adisbladis[m]: oh, alright :)
<adisbladis[m]> etu: Macro expansion
<etu> TIL ^
<{^_^}> Channel nixos-18.03 advanced to https://github.com/NixOS/nixpkgs/commit/08d245eb31a (from 3 days ago, history: https://channels.nix.gsc.io/nixos-18.03)
paraseba has quit [Ping timeout: 276 seconds]
tzemanovic has quit [Remote host closed the connection]
boomshroom has quit [Quit: WeeChat 2.0]
woodson_ has quit [Ping timeout: 260 seconds]
paraseba has joined #nixos
jackdk has joined #nixos
<{^_^}> [nixpkgs] @nlewo opened pull request #41915 → libxml2: add static output → https://git.io/vhodR
Lev50 has quit [Quit: This computer has gone to sleep]
<Myrl-saki> How do I specify <nixpkgs> by channel, again?
<Myrl-saki> channel:// ?
<Myrl-saki> I'm pretty sure there was a way to do --arg nixpkgs ...
troydm has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @Mic92 merged pull request #41910 → remarshal: supports darwin → https://git.io/vhoDP
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/vhoFv
<manveru> Myrl-saki: -f channel:nixpkgs-unstable
<Myrl-saki> Oh
<Myrl-saki> manveru: Thanks.
jackdk has quit [Ping timeout: 260 seconds]
<Myrl-saki> manveru: I believe I can also use that as --arg?
<manveru> that depends on the derivation
<Myrl-saki> Oh okay.
<Myrl-saki> It accepts a file path to nixpkgs.
<Myrl-saki> string 'channel:nixpkgs-unstable' doesn't represent an absolute path,
<Myrl-saki> I guess the answer is no. :x
<manveru> yeah..
<Myrl-saki> Hmm, I'll try callPackage.
<manveru> but -I nixpkgs=channel:xxx might work?
__Sander__ has joined #nixos
<manveru> i really only use it with -f... so not sure
<Myrl-saki> Yeah, that one seems to work. Huh.
<Myrl-saki> If anything, Nix is evaluating.
<Myrl-saki> $ nix-build -I nixpkgs=channel:nixpkgs-unstable
<manveru> is that enough for you? :)
<Myrl-saki> Nope. :P
<Myrl-saki> Seems like it's building.
<Myrl-saki> manveru: Thanks!
grw has quit [Ping timeout: 256 seconds]
<Myrl-saki> Oh crap. I have to nix-channel update, right?
deepfire` has joined #nixos
<Myrl-saki> I always use a local/git checkout so I don't know how outdated this is. <.<
<manveru> can't really answer that for you :P
<etu> awh, damnit. The hash for cython is different with the new unstable channel than my local changes in the old unstable channel. My raspberry will have a happyfuntime compiling it :D
<etu> At least it will work which is better than before:)
tzemanovic has joined #nixos
JasonGrossman has joined #nixos
tzemanovic has quit [Ping timeout: 245 seconds]
<srhb> Hmm. I upgraded taffybar to 2.x from 18.03 to unstable, but now I have almost(?) no systray icons. Like, vlc has one for instance, but nm-applet is gone even though it's running. I have a feeling this has something to do with a newer standard (SNI?) but how do I get the old ones back?
thc202 has joined #nixos
troydm has joined #nixos
<symphorien> <Myrl-saki> string 'channel:nixpkgs-unstable' doesn't represent an absolute path, << you should builtins.fetchTarball it iirc
<tilpner> symphorien - Do you mean it's not pinned and will change over time?
tzemanovic has joined #nixos
<symphorien> Yes it's a moving target url
troydm has quit [Ping timeout: 240 seconds]
<tilpner> That's better term than not absolute IMO, but I just realized you didn't even say that, so...
<tilpner> *+a
<Myrl-saki> symphorien: Thanks.
<symphorien> tilpner: you should read the error message as: this is an url not a path on the local fs
winem_ has joined #nixos
tzemanovic has quit [Remote host closed the connection]
troydm has joined #nixos
thetet has joined #nixos
freeman42x]NixOS has quit [Ping timeout: 264 seconds]
tzemanovic has joined #nixos
troydm has quit [Ping timeout: 245 seconds]
chaker has joined #nixos
<chaker> Hey guys, I'm trying to run kodi on PI3 that runs NixOS. But it's trying to build it from source. From what I understood hydra.nixos.org already build some aarch64 binaries. And I'm wondering why Kodi isn't one of them.
Ariakenom has joined #nixos
aramiscd has quit [Ping timeout: 240 seconds]
aramiscd has joined #nixos
tzemanovic has quit [Ping timeout: 265 seconds]
Taneb has joined #nixos
<srhb> chaker: It's meta.platforms says platforms = stdenv.lib.platforms.linux;
johanot has quit [Ping timeout: 268 seconds]
<srhb> So not sure. That should be fine.
<srhb> Let us know if you're able to build it succesfully.
<chaker> Well, we will have to wait for couple of hours to find that. It has been running for 20+ minutes now. And it's just 1%.
<ocharles_> Anyone here got a good handle on the intensional model? I am failing to see how substitutes can be untrusted. I have a derivation a.drv, which has an output path (or eqClass as the thesis would call it). I query a substitute for something in that eqClass, and I get something back. How do I trust that what I've got back truly is in the equivalance class?
<srhb> Oh, I was looking at the wrapper. but kodiPlain also has platforms.linux
xy2_ has quit [Ping timeout: 264 seconds]
<chaker> srhb: platforms.linux, means that it should work on all architectures? And if so, why it's not being built in hydra.nixos.org?
<srhb> chaker: Yes, I believe so, and I'm wondering that myself. I would expect it to at least show up as an aarch64 build that possibly fails, but it doesn't. I don't remember exactly what happens if a dependency does not evaluate on a certain platform though...
freeman42x]NixOS has joined #nixos
freeman42x]NixOS has quit [Remote host closed the connection]
freeman42x]NixOS has joined #nixos
tzemanovic has joined #nixos
TonyTheLion has joined #nixos
andreabedini has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Alsjman has joined #nixos
knupfer has joined #nixos
<chaker> Hmm, I had to compile ffmpeg yesterday. Maybe that or another dependency, doesn't have the platforms.linux attribute. Even though I would expect that to be ignored for the deps (i.e the derivation that contain that attribute, have more precedence than the deps).
<Taneb> I've got an error I don't understand from a nix-build of something at work
<srhb> Maybe someone else can explain what's required for the attribute to actually show up on Hydra. I don't see what's missing.
<Taneb> It's saying "make: (path to executable in nix store): Command not found"
<srhb> chaker: kodiPlugins do show up for aarch64, and it has platforms.all, so maybe I'm wrong about platforms.linux?
<Taneb> The executable is listed as a build depend and I can ls the directory in the buildPhase and it's there and executable
<srhb> Taneb: Can you run it from without the build? Maybe it has dynamic dependencies that are not present? What does ldd <executable> say?
<srhb> Oh, is this the actual make executable? Not sure if I understood correctly.
tzemanovic has quit [Ping timeout: 264 seconds]
<Taneb> make is saying that this other executable (a compiler) can't be found
knupfer has quit [Ping timeout: 264 seconds]
<srhb> Taneb: ldd that path please.
<Taneb> ldd says "not a dynamic executable" if I've understood this correctly
<srhb> can you execute it?
johanot has joined #nixos
<Taneb> Ah, "error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory"
<srhb> There we go.
knupfer has joined #nixos
<LnL> chaker: job ‘kodi.aarch64-linux’: Package ‘oraclejre-8u171’ has an unfree license (‘unfree’), refusing to evaluate
<srhb> LnL: Thanks! How did you find that?
<srhb> ctrl+f on eval errors? :D
<adisbladis[m]> Meh
<adisbladis[m]> No reduce function in nix/nixpkgs
thetet has quit [Ping timeout: 260 seconds]
<srhb> LnL: I see it. Thanks :)
<Taneb> Ugh, the nix expression for that is just... downloading it from somewhere
<srhb> adisbladis[m]: reduce? fold?
<Taneb> I'm pretty sure this used to work
<LnL> adisbladis[m]: foldl'?
tzemanovic has joined #nixos
mbrock has joined #nixos
<adisbladis[m]> I guess that works :)
<srhb> Taneb: Is the c++ library in the derivation? If so it could have conceivably been patchelfed before but a version change made the names not match up?
<adisbladis[m]> I just wasn't looking for the name fold -.-
xy2_ has joined #nixos
<srhb> adisbladis[m]: I guess it's more common than the reduce name in the FP world? Or maybe it's just Haskell influence.
<chaker> LnL, srhb: bummer :(. The compilation also failed on my PI.
<mbrock> I don't understand why nix-build is erroneously trying to find a default.nix in the output store path when I build a trivial derivation. Here's an example command:
<mbrock> mkdir -p /tmp/tmp1; nix-build -E 'with import <nixpkgs> {}; callPackage (stdenv.mkDerivation { name = "foo"; src = /tmp/tmp1; buildPhase = "touch foo"; installPhase = "mkdir $out; cp foo $out"; }) {}'
<srhb> chaker: Ah well.
<adisbladis[m]> srhb: I think so. My FP experience is mostly lisps and functional js
<Taneb> srhb: as far as I can tell it isn't. The derivation is just downloading a tar file
<mbrock> this fails (after building the derivation) with "error: opening file /nix/store/...-foo/default.nix"
<chaker> LnL: is it possible to build to enable the build in Hydra?
<srhb> mbrock: /tmp/tmp1 looks like a nix store path
<mbrock> srhb: hmm? it fails the same way with ./tmp1
<srhb> That is also a store path
<clever> mbrock: you are creating a $out/foo but callPackage wants a $out/default.nix
orivej has quit [Ping timeout: 264 seconds]
<LnL> chaker: it works for x86_64-linux, so yes unless it's not possible to avoid oraclejdk on aarch for some reason
<mbrock> ohh, I meant to pass a function to callPackage, not a derivation...
<mbrock> so callPackage does something when given a function, and something very different when given a derivation?
<clever> mbrock: yeah
<clever> mbrock: when you give it a deriation, it does the same thing as when you give it a path
<clever> it tries to import the path
<Taneb> srhb: my mistake, that library is in the output
tzemanovic has quit [Ping timeout: 268 seconds]
<mbrock> okay and then it expects the function to be the result of importing the path I guess?
xAFFE has joined #nixos
<mbrock> thanks, everything is fine :)
aarvar has quit [Ping timeout: 276 seconds]
tzemanovic has joined #nixos
<chaker> LnL: "jre8 = if stdenv.isArm then oraclejre8 else..."
sigmundv has joined #nixos
<chaker> I will try to build it using openjdk. Even though that's not the reason the compilation failed for.
<LnL> yeah, I was expecting something like that
<LnL> maybe openjdk doesn't work on aarch
* etu has a libreelec (distro for kodi) running on a RPI3 at home, but I can't seem to access it from here right now to check what java it ships with :/
<etu> They made it working in some way
<adisbladis[m]> It may be a bootstrapping issue
<adisbladis[m]> Yeah it seems like it
<adisbladis[m]> `pkgs/development/compilers/openjdk/bootstrap.nix` doesn't have any aarch64 entry
johanot has quit [Ping timeout: 265 seconds]
<chaker> adisbladis[m]: From what I understood, openjdk doesn't support 64b architecture on arm.
knupfer has quit [Ping timeout: 265 seconds]
tzemanovic has quit [Ping timeout: 256 seconds]
<chaker> etu: Hmm, any idea what's the version nixpkgs?
aramiscd has quit [Ping timeout: 276 seconds]
<etu> chaker: Huh?
<etu> chaker: I don't understand your question
Ridout has joined #nixos
<chaker> Aaa, sorry. I thought you have NixOS on the PI
seafood has quit [Ping timeout: 260 seconds]
u0_a461_ has joined #nixos
u0_a461_ has left #nixos [#nixos]
tzemanovic has joined #nixos
<adisbladis[m]> There are aarch64 docker images for openjdk
<etu> chaker: yeah, I have but not for kodi. I've tried it once and ran into the same issues you're on about at the moment. So I'm very interested in your result :D
<adisbladis[m]> So I'd assume it has upstream support
aramiscd has joined #nixos
<adisbladis[m]> I'm not sure how those bootstrap tarballs are made
knupfer has joined #nixos
<sphalerite> telent[m]: I have to say, I just love your blog post titles
<sphalerite> the content too actually, but yeah
* chaker found something to do on his vacation :D
tzemanovic has quit [Ping timeout: 256 seconds]
<sphalerite> chaker: meanwhile I have kodi on a nixos machine but not on a pi ;)
Alsjman has left #nixos [#nixos]
<chaker> sphalerite: aarch64?? I have kodi on my x86_64 machine also :p and it works perfectly.
<chaker> The problem is that building anything on the PI takes forever :(
<adisbladis[m]> You could set up a builder in a qemu vm
thblt has left #nixos ["ERC (IRC client for Emacs 26.1)"]
<sphalerit> chaker: oh right. Well I do run various stuff on my armv7 Chromebook, and do often wait for builds
<sphalerit> But it's workable
<sphalerit> I think it's a bit more powerful than a pi though, quad core
<sphalerit> Oh and I offload a lot of builds to Scaleway C1 servers. Very convenient
<chaker> adisbladis[m]: And that will use the same platform type when evaluating, because I tried the cross-compilation stud and I ended up with two different derivations.
<adisbladis[m]> chaker: Yeah it will.
<adisbladis[m]> Cross compiling with nix is a bit tricky, it has to skip certain things
<adisbladis[m]> Like `checkPhase`
<adisbladis[m]> Which is very likely to happen somewhere in your graph
<{^_^}> [nixpkgs] @bjornfor pushed commit from @Ekleog to release-18.03 « nixos/gogs: allow git operations over ssh »: https://git.io/vhKkb
<sphalerit> chaker: https://github.com/lheckemann/nixos-scaleway if you're interested in the scaleway route
<sphalerit> I don't know of any other server providers that have armv7 offerings (and such cheap ones!)
thetet has joined #nixos
<adisbladis[m]> Packet.net has some excellent aarch64 offerings :)
crptck has joined #nixos
<adisbladis[m]> But yeah, armv7 is gonna be harder
<sphalerite> https://gist.github.com/lheckemann/a6a546ddf6404ae96afbfb2e6dff2147 ah, what beautiful error reporting
<chaker> sphalerit: Wow, they have some awesome prices!!
<sphalerite> yeah. The machines aren't very powerful, but it's still a lot faster than a pi :)
simukis has joined #nixos
<sphalerite> I think.
tzemanovic has joined #nixos
__monty__ has joined #nixos
tzemanovic has quit [Remote host closed the connection]
tzemanovic has joined #nixos
MP2E has quit [Remote host closed the connection]
<hyper_ch2> anyone in here who's runing Unbound on Nixos?
rprije has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @xeji opened pull request #41917 → nixos/tests/morty: fix non-deterministic failure → https://git.io/vhKLB
ericsagn1 has quit [Ping timeout: 265 seconds]
tzemanovic has quit [Remote host closed the connection]
Izorkin has joined #nixos
sgk[m] has joined #nixos
<sphalerite> hyper_ch2: May I suggest asking a more specific question? And please don't be a pain about this suggestion
logiq has joined #nixos
freeman42x]NixOS has quit [Ping timeout: 276 seconds]
tzemanovic has joined #nixos
pie_ has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @xeji merged pull request #41842 → packer: 1.2.0 -> 1.2.4 → https://git.io/vhVnj
<{^_^}> [nixpkgs] @xeji pushed commit from @tiramiseb to master « Update default.nix (#41842) »: https://git.io/vhKq5
logiq is now known as asymmetric
<Plato[m]> What's the default display manager in NixOS?
selaux has joined #nixos
thetet has quit [Read error: No route to host]
thetet has joined #nixos
ThatDocsLady has quit [Remote host closed the connection]
rardiol1 has quit [Remote host closed the connection]
ThatDocsLady has joined #nixos
noam has joined #nixos
thetet has quit [Client Quit]
tzemanovic has quit []
tzemanovic has joined #nixos
<sphalerite> Plato[m]: slim
Guest21370 has joined #nixos
<LnL> used to be slim, didn't we change that to lightdm?
<sphalerite> not that I know of (which of course doesn't mean that it isn't the case)
<sphalerite> definitely not in 18.03
palo has quit [Quit: ZNC 1.6.5 - http://znc.in]
palo has joined #nixos
<Plato[m]> Ah ok, thanks.
<Plato[m]> The ArchWiki has a big warning about slim being unmaintained.
<{^_^}> [nixpkgs] @xeji merged pull request #41895 → yarn: 1.7.0 -> 1.8.0 → https://git.io/vhrbw
<{^_^}> [nixpkgs] @xeji pushed commit from @nicknovitski to master « yarn: 1.7.0 -> 1.8.0 (#41895) »: https://git.io/vhKYR
xy2_ has quit [Ping timeout: 240 seconds]
<Taneb> How tricky is it to change which version of gcc stdenv uses?
<srhb> Taneb: Easy, look at overrideCC
<srhb> Taneb: (essentially overrideCC stdenv gccWhatever gives you a new stdenv like stdenv but with gccWhatever)
<Taneb> Sweet, that's exactly what I had in mind
<Taneb> Thanks, srhb
ericsagn1 has joined #nixos
knupfer has quit [Remote host closed the connection]
thetet has joined #nixos
knupfer has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #41891 → xcircuit: init at 3.9.73 → https://git.io/vhrdj
<{^_^}> [nixpkgs] @xeji pushed commit from @spacefrogg to master « xcircuit: init at 3.9.73 (#41891) »: https://git.io/vhKO3
<hyper_ch2> sphalerite: it was a pretty specific question
andreabedini has joined #nixos
palo has quit [Quit: ZNC 1.6.5 - http://znc.in]
palo has joined #nixos
palo has quit [Changing host]
palo has joined #nixos
logzet has joined #nixos
knupfer has quit [Ping timeout: 260 seconds]
<sphalerite> hyper_ch2: But I'm sure there's a goal you have that led you to ask it (and that goal is not knowing if anybody uses unbound on nixos). Maybe you want to use it yourself and are having difficulties. Or you want to run a DNS server, so you're considering using it and want to know how well it works with nixos before diving into it yourself. Asking questions more closely related to those goals might get you
<sphalerite> further.
<sphalerite> hyper_ch2: Anyway, to answer your question: I can answer fairly confidently, "yes".
<sphalerite> Does that help?
<{^_^}> [nixpkgs] @xeji merged pull request #40794 → mattermost-desktop: init at 4.1.1 → https://git.io/vphGa
<{^_^}> [nixpkgs] @xeji pushed commit from @averelld to master « mattermost-desktop: init at 4.1.1 (#40794) »: https://git.io/vhKO1
palo has quit [Client Quit]
palo has joined #nixos
palo has quit [Changing host]
palo has joined #nixos
silver has joined #nixos
iyzsong has joined #nixos
<{^_^}> Channel nixos-18.03-small advanced to https://github.com/NixOS/nixpkgs/commit/0cdd824bd5f (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-18.03-small)
<{^_^}> [nixpkgs] @shlevy pushed 2 commits to release-18.03: https://git.io/vhK3n
<{^_^}> [nixpkgs] @shlevy merged pull request #41903 → Backport rust 1.26 from master. → https://git.io/vhoBt
<asymmetric> is there a way to query a nixpkgs binary cache?
<asymmetric> to inspect what paths are there
pie_ has joined #nixos
orivej has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #41890 → ngspice: Fix regression due to missing X libs → https://git.io/vhrdB
<{^_^}> [nixpkgs] @xeji pushed commit from @spacefrogg to master « ngspice: Fix regression due to missing X libs (#41890) »: https://git.io/vhKsu
<hyper_ch2> sphalerite: indeed it does.
<gchristensen> sphalerite: ye olde x-y
iyzsong-x has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #37289 → nixos/dnsdist: init module → https://git.io/vxO6G
<{^_^}> [nixpkgs] @xeji pushed 3 commits to master: https://git.io/vhKGE
iyzsong has quit [Ping timeout: 255 seconds]
ericsagn1 has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @xeji closed pull request #39767 → nixos/dnsdist: init → https://git.io/vp0cI
Ridout has quit [Ping timeout: 256 seconds]
qknight has quit [Quit: leaving]
Neo-- has joined #nixos
Neo--- has joined #nixos
knupfer has joined #nixos
ericsagn1 has joined #nixos
aloiscochard has joined #nixos
gonz_ has quit [Quit: The Lounge - https://thelounge.github.io]
gonz_ has joined #nixos
reinzelmann has quit [Quit: Leaving]
azarel has joined #nixos
johanot has joined #nixos
orivej has quit [Ping timeout: 264 seconds]
thetet has quit [Ping timeout: 248 seconds]
<{^_^}> [nixpkgs] @srhb merged pull request #41884 → nixos/kubernetes: improvements → https://git.io/vhreu
<{^_^}> [nixpkgs] @srhb pushed 2 commits to master: https://git.io/vhKcz
azarel has left #nixos ["ERC (IRC client for Emacs 26.1)"]
<{^_^}> [nixpkgs] @YorikSar opened pull request #41919 → chromium: 67.0.3396.62 -> 67.0.3396.87 → https://git.io/vhKcN
toby1851 has quit [Quit: Konversation terminated!]
<{^_^}> [nixpkgs] @fgaz opened pull request #41920 → drawpile: init at 2.0.10 → https://git.io/vhKCE
jasongro` has joined #nixos
JasonGrossman has quit [Ping timeout: 240 seconds]
JasonGrossman has joined #nixos
JasonGrossman has quit [Remote host closed the connection]
jasongro` has quit [Remote host closed the connection]
toby1851 has joined #nixos
JasonGrossman has joined #nixos
JasonGrossman has quit [Remote host closed the connection]
JasonGrossman has joined #nixos
freeman42x]NixOS has joined #nixos
freeman42x]NixOS has quit [Remote host closed the connection]
freeman42x]NixOS has joined #nixos
johanot has quit [Ping timeout: 260 seconds]
chaker has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @srhb merged pull request #41888 → kubernetes: 1.10.3 -> 1.10.4 → https://git.io/vhrRj
<{^_^}> [nixpkgs] @srhb pushed 2 commits to master: https://git.io/vhKW6
asuryawanshi has quit [Ping timeout: 240 seconds]
acarrico has joined #nixos
thetet has joined #nixos
Guest21370 has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @7c6f434c merged pull request #41919 → chromium: 67.0.3396.62 -> 67.0.3396.87 → https://git.io/vhKcN
<{^_^}> [nixpkgs] @7c6f434c pushed 2 commits to master: https://git.io/vhKl1
thetet has quit [Ping timeout: 276 seconds]
jperras has joined #nixos
astrofog has joined #nixos
Cale_ has joined #nixos
MercurialAlchemi has quit [Ping timeout: 264 seconds]
Intensity has quit [Ping timeout: 260 seconds]
Guest21370 has joined #nixos
tlotze_ has joined #nixos
Intensity has joined #nixos
alex`` has joined #nixos
astrofog has quit [Read error: Connection reset by peer]
<tlotze_> Wow, I'm just updating my nix packages (unstable) and switch from libreoffice 5 to 6 while doing so. Differently from before, the package needs to be compiled now; this takes ages and requires several GB of disk. Seriously? Or am I doing something wrong?
Slabity has joined #nixos
myshoe has joined #nixos
astrofog has joined #nixos
johanot has joined #nixos
<hodapp> O_O
<{^_^}> [nixpkgs] @knedlsepp opened pull request #41921 → texlive: Fix 'match-parens' ruby dependency → https://git.io/vhK4I
<srhb> Anyone seen this with dockerTools.buildImage? Kernel panic - not syncing: IO-APIC + timer doesn't work!
<srhb> It appears to be non-deterministic, but I'm not sure which factors could influence it.
Neo--- has quit [Ping timeout: 256 seconds]
Neo-- has quit [Ping timeout: 256 seconds]
thblt has joined #nixos
<{^_^}> [nixpkgs] @teto opened pull request #41922 → neovim: 0.2.2 -> 0.3.0 → https://git.io/vhK4H
andreabedini has quit [Ping timeout: 245 seconds]
andreabedini has joined #nixos
steell has joined #nixos
thetet has joined #nixos
xy2_ has joined #nixos
johanot has quit [Ping timeout: 260 seconds]
spear2 has quit [Ping timeout: 276 seconds]
steell has quit [Ping timeout: 240 seconds]
thetet has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @volth opened pull request #41923 → staging: cpan2nix updates → https://git.io/vhKRg
<__monty__> tlotze_: Maybe hydra hasn't gotten around to it yet, so it's not in the cache?
<tlotze_> __monty__: this means it will be available pre-compiled in the future?
<tlotze_> then it wouldn't be that bad, I'd just hate to have to go through this all the time
camsbury has joined #nixos
<Dezgeg> probably it's failing to build
<tlotze_> oh, and just now (after hours), something went wrong
<Dezgeg> if you are using unstable
<tlotze_> exactly
trevorriles has joined #nixos
<infinisil> Yup it's failing..
<tlotze_> yup, same error here
<tlotze_> at least it's reproducible ;o)
<tlotze_> I guess I'll move away from unstable then, this isn't the only problem I have with some packages
<infinisil> You can also use specific packages from another channel
<infinisil> Nix can handle that easily by design
<tlotze_> I know, but mixing channels means keeping more stuff in mind, and it probably also means more disk space
<tlotze_> that is, using up more space, not having more ;o)
<infinisil> True, I'm not really bothered about those though. I have my whole config in a single declarative directory, so I always know what's coming from where
<tlotze_> this is something I intend to do anyway, but right now I'm still at the stage where I install nix packages on top of another distribution one by one
<JasonGrossman> tlotze_: That makes sense. Look forward to NixOS one day though!
<tlotze_> for sure
<__monty__> tlotze_: Just with nix-env -i or a config.nix? Definitely recommend the latter.
<tlotze_> I'm just afraid of taking down my main working machine for something that's new to me... probably I'm going to solve it by buying a bigger disk that I need anyway, and keeping the old one around ;o
<tlotze_> so far, just the former
<tlotze_> step by step...
mmlb has joined #nixos
<tlotze_> but yes, I long for be able to keep the state under version control
<tlotze_> being
<__monty__> tlotze_: You can do that rn with a config.nix : ) It's not the same as nixos' configuration.nix.
<eeva> How do you guys deal with locale in a docker-built container from dockerTools.buildImage?
<tlotze_> I know, it's just that I haven't gotten around to taking the time
astrofog has quit [Quit: Quite]
<{^_^}> [nixpkgs] @vcunat pushed 2 commits to master: https://git.io/vhKEv
<{^_^}> [nixpkgs] @vcunat pushed to release-18.03 « Merge #41921: texlive: Fix 'match-parens' ruby dependency »: https://git.io/vhKEO
johanot has joined #nixos
pie_ has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @vcunat merged pull request #41921 → texlive: Fix 'match-parens' ruby dependency → https://git.io/vhK4I
<johanot> Anyone experienced "nix copy" becoming reeeeal slow when reaching a certain amount of tranferred data? My local command is stuck at: [3/2/16 copied (1113.2/1114.8 MiB)] for ages and the local thread is sleeping almost all the time. Remote nix-daemon thread is reading from the nw stream so slowly that I can actually read everything clearly in the strace output.
<gchristensen> johanot: is your target machine swappin?
<eeva> I have a custom hakyll site builder that I want to send to my CI, but while testing it I keep on getting "hGetContents: invalid argument (invalid byte sequence)" at Compiling stage. More annoying I've set my LANG env var to en_US.UTF-8 in the config of my docker image
<johanot> gchristensen: Not anymore. I've experienced this sort of problem before where lack of mem was clearly the cause, but on this host plenty of free mem - swap unused.
<johanot> to be sure I just turned off swap completely on the remote, interrupted the copy and restarted it. First ~1gig of data is copied in less than 10 seconds (i have plenty of bandwidth), but it's hanging at the last few megs.
<Dezgeg> slow disk then?
__monty__ has quit [Quit: leaving]
<infinisil> eeva: If you're using stack: by default it uses a pure nix-shell in which all env vars get cleared, then Data.Text.IO.readFile throws that error. Setting pure: false in the stack.yaml nix section made it work for me
<johanot> Dezgeg: it's vmware so you never know :) .. but %iowait shows 0.0
<eeva> thx infinisil, however I built this with Cabal2Nix
tzemanovic has quit [Remote host closed the connection]
<eeva> then used the generated path in as a contents for dockerTools.buildImage
pie_ has joined #nixos
<eeva> The generated package is working fine, but running it (with docker run …) has this error, meaning I'm missing some locale thingy in my image
<eeva> Can't figure out what exacttly though
johanot has quit [Ping timeout: 245 seconds]
johanot has joined #nixos
alexteves has quit [Read error: Connection reset by peer]
<eeva> How is locale dealt with in Nix/NixOS, any resources?
alexteves has joined #nixos
<manveru> eeva: you need glibc-locales for that
<eeva> I have included the glibcLocales pkg in my contents as well
jasongro` has joined #nixos
<samueldr> eeva: on nix or on nixos?
<samueldr> using nix only (on linux) you may need to set LOCALE_ARCHIVE
samrose has joined #nixos
pie_ has quit [Read error: Connection reset by peer]
pie_ has joined #nixos
<eeva> samueldr: works fine on nixos, it's running it with docker that is a problem (using: https://nixos.org/nixpkgs/manual/#ssec-pkgs-dockerTools-buildImage)
<samueldr> for a nix-shell, I have this in a shellHook (this may not be the best way to handle that) export LOCALE_ARCHIVE=${locales}/lib/locale/locale-archive
<samrose> if I build a nixos iso as described in the nixos wiki, why would my resulting nixos iso end up with an empty /etc/nixos/configuration.nix file?
<samueldr> and locales is `locales = if stdenv.isLinux then glibcLocales else "";`
matthewbauer has joined #nixos
<eeva> thx, I'll try adding that to my ENV list
sorixelle has quit [Ping timeout: 265 seconds]
<eeva> (yum, hakyll + pandoc = 5GB uncompressed docker image…)
eisbaer-north has joined #nixos
eisbaer-north has quit [Quit: WeeChat 2.1]
eisbaer-north has joined #nixos
erasmas has joined #nixos
<{^_^}> [nixpkgs] @globin merged pull request #41917 → nixos/tests/morty: fix non-deterministic failure → https://git.io/vhKLB
<{^_^}> [nixpkgs] @globin pushed commit from @xeji to master « nixos/tests/morty: fix non-deterministic failure »: https://git.io/vhK2D
<{^_^}> [nixpkgs] @r-ryantm opened pull request #41924 → zita-convolver: 3.1.0 -> 4.0.0 → https://git.io/vhK29
Cale_ has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #41925 → yoshimi: 1.5.8 -> 1.5.8.2 → https://git.io/vhKa3
eisbaer has quit [Ping timeout: 268 seconds]
d1rewolf_ has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #41926 → yq: 2.5.0 -> 2.6.0 → https://git.io/vhKVt
<{^_^}> [nixpkgs] @manveru opened pull request #41927 → Riemann-tools: 0.2.6 -> 0.2.13 → https://git.io/vhKVs
<{^_^}> [nixpkgs] @woffs opened pull request #41928 → nixos/zfs: enable zfs services → https://git.io/vhKVz
samrose has quit [Quit: Page closed]
orivej has joined #nixos
jasongro` has quit [Remote host closed the connection]
<eeva> infinisil: samueldr: thanks! Adding LOCALE_ARCHIVE=... was the right call, it works fine now
<{^_^}> [nixpkgs] @smaret opened pull request #41929 → gildas: init at 201806_a → https://git.io/vhKwp
pkill9 has joined #nixos
Have-Quick has quit [Quit: Have-Quick]
<pkill9> does widevine still not work in nix chromium?
<pkill9> (haven't tried installing it since a while ago)
<{^_^}> Channel nixpkgs-18.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/2bbb1689052 (from 3 hours ago, history: https://channels.nix.gsc.io/nixpkgs-18.03-darwin)
Mr_Keyser_Soze has joined #nixos
Neo-- has joined #nixos
Neo--- has joined #nixos
jasongro` has joined #nixos
JasonGrossman has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @woffs opened pull request #41930 → zfs: fix substitution of /bin/rm → https://git.io/vhKrN
<{^_^}> [nixpkgs] @dezgeg pushed commit from @dtzWill to release-18.03 « qt-5.10: don't use features that require new-ish kernels, stay compat »: https://git.io/vhKoT
asymmetric has quit [Ping timeout: 245 seconds]
trevorriles has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
trevorriles has joined #nixos
hyper_ch2 has quit [Quit: Page closed]
Neo-- has quit [Ping timeout: 240 seconds]
Neo--- has quit [Ping timeout: 260 seconds]
winem_ has quit [Ping timeout: 245 seconds]
<{^_^}> Channel nixpkgs-18.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/4d8a4bcc3da (from 70 minutes ago, history: https://channels.nix.gsc.io/nixpkgs-18.03-darwin)
Sonarpulse has joined #nixos
jasongro` has quit [Ping timeout: 245 seconds]
__monty__ has joined #nixos
fendor has joined #nixos
johnw_ has quit [Remote host closed the connection]
roni has joined #nixos
<roni> hi all - having trouble building a node project, because something goes wrong with building node-sass, et al., which depend in some way on node-gyp for building native extensions
johnw has joined #nixos
<roni> any large scale tips? in particular, any tips on what packages i should include in my nix-shell so that this "just works" as it does on other platforms?
<clever> roni: this builds the entire nodejs project (including sass) in nix-build
johanot has quit [Ping timeout: 265 seconds]
asymmetric has joined #nixos
<roni> can you give me an example of how to use that?
xAFFE has left #nixos ["Error from remote client"]
<clever> roni: that whole file is the example
freusque has quit [Quit: WeeChat 2.0]
<roni> ah i see
JasonGrossman has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #41931 → xawtv: 3.103 -> 3.104 → https://git.io/vhKiB
<roni> there must be a simpler way to do this though? i'm interested in not nixifying my project, but rather arranging a nix-shell in which i can do the usual steps of `npm install` followed by something like `npm run build` or `npm start`, etc.
<roni> is that possible (even if it's not the nix way)?
<clever> roni: check the shell.nix in that repo then, i'm able to `npm install` with that shell
<joepie91> roni: what OS are you on?
<roni> clever: thanks, will do!
<woffs> How to save the downloaded requisites for a nix-shell from being garbage-collected?
<roni> joepie91: nixos 18.03
<joepie91> hm, then it should work out of the box
<joepie91> I assume you've installed node through Nix?
asuryawanshi has joined #nixos
<joepie91> roni: actually, can you pastebin the exact error output?
<roni> joepie91: yep i believe so: /nix/store/jm1lwx4hpvc4825aj6h0nc3qinszn2d8-nodejs-9.11.1/bin/node
<roni> joepie91: sure hang on
<joepie91> Package cairo was not found in the pkg-config search path.
<joepie91> that's your actual error
<roni> oh
<joepie91> it's the `canvas` module that is failing to build
<joepie91> so you want pkgconfig and cairo in your shell
<roni> ok
<roni> let me try that and see if everything works
<joepie91> roni: I've found that libraries inconsistently expose their library/header files so nix-shell may not work for that
<joepie91> roni: this solves that: https://www.npmjs.com/package/nix-devshell
charlesh` has joined #nixos
<joepie91> (it's a nix-shell wrapper)
<charlesh`> Hi guys
<joepie91> worst case you can do `devshell pkgconfig cairo` and then it should definitely work
<roni> oh awesome
<roni> what i usually do if craft a shell.nix with a hacked LD_LIBRARY_PATH
<joepie91> (the install command assumes that you have your global npm package path set to something where it can install stuff, eg. in your homedir)
<joepie91> roni: that's what this automates :)
<roni> excellent
<roni> joepie91: which install command do you mean?
<joepie91> it's stupidly simple really
<joepie91> the `npm install -g nix-devshell` in the readme
Mr_Keyser_Soze has quit [Ping timeout: 240 seconds]
andreabedini has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<roni> oh ok
<{^_^}> [nixpkgs] @Ericson2314 merged pull request #41896 → haskell generic-builder: Fix setup depends → https://git.io/vhrjS
<{^_^}> [nixpkgs] @Ericson2314 pushed 2 commits to master: https://git.io/vhKPa
<roni> why not just make this a nix package?
<joepie91> have not gotten around to it :)
<joepie91> made it real quick to solve a problem
<charlesh`> So I would like to make a derivation for an unfree game (puyovs) so i could install it freely between differents machines. My first solution was to make the derivation unpack the game archive in /nix/store. But in facts the game modify some files in the same directory of the binary. Logically i have no write right over /nix/store and I should not have. What should I do in order to install the game in a place I'll have write
<roni> joepie91: gotcha, and thanks for the tip!
<joepie91> charlesh`: would recommend first seeing if you can make the game write stuff elsewhere; somewhat surprisingly, I've found that most games let you either configure all the mutable paths via a commandline flag, or let you specify a config file that can set the mutable paths
<joepie91> charlesh`: if not; you need a fhs chroot thing I think
<joepie91> not sure how that works
<charlesh`> let's check that
<joepie91> also, games usually *don't* respond to --help
<joepie91> and the flags are often poorly documented
<joepie91> so you may need to search for a bit :P
__Sander__ has quit [Quit: Konversation terminated!]
<roni> charlesh`: you might try steam-run: https://nixos.wiki/wiki/Steam
<charlesh`> ofc the game is closed source, let see if I can get in touch with the dev.
<avn> charlesh`: best way -- use `exec ld-linux.so` trick for games
<roni> but i don't know if that's still the current practice
<roni> i tried it once and it worked for a game i bought from GoG
<joepie91> roni: how does one get hold of steam-run actually
<charlesh`> the game works, it's just that the game crash because it does not have some write rights :roni
<roni> joepie91: nixpkgs.steam-run!
<{^_^}> [nixpkgs] @Ericson2314 opened pull request #41932 → haskell generic-builder: Use separate setup db in more cases → https://git.io/vhKXG
<roni> charlesh`: right, i think maybe steam-run can provide it with a chroot environment where it can write some files maybe
igo95862 has joined #nixos
<charlesh`> let's try it out
<joepie91> roni: I could swear that that didn't work last I tried!
<joepie91> :|
<charlesh`> syntaxe is `steam-run binarypath` ?
mounty has quit [Ping timeout: 256 seconds]
mounty has joined #nixos
logzet has quit [Ping timeout: 240 seconds]
<roni> charlesh`: i think so
* roni shrugs at joepie91
<{^_^}> [nixpkgs] @matthewbauer merged pull request #41932 → haskell generic-builder: Use separate setup db in more cases → https://git.io/vhKXG
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vhKXh
<roni> joepie91: been a while since i last tried it... and the games i'm mainly interested in are run through dosbox anyway :-D
<{^_^}> [nixos-channel-scripts] @edolstra merged pull request #17 → Adds filename to sha256 file for use with `sha256 -c` → https://git.io/vhEnp
<{^_^}> [nixos-channel-scripts] @edolstra pushed 2 commits to master: https://git.io/vhK1e
<roni> joepie91: so... it turns out i did have (an outdated) shell.nix file for this project lying around >:-O
<roni> and now my build is working again :-D
<joepie91> heh, nice
tzemanovic has joined #nixos
Ariakenom has quit [Ping timeout: 268 seconds]
iyzsong-x has quit [Ping timeout: 260 seconds]
asuryawanshi has quit [Remote host closed the connection]
asuryawanshi has joined #nixos
johanot has joined #nixos
selaux has quit [Remote host closed the connection]
<nh2[m]> I'm having this Haskell packaging problem: I have a package that uses `jailbreak`, which calls `jailbreak-cabal`. For some reason, that pulls in another whole build of ghc. How can I override which version of `jailbreak-cabal` is used in an `override`?
tzemanovic has quit [Ping timeout: 256 seconds]
mbrock has quit [Ping timeout: 248 seconds]
<nh2[m]> in general I'm not quite sure where the derivation of `jailbreak-cabal` is exactly coming from and via what ways it makes it into the generic haskell builder
asymmetric has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @xeji merged pull request #41915 → libxml2: add static output → https://git.io/vhodR
<{^_^}> [nixpkgs] @xeji pushed 2 commits to master: https://git.io/vhKM6
<{^_^}> [nixpkgs] @xeji merged pull request #41925 → yoshimi: 1.5.8 -> 1.5.8.2 → https://git.io/vhKa3
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « yoshimi: 1.5.8 -> 1.5.8.2 (#41925) »: https://git.io/vhKMM
philippD has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #41933 → unbound: 1.7.1 -> 1.7.2 → https://git.io/vhKM7
phreedom has quit [Remote host closed the connection]
phreedom has joined #nixos
trevorriles has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
fendor has quit [Remote host closed the connection]
trevorriles has joined #nixos
fendor has joined #nixos
roni has quit [Quit: leaving]
<{^_^}> [nixpkgs] @xeji merged pull request #41926 → yq: 2.5.0 -> 2.6.0 → https://git.io/vhKVt
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « yq: 2.5.0 -> 2.6.0 (#41926) »: https://git.io/vhKye
fendor has quit [Ping timeout: 265 seconds]
trevorriles has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @orivej pushed to master « Revert "libxml2: add static output" »: https://git.io/vhKyz
<{^_^}> [nix] @edolstra pushed 3 commits to master: https://git.io/vhKyw
endformationage has joined #nixos
<{^_^}> [nixpkgs] @orivej pushed 49 commits to staging: https://git.io/vhKyH
harrymoreno has quit [Ping timeout: 248 seconds]
ryantrinkle has joined #nixos
sanscoeur has joined #nixos
knupfer has quit [Ping timeout: 260 seconds]
<{^_^}> [nix] @volth closed pull request #2205 → straightforward implementation of 'nix copy' → https://git.io/vhW1q
Thra11 has joined #nixos
xy2_ has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @teto opened pull request #41934 → Cmd2 0.9.1 → https://git.io/vhK9p
silver has quit [Read error: Connection reset by peer]
oida has quit [Ping timeout: 250 seconds]
oida has joined #nixos
<{^_^}> [nixpkgs] @matthewbauer pushed to always-static « multiple-outputs: always build static libraries »: https://git.io/vhKQY
<{^_^}> [nixpkgs] @matthewbauer opened pull request #41935 → [wip] multiple-outputs: always build static libraries → https://git.io/vhKQ3
halfbit has quit [Ping timeout: 256 seconds]
harrymoreno has joined #nixos
xy2_ has joined #nixos
chessai has joined #nixos
<{^_^}> [nixpkgs] @orivej pushed to staging « Revert "libxml2: add static output (#41915)" »: https://git.io/vhK70
kiloreux has joined #nixos
hiratara has quit [Ping timeout: 255 seconds]
<{^_^}> [nixpkgs] @xeji merged pull request #41927 → Riemann-tools: 0.2.6 -> 0.2.13 → https://git.io/vhKVs
<{^_^}> [nixpkgs] @xeji pushed commit from @manveru to master « Riemann-tools: 0.2.6 -> 0.2.13 (#41927) »: https://git.io/vhK5W
<gchristensen> ,channels
<{^_^}> Largest Nix-related channels: #nixos, #nixos-dev, #nix-darwin, #nixos-chat, #nixos-aarch64, #nixos-wiki, #nixos-borg, #nixos-security, #nix-core
sigmundv has quit [Ping timeout: 260 seconds]
harrymoreno is now known as morenoh149
<{^_^}> [nixpkgs] @xeji pushed commit from @manveru to release-18.03 « Riemann-tools: 0.2.6 -> 0.2.13 (#41927) »: https://git.io/vhK57
hiratara has joined #nixos
silver has joined #nixos
mkoenig has quit [Ping timeout: 240 seconds]
Guest21370 has quit [Ping timeout: 276 seconds]
{^_^} has quit [Remote host closed the connection]
{^_^} has joined #nixos
{^_^} has quit [Changing host]
{^_^} has joined #nixos
<{^_^}> [nixpkgs] @7c6f434c merged pull request #41764 → nixos: add some more related packages → https://git.io/vh2r0
<{^_^}> [nixpkgs] @7c6f434c pushed 3 commits to master: https://git.io/vhKdt
troydm has joined #nixos
fendor has joined #nixos
igo95862 has quit [Quit: igo95862]
fendor_ has joined #nixos
knupfer has joined #nixos
allsafe has joined #nixos
fendor has quit [Ping timeout: 264 seconds]
allsafe has left #nixos [#nixos]
<{^_^}> [nixpkgs] @xeji closed pull request #41922 → neovim: 0.2.2 -> 0.3.0 → https://git.io/vhK4H
jmeredith has joined #nixos
roni has joined #nixos
knupfer has quit [Ping timeout: 276 seconds]
<roni> ok so i have a really dumb question: suppose i want to capture a pattern like the ones in this article (https://matrix.ai/2018/03/24/developing-with-nix/) for use in an ad-hoc kind of way (that is, without repeating the pattern in every project's shell.nix file)
<roni> how do i abstract such a pattern into a nix function so that i can just "call" it from my system?
alexteves has quit [Quit: Textual IRC Client: www.textualapp.com]
<roni> (1) where do i keep the function (ideally so it can also live in VCS) and (2) how do i then go about invoking it when i need a nix-shell reflective of it?
<LnL> you can use a function with inputs like how packages are defined in nixpkgs and callPackage it yourself with the correct nixpkgs version
<roni> can i call such functions directly using nix-env or nix-shell somehow?
<LnL> given the correct arguments
alexteves has joined #nixos
<LnL> but it's not straightforward compared to just nix-build
<roni> can you maybe give me an example? also, still not sure where i would keep these functions
halfbit has joined #nixos
<LnL> sure, give me a sec
Lev50 has joined #nixos
<roni> LnL: thank you!
rihards has joined #nixos
wchresta has joined #nixos
<{^_^}> [nixpkgs] @dywedir opened pull request #41936 → skim: 0.4.0 -> 0.5.0 → https://git.io/vhKNu
<{^_^}> [nixpkgs] @xeji merged pull request #41930 → zfs: fix substitution of /bin/rm → https://git.io/vhKrN
<{^_^}> [nixpkgs] @xeji pushed commit from @woffs to master « zfs: fix substitution of /bin/rm (#41930) »: https://git.io/vhKNr
johanot has quit [Ping timeout: 248 seconds]
<{^_^}> [nixpkgs] @acowley closed pull request #41488 → catch: add separate derivation for the catch2 branch → https://git.io/vhB2i
<{^_^}> [nixpkgs] @r-ryantm opened pull request #41937 → gnome3.webkitgtk: 2.20.2 -> 2.20.3 → https://git.io/vhKN7
justanotheruser has quit [Ping timeout: 248 seconds]
alexteves_ has joined #nixos
justanotheruser has joined #nixos
fendor_ has quit [Remote host closed the connection]
ThatDocsLady has quit [Quit: Leaving]
fendor_ has joined #nixos
jtojnar has quit [Read error: Connection reset by peer]
<LnL> that uses whatever nixpkgs version available instead of a specific commit, but you could also do that by replacing the <nixpkgs> part
Yaniel has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @tilpner opened pull request #41938 → nixos/awesome: Add noArgb option → https://git.io/vhKAA
morenoh149 has quit [Ping timeout: 276 seconds]
harrymoreno has joined #nixos
stites has joined #nixos
<{^_^}> [nixpkgs] @Ericson2314 opened pull request #41939 → haskell generic-builder: Always use separate pkg db for custom setup → https://git.io/vhKxk
Yaniel has joined #nixos
<{^_^}> [nixpkgs] @pmiddend opened pull request #41940 → pdf-tools: 0.80 -> HEAD → https://git.io/vhKxt
<stites> hi all! just installed nix-pkg on debian and am getting this noisy output where some internal shell script is trying to set the locale
reinzelmann has joined #nixos
<stites> it happens every time i enter a new line in bash
wchresta has quit [Ping timeout: 240 seconds]
<stites> I've slowly been uninstalling packages (there aren't that many), but it seems persistent. Would anyone be able to point me in a helpful debugging direction?
<tilpner> What's the message?
<stites> `/nix/store/qckzjk3406va7h6s40cy9s75z2w715rq-bash-4.4-p19/bin/sh: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)`
<stites> NOPE! found it
<stites> it was the last package
<stites> <_< sorry about that
jtojnar has joined #nixos
<tilpner> What package was it?
azk has left #nixos ["WeeChat 2.2-dev"]
<stites> fasd
<stites> which, in nixpkgs, is "fasd-unstable" -- it probably should have been my first choice
<tilpner> No, I don't see why fasd would be suspicous
<__monty__> johnw: Any idea what else branch this is talking about? http://ix.io/1cQw
{^_^} has quit [Remote host closed the connection]
{^_^} has joined #nixos
{^_^} has quit [Changing host]
{^_^} has joined #nixos
matthewbauer has quit [Read error: No route to host]
klntsky has quit [Remote host closed the connection]
harrymoreno is now known as morenoh149
<stites> @tilpner reading the fasd source -- one weird thing is that fasd might depend on bash language features, but for some reason nix is running `sh`? is that a possible issue?
<stites> er -- I guess it's running `bash-4.4-p19/bin/sh`
<tilpner> stites - I don't see why it would be (and I also don't see it running sh)
<stites> weird. it's definitely introducing this warning, though
klntsky has joined #nixos
<{^_^}> Channel nixpkgs-18.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/a7b6a9199e8 (from 4 hours ago, history: https://channels.nix.gsc.io/nixpkgs-18.03-darwin)
<tilpner> If you clean your environment and install something else, the warning is gone?
<{^_^}> [nixpkgs] @jtojnar pushed 4 commits to master: https://git.io/vhKhn
<{^_^}> [nixpkgs] @r-ryantm opened pull request #41941 → xmr-stak: 2.4.4 -> 2.4.5 → https://git.io/vhKhu
<stites> yeah, everything is clear
<stites> and then I can install it again and the warning comes back
<tilpner> But what if you install something else?
<__monty__> Hmm, is this a me issue or a nixpkgs issue? warning: unable to download 'https://nixos.org/channels/nixpkgs-unstable':
<stites> oooh! If I run vim from this terminal, I get the warning again
<stites> installing something else, when fasd is removed, I don't see any warnings
orivej has quit [Ping timeout: 260 seconds]
<stites> anyhow, I think I can live with this and track the issue you sent me. Thanks @tilpner!
shabius has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @7c6f434c pushed to release-18.03 « Merge pull request #41919 from YorikSar/update-chromium »: https://git.io/vh6eC
<roni> LnL: awesome, thank you! and if you wanted to change the parameters to foo, you could pass them through that set that is blank in the example, right?
stites has quit [Quit: WeeChat 1.6]
johanot has joined #nixos
<{^_^}> Channel nixos-18.03-small advanced to https://github.com/NixOS/nixpkgs/commit/4d8a4bcc3da (from 5 hours ago, history: https://channels.nix.gsc.io/nixos-18.03-small)
shabius has joined #nixos
knupfer has joined #nixos
matthewbauer has joined #nixos
redfish64 has joined #nixos
<{^_^}> [nixpkgs] @jensbin opened pull request #41942 → terraform-provider-ibm: 0.9.1 -> 0.10.0 → https://git.io/vh6fT
stranger___ has joined #nixos
<stranger___> wtf libreoffice is rebuilding on nixos-unstable o_O
<stranger___> where is the binary package? :D
<andi-> use a stable release? ;-)
<__monty__> stranger___: Problem with a dependency, the build is failing.
<stranger___> ok, thx :-)
mkoenig has joined #nixos
amir has quit [Ping timeout: 265 seconds]
<{^_^}> Channel nixos-18.03-small advanced to https://github.com/NixOS/nixpkgs/commit/a7b6a9199e8 (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-18.03-small)
mkoenig has quit [Ping timeout: 240 seconds]
fuzzy_id has joined #nixos
<fuzzy_id> i just upgraded from 17.09 to 18.03, rebuild went fine, i reboot into the new system
<fuzzy_id> now i get "error: executing SQLite statement 'alter table ValidPaths add column ultimate integer': SQL logic error (in '/nix/var/nix/db/db.sqlite')"
<fuzzy_id> when i try to do `nixos-rebuild switch`
<fuzzy_id> followed by "error: cannot open connection to remote store 'daemon': executing [same error as above]"
<LnL> roni: yeah, the second argument of callPackage are extra overrides
<infinisil> What types of attrsets does nixpkgs have?
<infinisil> > hello.type
<{^_^}> "derivation"
<infinisil> When I access the attribute "type" of an attribute set, can I get something else interesting?
<hodapp> this isn't the first complain we've had about libreoffice rebuilding on unstable
reinzelmann has quit [Quit: Leaving]
<{^_^}> Channel nixpkgs-18.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/34ed4d29800 (from 34 minutes ago, history: https://channels.nix.gsc.io/nixpkgs-18.03-darwin)
mkoenig has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #41936 → skim: 0.4.0 -> 0.5.0 → https://git.io/vhKNu
<{^_^}> [nixpkgs] @xeji pushed commit from @dywedir to master « skim: 0.4.0 -> 0.5.0 (#41936) »: https://git.io/vh6T8
roni has quit [Ping timeout: 245 seconds]
roni has joined #nixos
halfbit has quit [Ping timeout: 240 seconds]
halfbit has joined #nixos
roni has quit [Ping timeout: 240 seconds]
hoshineko has quit [Ping timeout: 264 seconds]
mtjmullen has quit [Quit: WeeChat 2.0]
pkill9 has quit [Ping timeout: 265 seconds]
inquisitiv3 has joined #nixos
hoshineko has joined #nixos
jperras has quit [Ping timeout: 240 seconds]
<andi-> I seem to be stupid today (or always...). Running `nix eval '{a}: a' --argstr a 1 --json` is expected to return `1` (as json)? It always complains about not knowing what to do with the argument..
civodul has joined #nixos
mtjmullen has joined #nixos
<srhb> andi-: 1) Arbitrary expressions should be enclosed in parantheses, 2) I don't think you can mix arbitrary expressions and --arg/--argstr
<inquisitiv3> Perl give me some warning messages every time I run `nixos-rebuild switch --upgrade`. Got any suggestions what triggers it?
johanot has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @erosennin opened pull request #41944 → ktorrent: fix build with CMake 3.11 → https://git.io/vh6IH
johanot has joined #nixos
<andi-> srhb: 1) I did, just didn't type here :/ 2) the backlog here suggests differently.. just not with nix eval :/ Guess I'll have to change my expression with sed instead of passing parameters...
<inquisitiv3> tilpner: Thanks! That answer my issue :)
<inquisitiv3> Second issue
<infinisil> andi-: Why not write a nix file?
<inquisitiv3> When I try to start the Nix REPL with `nix-repl` I get the error message "error: Nix database directory ‘/nix/var/nix/db’ is not writable: Permission denied".
<inquisitiv3> I've successfully started the repl one time before.
<andi-> infinisil: I was trying to use one contained file.. I can probably use mktemp etc...
<infinisil> ,nix-repl inquisitiv3
<{^_^}> inquisitiv3: To use nix-repl with Nix 2.0, either use the new `nix repl` or `NIX_REMOTE=daemon nix-repl`. Just using `nix-repl` gives an error because it is linked to Nix 1.x which requires NIX-REMOTE to be set correctly, while Nix 2.0 doesn't (and unfortunately it wasn't kept for backwards compatibility)
<inquisitiv3> infinisil: Thanks! That solves that.
hoshineko has quit [Ping timeout: 260 seconds]
<inquisitiv3> infinisil: Which Github repo contains the NixOS manual? It says that you should run the command `nix-repl '<nixpkgs/nixos>'`
<infinisil> nixpkgs/nixos/doc contains it
klntsky has quit [Read error: Connection reset by peer]
oida has quit [Read error: Connection reset by peer]
phreedom has quit [Write error: Connection reset by peer]
keegans has quit [Write error: Connection reset by peer]
hoshineko has joined #nixos
<{^_^}> Channel nixos-18.03-small advanced to https://github.com/NixOS/nixpkgs/commit/34ed4d29800 (from 69 minutes ago, history: https://channels.nix.gsc.io/nixos-18.03-small)
<inquisitiv3> infinisil: Thanks!
<infinisil> :)
kiloreux has quit [Ping timeout: 240 seconds]
tzemanovic has joined #nixos
<inquisitiv3> Why not use AsciiDoc for the documents? :/
<infinisil> I'm not fond of xml either.. It's a long lasting hot topic
<{^_^}> [nixpkgs] @xeji merged pull request #41942 → terraform-provider-ibm: 0.9.1 -> 0.10.0 → https://git.io/vh6fT
<{^_^}> [nixpkgs] @xeji pushed commit from @jensbin to master « terraform-provider-ibm: 0.9.1 -> 0.10.0 (#41942) »: https://git.io/vh6Lh
<infinisil> inquisitiv3: See #1960
<{^_^}> https://github.com/NixOS/nixpkgs/issues/1960 (by domenkozar, closed): Getting more developers to contribute to Nixpkgs documentation
fuzzy_id has quit [Ping timeout: 260 seconds]
tzemanovic has quit [Ping timeout: 248 seconds]
phreedom has joined #nixos
<{^_^}> [nixpkgs] @joachifm merged pull request #41852 → nixos/tor: fix systemd service → https://git.io/vhVrX
<{^_^}> [nixpkgs] @joachifm pushed 3 commits to master: https://git.io/vh6tn
klntsky has joined #nixos
oida has joined #nixos
asuryawanshi has quit [Ping timeout: 248 seconds]
<nh2[m]> dtz: did you just rebase `feature/ghc-cross-musl` ?
morenoh149 has left #nixos ["WeeChat 1.9"]
kiloreux has joined #nixos
<inquisitiv3> infinisil: I'm reading trough the issue. Wondering there it leads :)
justbeingglad has joined #nixos
justbeingglad has left #nixos [#nixos]
<inquisitiv3> infinisil: When you run the repl, should you supply any arguments to `nix repl`?
keegans has joined #nixos
<dtz> nh2: Right now? Sure shouldn't have touched it
<inquisitiv3> Or is just plain `nix repl` enough and recommended?
<dtz> But previously, yes, quite a bit. But that was at least a month ago
<infinisil> inquisitiv3: You can, e.g. `nix repl '<nixpkgs>'` to import the pkgs set already
<nh2[m]> dtz: I was using NIX_PATH=nixpkgs=https://github.com/dtzWill/nixpkgs/archive/feature/ghc-cross-musl.tar.gz and it literally changed *right now* what that downloads
kiloreux has quit [Ping timeout: 240 seconds]
<inquisitiv3> infinisil: Don't you need to add `--arg` before `'<nixpkgs>'`?
<infinisil> inquisitiv3: Try it?
<nh2[m]> dtz: maybe you pushed all of your branches or something? I can pinpoint precisely the difference: https://github.com/dtzWill/nixpkgs/commits/feature/ghc-cross-musl vs https://github.com/dtzWill/nixpkgs/commits/7048fc71e325c69ddfa62309c0b661b430774eac
<nh2[m]> dtz: not that pushing the branch is problematic, but I just got really confused because I'm trying to build something and it suddenly decided it should rebuild the world
jperras has joined #nixos
kiloreux has joined #nixos
jperras has quit [Ping timeout: 240 seconds]
jperras has joined #nixos
<dtz> For sure! Really really don't think I did but I'll check when I get back (~5-10) for stray commands in history. Either way sorry about that and indeed that would be surprising, confounding, and/or annoying haha so apologies!
<dtz> Now that you mention it I did notice ofborg was reevaluating ....
<nh2[m]> dtz: its totally OK if you push the branch, really my mistake to not turn it into a SHA first, but it would be great if you could check whether you pushed when you're back, so that we can be sure the branch is at the state you intend. Mainly because with the state that's in it now, GHC 8.2.2 no longer builds, I get `checking for setupterm in -lcurses... no`
orivej has joined #nixos
<inquisitiv3> infinisil: My suggestions doesn't work... But if I understand the output from `nix repl --help` one shouldn't be able to add something without any options?
<dtz> nh2: https://github.com/NixOS/nixpkgs/issues/37522 not to point fingers but it looks like someone else added commits? maybe?
<dtz> Sonarpulse: ^
<dtz> or maybe just referenced the issue, hrrm
<infinisil> inquisitiv3: The --arg arguments can only do anything when you pass it a file too
<Sonarpulse> dtz: hi
trevorriles has joined #nixos
<dtz> just did a fetch and:
<dtz> + 7048fc71e32...6cc5483b5e9 feature/ghc-cross-musl -> dtz/feature/ghc-cross-musl (forced update)
<inquisitiv3> infinisil: But there does it say (if it does that) that you can pass arguments without using any options?
<Sonarpulse> dtz: yeah I rebased your PR
<Sonarpulse> and got rid of conflicts
<dtz> so sure looks like it changed, and at appears Sonarpulse did it but not sure, let's see what he says
<Sonarpulse> months later I finally understood it :)
qewzee has joined #nixos
<Sonarpulse> yes i did the thing
<Sonarpulse> nh2[m]: is off the hook
<nh2[m]> dtz: it was quite definitely a push, as github says at the bottom: https://github.com/NixOS/nixpkgs/issues/37522#ref-commit-1e28373 " Ericson2314 added a commit to dtzWill/nixpkgs"
Slabity has quit [Remote host closed the connection]
<Sonarpulse> I commented too
<dtz> D: lol
robstr has quit [Quit: WeeChat 1.9.1]
<Sonarpulse> dtz: nh2[m]: do you all like that PR?
<Sonarpulse> when I rebase i subtly made it not a master rebuild
<nh2[m]> dtz: OK great so I'm not insane :D So the only remaining thing to figure out is whether that rebase is supposed to work (doesn't seem so at least for 8.2.2, but perhaps it does for 8.4.1?) -- I'll leave you guys to figure that one out
<nh2[m]> dtz: great job with the musl stuff btw
<Sonarpulse> the --with-*-libs stuff can affect ghci
<Sonarpulse> in weird ways
<Sonarpulse> even if everything builds OK
<Sonarpulse> so I kept it for true native
<nh2[m]> dtz: so on the old commit, I'm having a trouble, maybe you know the solution. I'm trying to build some larger Haskell project with it, so I picked stack. I can *almost* build it, only at the last `stack` package does it fail
<dtz> ty :D super glad you're finding it useful, esp the bits I did exploring ghc-musl xD was sharing with hopes someone might benefit some day xD
simukis has quit [Ping timeout: 264 seconds]
<dtz> well IIRC on that commit (I think things have improved since?) our build infra had some problems grabbing the wrong stage's inputs
<dtz> or... something.
<dtz> I was never able to build all-the-things with that commit, for whatever that's worth
<nh2[m]> dtz: it fails because `jailbreak` (to lift too tight version constraints) pulls in a version of `jailbreak-cabal` which for some weird rason wants to build against ghc 8.0.2, which pulls in some python package whose test fails
xy2_ has quit [Ping timeout: 276 seconds]
<dtz> haha o_O
<nh2[m]> dtz: of course I could try and disable that test, build the ghc and so on, but much easier would be if I could somehow overwrite the `jailbreak-cabal` used to build itself against a ghc version that I already have
<nh2[m]> but I don't know how to do that
<__monty__> nh2[m]: Do you mean `doJailbreak`?
<nh2[m]> no matter where I stick my overridden `jailbreak-cabal`, it doesn't pick it up
<nh2[m]> doJailbreak sets `jailbreak = true`, which makes it run `jailbreak-cabal` on the package
<nh2[m]> of course `jailbreak-cabal` has to be built, and for some reason it tries to build it with some old compiler instead of my one
<inquisitiv3> Is it just my VM, or does NixOS get stuck on `Starting Power-Off...\n Starting mdadm-shutdown.service...`?
<inquisitiv3> When powering off the machine.
<steveeJ> I'm trying to specify a custom vam plugin for neovim. apparently the plugin needs 'zip'; how do I provider that for the plugin's buildinputs?
aarvar has joined #nixos
srl295 has joined #nixos
<{^_^}> [nixpkgs] @matthewbauer pushed to master « ghcjs-ng: add haskellCompilerName attribute »: https://git.io/vh6O3
Guanin_ has quit [Remote host closed the connection]
aloiscochard has quit [Quit: Connection closed for inactivity]
<{^_^}> [nixpkgs] @Ericson2314 opened pull request #41946 → darwin stdenv: fix llvmPackage overrides → https://git.io/vh6OH
Guanin has joined #nixos
<{^_^}> [nixpkgs] @megheaiulian opened pull request #41947 → avocode: 2.26.4 -> 3.0.0 → https://git.io/vh63W
<steveeJ> it turns out one can just pass buildInputs to buildVimPlugin
<nh2[m]> dtz: "just got rid of conflicts"
<nh2[m]> so that was the motivation, but in the other ticket
asymmetric has joined #nixos
halfbit has quit [Ping timeout: 264 seconds]
trevorriles has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<dtz> ahh
sanscoeu_ has joined #nixos
isHavvy has quit [Read error: Connection reset by peer]
sanscoeur has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @Ericson2314 merged pull request #41946 → darwin stdenv: fix llvmPackages overrides → https://git.io/vh6OH
<{^_^}> [nixpkgs] @Ericson2314 pushed 2 commits to master: https://git.io/vh6Gg
jtojnar_ has joined #nixos
jtojnar has quit [Read error: Connection reset by peer]
MarcWeber has quit [Remote host closed the connection]
toby1851 has quit [Ping timeout: 248 seconds]
Mr_Keyser_Soze has joined #nixos
jtojnar has joined #nixos
jtojnar_ has quit [Ping timeout: 240 seconds]
inquisitiv3 has quit [Ping timeout: 268 seconds]
i0-dfn has joined #nixos
stranger___ has quit [Quit: Connection closed for inactivity]
<nh2[m]> how can I debug how the nix language is evaluated? No amount of -v flags to nix-instantiate seems to do it
Turion has joined #nixos
jtojnar has quit [Quit: jtojnar]
jtojnar has joined #nixos
testuser_ has quit [Ping timeout: 245 seconds]
johanot has quit [Read error: Connection reset by peer]
Turion has quit [Client Quit]
<dtz> I sometimes make use of builtins.trace (or variants using it in lib/debug.nix IIRC)
sanscoeu_ has quit [Remote host closed the connection]
sanscoeur has joined #nixos
<Guanin> Hi, I'm used to having these keys available: "äüöß" - on my arch system, I used a patched us layout in /usr/share/X11/xkb/symbols. What is the "nix way" to do this?
Ariakenom has joined #nixos
sir_guy_carleton has joined #nixos
<sir_guy_carleton> join #nixos-chat
<__monty__> Guanin: Does nixos support the compose key?
<infinisil> nh2[m]: It is a bit of a pain.. What I usually do is make a giant `rec { }` set in a default.nix and put all the intermediate variables i need in there, then i can evaluate them on their own by doing `nix-instantiate --eval -A <attribute>`
<Guanin> __monty__, I'd prefer to not use a compose key :/
<__monty__> Guanin: Why? It's pretty comfortable imo.
<nh2[m]> dtz: infinisil hmm ok
<infinisil> Guanin: I can help with that, what's your patch look like?
<infinisil> Guanin: If you wrote a standard xkb file, I recently wrote an article about how to apply it here: https://nixos.wiki/wiki/Keyboard_Layout_Customization
<Guanin> I just added them to the matching key, e.g. https://clbin.com/YWXAI
mizu_no_oto has joined #nixos
<Guanin> Thanks, I'll have a look
<infinisil> Yeah, the article there should work
<Guanin> __monty__, mostly to not hassle with my muscle memory :)
knupfer has quit [Ping timeout: 260 seconds]
Mr_Keyser_Soze has quit [Ping timeout: 276 seconds]
<{^_^}> [nixpkgs] @Mic92 merged pull request #41938 → nixos/awesome: Add noArgb option → https://git.io/vhKAA
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/vh6c4
fendor__ has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #41947 → avocode: 2.26.4 -> 3.0.0 → https://git.io/vh63W
<{^_^}> [nixpkgs] @xeji pushed commit from @megheaiulian to master « avocode: 2.26.4 -> 3.0.0 (#41947) »: https://git.io/vh6ca
mizu_no_oto has quit [Quit: Computer has gone to sleep.]
matthewbauer has quit [Ping timeout: 276 seconds]
fendor_ has quit [Ping timeout: 245 seconds]
sorixelle has joined #nixos
matthewbauer has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #41928 → nixos/zfs: enable zfs services → https://git.io/vhKVz
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/vh6Cf
jtojnar has quit [Ping timeout: 248 seconds]
tzemanovic has joined #nixos
<nh2[m]> dtz: __monty__ I found the issue with `jailbreak-cabal`: It is this line that hardcodes it to be compiled with 8.0.2: https://github.com/dtzWill/nixpkgs/blob/7048fc71e325c69ddfa62309c0b661b430774eac/pkgs/development/haskell-modules/configuration-ghc-8.2.x.nix#L47-L48
tzemanovic has quit [Client Quit]
<dtz> interesting
jtojnar has joined #nixos
tlotze_ has left #nixos [#nixos]
__monty__ has quit [Quit: leaving]
rihards has quit [Quit: rihards]
Ariakenom has quit [Quit: Leaving]
Ridout has joined #nixos
<{^_^}> [nix] @dtzWill opened pull request #2228 → use editline instead of linenoise(-ng) → https://git.io/vh6We
civodul has quit [Quit: ERC (IRC client for Emacs 26.1)]
hiratara has quit [Ping timeout: 240 seconds]
Thra11 has quit [Quit: IRC for Sailfish 0.9]
hiratara has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #41853 → network-interfaces.nix: remove duplicate code → https://git.io/vhVPf
<{^_^}> [nixpkgs] @xeji pushed 2 commits to master: https://git.io/vh6WF
amir has joined #nixos
hamishmack has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Maxdamantus has quit [Ping timeout: 260 seconds]
<charleshd> hi here
<jtojnar> why would I be getting "variable $src or $srcs should point to the source" for cabal2nix-generated shell.nix
<nh2[m]> dtz: OK, but it fails with `Setup: can't find source for Main in .` on packages it runs on. So I guess there's a real reason for our own 8.2.2 not being used for it. Anyway, I overrode it with another 8.2.2 that's not a musl one, that seems to bring some progress now
Maxdamantus has joined #nixos
troydm has quit [Ping timeout: 260 seconds]
<jtojnar> similarly looking one in a different projects works (running nix-build https://paste.gnome.org/pyhp8vj1u)
<charleshd> I'm trying to make a derivation for a closed-source game (puyovs). Problem is that the executable alters its directory which he is not allowed to, so the game crash in the middle of its execution.
<nh2[m]> jtojnar: I don't know the answer, but is $src defined at all (e.g. when you try to print it in `prePatch`?
philippD has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
philippD has joined #nixos
sorixelle has quit [Ping timeout: 265 seconds]
<nh2[m]> charleshd: which directory is it cd'ing into?
<charleshd> the game is altering the directory where it was extracted. Actually it tries to alter /nix/store/hash-puyovs/game/
Mr_Keyser_Soze has joined #nixos
myshoe has quit [Quit: Lost terminal]
<nh2[m]> charleshd: how would that game work on other distributions? Usually when installed on those, it also can't write into global directories
fendor__ has quit [Ping timeout: 256 seconds]
<charleshd> on other distribution the game is expected to run where it was unpacked, supposedly somewhere in user home
<jtojnar> nh2[m]: I tried adding preUnpack to the mkDerivation but it does not print anything
<tilpner> charleshd - Try running it with steam-run
<nh2[m]> jtojnar: is the preUnpack executed at all?
<jtojnar> so I would hope so
<nh2[m]> jtojnar: I mean if you just put `preUnpack = "echo hello"` in, does it happen?
<neonfuz> the clementine-blob doesn't work for me
<neonfuz> it fails building
nekroze has joined #nixos
<charleshd> tilpner: OK but it is missing the package dependencies
<charleshd> notably, qt5
<jtojnar> nh2[m]: no it does not
alexteves_ has quit [Ping timeout: 265 seconds]
<nh2[m]> tilpner: what does steam-run do in that regard?
<tilpner> nix-shell -p '(steamPackages.steam-chrootenv.override { extraPkgs = p: [ p.qt5Full ]; }).run' --run 'steam-run bash'
<tilpner> Try again with that. If it works, you can do it prettier later
<nekroze> trying to get wine working so I have set `hardware.pulseaudio.support32Bit = true;` however I cannot nixos-rebuild with that set, it fails because `while setting up the build environment: executing '/nix/store/3kw...-bash-4.4-p12/bin/bash': Exec format error` I can see with file that it is 32 bit ELF not 64 like my normal bash... what am I missing?
<{^_^}> [nixpkgs] @Mic92 merged pull request #41907 → powershell: fix the build → https://git.io/vhow7
<{^_^}> [nixpkgs] @Mic92 pushed 3 commits to master: https://git.io/vh68B
alexteves_ has joined #nixos
<charleshd> ok, let's try it
<tilpner> nh2[m] - In what regard?
<nh2[m]> jtojnar: ah sorry, what I wrote before is nonsense. If it didn't manage to unpack due to missing $src, it certainly can't run the prePatch I mentioned. Your idea of the preUnpack is good, but not sure why it's not working. Can you set the entire `unpackPhase = "echo hello"` to make something appear?
<nh2[m]> tilpner: regarding executing stuff as writable by the process (I suppose that's what steam-run helps with?)
<{^_^}> [nixpkgs] @NeQuissimus pushed 2 commits to master: https://git.io/vh68g
<{^_^}> [nixpkgs] @NeQuissimus pushed to release-18.03 « linux: 4.4.136 -> 4.4.137 »: https://git.io/vh68V
<{^_^}> [nixpkgs] @NeQuissimus pushed to release-18.03 « linux: 4.9.107 -> 4.9.108 »: https://git.io/vh68r
<jtojnar> nh2[m]: according to the full error https://paste.gnome.org/pmcyk6xyo
<tilpner> nh2[m] - steam-run is supposed to circumvent the whole packaging/patching process. The game won't go into the store, so it can modify whatever it wants
<{^_^}> [nixpkgs] @bhipple opened pull request #41949 → fzf: 0.17.3 -> 0.17.4 → https://git.io/vh681
<jtojnar> nh2[m]: right, it works fine if I replace the final condition with just drv
<jtojnar> nh2[m]: for some reason pkgs.lib.inNixShell is true in nix-build
philippD has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
olto has quit [Quit: ZNC - https://znc.in]
nekroze has quit [Remote host closed the connection]
<jtojnar> but only in this directory
<jtojnar> in the othe project it is false
mkoenig_ has joined #nixos
mkoenig has quit [Ping timeout: 240 seconds]
<nh2[m]> jtojnar: which final condition?
<nh2[m]> inNixShell being true in nix-build certainly sounds strange
<jtojnar> nh2[m]: cabal2nix --shell generates `if pkgs.lib.inNixShell then drv.env else drv`
olto has joined #nixos
<jtojnar> and if I replace the condition with (builtins.trace pkgs.lib.inNixShell pkgs.lib.inNixShell), it prints true in this project
<{^_^}> [nixpkgs] @Mic92 merged pull request #41941 → xmr-stak: 2.4.4 -> 2.4.5 → https://git.io/vhKhu
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/vh68x
<{^_^}> [nixpkgs] @dtzWill opened pull request #41950 → editline: init at 1.15.3 → https://git.io/vh68j
<{^_^}> [nixpkgs] @Mic92 merged pull request #41949 → fzf: 0.17.3 -> 0.17.4 → https://git.io/vh681
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/vh64e
<jtojnar> nh2[m]: oh, right, I forgot I am already in a nix-shell
<charleshd> I encounter a zlib version mismatch using tilpner method with steam-run
<charleshd> "version `ZLIB_1.2.9' not found (required by /nix/store/1n47iy8z04x07ahq8phzdp1bvmqwfmmc-libpng-apng-1.6.34/lib/libpng16.so.16)"
<jtojnar> nh2[m]: should have been running pure build
chessai has quit [Remote host closed the connection]
tnks has quit [Ping timeout: 276 seconds]
<charleshd> adding p.zlip to the extraPackages didn't do the trick
<tilpner> charleshd - Never seen that. Good luck, I have to go now :)
<charleshd> <3, thanks for the hand. I have a starting point
<jtojnar> bah, --pure does not seem to filter out IN_NIX_SHELL var
<LnL> no, but it has a different value
<nh2[m]> jtojnar: I haven't had great experiences running nix-build from within nix-shell, pure or otherwise
<dtz> o_O. If you use daemon/build-users/sandbox I'd be surprised it would matter! Or do you see problems anyway?
shah^ has joined #nixos
<nh2[m]> dtz: ah, I mainly run those things on Ubuntu, without daemon, that might give me that experience
<jtojnar> dtz: I use sandbox but somehow, IN_NIX_SHELL gets passed to nix-build
hiratara has quit [Quit: ZNC - http://znc.in]
<dtz> I honestly couldn't promise you IN_NIX_SHELL isn't set for builds haha but I suppose it's probably not
<dtz> curious
hiratara has joined #nixos
tnks has joined #nixos
hamishmack has joined #nixos
<WilliamHamilton> how would I enter a nix shell which contains only the dependencies of a haskell project? I was under the impression that if I generated a shell.nix file with `cabal2nix --shell . > shell.nix` that would work, am I mistaken?
<yurrriq> Is anyone in here at DockerCon in SF right now, by chance?
<jtojnar> dtz: it seems to print other environment variables as well
noam has quit [Read error: Connection reset by peer]
tzemanovic has joined #nixos
jtojnar has quit [Read error: Connection reset by peer]
jtojnar has joined #nixos
nekroze has joined #nixos
<nekroze> It appears I can only run 32bit binaries, what nixos options will allow me to rebuild my system with the ability to run 32 or 64 bit binaries instead of just 64?
<nekroze> sorry I meant it appears I can only run 64 bit binaries
<nekroze> I want to be able to run 32bit as well so I can utilize wine 32 bit stuff
<infinisil> WilliamHamilton: it's not directly usable for a nix-shell. What you need to do is something like `with import <nixpkgs> {}; haskellPackages.callPackage ./cabal2nix.nix {}` in default.nix, then `(import ./default.nix).env` in shell.nix
<WilliamHamilton> infinisil: I see, thanks!
xcmw has joined #nixos
<infinisil> :)
<dtz> Can confirm jtojnar, although I doubt you're surprised haha. Curious!
<dtz> Oh but builtins.getEnv is evaluator, the builder we'd want to dump "env" or something. Is it there too? That'd be partocualrly surprising.
<jtojnar> hopefully not
<dtz> Although this is enough to change evaluation , at least in theory, for some things
<jtojnar> There is supposed to be pure evaluation mode in nix 2.0 but not sure how to enable it
<infinisil> --pure-eval
<nekroze> how can I execute a 32bit binary if I am getting "Exec format error" trying to run the,
<nh2[m]> dtz: I succeeded! ldd /nix/store/2cbz8xb616h1cwvz0kr1cldsrrx30ygc-stack-1.6.5-x86_64-unknown-linux-musl/bin/stack - not a dynamic executable!
<nh2[m]> dtz: if we can build stack then we can probably build a ton of stuff with musl!
<dtz> Does it run? Lmao
<dtz> Congratulations!
<nh2[m]> dtz: yeah runs perfectly fine!
<elvishjerricco> For the linux kernel, why does `generate-config.pl` try to use `m` for questions that it doesn't have an override for, rather than always using the default?
<nh2[m]> dtz: I'm going to clean this up, hopefully tomorrow, and share it. Ideally I can also do it on your nixpkgs without my hack for jailbreak-cabal, moving that hack to my nix file instead
<nh2[m]> dtz: one thing that doesn't work well yet is that I have to `dontHaddock` a couple things, because the execution of haddock somehow tries to pull in libgmp and it fails with "libgmp.so not found"
<nh2[m]> so there's something that doesn't use musl, or static gmp, or some missing dependency on gmp to make it available
tertle||eltret has joined #nixos
<{^_^}> [nixpkgs] @smaret opened pull request #41951 → ispell: fix compilation on Darwin → https://git.io/vh6Rc
worldofpeace has joined #nixos
<worldofpeace> What's the `nix-env` command that shows what's currently imperatively installed?
logiq has joined #nixos
<infinisil> nix-env -q
<nekroze> how can I execute a 32bit binary if I am getting "Exec format error" trying to run it?
jperras has quit [Ping timeout: 260 seconds]
matthewbauer has quit [Ping timeout: 256 seconds]
sanscoeur has quit [Ping timeout: 248 seconds]
asymmetric has quit [Ping timeout: 240 seconds]
halfbit has joined #nixos
<symphorien> nekroze: are you using the hardened kernel of nixpkgs ?
<worldofpeace> I remember someone sharing a one liner that pipes `nix-env q` into fzf and then redirects that to uninstall it. Anyone know it :) Should have put it into an alias
<symphorien> if so, 32bit support is disabled
<infinisil> worldofpeace: Heh, that was me
<infinisil> worldofpeace: nix-env -q | fzf | xargs -I{} nix-env -e "{}"
<worldofpeace> infinisil: that's cause your awesome, thanks
* infinisil blushes
<{^_^}> [nixpkgs] @Ericson2314 opened pull request #41952 → llvm: Remove unneeded libcxxabi dependencies → https://git.io/vh6Rj
pkill9 has joined #nixos
logiq has quit [Ping timeout: 240 seconds]
<JasonGrossman> infinisil++
<{^_^}> infinisil's karma got increased to NaN
<{^_^}> infinisil's karma got increased to NaN
<infinisil> Damnit gchristensen
pkill9 has left #nixos ["WeeChat 2.1"]
ryantrinkle has quit [Ping timeout: 260 seconds]
<nekroze> symphorien: it turns out I am, would that be causing this?
erasmas has quit [Quit: leaving]
<nekroze> symphorien: ah interesting, I was not aware that was one of the changes, I will try without. Thank you so much!
jperras has joined #nixos
<{^_^}> [nixpkgs] @LnL7 merged pull request #41951 → ispell: fix compilation on Darwin → https://git.io/vh6Rc
<{^_^}> [nixpkgs] @LnL7 pushed 3 commits to master: https://git.io/vh6Ed
palo_ has joined #nixos
palo_ has quit [Changing host]
palo_ has joined #nixos
JasonGrossman has quit [Remote host closed the connection]
palo has quit [Ping timeout: 255 seconds]
palo_ is now known as palo
nekroze has quit [Quit: Lost terminal]
jperras has quit [Ping timeout: 256 seconds]
rprije has joined #nixos
pie_ has quit [Ping timeout: 268 seconds]
fresheyeball has joined #nixos
<fresheyeball> so I wanted to try out nixops
<fresheyeball> followed the example here: https://nixos.org/nixops/
<fresheyeball> I am on nixos and have the following in my configuration.nix
orivej has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @Ma27 opened pull request #41953 → dlib: 19.9 -> 19.13 → https://git.io/vh6uX
jackdk has joined #nixos
<fresheyeball> virtualbox.enable = true;
<fresheyeball> deploying fails with
<fresheyeball> error: Multiple exceptions (2):
<fresheyeball> * fileserver: command ‘['VBoxManage', 'startvm', u'nixops-cb4d2b47-6f60-11e8-8872-0242cb0fbeb8-fileserver']’ failed on machine ‘fileserver’ (exit code 1)
<fresheyeball> * webserver: command ‘['VBoxManage', 'startvm', u'nixops-cb4d2b47-6f60-11e8-8872-0242cb0fbeb8-webserver']’ failed on machine ‘webserver’ (exit code 1)
truthadjustr has joined #nixos
<truthadjustr> happened to me several times already. `cp -av /aaa/bbb/ /destination/` ended up corrupted copies, md5sum does not match. How do I make nixos do reliable copy? sync? flags? tips?
alexteves_ has quit [Remote host closed the connection]
TonyTheLion has quit [Quit: leaving]
Mr_Keyser_Soze has quit [Remote host closed the connection]
Mr_Keyser_Soze has joined #nixos
orivej has joined #nixos
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]