gchristensen changed the topic of #nixos to: The Nix Ecosystem, https://nixos.org | NixOS: https://nixos.org/nixos/download.html | Nix: https://nixos.org/nix/download.html | Logs: https://logs.nix.samueldr.com/nixos/ | #nixos-dev, #nix-darwin, #nixos-aarch64, #nixos-chat
andgate has quit [Ping timeout: 260 seconds]
<danderson> pie_: I mean, ideally nixos would have a way of handling keys without making them world readable ;). But absent that, I'm doing what I can :/
<mdash> danderson: i'm working on a similar problem
<danderson> mdash: what's your approach? Got a link?
<mdash> except i'm using bitwarden instead of pass and i haven't worked my way up to nixops yet
<danderson> hrm. I explicitly bailed on nixops because the other aspects it enforces are jarring for managing standalone machines (the whole state thing, and the difficulties of managing the remote machine's nix channels)
qubasa_ has joined #nixos
<mdash> danderson: Right. Looking at morph instead is next on my list
<elvishjerricco> One day I'll find a suitable replacement for NixOps... It does some things that are important to me, but it's quite a frustrating system.
<danderson> but I'm ending up with something similar to nixops's implementation of key management
<mdash> which is stateless
<danderson> which is "sync the keys separately, and pretend there's no dependency issues" basically :/
<mdash> Right now I'm just keeping stuff in /etc/nixos/secrets.nix, outside of version control
<infinisil> elvishjerricco: Yeah same, what are the important bits for you?
<danderson> mdash: but do you refer to secrets.nix from derivations? Because that will end up pulling stuff into /nix, right?
<mdash> danderson: Right, I do, so far from ideal
<mdash> elvishjerricco: do you have opinions on morph yet?
reallymemorable has joined #nixos
<elvishjerricco> infinisil: Secret management and AWS provisioning mostly.
<danderson> mdash: yeah, that's where I was at, and got stuck on not wanting to do that :)
<elvishjerricco> mdash: Haven't looked at it since shortly after it was first revealed, but my main issue at the time was lack of AWS integration
<mdash> elvishjerricco: makes sense
<mdash> fortunately that's not a blocker for me currently
<pie_> danderson its hard for me to look it up right now but there are github issues on this
<mdash> secrets management and morph https://github.com/DBCDK/morph/issues/33
<{^_^}> DBCDK/morph#33 (by Shados, 40 weeks ago, open): Feature Request: Support for decrypting encrypted secrets at deploy-time
<danderson> pie_: yeah, I looked them up and they all sort of died out with "eh, something outside nix should deal with this" :(
<pie_> oh hm. i guess youre right though, i didnt actually solve this yet.#
qubasa has quit [Ping timeout: 245 seconds]
<infinisil> nix#8
<{^_^}> https://github.com/NixOS/nix/issues/8 (by edolstra, 7 years ago, open): Support private files in the Nix store
<pie_> elvishjerricco: or...im not sure i did
<infinisil> Didn't even have to look up the issue number :)
<danderson> basically, populate /etc/keys and adjust their permissions with an activation script snippet (so that users/groups exist when we do the chown)
<danderson> and I store the secrets with git-crypt in the repo. So there's no crypto dance during push
<elvishjerricco> pie_: Hm?
<danderson> but "advanced secrets access" is not part of my design goals, I don't need stuff like "only the target machine can decrypt the secret"
<pie_> elvishjerricco sorry bad highloght
<danderson> and it ends up with the same problems as nixops's key management, which is that the dependencies aren't visible to nixos, so it doesn't know when to restart services etc.
<danderson> at least with the thing I have, pushing a correct config to a fresh machine _should_ work, because it'll install the secrets before activation reaches "start systemd services"
<danderson> but it's still veeeeery loose coupling :(
<elvishjerricco> I'd really like to modify NixOS to separate configuration from hardware and from data (secrets being specific data). Rolling back my config shouldn't have issues with changed hardware or data. Revoking a secret shouldn't break a config. I'd like all three of these things to be separate generational systems.
<danderson> yeah, that would be nice. But all three are intertwined, and need to take action on each others's changes
<danderson> well, at least configuration needs to update when hw or secrets change.
<aminechikhaoui> danderson what was the problem with nixops when you used it ?
<danderson> aminechikhaoui: the whole state management is unnecessary and cumbersome for my use (which is managing bare metal machines); and nixops updates the machines based on the pushing client's channel configuration.
<danderson> the latter you can work around with awkward pinning, but it's very not built into the tooling, and still feels very easy to accidentally push my dev box's unstable into prod.
<{^_^}> [nixpkgs] @marsam merged pull request #65163 → pyscard: fix darwin build, remove pcsc library mixing → https://git.io/fjMWM
<aminechikhaoui> you could point to a different channel or nixpkgs-channels checkout
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/fjpQa
<danderson> and pinning isn't compatible with nixos's builtin automatic updates and whatnot.
mexisme has quit [Ping timeout: 250 seconds]
<aminechikhaoui> nixops modify -d <deployment> expression.nix -I nixpkgs=/path/to/nixpkgs
rihardsk[m] has quit [Remote host closed the connection]
fidgetspinoza[m] has quit [Remote host closed the connection]
Shyim[m] has quit [Remote host closed the connection]
cgm[m] has quit [Remote host closed the connection]
bkchr has quit [Remote host closed the connection]
tonic0x539[m] has quit [Remote host closed the connection]
pop[m]1 has quit [Remote host closed the connection]
tindvik[m] has quit [Remote host closed the connection]
Woland[m] has quit [Remote host closed the connection]
smolboye[m] has quit [Remote host closed the connection]
bnasty[m] has quit [Remote host closed the connection]
vxzero[m] has quit [Remote host closed the connection]
corpix[m] has quit [Remote host closed the connection]
Lisanna[m] has quit [Remote host closed the connection]
matthewbauer has quit [Remote host closed the connection]
alxev[m] has quit [Remote host closed the connection]
yoho[m]1 has quit [Remote host closed the connection]
vaibhavsagar has quit [Write error: Connection reset by peer]
fgaz has quit [Read error: Connection reset by peer]
MilkManzJourDadd has quit [Write error: Connection reset by peer]
momack2[m] has quit [Remote host closed the connection]
pinage404[m] has quit [Remote host closed the connection]
Nyanloutre[m] has quit [Remote host closed the connection]
NickHu has quit [Write error: Connection reset by peer]
slabity has quit [Write error: Connection reset by peer]
jschievink has quit [Remote host closed the connection]
balsoft[m] has quit [Write error: Connection reset by peer]
JaakkoLuttinen[m has quit [Write error: Connection reset by peer]
tokudan[m] has quit [Remote host closed the connection]
Seb[m] has quit [Write error: Connection reset by peer]
Ericson2314 has quit [Remote host closed the connection]
sm[m] has quit [Write error: Connection reset by peer]
Noughtmare[m] has quit [Remote host closed the connection]
manveru[m] has quit [Write error: Connection reset by peer]
mildred has quit [Remote host closed the connection]
sphalerit has quit [Remote host closed the connection]
bikki[m] has quit [Write error: Connection reset by peer]
steshaw[m] has quit [Write error: Connection reset by peer]
mariusz-kowalski has quit [Write error: Connection reset by peer]
timclassic has quit [Write error: Connection reset by peer]
worldofpeace has quit [Write error: Connection reset by peer]
joelpet1 has quit [Write error: Connection reset by peer]
y0x3y[m] has quit [Write error: Connection reset by peer]
joepie91[m] has quit [Write error: Connection reset by peer]
MayeulC_backup has quit [Write error: Connection reset by peer]
balsoft has quit [Write error: Connection reset by peer]
abbec has quit [Write error: Connection reset by peer]
RobinKroonen[m] has quit [Write error: Broken pipe]
craige[m] has quit [Write error: Connection reset by peer]
M0ddba11[m] has quit [Write error: Connection reset by peer]
IslandUsurper has quit [Write error: Broken pipe]
bbigras has quit [Write error: Connection reset by peer]
KarelWDingeldey[ has quit [Remote host closed the connection]
peterhoeg[m] has quit [Remote host closed the connection]
xbreak[m] has quit [Remote host closed the connection]
elais[m] has quit [Remote host closed the connection]
kxlljoyy[m] has quit [Remote host closed the connection]
tobim[m] has quit [Remote host closed the connection]
alex[m]15 has quit [Remote host closed the connection]
ck3d[m] has quit [Remote host closed the connection]
jwaksbaum[m] has quit [Remote host closed the connection]
rnhmjoj has quit [Remote host closed the connection]
Yakulu[m] has quit [Remote host closed the connection]
li_matrix has quit [Remote host closed the connection]
tyx2q[m] has quit [Remote host closed the connection]
infinisil-m has quit [Remote host closed the connection]
harkenedraven has quit [Read error: Connection reset by peer]
Dandellion[m] has quit [Read error: Connection reset by peer]
dtz has quit [Read error: Connection reset by peer]
DanP[m] has quit [Read error: Connection reset by peer]
Thinkofname[m] has quit [Read error: Connection reset by peer]
coniferous-cube[ has quit [Read error: Connection reset by peer]
alienpirate5 has quit [Read error: Connection reset by peer]
hpfr[m] has quit [Read error: Connection reset by peer]
icetan has quit [Read error: Connection reset by peer]
alj[m] has quit [Read error: Connection reset by peer]
thequux[m] has quit [Read error: Connection reset by peer]
malteof[m] has quit [Read error: Connection reset by peer]
philipp[m] has quit [Read error: Connection reset by peer]
wangoe[m] has quit [Read error: Connection reset by peer]
macerbi[m] has quit [Write error: Connection reset by peer]
white_bluff[m] has quit [Write error: Connection reset by peer]
marius851000[m] has quit [Read error: Connection reset by peer]
MarkOtaris has quit [Read error: Connection reset by peer]
zmlww[m]1 has quit [Remote host closed the connection]
simbergm has quit [Read error: Connection reset by peer]
weebull[m] has quit [Read error: Connection reset by peer]
nh2[m] has quit [Remote host closed the connection]
das-g[m] has quit [Read error: Connection reset by peer]
LinuXit has quit [Remote host closed the connection]
hr[m] has quit [Remote host closed the connection]
ndarwincorn has quit [Remote host closed the connection]
orospakr[m] has quit [Remote host closed the connection]
Gopal[m] has quit [Remote host closed the connection]
anton-latukha[m] has quit [Remote host closed the connection]
gspia[m] has quit [Remote host closed the connection]
GerdFlaig[m] has quit [Remote host closed the connection]
flip[m]1 has quit [Remote host closed the connection]
fasd has quit [Remote host closed the connection]
ZD[m] has quit [Remote host closed the connection]
eqyiel has quit [Remote host closed the connection]
ajirx[m] has quit [Remote host closed the connection]
boredom101[m]1 has quit [Remote host closed the connection]
badmutex[m] has quit [Remote host closed the connection]
aymenstudios[m] has quit [Remote host closed the connection]
ronny has quit [Remote host closed the connection]
bee[m]1 has quit [Write error: Connection reset by peer]
zurdo has quit [Write error: Connection reset by peer]
roadt[m] has quit [Write error: Connection reset by peer]
MerlinGttlinger[ has quit [Write error: Connection reset by peer]
kaychaks[m] has quit [Write error: Connection reset by peer]
craigevil[m] has quit [Write error: Connection reset by peer]
layus[m] has quit [Remote host closed the connection]
cornu has quit [Write error: Connection reset by peer]
bachp has quit [Write error: Connection reset by peer]
ptotter[m] has quit [Write error: Connection reset by peer]
musicmatze has quit [Write error: Connection reset by peer]
BinkyTheClown has quit [Read error: Connection reset by peer]
Moredread[m] has quit [Remote host closed the connection]
arcnmx has quit [Write error: Connection reset by peer]
divansantana has quit [Write error: Connection reset by peer]
ma27[m] has quit [Write error: Connection reset by peer]
ilya-fedin has quit [Write error: Connection reset by peer]
Vskilet has quit [Write error: Connection reset by peer]
olejorgenb[m] has quit [Write error: Connection reset by peer]
submoo[m] has quit [Write error: Connection reset by peer]
haslersn has quit [Remote host closed the connection]
vdot0x23[m] has quit [Read error: Connection reset by peer]
midi[m] has quit [Write error: Connection reset by peer]
nocent has quit [Write error: Connection reset by peer]
AntonSchirg[m] has quit [Write error: Connection reset by peer]
abbafei[m] has quit [Write error: Connection reset by peer]
escaP[m] has quit [Write error: Connection reset by peer]
bohan[m] has quit [Write error: Connection reset by peer]
chuzz_ has quit [Write error: Connection reset by peer]
bricewge has quit [Write error: Connection reset by peer]
wak-work has quit [Write error: Connection reset by peer]
cyberwolf[m] has quit [Write error: Connection reset by peer]
jonreeve[m] has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @marsam merged pull request #67276 → yubikey-manager: 2.1.1 -> 3.1.0 → https://git.io/fjNOz
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/fjpQV
jak[m] has quit [Remote host closed the connection]
Brio[m] has quit [Remote host closed the connection]
roberth has quit [Remote host closed the connection]
schmittlauch[m]1 has quit [Remote host closed the connection]
NfixEstrada[m] has quit [Remote host closed the connection]
groggy[m] has quit [Remote host closed the connection]
pingveno[m] has quit [Remote host closed the connection]
syntaxtree[m] has quit [Remote host closed the connection]
sauyon[m] has quit [Remote host closed the connection]
aquarial has quit [Write error: Connection reset by peer]
EuAndreh[m] has quit [Write error: Connection reset by peer]
fulgjon has quit [Write error: Connection reset by peer]
codyopel has quit [Remote host closed the connection]
Notkea[m] has quit [Remote host closed the connection]
TravisRt2botio[m has quit [Write error: Connection reset by peer]
Ralith has quit [Read error: Connection reset by peer]
alexarice[m] has quit [Write error: Connection reset by peer]
copy` has quit [Write error: Connection reset by peer]
thefloweringash has quit [Write error: Connection reset by peer]
rycee has quit [Write error: Connection reset by peer]
zmlww[m] has quit [Remote host closed the connection]
ptival[m] has quit [Remote host closed the connection]
danielrf[m] has quit [Write error: Connection reset by peer]
bennofs[m] has quit [Write error: Connection reset by peer]
siraben has quit [Write error: Connection reset by peer]
ejpcmac has quit [Write error: Connection reset by peer]
florianjacob has quit [Write error: Connection reset by peer]
luftmensch[m] has quit [Read error: Connection reset by peer]
kyleondy[m] has quit [Read error: Connection reset by peer]
Fluffy[m] has quit [Read error: Connection reset by peer]
is0x3F has quit [Read error: Connection reset by peer]
sylvie[m] has quit [Read error: Connection reset by peer]
<aminechikhaoui> or just -I nixpkgs=channel:nixos-19.03 for example to get latest updates when deploying if that's not a problem
sputny[m] has quit [Remote host closed the connection]
Diamaths[m] has quit [Remote host closed the connection]
klbrn[m] has quit [Remote host closed the connection]
aterius has quit [Remote host closed the connection]
info_supplicant[ has quit [Remote host closed the connection]
bpye has quit [Remote host closed the connection]
Dan[m]9 has quit [Remote host closed the connection]
grahamc[m] has quit [Remote host closed the connection]
grim_reaper[m] has quit [Remote host closed the connection]
hackeryarn[m] has quit [Remote host closed the connection]
arianvp[m] has quit [Remote host closed the connection]
freddie_freeload has quit [Remote host closed the connection]
isgy[m] has quit [Remote host closed the connection]
HappyEnt[m] has quit [Remote host closed the connection]
gudea[m] has quit [Remote host closed the connection]
cab404[m] has quit [Remote host closed the connection]
yangm has quit [Write error: Connection reset by peer]
neonfuz2 has quit [Remote host closed the connection]
zaphar_ps[m] has quit [Remote host closed the connection]
wrunt[m] has quit [Remote host closed the connection]
vvbb[m] has quit [Remote host closed the connection]
nilsirl[m] has quit [Remote host closed the connection]
Smith[m] has quit [Remote host closed the connection]
spacekitteh[m] has quit [Remote host closed the connection]
contrun[m] has quit [Read error: Connection reset by peer]
Minijackson[m] has quit [Remote host closed the connection]
clefru has quit [Remote host closed the connection]
bkl[m] has quit [Remote host closed the connection]
dwagenk has quit [Remote host closed the connection]
tails[m] has quit [Remote host closed the connection]
pachacuti[m] has quit [Remote host closed the connection]
abbradar has quit [Remote host closed the connection]
MiloIgnis[m] has quit [Remote host closed the connection]
laas has quit [Remote host closed the connection]
imj[m] has quit [Remote host closed the connection]
b-m-f[m] has quit [Remote host closed the connection]
blitzclone_ has quit [Remote host closed the connection]
iceychris[m] has quit [Remote host closed the connection]
bendlas has quit [Write error: Connection reset by peer]
am3on[m] has quit [Write error: Connection reset by peer]
frederic_chopwn[ has quit [Remote host closed the connection]
attente[m] has quit [Remote host closed the connection]
otini has quit [Remote host closed the connection]
arturo[m] has quit [Remote host closed the connection]
colemickens has quit [Remote host closed the connection]
jonge[m] has quit [Remote host closed the connection]
goibhniu has quit [Remote host closed the connection]
timokau[m] has quit [Remote host closed the connection]
ArtemVorotnikov[ has quit [Remote host closed the connection]
domenkozar[m] has quit [Remote host closed the connection]
clacke[m] has quit [Remote host closed the connection]
ninjatrappeur[m] has quit [Remote host closed the connection]
regnat[m] has quit [Remote host closed the connection]
atopuzov[m] has quit [Remote host closed the connection]
hiroshi[m] has quit [Remote host closed the connection]
frislie[m] has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @marsam merged pull request #67907 → postgresqlPackages.postgis: 2.5.2 -> 2.5.3 → https://git.io/fjpRv
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/fjpQr
<aminechikhaoui> wow what's going on with matrix
<evanjs> Ohhhh that’s what it was
<evanjs> Im at least way less confused now that you pointed “matrix” out
<{^_^}> [nixpkgs] @marsam merged pull request #67911 → nfpm: 0.12.0 -> 0.13.0 → https://git.io/fjp0s
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/fjpQo
<{^_^}> [nixpkgs] @marsam merged pull request #67909 → postgresqlPackages.pg_cron: 1.1.4 -> 1.2.0 → https://git.io/fjpR3
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/fjpQK
<evanjs> danderson: haven’t scrolled too far up in this conversation, but have you checked out
<aminechikhaoui> anyway, danderson channel management doesn't seem like a problem to me or maybe I didn't get your use case very well
tsrt^ has quit [Ping timeout: 258 seconds]
<aminechikhaoui> for state, yeah I guess that's probably not ideal, but the none backend doesn't really keep that much state
<danderson> evanjs: morph does look like what I'm building now, secrets aside
hpfr[m] has joined #nixos
<hpfr[m]> What would be a good way to symlink dmenu to rofi?
tsrt^ has joined #nixos
singleton has joined #nixos
<Shados> Is there a tool for converting .drv files to JSON or some other common format?
<aminechikhaoui> Shados nix show-derivation
<evanjs> Shados: there’s nix show-derivation if you just need to view it
<evanjs> Dangit haha
<Shados> yeah I literally just ran into it >.>
<Shados> guess my initial search had the wrong terms
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/fjpQ1
<Shados> was thinking too much like a programmer and had 'parsing' rather than 'converting' originally
<evanjs> Shados: never been there before /s sometimes I’ll be a whole complex thing I want to do and when it comes down to it I just need a setting or something stupid and easy
boxscape has quit [Remote host closed the connection]
abathur has joined #nixos
vvbb[m] has joined #nixos
orivej_ has joined #nixos
<{^_^}> [nixpkgs] @marsam merged pull request #67974 → gallery-dl: 1.10.2 -> 1.10.3 → https://git.io/fjpH6
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/fjpQD
singleton has left #nixos [#nixos]
<qyliss> wow I’ve spent so much time trying to hand-format derivations because for some reason I just assumed such a tool didn’t exist
drakonis has joined #nixos
orivej has quit [Ping timeout: 245 seconds]
philr has joined #nixos
<qyliss> hpfr[m]: runCommand "rofi-dmenu" {} ''mkdir -p $out/bin; ln -s ${rofi}/bin/rofi $out/bin/dmenu''
<qyliss> but I’d think carefully about what problem you’re actually trying to solve before doing that.
<evanjs> Anybody have ideas on why a python program I'm packaging doesn't see it's own stuff under $out/lib/python3.7/site-packages/${name}?
drakonis_ has quit [Ping timeout: 264 seconds]
reallymemorable has quit [Quit: reallymemorable]
<evanjs> hpfr[m]: what qyliss said. If it’s for a WM or something, I’d just set the launcher to rofi (which I did)
ris has quit [Ping timeout: 264 seconds]
<mdash> I have an utterly mad question: how do I remove something from environment.systemPackages?
<tdeo> where is it set from?
li_matrix has joined #nixos
<li_matrix> well, you just remove it
<evanjs> mdash: like... the default systemPackages, or..?
<li_matrix> I dont think you can override-remove
<mdash> evanjs: like, in my configuration.nix I want to replace something added to environment.systemPackages in another file
<li_matrix> sounds like you wanna write an option
<li_matrix> without a module to configure it, youll have to edit the file in question
vika_nezrimaya has joined #nixos
<mdash> I cheated and used ".overrideDerivation (o: { priority = 1; })"
<evanjs> *screams*
<mdash> it's fine, it's fine, if this all works out I'll turn it into a pull request and i can take out the hackery
<mdash> nah it's fancier than that, maybe "hacquerie"
jluttine has quit [Ping timeout: 252 seconds]
<li_matrix> well done.
alex``` has quit [Ping timeout: 246 seconds]
<li_matrix> has anyone ever moved a build job halfway done, to another host
pareidolia has quit [Ping timeout: 268 seconds]
<li_matrix> Id use that a lot
<li_matrix> might be an interesting project
alex``` has joined #nixos
alj[m] has joined #nixos
<alj[m]> Can somebody help me override rust.packages.stable.rustc ? I can't figure it out.
pareidolia has joined #nixos
<evanjs> alj[m]: version, plugins, etc, what do you want to override?
<alj[m]> Im on nixos 19 and I need to override the nix-expression creating rustc inparticular
drakonis_ has joined #nixos
ekleog has quit [Quit: WeeChat 2.4]
ekleog has joined #nixos
<alj[m]> I don't know why but I have a rustc.nix file that does not correspond to the version on github
drakonis has quit [Ping timeout: 276 seconds]
<evanjs> alj[m]: the master branch doesn't necessarily match the packages on your computer. there are multiple channels for packages in nix, and depending on which channel you're using, some things might not match what is on the master branch on GitHub
<alj[m]> im not looking at master
<{^_^}> [nixpkgs] @marsam opened pull request #67976 → ruby: 2.4.5 -> 2.4.7, 2.5.5 -> 2.5.6, 2.6.3 -> 2.6.4 → https://git.io/fjp7v
<evanjs> alj[m]: well what are you trying to do with your override, anyway? Get the latest stable version?
<evanjs> alj[m]: if so, using the rust nightlies overlay might be one option -- https://nixos.org/nixpkgs/manual/#using-the-rust-nightlies-overlay
<alj[m]> @ev
<evanjs> Ahhhh alright
<alj[m]> evanjs: So when i try to use the nightlies I'm missing rustPlatform (and/or rustPackages) to build the actual binary i want to build with rust
<alj[m]> evanjs: It's past 3am on my side of the earth and I basically tried everything i could figure out on my own. After finally figuring out the exact location of the error I am now at a loss on how to "patch" it...
MmeQuignon has quit [Ping timeout: 245 seconds]
<alj[m]> It all boils to this, i think: How do I download and substitute a nix-expression for my rust?
<alj[m]> I should be able to use a nix-expression that doesnt have the error, if i can manage to override rust entirely but i dont nkow how
drakonis has joined #nixos
<evanjs> alj[m]: Right right. Sort of odd the nix expression doesn't work for the platform you're running on, though
alexarice[m] has joined #nixos
cornu has joined #nixos
bkl[m] has joined #nixos
zurdo has joined #nixos
bennofs[m] has joined #nixos
fgaz has joined #nixos
Dandellion[m] has joined #nixos
Ericson2314 has joined #nixos
bachp has joined #nixos
clacke[m] has joined #nixos
dtz has joined #nixos
corpix[m] has joined #nixos
copy` has joined #nixos
domenkozar[m] has joined #nixos
aquarial has joined #nixos
Noughtmare[m] has joined #nixos
attente[m] has joined #nixos
bbigras has joined #nixos
abbafei[m] has joined #nixos
M0ddba11[m] has joined #nixos
MiloIgnis[m] has joined #nixos
escaP[m] has joined #nixos
das-g[m] has joined #nixos
Brio[m] has joined #nixos
craige[m] has joined #nixos
am3on[m] has joined #nixos
ndarwincorn has joined #nixos
is0x3F has joined #nixos
florianjacob has joined #nixos
colemickens has joined #nixos
cyberwolf[m] has joined #nixos
clefru has joined #nixos
DanP[m] has joined #nixos
Minijackson[m] has joined #nixos
craigevil[m] has joined #nixos
balsoft[m] has joined #nixos
EuAndreh[m] has joined #nixos
bohan[m] has joined #nixos
atopuzov[m] has joined #nixos
bendlas has joined #nixos
blitzclone_ has joined #nixos
dwagenk has joined #nixos
arcnmx has joined #nixos
frederic_chopwn[ has joined #nixos
abbec has joined #nixos
MilkManzJourDadd has joined #nixos
alxev[m] has joined #nixos
danielrf[m] has joined #nixos
fulgjon has joined #nixos
divansantana has joined #nixos
laas has joined #nixos
arturo[m] has joined #nixos
alienpirate5 has joined #nixos
balsoft has joined #nixos
bikki[m] has joined #nixos
BinkyTheClown has joined #nixos
coniferous-cube[ has joined #nixos
b-m-f[m] has joined #nixos
RobinKroonen[m] has joined #nixos
ejpcmac has joined #nixos
chuzz_ has joined #nixos
kaychaks[m] has joined #nixos
simbergm has joined #nixos
abbradar has joined #nixos
jak[m] has joined #nixos
IslandUsurper has joined #nixos
nh2[m] has joined #nixos
hiroshi[m] has joined #nixos
nocent has joined #nixos
ninjatrappeur[m] has joined #nixos
codyopel has joined #nixos
isgy[m] has joined #nixos
momack2[m] has joined #nixos
MerlinGttlinger[ has joined #nixos
malteof[m] has joined #nixos
bricewge has joined #nixos
neonfuz2 has joined #nixos
musicmatze has joined #nixos
macerbi[m] has joined #nixos
icetan has joined #nixos
jonge[m] has joined #nixos
Thinkofname[m] has joined #nixos
luftmensch[m] has joined #nixos
NickHu has joined #nixos
manveru[m] has joined #nixos
harkenedraven has joined #nixos
JaakkoLuttinen[m has joined #nixos
MarkOtaris has joined #nixos
jschievink has joined #nixos
MayeulC_backup has joined #nixos
bkchr has joined #nixos
iceychris[m] has joined #nixos
marius851000[m] has joined #nixos
nilsirl[m] has joined #nixos
joepie91[m] has joined #nixos
ma27[m] has joined #nixos
Lisanna[m] has joined #nixos
goibhniu has joined #nixos
HappyEnt[m] has joined #nixos
hackeryarn[m] has joined #nixos
flip[m]1 has joined #nixos
hr[m] has joined #nixos
LinuXit has joined #nixos
matthewbauer has joined #nixos
imj[m] has joined #nixos
tails[m] has joined #nixos
frislie[m] has joined #nixos
layus[m] has joined #nixos
AntonSchirg[m] has joined #nixos
cgm[m] has joined #nixos
mildred has joined #nixos
Nyanloutre[m] has joined #nixos
joelpet1 has joined #nixos
Moredread[m] has joined #nixos
fasd has joined #nixos
aterius has joined #nixos
freddie_freeload has joined #nixos
Fluffy[m] has joined #nixos
ptotter[m] has joined #nixos
timokau[m] has joined #nixos
sphalerit has joined #nixos
vaibhavsagar has joined #nixos
ilya-fedin has joined #nixos
Ralith has joined #nixos
fidgetspinoza[m] has joined #nixos
eqyiel has joined #nixos
badmutex[m] has joined #nixos
anton-latukha[m] has joined #nixos
worldofpeace has joined #nixos
Vskilet has joined #nixos
philipp[m] has joined #nixos
bee[m]1 has joined #nixos
bnasty[m] has joined #nixos
cab404[m] has joined #nixos
olejorgenb[m] has joined #nixos
slabity has joined #nixos
wak-work has joined #nixos
thequux[m] has joined #nixos
contrun[m] has joined #nixos
arianvp[m] has joined #nixos
weebull[m] has joined #nixos
spacekitteh[m] has joined #nixos
submoo[m] has joined #nixos
elais[m] has joined #nixos
thefloweringash has joined #nixos
pinage404[m] has joined #nixos
siraben has joined #nixos
zaphar_ps[m] has joined #nixos
sylvie[m] has joined #nixos
boredom101[m]1 has joined #nixos
ck3d[m] has joined #nixos
aymenstudios[m] has joined #nixos
roberth has joined #nixos
<alj[m]> or would my binary still not use the proper expression then?
ajirx[m] has joined #nixos
timclassic has joined #nixos
roadt[m] has joined #nixos
pingveno[m] has joined #nixos
rihardsk[m] has joined #nixos
Diamaths[m] has joined #nixos
jonreeve[m] has joined #nixos
bpye has joined #nixos
regnat[m] has joined #nixos
ArtemVorotnikov[ has joined #nixos
TravisRt2botio[m has joined #nixos
otini has joined #nixos
Notkea[m] has joined #nixos
mariusz-kowalski has joined #nixos
Seb[m] has joined #nixos
Smith[m] has joined #nixos
ronny has joined #nixos
wrunt[m] has joined #nixos
haslersn has joined #nixos
midi[m] has joined #nixos
yoho[m]1 has joined #nixos
Dan[m]8 has joined #nixos
GerdFlaig[m] has joined #nixos
gudea[m] has joined #nixos
steshaw[m] has joined #nixos
wangoe[m] has joined #nixos
white_bluff[m] has joined #nixos
vdot0x23[m] has joined #nixos
zmlww[m]1 has joined #nixos
pachacuti[m] has joined #nixos
rycee has joined #nixos
NfixEstrada[m] has joined #nixos
KarelWDingeldey[ has joined #nixos
zmlww[m] has joined #nixos
yangm has joined #nixos
tyx2q[m] has joined #nixos
tokudan[m] has joined #nixos
gspia[m] has joined #nixos
sauyon[m] has joined #nixos
ptival[m] has joined #nixos
sm[m] has joined #nixos
kxlljoyy[m] has joined #nixos
jwaksbaum[m] has joined #nixos
kyleondy[m] has joined #nixos
groggy[m] has joined #nixos
grim_reaper[m] has joined #nixos
infinisil-m has joined #nixos
grahamc[m] has joined #nixos
rnhmjoj has joined #nixos
klbrn[m] has joined #nixos
sputny[m] has joined #nixos
smolboye[m] has joined #nixos
info_supplicant[ has joined #nixos
Gopal[m] has joined #nixos
orospakr[m] has joined #nixos
peterhoeg[m] has joined #nixos
ZD[m] has joined #nixos
Woland[m] has joined #nixos
vxzero[m] has joined #nixos
Yakulu[m] has joined #nixos
syntaxtree[m] has joined #nixos
tindvik[m] has joined #nixos
tonic0x539[m] has joined #nixos
tobim[m] has joined #nixos
Shyim[m] has joined #nixos
y0x3y[m] has joined #nixos
pop[m]1 has joined #nixos
alex[m]16 has joined #nixos
xbreak[m] has joined #nixos
schmittlauch[m]1 has joined #nixos
<alj[m]> evanjs: Like My binary is build by an expression so i need nix to know the right rust
reallymemorable has joined #nixos
<alj[m]> oh and with stupid i mean that I'm tired and what ive written is too simple to just work
alex``` has quit [Ping timeout: 250 seconds]
jluttine has joined #nixos
alex``` has joined #nixos
<evanjs> alj[m]: the weirdest part is that as far as I know, that l shouldn't really matter, at least in all the cases I've worked with arm stuff. What's the actual error you're getting, anyway?
<evanjs> In terms of syntax, you can override things like `pkgs.rust.packages.stable.rustc.overrideAttrs (oldAttrs: rec { stdenv.targetPlatform.system = "armv7-unknown"; } )`, but this example will _not_ work for what you're trying to do, as setting the stdenv is a little more complicated
<alj[m]> evanjs: My error is akin to " Failed to load specificatoin for target "armv7l-unknown-linux-gnueabihf""
<evanjs> alj[m]: Ahhh interesting, I notice mozilla has it mapped to what you're looking for in their overlay --https://github.com/mozilla/nixpkgs-mozilla/blob/dea7b9908e150a08541680462fe9540f39f2bceb/rust-overlay.nix#L45
<li_matrix> alj: that target doesnt exist
<li_matrix> for rustc
<alj[m]> Yes they did
<alj[m]> I just noticed I was on unstable. I'm now changing to 19.03. since it seems to not have that error on github
kvda has joined #nixos
<alj[m]> Could be that all that shit I went through these past 6ish hours was because I used the wrong channel unknowingly.
<alj[m]> I'll come back once my download and unpacking is complete
<kvda> How do i make a 'nix-env -i *" stick on OSX, essentially how to do a persistant global install on OSX with nix?
azdle has joined #nixos
orivej_ has quit [Ping timeout: 252 seconds]
<mdash> kvda: what's non sticky about it currently?
<kvda> mdash pardon, I was under the impression that you need to update a .nix file somewhere for changes to remain
<{^_^}> [nixpkgs] @marsam opened pull request #67978 → clair: 2.0.8 -> 2.0.9 → https://git.io/fjp73
<kvda> but looks like nix-env -i does that?
<mdash> kvda: it changes ~/.nix-profile
fusion809 has joined #nixos
<kvda> Gotcha thanks mdash
<li_matrix> kvda: you might wanna try home-manager
<{^_^}> [nixpkgs] @marsam opened pull request #67979 → dive: 0.7.2 -> 0.8.0 → https://git.io/fjp7s
<li_matrix> using individual nix-env's is not very nixy
<kvda> Thanks li_matrix, this home-manager is how i expected it to work by default i think
<li_matrix> yea its nice to nixify your user env
<kvda> - /etc/nixos/configuration.nix and /home/user/configuration.nix
<li_matrix> well im moving to flakes, but yea thats the 'legacy' way
xkapastel has joined #nixos
<li_matrix> my workflow is confusing even me nowadays
<li_matrix> hopefully ill clean it up and publish it soon
<li_matrix> flake API just changed again :P
<li_matrix> so far I really like the cached evals, saves me a bunch of time re-evaluating when I rollback changes
<li_matrix> planning a modular nix tree using flakes
<{^_^}> [nixpkgs] @marsam opened pull request #67980 → syncthing: 1.2.1 -> 1.2.2 → https://git.io/fjp7n
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/ad6ba90bdd7 (from 81 minutes ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<kvda> li_matrix what does flake do?
polman has quit [Ping timeout: 245 seconds]
polman has joined #nixos
<drakonis> .flakes
<drakonis> ?flakes
<drakonis> ?flake
<drakonis> i forgot how to do it
<{^_^}> rfcs#49 (by edolstra, 7 weeks ago, open): [RFC 0049] Flakes
<drakonis> wow, its almost 2 months already.
<evanjs> ,flakes
<evanjs> close enough
<{^_^}> [nixpkgs] @marsam opened pull request #67981 → wtf: 0.20.0 -> 0.21.0 → https://git.io/fjp7B
<evanjs> Could somebody give me a hand with substituteInPlace for this file for a build expression? It's driving me crazy -- https://github.com/polychromatic/polychromatic/blob/06cadead6e7afdc8a9762f5cbd288f927c663ade/Makefile
<{^_^}> [nixpkgs] @jtojnar merged pull request #67967 → gnomeExtensions.dash-to-panel: 19 -> 23 → https://git.io/fjp9G
<{^_^}> [nixpkgs] @jtojnar pushed 2 commits to master: https://git.io/fjp7u
<alj[m]> Li: Thanks a lot! I've figured my next move out and will read up on rust issues tomorrow.
<{^_^}> [nixpkgs] @worldofpeace merged pull request #67935 → gnome3.gvfs: fix eval with allowAliases = false → https://git.io/fjprs
<{^_^}> [nixpkgs] @worldofpeace pushed 6 commits to master: https://git.io/fjp7g
<jtojnar> evanjs: substituteInPlace Makefile --replace "/etc/xdg/autostart" "$out/etc/xdg/autostart"
<jtojnar> or something like that
<evanjs> jtojnar: yeah what’s confusing me is the top part where they define PYTHONPATH using a command but then they redefine it later. “PYTHONPATH =.*” didn’t seem to match.
<jtojnar> evanjs: I do not see it redefined
felixfoertsch23 has joined #nixos
felixfoertsch has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @jtojnar merged pull request #67964 → gnomeExtensions.arc-menu: init at 31 → https://git.io/fjpyS
<{^_^}> [nixpkgs] @jtojnar pushed 2 commits to master: https://git.io/fjp76
das_j has quit [Remote host closed the connection]
<evanjs> jtojnar: Ah you're right. The way they had the defaults worded was throwing me off. It looks like it's used like they mention in the defaults everywhere else. After realizing that, I guess I just need /lib/python3.7/site-packages etc for PYTHONDIR for it to not act dumb
<evanjs> :rubberduck:
lambda-11235 has joined #nixos
<growpotkin> so am I crazy or is our default `ftp` command bunk?
lambda-11235 has quit [Max SendQ exceeded]
lambda-11235 has joined #nixos
lambda-11235 has quit [Client Quit]
<growpotkin> I cannot use `ftp USER@somehost.com` or even `ftp ftp://somehost.com` without it whining. I feel like it's totally different from the `ftp` command I get on my University (Ubuntu) machines, or Arch, or Kali
laalf has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
laalf has joined #nixos
<{^_^}> [nixpkgs] @emptyflask opened pull request #67983 → houdini: 17.0.352 -> 17.5.327 → https://git.io/fjp75
<infinisil> ,locate bin ftp
<{^_^}> Found in packages: inetutils
<{^_^}> [nixpkgs] @Infinisil merged pull request #67914 → haskellPackages: unbreak cachix build → https://git.io/fjpuT
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to haskell-updates: https://git.io/fjp7b
mjisme has joined #nixos
reallymemorable has quit [Quit: reallymemorable]
mexisme has joined #nixos
alex_giusi_tiri has quit [Quit: Leaving.]
freeman42[NixOS] has joined #nixos
vika_nezrimaya has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @marsam opened pull request #67984 → devpi-server: 4.9.0 -> 5.1.0 → https://git.io/fjp53
<{^_^}> [nixpkgs] @marsam merged pull request #67978 → clair: 2.0.8 -> 2.0.9 → https://git.io/fjp73
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/fjp5s
vika_nezrimaya has joined #nixos
pbb has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
pbb has joined #nixos
Supersonic has quit [Disconnected by services]
Supersonic112 has joined #nixos
Supersonic112 is now known as Supersonic
<mdash> heh, it's fighting me the whole way on this one, nixos-rebuild re-execs itself
<mdash> Guess I'm going to start running straight from a nixpkgs checkout \o/
phreedom has quit [Quit: No Ping reply in 180 seconds.]
phreedom has joined #nixos
mexisme has quit [Ping timeout: 258 seconds]
<alienpirate5> does anyone know why this might be happening? http://u.dk0.us/31634.txt
<mdash> alienpirate5: vulkan-loader and vulkan-headers have different versions.
cjpbirkbeck has quit [Quit: Quitting now.]
<{^_^}> #67919 (by peti, 22 hours ago, open): vulkan and vulkan-headers are out of sync
drakonis has quit [Ping timeout: 250 seconds]
realrokka has quit [Ping timeout: 244 seconds]
hmpffff has joined #nixos
mexisme has joined #nixos
freeman[NixOS] has joined #nixos
freeman42[NixOS] has quit [Ping timeout: 246 seconds]
<freeman[NixOS]> is it ok to download NVidia Linux drivers and install them into NixOS?
<freeman[NixOS]> Oracle VirtualBox does not see the drivers for some reason
<freeman[NixOS]> so I think doing this might solve the issue
felixfoertsch23 has quit [Quit: ZNC 1.7.3 - https://znc.in]
felixfoertsch has joined #nixos
sb0 has joined #nixos
<Miyu-saki> freeman[NixOS]: Why are you not using NixOS facilities to do that?
<Miyu-saki> [nix-shell:/etc/nixos/nixpkgs]$ find . -iname '*vmware*'
<Miyu-saki> ./nixos/modules/virtualisation/vmware-guest.nix
<Miyu-saki> Oh, no vmware, huh.
mexisme has quit [Ping timeout: 245 seconds]
Rusty1 has quit [Quit: Konversation terminated!]
<freeman[NixOS]> Miyu-saki, I would love to install VMWare Player via Nix, it is just that I did not find any package for it
<freeman[NixOS]> I posted a question on /r/vmware
<freeman[NixOS]> trying to find other VMWare communities also'
<freeman[NixOS]> ah, found an IRC channel for it with quite a few people
<Miyu-saki> Yeah, fair. It's proprietory, *and* a virtualisation software. That's probably pretty hard to package for NixOS.
drakonis has joined #nixos
drakonis_ has quit [Read error: Connection reset by peer]
drakonis1 has joined #nixos
emptyflask has quit [Ping timeout: 245 seconds]
drakonis_ has joined #nixos
drakonis1 has quit [Read error: Connection reset by peer]
drakonis1 has joined #nixos
palo1 has joined #nixos
drakonis has quit [Ping timeout: 250 seconds]
growpotk- has quit [Quit: ZNC 1.7.4 - https://znc.in]
palo has quit [Ping timeout: 245 seconds]
palo1 is now known as palo
growpotk- has joined #nixos
drakonis_ has quit [Ping timeout: 276 seconds]
pie_ has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @peti pushed 38 commits to haskell-updates: https://git.io/fjpdT
abathur has quit [Ping timeout: 252 seconds]
mjisme has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @peti pushed 33 commits to haskell-updates: https://git.io/fjpdt
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/fjpdm
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « all-cabal-hashes: update to Hackage at 2019-09-03T05:02:25Z »: https://git.io/fjpdO
<{^_^}> [nixpkgs] @peterhoeg merged pull request #67980 → syncthing: 1.2.1 -> 1.2.2 → https://git.io/fjp7n
<{^_^}> [nixpkgs] @peterhoeg pushed 2 commits to master: https://git.io/fjpd3
shabius has joined #nixos
<{^_^}> [nixpkgs] @vbgl merged pull request #67527 → ocamlPackages.ocplib-json-typed: 0.5 -> 0.7.1 → https://git.io/fjAwi
<{^_^}> [nixpkgs] @vbgl pushed to master « ocamlPackages.ocplib-json-typed: 0.5 -> 0.7.1 »: https://git.io/fjpds
<{^_^}> [nixpkgs] @peterhoeg merged pull request #67981 → wtf: 0.20.0 -> 0.21.0 → https://git.io/fjp7B
<{^_^}> [nixpkgs] @peterhoeg pushed 2 commits to master: https://git.io/fjpdG
phreedom has quit [Remote host closed the connection]
phreedom has joined #nixos
<{^_^}> [nix] @Infinisil opened pull request #3080 → docs: Note that tryEval doesn't do deep evaluation → https://git.io/fjpdc
growpotkin has quit [Ping timeout: 244 seconds]
rauno has quit [Ping timeout: 264 seconds]
<angerman> what are my options to debug/profile nix memory consumption?
Necro^Byte has joined #nixos
growpotk- has quit [Ping timeout: 258 seconds]
<Ashy> angerman: in general "add more ram" or failing that "add more swap" or both
<angerman> Ashy: I'm easily past 40G at this point.
<angerman> Ashy: I'd ideally like some tool that let's me understand *why* my nix expression ends up eating so much memory, or even give me a hint.
<elvishjerricco> angerman: I was happy to find that Nix the package manager builds like any other C++ project; so normal techniques for C++ ought to work
<infinisil> ,profiling angerman
<{^_^}> angerman: Use NIX_COUNT_CALLS=1 and/or NIX_SHOW_STATS=1 to profile Nix evaluation
<angerman> elvishjerricco: I did consider looking into compiling nix with xcode and running it through instruments. Was just hoping for something less involved :-)
<infinisil> (might only shows something if it finished successfully though)
<angerman> infinisil: yea, this just causes my system to grind to a halt :-(
<angerman> elvishjerricco: it *does* seem to be within the module logic in haskell.nix though :p
<elvishjerricco> Yea I won't claim the NixOS module system is efficient :P
<angerman> specifically within the inheritance logic we now have...
<elvishjerricco> You could disable checking and see if that helps. I think it's an argument to evalModule
hmpffff has quit [Quit: nchrrrr…]
<elvishjerricco> Checking seems to be the greatest cost of it
<angerman> infinisil: yes, that one.
<infinisil> Yeah so it's not the module system elvishjerricco
<{^_^}> [nixpkgs] @basvandijk merged pull request #67930 → trivial-builders: add the applyPatches function → https://git.io/fjpah
<{^_^}> [nixpkgs] @basvandijk pushed 2 commits to master: https://git.io/fjpdE
<elvishjerricco> Man I really need to get back into that. I've been away from programming for the most part for sooo long
<angerman> infinisil: well... :p
<infinisil> At least I don't think haskell.nix uses the module system
<infinisil> Wait don't tell me it does
<elvishjerricco> infinee: It does use the module system. I made sure of that :P
<angerman> infinisil: blame elvishjerricco for putting it into haskell.nix
<infinisil> !
<infinisil> Well then
<elvishjerricco> Yea there are a ton of potential benefits that I haven't managed to fully take advantage of yet
<angerman> it *does* have a rather good ui though, much better than that override approach.
<angerman> elvishjerricco: I'm currently turning it into a self contained overlay. Once that's done, I'll call it a day for a while.
<angerman> I *do* want mingw32, and arm to at least work though.
<elvishjerricco> That's interesting.
<elvishjerricco> angerman: How are you making it an overlay?
<angerman> see the overlay branch? :D
<infinisil> I sure do like the module system
<elvishjerricco> Maybe tomorrow :P
<angerman> infinisil: so you will make it fast and efficient for me? Yey!
<infinisil> But just recently we discussed in #nixos-dev how it's probably too heavy-weight to use for nixpkgs package definitions
<elvishjerricco> The module system is definitely one of NixOS's greatest advantages, if only because it is self-documenting
<elvishjerricco> But yea the performance issues are a big problem
<angerman> infinisil: what's the alterntives?
<{^_^}> #57477 (by Infinisil, 25 weeks ago, open): `nixos-rebuild --switch` too slow, tracking issue
<elvishjerricco> The extensibility, type checking, and modularity of it is great
<infinisil> ,nixlang++ angerman
<infinisil> It's a proposal by niksnut for a module system built into nix itself
<angerman> ahh, that one. I think I've read that a while ago. But it's not usable yet, so ...
<infinisil> I sure wonder if a faster module system could be implemented in nix itself
<elvishjerricco> It's also... magical. I dunno; I'm not a huge fan because of how magic it seems
vika_nezrimaya has quit [Ping timeout: 258 seconds]
<angerman> infinisil: well... that brings us back to profiling tools, doesn't it?
<elvishjerricco> Yea, it'd be cool if there were a good solution in Nix itself
endformationage has quit [Quit: WeeChat 2.5]
<angerman> nix and haskell share some of the same pain, writing fast expresions require intimite knowledge in how to write fast expressions.
<infinisil> At least Nix is interpreted, which makes it a bit easier
<angerman> I've tangentially discussed that with Bartosz Milewski and a few other during ifcp...
<elvishjerricco> I was so disappointed when I found out Nix doesn't actually implement maximal laziness, but I would wager that was to avoid being slow as hell :P
<angerman> infinisil: does it? how so? I must be missing something.
<infinisil> elvishjerricco: What's not maximally lazy? You mean attribute names?
mac10688 has quit [Ping timeout: 244 seconds]
<infinisil> angerman: Well with GHC you have the compiler that produces some code which might be good or not, and then it gets run with an RTS which might run well or not
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/77b0c2038d2 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<infinisil> angerman: With Nix those don't exist, all code just gets executed straight away, and that should make it a lot simpler
<angerman> infinisil: true, but I have -prof, eventlog, and a host of other inspection tools.
<elvishjerricco> infinisil: Check out his paper on the subject. He lays out a memory system where data is hashed as it's allocated to deduplicate it. Basically, any references to identical data will point to the same object in a table
<infinisil> Huh interesting
<elvishjerricco> So you can have recursive structures that take constant memory by way of luck :P
<elvishjerricco> Unfortunately Nix doesn't implement this like I thought it did
<angerman> with check = false, I'm still at 18G and growing although more slowly, ... still not fit for any practical purposes.
<infinisil> angerman: What are you evaluating?
<elvishjerricco> angerman: I doubt this is relevant... But I did make a commit or two that assumed we had maximal laziness. The recursive buildPackages or whatever was defined with this assumption. I doubt it's the issue, but it should use more memory than I originally thought
<angerman> #57477 is really light on details. That's such a shame. Profpatsch's comment is right on the money though.
<{^_^}> https://github.com/NixOS/nixpkgs/issues/57477 (by Infinisil, 25 weeks ago, open): `nixos-rebuild --switch` too slow, tracking issue
<angerman> elvishjerricco: it potentially could. But, this is still bonkers.
<elvishjerricco> Yea it'd only be an issue if an absolutely ridiculous number of packages had build-time Haskell deps. So it's probably more related to the module system
<angerman> elvishjerricco: how about *every* package has a build-time haskell dependency?
<elvishjerricco> angerman: What do you mean? Like you blanket added a buildPackages.foo dep to all packages?
<elvishjerricco> Wouldn't be a big problem
<angerman> yea like that.
<elvishjerricco> The only reason that recursive code would be an issue is that a dep could evaluate a recursive dep which could evaluate a recursive dep and so on
<elvishjerricco> So just pulling one dep from a package set and giving that to everyone would be constant overhead
freeman[NixOS] has quit [Remote host closed the connection]
freeman42[NixOS] has joined #nixos
freeman42[NixOS] has quit [Remote host closed the connection]
freeman42[NixOS] has joined #nixos
<angerman> it's specifically the `withTH` attributes.
<elvishjerricco> angerman: Need to go to bed now. I'll take a look tomorrow :)
<angerman> sure!
<elvishjerricco> Send me that link in a dm so I can get back to it easily please
<elvishjerricco> angerman: ^
pycer has joined #nixos
pycer has quit [Max SendQ exceeded]
pycer has joined #nixos
captn3m0 has quit [Ping timeout: 244 seconds]
ixxie has joined #nixos
<eyJhb> talyz: wasn't this what you were working on? #67968
<{^_^}> https://github.com/NixOS/nixpkgs/pull/67968 (by ambrop72, 9 hours ago, open): virtualbox: Fix #65564
captn3m0 has joined #nixos
xkapastel has quit [Quit: Connection closed for inactivity]
ottidmes has joined #nixos
<{^_^}> [nixpkgs] @SRGOM opened pull request #67985 → nixos.manual.installation.installing: nixos-hw → https://git.io/fjpdF
mjisme has joined #nixos
<{^_^}> [nixpkgs] @danieldk opened pull request #67986 → gnome3.mutter: fix segfault in dri_flush_front_buffer() → https://git.io/fjpdx
<{^_^}> [nixos-hardware] @SRGOM opened pull request #119 → Update README.md → https://git.io/fjpdp
logzet has joined #nixos
joelpet1 is now known as joelpet2
wfranzini has joined #nixos
<{^_^}> [nixpkgs] @andir opened pull request #67987 → [19.03] firefox: 68.0.2 -> 69.0 (and updated related packages) → https://git.io/fjpFI
pycer has quit [Quit: "brap"]
<{^_^}> [nixpkgs] @vcunat pushed 225 commits to staging: https://git.io/fjpFZ
<{^_^}> [nixpkgs] @vcunat pushed 381 commits to staging-next: https://git.io/fjpFn
<{^_^}> [nixpkgs] @mmahut opened pull request #67988 → pythonPackages.trezor_agent: adding buildInputs required for GPG → https://git.io/fjpFC
o1lo01ol1o has joined #nixos
asheshambasta has joined #nixos
o1lo01ol1o has quit [Ping timeout: 245 seconds]
schjetne has joined #nixos
dansho has joined #nixos
zupo has joined #nixos
Jackneill has joined #nixos
<freeman42[NixOS]> what is the command to install a package from nixpkgs clone root directory? sorry I keep forgetting this :/
<{^_^}> [nixpkgs] @andir pushed 46 commits to staging-19.03: https://git.io/fjpFS
pjan_ has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
<srhb> freeman42[NixOS]: nix-env -f path/to/nixpkgs -iA attr
<{^_^}> [nixpkgs] @peti pushed 34 commits to haskell-updates: https://git.io/fjpF5
<{^_^}> [nixpkgs] @peti pushed 34 commits to master: https://git.io/fjpFd
Jackneill has quit [Ping timeout: 245 seconds]
<freeman42[NixOS]> srhb, so: nix-env -f . -iA smartgithg , thank you! srhb++
<{^_^}> srhb's karma got increased to 71
m0rphism1 has joined #nixos
ng0 has joined #nixos
hmpffff has joined #nixos
pjan has joined #nixos
trem has joined #nixos
hmpffff has quit [Quit: nchrrrr…]
trem is now known as Guest14627
<{^_^}> [nixpkgs] @kwohlfahrt opened pull request #67989 → nixos/hardware.deviceTree: Allow use of dtmerge → https://git.io/fjpFh
<bpye> Hey - something weird is going on my system. I'm on 19.03 (I upgraded from 18.09 a while back) - I keep getting errors that "Warning: the new NixOS configuration has an ‘init’ that is incompatible with the current configuration."... /nix/var/nix/profiles/system/init-interface-version shows 'systemd 2' whilst /run/booted-system/init-interface-version gives 'systemd 3'
<bpye> I'm not sure how it's ended up getting downgraded?
vika_nezrimaya has joined #nixos
<Guest14627> hi! i'm a searching for an elegant way to build Lua with a c++ compiler (for exception support), so basically a variant of this: https://github.com/NixOS/nixpkgs/blob/bd6ba87381ef6274a830253b60e481209d4d7c7d/pkgs/development/interpreters/lua-5/5.3.nix but either with "gcc" replaced with "g++" or "-x c++" added to the cflags.
Tucky has joined #nixos
<bpye> I do have nixos-unstable in my nix-channel list but it is named 'nixos-unstable' so I don't believe it should be used?
<bpye> Any ideas?
<Guest14627> the closest i got is pkgs.lib.overrideDerivation (pkgs.lua53Packages.lua) (old: { NIX_CFLAGS_COMPILE = "-x c++"; }) -- but this results in "warning: '-x c++' after last input file has no effect" during the build and has no effect.
<Guest14627> i assume there is a better way than just copying the derivation and applying the change i want?
Jackneill has joined #nixos
<boxdot1> HI — I cannot find any docs on what builtins are. Is it a module somewhere? Can I read source code of it?
vyorkin has joined #nixos
ee1943 has quit [Ping timeout: 245 seconds]
<boxdot1> etu: thanks. Sorry, somehow I missed this section.
abbradar is now known as abbradar[m]
ee1943 has joined #nixos
drakonis1 has quit [Ping timeout: 264 seconds]
<etu> boxdot1: There's several manuals, separate for nix and nixos :)
drakonis has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
schjetne has quit [Ping timeout: 246 seconds]
__monty__ has joined #nixos
freeman[NixOS] has joined #nixos
<boxdot1> I guess this was my mistake. Which language is actually used to implement builtins?
o1lo01ol1o has joined #nixos
jgeerds has joined #nixos
<etu> boxdot1: I don't know much about that, but I think it is in this repo: https://github.com/NixOS/nix and most stuff in there is C++
dansho has quit [Ping timeout: 258 seconds]
<teto> Guest14627: you should be able to override the stdenv with an alternative compiler
freeman42[NixOS] has quit [Ping timeout: 264 seconds]
o1lo01ol1o has quit [Remote host closed the connection]
<__monty__> boxdot1: I think "nix-plugins" allows you to implement builtins in nix.
<{^_^}> [nixpkgs] @marius851000 opened pull request #67990 → wxhexeditor: fix compilation → https://git.io/fjpbc
<Guest14627> teto, i thought about that, but following the usual examples of doing that still results in CC being a C compiler. i feel like it should be possible to accomplish this with overrideCC somehow, but i don't see how.
schjetne has joined #nixos
<teto> Guest14627: the configurePhase sets CC in some specific case, maybe you hit those ?
Guest14627 has quit [Quit: Leaving]
jgeerds has quit [Ping timeout: 244 seconds]
nexgen2 has joined #nixos
<{^_^}> [nixpkgs] @andrestylianos opened pull request #67991 → joker: 0.12.4 -> 0.12.7 → https://git.io/fjpb0
wfranzini has quit [Quit: wfranzini]
wfranzini1 has joined #nixos
sigmundv has joined #nixos
<{^_^}> [nixpkgs] @marius851000 closed pull request #67990 → wxhexeditor: fix compilation → https://git.io/fjpbc
wfranzini1 is now known as wfranzini
asymptotically has joined #nixos
Chiliparrot has joined #nixos
noonien has joined #nixos
knupfer has joined #nixos
o1lo01ol1o has joined #nixos
hmpffff has joined #nixos
rauno has joined #nixos
asheshambasta has quit [Ping timeout: 258 seconds]
asheshambasta has joined #nixos
schjetne has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @marius851000 opened pull request #67992 → wxhexeditor: fix compilation → https://git.io/fjpbw
johanot has joined #nixos
schjetne has joined #nixos
nexgen2 has quit [Ping timeout: 245 seconds]
o1lo01ol1o has quit [Remote host closed the connection]
dansho has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Okinan has quit [Quit: Konversation terminated!]
cfricke has joined #nixos
thc202 has joined #nixos
<alj[m]> Hey! Is it possible to cross compile a whole system (in this case armv7)? I'm thinking about just renting a strong server for a bit and letting it compile, instead of losing (another) 3 days waiting for my little board to compile.
vika_nezrimaya has quit [Ping timeout: 245 seconds]
joshuagl has joined #nixos
schjetne has quit [Ping timeout: 246 seconds]
<talyz> eyJhb: yeah, kinda.. my problem was that virtualbox wasn't working at all, but I never got around to fixing it - I just found the offending commit..
mexisme has joined #nixos
<{^_^}> [nixpkgs] @xrelkd opened pull request #67993 → bat: 0.12.0 -> 0.12.1 → https://git.io/fjpNL
<talyz> I tried getting the libvirtd backend in nixops up and running as a replacement for virtualbox, but I'm getting some pretty strange issues: mainly nix store corruption. Maybe the base image is broken..?
schjetne has joined #nixos
<teto> talyz: do you mean files are owned by "nobody" ? there are some solutions on nixops tracker
<{^_^}> [nixpkgs] @mmahut opened pull request #67994 → prometheus-aws-s3-exporter: init at 0.3.0 → https://git.io/fjpNC
<{^_^}> [nixpkgs] @roberth opened pull request #67996 → lib.cleanSourceWith: Allow name to be set, optional filter, doc → https://git.io/fjpNz
<{^_^}> [nixpkgs] @mmahut merged pull request #67979 → dive: 0.7.2 -> 0.8.0 → https://git.io/fjp7s
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/fjpNa
<{^_^}> [nixpkgs] @mmahut merged pull request #67991 → joker: 0.12.4 -> 0.12.7 → https://git.io/fjpb0
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/fjpNr
civodul has joined #nixos
symphorien has quit [Quit: WeeChat 2.3]
symphorien has joined #nixos
<{^_^}> [nixpkgs] @mmahut merged pull request #67984 → devpi-server: 4.9.0 -> 5.1.0 → https://git.io/fjp53
<{^_^}> [nixpkgs] @mmahut closed pull request #59957 → devpi-server: fix build by forcing use of pytest_3 → https://git.io/fjONC
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/fjpNK
<{^_^}> [nixpkgs] @mmahut merged pull request #67946 → pythonPackages.python-pipedrive: init at 0.4.0 → https://git.io/fjpKF
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/fjpN6
<{^_^}> [nixpkgs] @mmahut merged pull request #67949 → pythonPackages.robotframework-sshlibrary: 3.3.0 -> 3.4.0 → https://git.io/fjp6E
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/fjpNP
<sphalerite> Is there a way to enable both grub and systemd-boot? I want to be able to use systemctl kexec, which wants /boot/loader/loader.conf (the systemd-boot config) to exist, but actually boot with grub usually
o1lo01ol1o has joined #nixos
<{^_^}> [nixpkgs] @mmahut merged pull request #67899 → zsh-you-should-use: 1.1.0 -> 1.4.0 → https://git.io/fjp4W
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/fjpNX
schjetne has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @mmahut merged pull request #67992 → wxhexeditor: fix compilation → https://git.io/fjpbw
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/fjpNM
ThatDocsLady has joined #nixos
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
Makaveli7 has joined #nixos
Necro^Byte has quit [Read error: Connection reset by peer]
o1lo01ol1o has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @mmahut merged pull request #67918 → iosevka-bin: 2.2.1 -> 2.3.0 → https://git.io/fjpzG
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/fjpNH
schjetne has joined #nixos
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ehmry has joined #nixos
<{^_^}> [nixpkgs] @globin merged pull request #67994 → prometheus-aws-s3-exporter: init at 0.3.0 → https://git.io/fjpNC
<{^_^}> [nixpkgs] @globin pushed 2 commits to master: https://git.io/fjpAI
pycer has joined #nixos
Necro^Byte has joined #nixos
<{^_^}> [nixpkgs] @mmahut merged pull request #67941 → musescore: 3.0.5 -> 3.2.3 → https://git.io/fjpoW
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/fjpA8
Ariakenom has joined #nixos
orivej has joined #nixos
Zer0xp has joined #nixos
dansho has quit [Remote host closed the connection]
Ariakenom has quit [Remote host closed the connection]
dansho has joined #nixos
SyrupThinker has quit [Quit: WeeChat 2.5]
chr15 has joined #nixos
Ariakenom has joined #nixos
<clever> ,profiling
<{^_^}> Use NIX_COUNT_CALLS=1 and/or NIX_SHOW_STATS=1 to profile Nix evaluation
hatefulmoron has joined #nixos
freeman[NixOS] has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @mmahut merged pull request #67912 → sbcl: 1.5.3 -> 1.5.6 → https://git.io/fjp00
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/fjpAP
<{^_^}> [nixpkgs] @jtojnar merged pull request #67731 → blueman: 2.0.8 -> 2.1.1 → https://git.io/fjxKc
<{^_^}> [nixpkgs] @jtojnar pushed 3 commits to master: https://git.io/fjpAX
<hatefulmoron> hi, does somebody mind helping me use 'nix-shell' for building my project?
<__monty__> hatefulmoron: Best way to get your questions answered is to ask them.
<hatefulmoron> i've created a shell.nix file -> https://pastebin.com/BsDAKvVj, and I'm using `nix-shell --pure --run "make"` to run my makefile. The issue is that my script complains that it can't find "libglib-2.0.so", which should be provided by the `glib` package.
freeman42[NixOS] has joined #nixos
<hatefulmoron> I've done a search through my filesystem, and it reports that the file is present in the store folder for the `glib` package elsewhere, but it's not being provided to the environment described in shell.nix
<hatefulmoron> as in, it's in the path `/nix/store/1ax2nivc09afxky6ggpz7b9sqghhlvic-glib-2.58.2/lib/libglib-2.0.so` but it seems to not be symlinked in the shell.
<tilpner> hatefulmoron: I'm not sure which output is selected here, but I suspect it's the first output, which does not contain the .so
<tilpner> > glib.outputs
<{^_^}> [ "bin" "out" "dev" "devdoc" ]
<tilpner> So try glib.out maybe
<hatefulmoron> sorry do you mind expanding a bit
<hatefulmoron> when you say try glib.out, what should I change about my script?
<tilpner> Replace glib with glib.out and see if that helps
<{^_^}> [nixpkgs] @FRidh closed pull request #67954 → kustomize: simplify derivation → https://git.io/fjpXL
<hatefulmoron> tilpner it doesn't throw any errors when starting, but it doesn't make a difference.
<talyz> teto: yep, that's it - my workaround has been to run nix-store --repair-path on all dirs owned by nobody, which seems to work sort of okay..
<__monty__> hatefulmoron: Have you tried .dev?
<tilpner> That will help even less
<hatefulmoron> yes, once he brought my attention to that field i tried all of them individually and none of them seem to do the trick
<tilpner> Oh well, it was worth a try
pycer has quit [Quit: pycer]
<tilpner> I don't use nix-shell for dev often enough to know how it works :/
<tilpner> Use "env" to see what it changes
<tilpner> There are a lot of PATH, NIX_{CFLAGS_COMPILE,LDFLAGS} (for use with cc wrappers), and NIX_LISP_LD_LIBRARY_PATH entries
hmpffff has quit [Quit: nchrrrr…]
<hatefulmoron> if I'm reading the help message of `nix-env` correctly, using `nix-env -iA glib` should install every output, is that correct?
<tilpner> ,lib
<tilpner> ,library
<{^_^}> Don't install libraries through nix-env or systemPackages, use nix-shell instead. See https://nixos.wiki/wiki/FAQ/Libraries for details.
<tilpner> nix-env won't set environment variables properly, and is only to be used for executables
<hatefulmoron> yeah i was just checking if it would throw the shared libraries into my ~/.nix-profile/lib folder, and it doesn't
<hatefulmoron> oh ok
<talyz> teto: ah, found the issue now, thanks :)
<{^_^}> [nixpkgs] @jtojnar merged pull request #67929 → libmypaint: 1.3.0 → 1.4.0 → https://git.io/fjpa5
<{^_^}> [nixpkgs] @jtojnar pushed 3 commits to master: https://git.io/fjpAF
hmpffff has joined #nixos
polman has quit [Ping timeout: 245 seconds]
polman has joined #nixos
<{^_^}> [nix] @edolstra merged pull request #3066 → Use wait4path on org.nixos.nix-daemon.plist → https://git.io/fjA5m
<{^_^}> [nix] @edolstra pushed 3 commits to master: https://git.io/fjpxf
steeffaann has joined #nixos
_zincy has joined #nixos
steeffaann has quit [Remote host closed the connection]
ubert has joined #nixos
<{^_^}> [nixpkgs] @Profpatsch opened pull request #67999 → dummy, test bazel master on darwin → https://git.io/fjpxq
<{^_^}> [nixpkgs] @primeos pushed to master « wallutils: 5.8.1 -> 5.8.2 »: https://git.io/fjpxm
zupo has joined #nixos
mexisme has quit [Ping timeout: 276 seconds]
feep_ has joined #nixos
feep has quit [Disconnected by services]
polman has quit [Ping timeout: 245 seconds]
polman has joined #nixos
provessor[m] has joined #nixos
Synthetica has joined #nixos
schjetne has quit [Ping timeout: 246 seconds]
<Synthetica> Hey, I'm still struggling with the following error when trying to update my system: https://gist.github.com/Synthetica9/d8764fb6b7751721214df8581cd5c878
<{^_^}> [nixpkgs] @jojosch opened pull request #68000 → dbeaver: 6.1.4 -> 6.1.5 → https://git.io/fjpxC
<hatefulmoron> tilpner I've assigned LD_LIBRARY_PATH to NIX_LISP_LD_LIBRARY_PATH after you've shown me that variable and it works
<hatefulmoron> i'm not sure if it's an idiomatic solution, but it seems that the library i'm using isn't respecting that variable
<{^_^}> [nixpkgs] @jtojnar merged pull request #67928 → enchant: 2.2.4 → 2.2.5 → https://git.io/fjpaZ
<{^_^}> [nixpkgs] @jtojnar pushed 4 commits to master: https://git.io/fjpxl
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<jschievink> I have a proprietary software package that contains both 32-bit and 64-bit exectables, how do I get that to work with NixOS?
<jschievink> It seems like I can either get it to use the x86-64 dynamic linker the the one for 32-bit x86
<jschievink> (for all executables though)
<allan> I’m on macOS: What are the steps to setup bash completion for commands? I have both ~/.nix-profile/share/bash-completion and ~/.nix-profile/etc/bash_completion.d (both directories) and ~/.nix-profile/etc/profile.d/bash_completion.sh which I would expect to automatically be sourced, but even if explicitly sourcing it, there is no completion for the commands that comes with completions (e.g. git)
schjetne has joined #nixos
turion1 has quit [Ping timeout: 258 seconds]
logzet has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
<Ashy> jschievink: you'll need to use patchelf at least, possibly some other gymnastics too
<jschievink> Ashy: yeah, autoPatchelfHook seems to work only for one subset of the binaries
drakonis has quit [Ping timeout: 250 seconds]
<Ashy> jschievink: i've only played around with getting mssql-tools to run: https://github.com/NixOS/nixpkgs/compare/master...AshyIsMe:mssql
<Ashy> been meaning to clean it up and send a PR but that does actually work
drakonis has joined #nixos
iyzsong has joined #nixos
selfsymmetric-pa has quit [Remote host closed the connection]
turion has joined #nixos
<hatefulmoron> tilpner sorry to ping you again, but the environment variable you mentioned seems to work well, and the little hack I ended up with can be seen here: https://pastebin.com/kP5J0QDu
<hatefulmoron> thanks for your help
<{^_^}> [nixpkgs] @johanot opened pull request #68001 → python3Packages.cherrypy: fix tests after upgrade to pytest5 → https://git.io/fjpxo
jtojnar has quit [Quit: jtojnar]
polman has quit [Ping timeout: 245 seconds]
polman has joined #nixos
jtojnar has joined #nixos
mudri has quit [Quit: Connection closed for inactivity]
<alex```> warning: The option `services.redshift.longitude' defined in `/etc/nixos/configuration.nix' has been changed to `location.longitude' that has a different type. Please read `location.longitude' documentation and update your configuration accordingly.
<alex```> where I can find the documentation for the new option?
<alex```> don't know which type is
<gchristensen> man configuration.nix or https://nixos.org/nixos/options.html
<alex```> can't find documentation in both
<alex```> for location.longitude
MmeQuignon has joined #nixos
<alex```> seem not update
<alex```> enough
<alex```> it changed to str to float then?
<vyorkin> lets say I have the following derivation for the ppx_deriving_protobuf pkg http://ix.io/1U9d but it defines another "library": https://github.com/ocaml-ppx/ppx_deriving_protobuf/blob/v2.7/src/dune#L10 (named `ppx_deriving_protobuf.runtime`). Then if I do the nix-shell and `ocamlfind query ppx_deriving_protobuf` -- the `ocamlfind` is able find it. But if I try to "ocamlfind" the ppx_deriving_protobuf.runtime "library" with "ocamlfind
<vyorkin> query ppx_deriving_protobuf.runtime" I'd get "ocamlfind: Package `ppx_deriving_protobuf.runtime' not found". I suppose that I should create a separate derivation for it somehow
<{^_^}> [nixpkgs] @marsam merged pull request #67993 → bat: 0.12.0 -> 0.12.1 → https://git.io/fjpNL
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/fjpxX
<vyorkin> Is there any example of similar pkg that I could look at?
<gchristensen> alex```: can you open a bug report and cc eadwu and infinisil asking for a changelog entry for #64309 ?
<{^_^}> https://github.com/NixOS/nixpkgs/pull/64309 (by eadwu, 8 weeks ago, merged): clight: init
<Ariakenom> time for some drive excercise: grep 25im4il / -r
<alex```> gchristensen: ok
<alex```> error: assertion failed at /nix/store/89dc9s8a585zx4vl83rqplxyiqrcpisy-nixos-19.09pre191505.7d5375ebf4c/nixos/pkgs/development/libraries/vulkan-loader/default.nix:8:1
domogled has joined #nixos
<alex```> can't update :(
<alex```> what vulkan is used for?
schjetne has quit [Ping timeout: 245 seconds]
domogled has quit [Client Quit]
<gchristensen> alex```: are you on a channel?
<alex```> unstable yes
<gchristensen> interesting
<alex```> which package should I remove?
<{^_^}> [nixpkgs] @Profpatsch merged pull request #67835 → bazel: 0.28.1 -> 0.29.0 → https://git.io/fjpTE
<{^_^}> [nixpkgs] @Profpatsch pushed commit from @guibou to master « bazel: 0.28.1 -> 0.29.0 »: https://git.io/fjpxQ
<{^_^}> #67919 (by peti, 1 day ago, open): vulkan and vulkan-headers are out of sync
<alex```> or how I can know the package which produces the error
<{^_^}> #67997 (by alapshin, 1 hour ago, open): Vulkan functionality is broken in nixos-unstable channel
domogled has joined #nixos
<alex```> thanks gchristensen
knupfer has quit [Remote host closed the connection]
<alex```> gchristensen: I'm not sure where should I put this snippets https://github.com/NixOS/nixpkgs/issues/67997#issuecomment-527398979
klntsky has quit [Remote host closed the connection]
klntsky has joined #nixos
knupfer has joined #nixos
<{^_^}> [nixpkgs] @Profpatsch closed pull request #67999 → dummy, test bazel master on darwin → https://git.io/fjpxq
<{^_^}> [nixpkgs] @marsam opened pull request #68002 → supercollider: 3.10.2 -> 3.10.3 → https://git.io/fjppq
freeman42[NixOS] has quit [Remote host closed the connection]
freeman42[NixOS] has joined #nixos
hatefulmoron has quit [Remote host closed the connection]
philr has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @mdorman opened pull request #68003 → gnucash: fix build issue with newer CMake → https://git.io/fjppr
noudle has joined #nixos
schjetne has joined #nixos
reallymemorable has joined #nixos
<{^_^}> [nixpkgs] @Zimmi48 closed pull request #65632 → buildOcaml: remove camlp4 dependency → https://git.io/fjSNC
<evanjs> alex```: didn’t see anybody mention it, but for option documentation, you can use `nixos-option services.redshift.location.longitude` nixos-option also supports tab completion
<evanjs> alex```: the documentation from nixos-option should be in sync with the channel you’re using
asymptotically2 has joined #nixos
<{^_^}> [nix] @edolstra pushed 3 commits to master: https://git.io/fjppy
oida has quit [Remote host closed the connection]
oida has joined #nixos
asymptotically has quit [Ping timeout: 260 seconds]
asymptotically2 is now known as asymptotically
_zincy has quit [Ping timeout: 264 seconds]
<infinisil> alex```: evanjs: Kind of unfortunate that `man configuration.nix` can be out of sync like that
<asymmetric> is there a nixos iso for ARM processors?
MmeQuignon has quit [Quit: WeeChat 2.4]
<etu> infinisil: Wait... How can it be out of sync?
<{^_^}> [nixpkgs] @B4dM4n opened pull request #68004 → django-extensions: 2.1.4 -> 2.2.1 → https://git.io/fjpp7
<asymmetric> ah, found this page with useful info https://nixos.wiki/wiki/NixOS_on_ARM
<etu> asymmetric: We have a binary cache for aarch64 and images
<infinisil> etu: man pages are only updated once you can do a successful rebuild
<etu> infinisil: But so is the system?
<etu> ah
<etu> I see what you mean, the man page is synced with the system you managed to build.
asheshambasta has quit [Ping timeout: 245 seconds]
<etu> But not with the channel you have for the system you may be trying to build
<infinisil> Yea
<asymmetric> etu: thanks! i'm looking to install nixos on this thing https://wiki.kobol.io/ - let's see if it's supported
freeman42[NixOS] has quit [Ping timeout: 245 seconds]
<evanjs> Wait there’s a configuration.nix manpage? 😯 still need to figure out how the get nixos-options explorer working locally without building it from the repo
<dminuoso> evanjs: Yes. `man configuration.nix` is probably one of the most underused things.
<etu> evanjs: yes
<dminuoso> evanjs: If you ever find yourself "googling for nixos options", you should have just typed `man configuration.nix` every time.
<dminuoso> Its faster and more correct.
<etu> That manpage is great, quick to search compared to any website
<dminuoso> And it always matches your exact system.
asheshambasta has joined #nixos
<dminuoso> Ah wait, you covered that already
_zincy has joined #nixos
<evanjs> I mean I use nixos-option mostly but that seems easier depending on the use case
<evanjs> Though, nixos-option also lets you do -I nixos-config=... not sure if the configuration.nix manpage supports that
mjisme has quit [Ping timeout: 244 seconds]
drakonis_ has joined #nixos
<etu> The manpage is quite static in that regard since it's only updated with a successful system rebuild
<infinisil> Hm I think you could craft a command to display a nixpkgs' manpage
<infinisil> Lemme see
<etu> well, it's probably a derivation? So you could probably just build it and read it somehow? :)
<infinisil> gchristensen: alex```: Btw the redshift location thing doesn't need to be filed as an issue. Unless you want to file the manpage problem
<gchristensen> I think it needs changelog?
<infinisil> gchristensen: Why so?
<infinisil> The error message explains it well
<infinisil> s/error/warning
<gchristensen> it breaks the user's config and the error message isn't very specific about how to fix it
drakonis has quit [Ping timeout: 276 seconds]
<infinisil> (It's just a warning, not an error)
Neo-- has joined #nixos
<gchristensen> oh, okay
<gchristensen> +1
<infinisil> gchristensen: If you want to get rid of the warning, "Please read `location.longitude' documentation and update your configuration accordingly" isn't very specific though hm..
<gchristensen> yeah, it could be better
<gchristensen> but since it is just a warning and doesn't fail the build it seems a bit less bad :)
<infinisil> Maybe mkChangedOptionModule (which is used here) should have a customizable warning message
<evanjs> The one I got for Compton awhile back was nice. I cant remember which setting it was but “hey you don’t need to set this option now, it’s automatic, kthxbai”
<evanjs> Oh it did say it’s not a Boolean though
<evanjs> s/not/now
tom__ has joined #nixos
tmaekawa has joined #nixos
_zincy has quit [Ping timeout: 244 seconds]
tmaekawa has quit [Client Quit]
Makaveli7 has quit [Quit: WeeChat 2.5]
<infinisil> Alright got it, a command for viewing the manpage of the current '<nixpkgs>':
<infinisil> man $(nix-build --no-out-link '<nixpkgs/nixos>' -A config.system.build.manual.manpages)/share/man/man5/configuration.nix.5
<infinisil> etu: ^
<etu> infinisil: Oh, not super handy but still nice when one needs that :)
<Ariakenom> I am packaging simavr as an excercise. I took a look at nixpkgs. Where is it getting avrgcc from? https://github.com/NixOS/nixpkgs/blob/bd6ba87381ef6274a830253b60e481209d4d7c7d/pkgs/development/tools/simavr/default.nix#L2
<clever> ,callPackage Ariakenom
<{^_^}> Ariakenom: If a Nix file foo.nix starts with something like `{ stdenv, cmake }:`, you can build it with `nix-build -E '(import <nixpkgs> {}).callPackage ./foo.nix {}'`
<clever> Ariakenom: callPackage then gets it from pkgs
<clever> > pkgs.avrgcc
<{^_^}> attribute 'avrgcc' missing, at (string):263:1
<clever> $ grep -r --color simavr ~/apps/nixpkgs/pkgs/top-level/all-packages.nix -A5
<clever> avrgcc = pkgsCross.avr.buildPackages.gcc;
<clever> simavr = callPackage ../development/tools/simavr {
hexo is now known as dolanbatar
<clever> Ariakenom: except in cases where an override has been given to it via the 2nd arg of callPackage
jtojnar has quit [Quit: jtojnar]
jtojnar has joined #nixos
<Ariakenom> right, so I need pkgsCross from somewhere
cfricke has quit [Quit: WeeChat 2.5]
tom__ has quit [Ping timeout: 245 seconds]
<clever> > pkgs.pkgsCross.avr.buildPackages.gcc
<{^_^}> "<derivation /nix/store/5yanyfpfpyhxsg44fzkmswbq9vdcngj2-avr-stage-final-gcc-debug-wrapper-7.4.0.drv>"
polman has quit [Ping timeout: 245 seconds]
polman has joined #nixos
joshuagl has quit [Quit: Textual IRC Client: www.textualapp.com]
joshuagl has joined #nixos
_zincy has joined #nixos
spacekookie has quit [Changing host]
spacekookie has joined #nixos
alex``` has quit [Quit: WeeChat 2.5]
<Ariakenom> clever: that invocation was not helpful enough for me :)
<clever> Ariakenom: what are you trying to do?
<Ariakenom> clever: build simavr with stdenv.mkDerivation
_zincy has quit [Remote host closed the connection]
<clever> Ariakenom: did you look at how all-packages.nix is loading simavr?
_zincy has joined #nixos
<Ariakenom> will do
tom__ has joined #nixos
<{^_^}> [nixpkgs] @xrelkd opened pull request #68005 → go-ethereum: 1.9.2 -> 1.9.3 → https://git.io/fjphu
<asymmetric> my sd-card reader does not show up in lspci, it's a realtek RTS5227 PCI Express Card Reader (rev 01). do i need to add a driver to availableKernelModules?
<Ariakenom> clever: thanks. pkgsCross was in nixpkgs
<etu> asymmetric: if you add -k to lspci it should print which drivers which devices are using
_zincy has quit [Ping timeout: 245 seconds]
<asymmetric> etu: the device is not detected though..
<etu> ah, missread you
<clever> 2019-09-03 09:37:58 < clever> > pkgs.pkgsCross.avr.buildPackages.gcc
<clever> 2019-09-03 09:38:01 < {^_^}> "<derivation /nix/store/5yanyfpfpyhxsg44fzkmswbq9vdcngj2-avr-stage-final-gcc-debug-wrapper-7.4.0.drv>"
<clever> Ariakenom: already showed that it was
<clever> asymmetric: once the system is booted, availableKernelModules means nothing, and it can just load any module it needs to load
<clever> asymmetric: and if it does not show up in lspci, how do you know the model of the device?
<evanjs> infinisil++ for his manpage witchcraft
<{^_^}> infinisil's karma got increased to 135
johanot has quit [Quit: WeeChat 2.4]
<asymmetric> archwiki to the rescue ;)
<clever> asymmetric: is an SD card in the slot currently?
<clever> asymmetric: and if its not showing in lspci, then linux cant load a driver for it, there is nothing for the driver to drive
<asymmetric> clever: yes, with an adapter
nakkle has joined #nixos
<{^_^}> [nixpkgs] @volth opened pull request #68006 → megacli: requireFile -> fetchurl → https://git.io/fjph6
<asymmetric> it's a microsdhc card, if that matters
<nakkle> Hey there! I'm trying to install NixOS on a new notebook, but the installer only shows a single underscore in the upper left corner. Anyone know how to troubleshoot this?
<clever> asymmetric: can you pastebin the full lspci output?
<clever> asymmetric: and the full dmesg output
<{^_^}> [nixpkgs] @xbreak opened pull request #68007 → clipp: init at 1.2.3 → https://git.io/fjphX
spacekookie has quit [Quit: **agressive swooshing**]
spacekookie has joined #nixos
<asymmetric> clever: this is lspci http://ix.io/1U9M
<asymmetric> clever: do you want the whole dmesg log, from first boot? it's quite large
<asymmetric> there's nothing relevant since i plugged in the sd card
<clever> asymmetric: that lspci looks strange
<clever> what args did you use?
<asymmetric> lspci -k
<clever> can you pastebin another without -k?
<asymmetric> sure, any other flags?
<clever> no flags at all
<asymmetric> http://ix.io/1U9Q
<clever> asymmetric: what does `type lspci` report?
<asymmetric> it's from busybox
<clever> asymmetric: theres your problem
<etu> oooh
<clever> use the lspci from pciutils
<etu> both of those looked very strange indeed
<asymmetric> http://ix.io/1U9R
<clever> asymmetric: what about `lsusb` from usbutils?
rauno has quit [Ping timeout: 264 seconds]
<asymmetric> http://ix.io/1U9S
<clever> Bus 001 Device 002: ID 058f:9540 Alcor Micro Corp. AU9540 Smartcard Reader
<clever> asymmetric: there it is, its a usb device, not a pci device
<clever> arch lied to you :P
<asymmetric> haha! :D
<clever> asymmetric: if you pop the SD card out, does it disapear from lsusb?
nakkle has quit [Ping timeout: 252 seconds]
<etu> hmm
<asymmetric> clever: no, it doesn't
<etu> smartcard reader isn't sd-card though
<clever> etu: oh right, thats the ID card stuff
<clever> asymmetric: with the card back in, what does `ls -l /dev/mmc*` return?
<asymmetric> 404
<clever> asymmetric: anything of the right size in `lsblk` ?
<etu> clever: yeah, creditcard sized card that you put in to authenticate things
<clever> etu: yeah
<asymmetric> this is a new sd-card, if that matters. not sure if already formatted or not
<clever> asymmetric: that wont matter much
<etu> asymmetric: Shouldn't matter, the reader should be visible regardless
<asymmetric> clever: only sda, i.e. my main flash drive
<etu> asymmetric: Is it enabled in EFI?
<etu> I'm pretty sure you can disable such devices in the firmware
<asymmetric> etu: i have bios, but i will have a look, just need to reboot obviously :)
mkoenig has quit [Remote host closed the connection]
m1cr0m4n has joined #nixos
m1cr0man has quit [Ping timeout: 258 seconds]
mkoenig has joined #nixos
nakkle has joined #nixos
<vyorkin> is possible to use opam on NixOS?
<vyorkin> for OCaml development
<vyorkin> I mean without nix-shell
<etu> > pkgs.opam.meta.description
<{^_^}> "A package manager for OCaml"
<vyorkin> yeah, I know it exists
<vyorkin> but is it possible to use it for development workflow?
<etu> I don't know how the development workflow looks or so, but I don't see why it wouldn't
mudri has joined #nixos
drakonis has joined #nixos
vmandela has joined #nixos
<{^_^}> [nixpkgs] @jtojnar opened pull request #68008 → ibus-engines.hangul: fix ibus-setup-hangul → https://git.io/fjphh
npmccallum has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace pushed to master « gnome3.mutter328: patches from gnome-3.28 branch »: https://git.io/fjpjv
Necro^Byte has quit [Quit: KVIrc 4.9.3 Aria http://www.kvirc.net/]
<vyorkin> etu: the "opam upgrade" results in: [ERROR] The compilation of ocaml-system failed at "/home/vyorkin/.opam/opam-init/hooks/shebangs.sh".
<vyorkin> not sure where to go from there, google doesn't help
<{^_^}> [nixpkgs] @worldofpeace merged pull request #67986 → gnome3.mutter: fix segfault in dri_flush_front_buffer() → https://git.io/fjpdx
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fjpjf
<etu> vyorkin: I guess that shellscript has a shebang that is like /bin/bash or something else that doesn't exist...
philr has joined #nixos
<{^_^}> [nixpkgs] @yorickvP opened pull request #68009 → ghcjs: fix build and disable profiling by default → https://git.io/fjpjL
<etu> vyorkin: you could probably use in some buildFHSUserEnv
<{^_^}> [nix] @edolstra pushed to master « gc-auto.sh: Add some more instrumentation »: https://git.io/fjpjq
o1lo01ol1o has joined #nixos
<vyorkin> etu: thanks! didn't known such thing exists
fendor has joined #nixos
<{^_^}> [nixpkgs] @Mic92 opened pull request #68010 → radare2: 3.7.0 -> 3.8.0 → https://git.io/fjpjY
waleee-cl has joined #nixos
hyper_ch2 has joined #nixos
ubert has quit [Remote host closed the connection]
emptyflask has joined #nixos
<{^_^}> [nixpkgs] @romildo merged pull request #67900 → materia-theme: 20190315 -> 20190831 → https://git.io/fjp4X
<{^_^}> [nixpkgs] @romildo pushed 2 commits to master: https://git.io/fjpjB
freeman42[NixOS] has joined #nixos
drakonis has quit [Quit: WeeChat 2.4]
schjetne has quit [Ping timeout: 245 seconds]
<{^_^}> [nix] @edolstra pushed to master « Support allowSubstitutes attribute in structured attribute derivations »: https://git.io/fjpjz
vmandela has quit [Quit: Leaving]
debclair has joined #nixos
dansho has quit [Remote host closed the connection]
dansho has joined #nixos
<debclair> Hello! Sorry to interrupt, I wanted to know how haskell packages are curated for nixpkgs (specially how versions are decided/handled).
<srhb> debclair: There are some posts you will find on mailing lists if you search for haskellngPackages (which is basically the foundation of haskellPackages nowadays) -- but the short of it is that a set of hackage packages is generated from a stackage LTS release, and committed to the nixpkgs repo.
<srhb> debclair: These are auto generated. On top of this, various overrides and tweaks are applied. Broken packages are disabled, etc.
<sm[m]> why is the hydra.nixos.org website so slow ?
<srhb> debclair: Other things to look at is cabal2nix and specifically hackage2nix in that repo
<srhb> sm[m]: Not all of it is.
<srhb> sm[m]: The parts that are are usually slow queries to postgres.
<sm[m]> I’m searching, and inspecting jobs & builds
<sm[m]> It’s sitting there for minutes
<debclair> srhb thanks a lot. I co-worker told me it was generated from a stockage LTS today but I found it hard to believe. Now I know for sure (and ow my coworker an apology). Thank you!
<sm[m]> Not complaining, but it’s almost unusable, I wish it were a bit faster
<srhb> sm[m]: Minutes I don't think I've seen.
<debclair> * A co-worker
_d0t has joined #nixos
<srhb> debclair: Sure :)
iyzsong has quit [Quit: ZNC 1.7.1 - https://znc.in]
<_d0t> ohai! I get nixos-rebuild failing with http error 200s. What can I do with it?
<_d0t> (curl error: Timeout was reached); retrying in 266 ms
<_d0t> Like this one.
<{^_^}> nix#3025 (by zeecde, 4 weeks ago, open): HTTP error 200 (curl error: Timeout was reached) - unable to update and install
debclair has left #nixos [#nixos]
<_d0t> I don't really see a solution there.
<_d0t> Other than updating, which is exactly what I'm trying to do.
growpotkin has joined #nixos
<srhb> _d0t: If it really is that issue, you can do the upgrade with a newer Nix, but I'm not sure it is. If it is, you can also try on a faster connection. Regardless, the issue contains a number of links you could follow to gain more clarity.
<_d0t> srhb: is there a way to update just Nix without updating the rest of the system?
tom__ has quit [Ping timeout: 245 seconds]
<clever> _d0t: put the new nix into nix.package in configuration.nix and nixos-rebuild switch
<_d0t> I think I have the latest nix version, 2.2.2
<srhb> Yeah, that fix is not released in a maintenance branch yet afaik. Again, not sure that's it anyway.
<_d0t> there's only one way to check tho
<srhb> Sure. You can still upgrade it to some pre-release.
<{^_^}> [nixpkgs] @averelld opened pull request #68011 → vim: 8.1.1547 -> 8.1.1967 → https://git.io/fjhev
<alexarice[m]> I'm getting the check phase of a package complaining about a missing library (the library that has been built) when in a pure nix-shell the tests run fine, anyone have any ideas?
nakkle has quit [Ping timeout: 252 seconds]
<srhb> But of course, you should read carefully the changelogs if you do. I haven't checked if there's backwards incompatible changes, and there might be.
freeman42[NixOS] has quit [Ping timeout: 245 seconds]
<srhb> alexarice[m]: Is it a mkDerivation-analog that has a separate checkInputs?
<_d0t> related question. Is there a way to force nixos-rebuild restart on error like this one?
feep_ has quit [Ping timeout: 264 seconds]
<alexarice[m]> srhb: it's stdenv.mkDerivation, I've just put `checkPhase = "ctest"`
<alexarice[m]> srhb: Do you think the error is a missing checkInput?
<dminuoso> I use nix-shell to set up a build environment for my project. Inside that build environment I use a nix supplied cabal to build my project. Now I want to invoke cabal from a git pre-commit hook.. how?
<{^_^}> [nixpkgs] @markuskowa merged pull request #67629 → Ensure blas produces pkg config files → https://git.io/fjxtg
<{^_^}> [nixpkgs] @markuskowa pushed commit from @idontgetoutmuch to master « Ensure blas produces pkg config files (#67629) »: https://git.io/fjheI
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/fbf0d53c3c4 (from 5 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<srhb> alexarice[m]: I don't know. :) Probably easier to work with the expression itself.
ixxie has quit [Ping timeout: 244 seconds]
equivrel has quit [Read error: Connection reset by peer]
_zincy has joined #nixos
byteflam1 has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace merged pull request #67957 → glib-networking: clean up & add installed tests → https://git.io/fjp1m
<{^_^}> [nixpkgs] @worldofpeace pushed 12 commits to staging: https://git.io/fjheZ
equivrel has joined #nixos
hmpffff has quit [Quit: nchrrrr…]
noudle has quit []
drakonis has joined #nixos
drakonis_ has quit [Ping timeout: 258 seconds]
_d0t has quit [Quit: Konversation terminated!]
endformationage has joined #nixos
drakonis_ has joined #nixos
hmpffff has joined #nixos
Ariakenom has quit [Remote host closed the connection]
drakonis has quit [Ping timeout: 252 seconds]
ben_ is now known as ben
hmpffff has quit [Quit: nchrrrr…]
Tucky has quit [Quit: WeeChat 2.5]
ng0 has quit [Remote host closed the connection]
ng0 has joined #nixos
hyper_ch2 has quit [Remote host closed the connection]
<michaelpj> I seem to have a bunch of processes that have started using abnormally large amounts of CPU on recent unstable
ThatDocsLady has quit [Read error: Connection reset by peer]
lugh has joined #nixos
<hyperfekt> mdash: You asked about a builder for applying patches yesterday, it got merged nine hours ago #67930
ThatDocsLady_ has joined #nixos
<{^_^}> https://github.com/NixOS/nixpkgs/pull/67930 (by basvandijk, 1 day ago, merged): trivial-builders: add the applyPatches function
<michaelpj> sometimes dbus-daemon, sometimes NetworkManager, sometimes geoclue
<michaelpj> seems like they shouldn't be related but they did all start at the same time
<michaelpj> hmm, they probably all talk to dbus
<srhb> Yeah, sounds related to me..
<fresheyeball> so I think I have figured out why chrome is not starting inside a nix-build
sk8forether has joined #nixos
<fresheyeball> I was able to get a better error dump
<fresheyeball> and it's this Check failed: InitDefaultFont(). Could not find the default font
<fresheyeball> the nix-build with xvnc doesn't have any fonts!
domogled has quit [Quit: domogled]
oida has quit [Ping timeout: 260 seconds]
<fresheyeball> anyone know how I can supply some default font to a build?
<{^_^}> [nixpkgs] @worldofpeace merged pull request #67939 → libgdata: 0.17.10 → 0.17.11 → https://git.io/fjpru
<{^_^}> [nixpkgs] @worldofpeace pushed 3 commits to staging: https://git.io/fjheF
schjetne has joined #nixos
shibboleth has joined #nixos
<worldofpeace> maybe set FONTCONFIG_FILE generated with makeFontsConf?
<fresheyeball> worldofpeace: what is makeFontsConf?
<michaelpj> would someone who doesn't have abnormal CPU usage on NixOS mind running `sudo dbus-monitor --system` for a bit and seeing if it's normal to get vast quantities of messages for NetworkManager?
<{^_^}> [nixpkgs] @jojosch opened pull request #68012 → maintainers: add jojosch → https://git.io/fjhvv
<worldofpeace> fresheyeball: it's a function that generates an /etc/fonts.conf file. see make-fonts-conf.nix in nixpkgs
<fresheyeball> clever: do you know how to provide fonts to xvnc?
<worldofpeace> michaelpj: I just see messages on the access point for Signal Strength and bitrate
karetsu has joined #nixos
<michaelpj> I get some suspicious signals for `AccessPoints` with many entries. I don't understand dbus though, so maybe that's normal
polman has quit [Ping timeout: 245 seconds]
<michaelpj> perhaps I should try and purge nm's access points somehow
polman has joined #nixos
<worldofpeace> michaelpj: that sounds normal for NM also, it does a scan and then makes an array of AccessPoints objects
<michaelpj> it seems to make a *lot* though. way more than I have configured networks
<michaelpj> and it seems to coincide with UI slowness
<worldofpeace> Yeah that sounds kinda abnormal, what's your setup?
<fresheyeball> worldofpeace: how can I find the path to this function?
oida has joined #nixos
<michaelpj> oh my god
<michaelpj> it's quadratic
<michaelpj> incredible
<worldofpeace> michaelpj: it's defined in all-packages.nix
<michaelpj> it sends an array of access points in the signal, and it starts out with just one, then two, then three, until it's sending all of them at once
<michaelpj> er well, linear in the number of access points I guess, but I wonder if it's scanning them all each time
knupfer has quit [Ping timeout: 264 seconds]
<michaelpj> worldofpeace: nothing fancy, just kde with networkmanager
<worldofpeace> I see michaelpj, I'm pretty sure NM disallows scans immediately following previous ones
<fresheyeball> worldofpeace: I can find the file on github
<fresheyeball> but I don't know how to determine the path to that function from the top level
<worldofpeace> Perhaps this info could be helpful to you michaelpj https://wiki.gnome.org/Projects/NetworkManager/Debugging
<worldofpeace> fresheyeball: the attribute is makeFontsConf
<{^_^}> [nixpkgs] @alyssais merged pull request #67976 → ruby: 2.4.5 -> 2.4.7, 2.5.5 -> 2.5.6, 2.6.3 -> 2.6.4 → https://git.io/fjp7v
<{^_^}> [nixpkgs] @alyssais pushed 4 commits to master: https://git.io/fjhvt
boxscape has joined #nixos
<{^_^}> [nixpkgs] @yorickvP opened pull request #68013 → nixfmt: init at 0.3.0 from haskellPackages → https://git.io/fjhvO
<fresheyeball> worldofpeace: awesome!
<fresheyeball> looks like it needs `fontDirectories` as an argument
wolfshappen has quit [Ping timeout: 246 seconds]
<fresheyeball> oh wait I see
evanjs has quit [Quit: Configuring ZNC, sorry for the joins/quits!]
wolfshappen has joined #nixos
evanjs has joined #nixos
emptyflask has quit [Ping timeout: 264 seconds]
mariel__ has joined #nixos
ThatDocsLady_ has quit [Read error: Connection reset by peer]
Synthetica has quit [Quit: Connection closed for inactivity]
<{^_^}> [nixpkgs] @Infinisil merged pull request #55510 → nixos/printers: declarative configuration → https://git.io/fhHbh
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to master: https://git.io/fjhvR
<{^_^}> [nixpkgs] @alexarice opened pull request #68014 → [WIP] mkldnn: init at 1.0.2 → https://git.io/fjhvz
evanjs| has joined #nixos
<evanjs> Oops. Something's going on with my nicks haha
<{^_^}> [nixpkgs] @peti pushed to master « openshot-qt: fix title generator »: https://git.io/fjhvV
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/67904dccbb0 (from 5 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
Zer0xp has quit [Ping timeout: 246 seconds]
chr15 has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @worldofpeace merged pull request #67836 → coreboot-utils: init at 4.10 → https://git.io/fjpTj
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fjhv1
orivej has quit [Ping timeout: 244 seconds]
wfranzini has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @jtojnar merged pull request #68008 → ibus-engines.hangul: fix ibus-setup-hangul → https://git.io/fjphh
<{^_^}> [nixpkgs] @jtojnar pushed 3 commits to master: https://git.io/fjhvH
asheshambasta has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @aanderse opened pull request #68015 → nixos/zookeeper: recursively set permissions and ownership on dataDir → https://git.io/fjhvd
karetsu has quit [Quit: WeeChat 2.4]
phreedom has quit [Remote host closed the connection]
phreedom has joined #nixos
civodul has quit [Quit: ERC (IRC client for Emacs 26.3)]
<{^_^}> [nixpkgs] @WilliButz pushed to release-19.03 « grafana: set correct version after bad backport »: https://git.io/fjhft
ixxie has joined #nixos
karetsu has joined #nixos
orivej has joined #nixos
<{^_^}> [nixos-homepage] @JohnAZoidberg opened pull request #301 → Use new link to manual on download page → https://git.io/fjhfm
<{^_^}> [nixpkgs] @worldofpeace merged pull request #67926 → biber: fix currently broken tests → https://git.io/fjp21
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fjhfn
<{^_^}> [nix] @edolstra pushed to master « gc-auto.sh: More test fixes »: https://git.io/fjhfC
emptyfl4sk has joined #nixos
<{^_^}> [nixpkgs] @aanderse closed pull request #43572 → dRonin: init at 2018-06-30. breakpad: init at 2018-07-06 → https://git.io/fNYlK
growpotk- has joined #nixos
sigmundv has quit [Ping timeout: 245 seconds]
drakonis has joined #nixos
drakonis1 has joined #nixos
philr has quit [Ping timeout: 258 seconds]
alex`` has joined #nixos
byteflam1 has quit [Ping timeout: 245 seconds]
<fresheyeball> clever: so I got past it, the combination of xvnc + socat + makeFontsConfig did the trick
<fresheyeball> just fyi
drakonis_ has quit [Ping timeout: 245 seconds]
growpotkin has quit [Quit: ZNC 1.7.4 - https://znc.in]
karetsu has quit [Quit: WeeChat 2.4]
byteflam1 has joined #nixos
drakonis has quit [Ping timeout: 252 seconds]
growpotk- has quit [Ping timeout: 244 seconds]
<asymmetric> etu: clever: there was no option in the bios to enable the sd card reader unfortunately
drakonis1 has quit [Ping timeout: 252 seconds]
erasmas has joined #nixos
byteflam1 has quit [Ping timeout: 245 seconds]
Jackneill has quit [Ping timeout: 245 seconds]
schjetne has quit [Ping timeout: 245 seconds]
Jackneill has joined #nixos
sb0 has quit [Quit: Leaving]
evanjs| has quit [Quit: Configuring ZNC, sorry for the joins/quits!]
<{^_^}> [nixpkgs] @worldofpeace opened pull request #68016 → treewide: don't use single quotes with placeholder → https://git.io/fjhf1
<evanjs> >.> Okay what
<evanjs> Ohhh probably an old failed login attempt
domogled has joined #nixos
<sm[m]> is there a better url to find recent builds for a package (hledger), than a general search on hydra ?
<sm[m]> or a nix command ?
<srhb> sm[m]: As in, the last succesful build?
<srhb> (from master?)
<sm[m]> yes, on some or all architectures
evanjs| has joined #nixos
<srhb> You should be able to construct an url that does that, I think. Moment.
<sm[m]> ie, the latest version someone could install with nix, using nix-env -i -f https://github.com/NixOS/nixpkgs/archive/fe41fd.tar.gz -A hledger or similar
<evanjs> I have a set of functions that just maps over specified channels and finds a newest version of a package, but I do wonder if there's a better way
vyorkin has quit [Ping timeout: 258 seconds]
<evanjs> Has anybody had any luck in getting powerlevel-9k and related bars working on a virtual terminal in NixOS?
<evanjs> *rendering properly
psyanticy has joined #nixos
mexisme has joined #nixos
reallymemorable has quit [Quit: reallymemorable]
<clever> asymmetric: can you verify your reader works in another os?
<sm[m]> srhb: thanks! I'm investigating this. What would it be for mac builds ? not https://hydra.nixos.org/job/nixpkgs/trunk/hledger.darwin/latest
<srhb> sm[m]: You can curl -LH "accept: application/json" to get some json from whence you can get the path of the first output
<srhb> sm[m]: Just s/linux/darwin
<srhb> sm[m]: And then just nix-store --realise the store path from the json blob
Ariakenom has joined #nixos
<srhb> sm[m]: (And nix-env -i that)
mexisme has quit [Ping timeout: 246 seconds]
karetsu has joined #nixos
<sm[m]> ah, nice. And I think that's equivalent to copying the "to" hash that I see under Changes on the build page. Earlier that didn't work but I think probably because I picked the wrong architecture for this machine
karetsu has quit [Client Quit]
<srhb> sm[m]: Yes, that's correct, the "to" is the nixpkgs version, but realizing the path directly saves you from doing any eval.
karetsu has joined #nixos
karetsu has quit [Client Quit]
<sm[m]> I think the final piece is to find a hash that corresponds to a build that worked on all architectures (linux and darwin). So the command will work for users on either
<srhb> sm[m]: Yeah, we don't have that information directly, you'll have to visit latest for each arch.
<srhb> sm[m]: (They're basically two disparate packages to Nix)
karetsu has joined #nixos
<srhb> sm[m]: Out of curiosity, why not pin a known-working one? :)
<srhb> Of course, you have to find a rev that works first...
<sm[m]> ah, and I see both latest build pages have the same hash. So that's making sense \o/
<sm[m]> and of course I can test on both platforms
<sm[m]> this is for install instructions, where I want to give a command that installs the latest release of the package
<srhb> Got it :)
<sm[m]> this was very helpful, thanks srhb
<srhb> sm[m]: You're welcome!
karetsu has quit [Client Quit]
karetsu has joined #nixos
karetsu has quit [Client Quit]
karetsu has joined #nixos
aveltras has joined #nixos
karetsu has quit [Client Quit]
karetsu has joined #nixos
karetsu has quit [Client Quit]
karetsu has joined #nixos
<{^_^}> [nixpkgs] @danieldk opened pull request #68017 → drawio: 11.1.4 -> 11.2.4 → https://git.io/fjhfA
karetsu has quit [Client Quit]
karetsu has joined #nixos
<evanjs> So I'm trying to use my PR for openrazer on one of my computers... and I keep getting error: attribute 'openrazer' missing, at /home/evanjs/src/nixpkgs/nixos/modules/hardware/openrazer.nix:106:32
karetsu has quit [Client Quit]
<evanjs> Interestingly, this only happens on _one_ computer
<evanjs> #64552
<{^_^}> https://github.com/NixOS/nixpkgs/pull/64552 (by evanjs, 7 weeks ago, open): openrazer: init at 2.6.0
<{^_^}> [nixpkgs] @worldofpeace merged pull request #68016 → treewide: don't use single quotes with placeholder → https://git.io/fjhf1
<asymmetric> clever: it worked on a friend's thinkpad fwiw, who's not on nixos
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fjhfp
karetsu has joined #nixos
<evanjs> Not sure why it works everywhere else >.>
<asymmetric> thanks for trying :) clever++ etu++
<{^_^}> clever's karma got increased to 189, etu's karma got increased to 10
karetsu has quit [Client Quit]
karetsu has joined #nixos
niso has quit [Remote host closed the connection]
<sm[m]> srhb++
<{^_^}> srhb's karma got increased to 72
Okinan has joined #nixos
karetsu has quit [Client Quit]
byteflam1 has joined #nixos
<srhb> evanjs: Fiddling with kernelPackages on that one?
<evanjs> srhb: Yeah that's where it looked like it was tripping up. Not sure why on this particular computer.
<srhb> evanjs: I meant, are you modifying kernelPackages in some funky way on that one in particular? :)
<evanjs> No, not at all! That's why I'm sort of lost haha
<evanjs> They all have linux_latest though
<srhb> Ah, okay. :) Seemed like an obvious culprit..
<evanjs> Tough, this one is not synced in terms of version yet
<evanjs> Perhaps I should sync that first... though I'm not sure it would matter. 5.2.9 vs 5.2.11 on the others
xkapastel has joined #nixos
<sm[m]> srhb: does nix-store --realise help me find the github archive hash ? I haven't found out how to get that other than from the build page on hydra
<srhb> sm[m]: No, there's no way back in general from a store path to a rev.
<srhb> Well, that's not quite true, but there's no simple way.
babic has joined #nixos
<evanjs> srhb: The strange bit is that most settings are shared, and I'm having issues finding any major differences in those that aren't. Nothing that affects udev/etc anyway
<srhb> evanjs: Maybe just nixpkgs changes around kernel arch? :)
<evanjs> srhb: I mean... 2 patch versions, though??
_zincy has quit [Ping timeout: 246 seconds]
<srhb> I don't mean the kernel itself, I mean the nix infra around those attrsets.
<srhb> Though i don't recall any either.
<{^_^}> [nixpkgs] @Infinisil merged pull request #64552 → openrazer: init at 2.6.0 → https://git.io/fjPTB
<{^_^}> [nixpkgs] @Infinisil pushed 6 commits to master: https://git.io/fjhJm
<evanjs> srhb: Right right. As far as I know, they all just use mostly the same things (linuxPackagesFor) and I can't imagine any major changes, either upstream or nix infra between those two
<evanjs> srhb: synced versions now, anyhow
evanjs| has quit [Quit: ZNC 1.7.4 - https://znc.in]
<srhb> evanjs: Yeah, I don't have any psychic ideas here ^^
Myhlamaeus4 has joined #nixos
evanjs| has joined #nixos
<babic> Is it just me or has the there recently (months/weeks not days) been a change with how hashes are handled, maybe it's just a fetchFrom* thing? Basically lets say you have a package that uses fetchFromGitHub, and you change just the rev. Right now it will build using the old rev with the old hash, I'm pretty sure that used to fail.
<babic> I'm on nixos-unstable
<srhb> babic: It has always worked thus for all fixed-output derivations
<srhb> babic: That is the point of them.
jgeerds has joined #nixos
<srhb> If the output is present (per the hash) the fetch is a no-op.
<srhb> Otherwise we would have to always confirm every single source in the world for every single dependency tree. :)
<mog> could some java person package this for nixos https://github.com/openaudible/openaudible
<srhb> babic: The trick about fixed-output derivations (fetchers, for most intents and purposes) is that the inputs _don't_ matter, only the output. Which is what the hash describes.
<srhb> mog: Have you opened an issue for it? :)
<mog> no. thought id take a shot here. i guess dont feel right cluttering the issues with it
<srhb> mog: You're absolutely welcome to! :)
<mog> i assume it will be easy, just not familiar with the maven process
<evanjs> srhb: .....
<evanjs> srhb: guess what
<srhb> mog: If you're interested I recently tried mavenix by icetan and was pleasantly surprised.
<srhb> evanjs: 'sup :P
<evanjs> srhb: uhhhhh.... that worked....
<srhb> Well, at least we know it's reproducible, just not why.
<srhb> (Which is usually the point where I go **BIGSHRUG** and move on :P)
<evanjs> srhb: Yeah.... sorta confused but I'm sure it'll get easier once it's in tree.... and yeah basically
evanjs| has quit [Client Quit]
<evanjs> Trying to wait a week before I ping the last maintainer that requested changes for review :P
<srhb> evanjs: Didn't it just get merged?
evanjs| has joined #nixos
<evanjs> What the
<evanjs> infinisil++
<{^_^}> infinisil's karma got increased to 136
<evanjs> Did not notice that
<infinisil> Hehe
rauno has joined #nixos
<{^_^}> [nixpkgs] @srhb merged pull request #68001 → python3Packages.cherrypy: fix tests after upgrade to pytest5 → https://git.io/fjpxo
<{^_^}> [nixpkgs] @srhb pushed 2 commits to master: https://git.io/fjhJ8
Neo-- has quit [Ping timeout: 258 seconds]
<mog> well that was magic srhb
<srhb> mog: Did it just work? :)
<mog> ya
<srhb> mog: Yeah, that's been my experience with most packages too.
<srhb> Quite impressed because everything else I've tried to do with maven and nix has just been utter hell.
<mog> i figured it would be simple. i think ill open issue with the default.nix and mavenix.lock
<evanjs> srhb: same... been looking at mavenix but I think there are still some blockers for us at work right now. i.e. submodules in private repos, etc...
<srhb> evanjs: I have seen it fail on some other complex setups, which i don't know enough maven to understand, but it seems a huge improvement at least.
bakakuna has joined #nixos
<evanjs> srhb: wait derp I was building on the wrong computer >_> fingers crossed
<evanjs> re openrazer weirdness
vyorkin has joined #nixos
<srhb> #nixtroubles
<evanjs> Worth it but bah
vyorkin has quit [Client Quit]
polman has quit [Ping timeout: 245 seconds]
polman has joined #nixos
byteflam1 has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @mrVanDalo opened pull request #68019 → terranix: init at 2.1.1 → https://git.io/fjhJo
byteflam1 has joined #nixos
<{^_^}> [nixpkgs] @grahamc opened pull request #68020 → Vacation PR: multi-paged, styled, searchable docs with wrapper tooling and epubs for NixOS and Nixpkgs → https://git.io/fjhJi
<srhb> "Vacation"
<gchristensen> :|
<srhb> "No internet"
<{^_^}> [nixpkgs] @grahamc pushed 60 commits to samuel-docs/searchable-2: https://git.io/fjhJP
<{^_^}> [nixpkgs] @grahamc pushed 0 commits to samuel-docs/searchable-2: https://git.io/fjhJX
<gchristensen> srhb: I haven't left yet! I've been postponing my leaving to get this PR in :P
<srhb> Okay. :P
schjetne has joined #nixos
<srhb> I'm just saying, the assimilation might have progressed further than we assumed...
polman has quit [Ping timeout: 245 seconds]
wildtrees has joined #nixos
polman has joined #nixos
hmpffff has joined #nixos
dasj19 has joined #nixos
ky1ko has joined #nixos
byteflam1 has quit [Ping timeout: 245 seconds]
schjetne has quit [Ping timeout: 246 seconds]
<gchristensen> okay bye, have a great 2 weeks. don't do anything unreproducible.
<aanderse> gchristensen: enjoy :)
dbmikus has joined #nixos
Guest198 has joined #nixos
Guest198 is now known as fvh
polman has quit [Ping timeout: 245 seconds]
gchristensen is now known as gchrholiday
<{^_^}> Channel nixpkgs-19.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/c8c4f24139f (from 2 hours ago, history: https://channels.nix.gsc.io/nixpkgs-19.03-darwin)
polman has joined #nixos
fusion809 has quit [Remote host closed the connection]
<fvh> hi folks, can someone explain how to troubleshoot error of a form "error: value is a string while a set was expected"? I'm trying to deploy hydra with nixops and get this error, on showing trace there are more cascading values errors like "while evaluating the option `system.nixos.release' " at `.nix-defexpr/channels/nixpkgs/lib/modules.nix:336:9:`
<fvh>
polman has quit [Ping timeout: 245 seconds]
bakakuna has quit [Ping timeout: 258 seconds]
polman has joined #nixos
<srhb> fvh: My usual method is to stare really really hard at the code.
<infinisil> ^^ same
<infinisil> > "string".attribute
<{^_^}> value is a string while a set was expected, at (string):263:1
<fvh> @srhb this error coming from global modules. Is that good practice to edit them?
<srhb> fvh: If there's a bug, sure, but does it not seem plausible that it could be in your config?
<infinisil> This error message doesn't tell you where the error actually is
<infinisil> module.nix is just where the error gets detected
<evanjs> Yeah, usually I either look for any items in my config that appear in the output, or use --verbose and see go up the list of the last few files that were evaluated
<tilpner> If your config is version controlled, triple-check the diff
<tilpner> Or binary-search your imports
<fvh> The thing is that, if I run everything without 1 file, related to jobset on hydra, then everything works but why jobset might need nixos version at all is not. So tilpner you suggest that bad imports?
polman has quit [Ping timeout: 245 seconds]
polman has joined #nixos
<tilpner> fvh: I suggested commenting out imports to narrow down where your mistake is, but it appears you already know where it is
<fvh> yes, I narrow it down by splitting in smaller files
fendor has quit [Ping timeout: 264 seconds]
mariel__ has quit [Quit: Leaving]
fvh has quit [Remote host closed the connection]
vyorkin` has joined #nixos
polman has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @sikmir opened pull request #68021 → gpxsee: 7.12 -> 7.13 → https://git.io/fjhUJ
feep has joined #nixos
egasimus has joined #nixos
polman has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
byteflam1 has joined #nixos
<alexarice[m]> ,locate swaybar
Ariakenom_ has joined #nixos
<{^_^}> Found in packages: sway
<alexarice[m]> is that the wrong command
<alexarice[m]> ah no it isn't
Jackneill has quit [Remote host closed the connection]
feep has quit [Ping timeout: 244 seconds]
reallymemorable has joined #nixos
Ariakenom has quit [Ping timeout: 245 seconds]
byteflam1 has quit [Ping timeout: 245 seconds]
hmpffff has quit [Quit: nchrrrr…]
ky1ko has quit [Read error: Connection reset by peer]
hmpffff has joined #nixos
hmpffff has quit [Client Quit]
<{^_^}> [nixos-hardware] @globin merged pull request #118 → Add better pulseaudio support for thinkpad t490 → https://git.io/fjpDY
<{^_^}> [nixos-hardware] @globin pushed 3 commits to master: https://git.io/fjhUu
hmpffff has joined #nixos
hmpffff has quit [Client Quit]
hmpffff has joined #nixos
<{^_^}> [nixos-hardware] @globin merged pull request #117 → thinkpad: minor trackpoint fixes → https://git.io/fjpWc
<{^_^}> [nixos-hardware] @globin pushed 3 commits to master: https://git.io/fjhUg
hmpffff has quit [Client Quit]
zupo has joined #nixos
freeman42[NixOS] has joined #nixos
<kraem> clever: i didn't succeed creating the overlay which you tried helping me yesterday :( this is what i've got (am i calling rec in the right place?) https://bpaste.net/show/hFlY (i've also tried using oldAttrs) - any pointers?
polman has quit [Ping timeout: 245 seconds]
polman has joined #nixos
zupo_ has joined #nixos
zupo has quit [Ping timeout: 258 seconds]
<srhb> kraem: overrideAttrs takes a function, so ...overrideAttrs (oa: { ...
<srhb> kraem: moreover you also need to set the rest of the fetchFromGitHub attrs
<srhb> kraem: (You aren't somehow deep overriding into that, you're just overriding src, so you need to reconstruct it from scratch)
<srhb> kraem: You probably also want to override name, but that's mostly cosmetics, version won't somehow propagate into the existing name string, which already has the old version substituted in.
<srhb> kraem: Again, this is mostly understanding that things don't propagate the way you think they are :)
<srhb> kraem: Your rec also does nothing, there's no attributes in your overlay that refer to each other as far as I can see.
<srhb> kraem: If you wanted one of those to depend on the other, you're going to need to do that with override on top of what you're already doing.
<srhb> I think that's it.
<kraem> srhb: thanks! let me read that one or two times and see if i get it :)
polman has quit [Ping timeout: 245 seconds]
o1lo01ol1o has joined #nixos
polman has joined #nixos
<Izorkin> Please check PR ##67931
<Izorkin> * #67931
<{^_^}> https://github.com/NixOS/nixpkgs/pull/67931 (by Izorkin, 1 day ago, open): fail2ban: init at 0.11.dev3-2019-08-22
byteflam1 has joined #nixos
o1lo01ol1o has quit [Ping timeout: 245 seconds]
<kraem> srhb: so i am not able to reference the new version attribute i've set, using self, while setting rev in src= ? do you propose i hard code it in for the overlay?
andreas303 has quit [Remote host closed the connection]
<srhb> kraem: That's what rec is for
<kraem> as soon as i am using ..overrideAttrs (oa: {.. i can't reference fetchFromGithub
<srhb> kraem: rec allows you to refer to another attr defined in the same set.
<srhb> kraem: That doesn't sound right..
<srhb> kraem: Did you mean fetchFromGitHub?
zupo_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<srhb> kraem: (capital H)
andreas303 has joined #nixos
byteflam1 has quit [Ping timeout: 264 seconds]
feep has joined #nixos
<kraem> yeah thanks! :) now i'm back at not being able to reference version within src. shouldn't i be able to reference self.version since that's the new attr version i've set a couple of rows above?
<{^_^}> [nixpkgs] @sikmir opened pull request #68022 → josm: 15238 -> 15322 → https://git.io/fjhUh
<srhb> > { foo = 42; bar = foo; }.bar
<{^_^}> "blablablabl"
<srhb> ....
<srhb> > rec { foo = 42; bar = foo; }.bar
<{^_^}> 42
<srhb> kraem: You need the enclosing attrset to be a recursive attrset to be able to refer to one attribute within another
byteflam1 has joined #nixos
<kraem> so ..overrideAttrs ( oldAttrs: rec {.. ?
babic has quit [Ping timeout: 246 seconds]
<srhb> kraem: Correct!~
<kraem> :)
<kraem> still version is missing though.. isn't self.version the right way to reference it?
<srhb> kraem: No, just version.
<srhb> self, in your current scope, is the entirety of pkgs, after your changes.
<srhb> (super is all of pkgs before your changes)
<dminuoso> What's the canonical way to tap into unstable channels for nixops (or local nixos I guess)?
<srhb> dminuoso: Settings nixpkgs.
<srhb> Er, NIX_PATH
<dminuoso> srhb: I mean selectively for just a package or two.
<srhb> dminuoso: Oh, just overlays then I guess.
<srhb> dminuoso: or even a let unstable = ... in network..
<srhb> Doesn't matter too much.
<dminuoso> srhb: Mmm, is there realistically a downside to importing in configuration.nix?
<srhb> dminuoso: Just the eval cost really.
<{^_^}> [nixpkgs] @ambrop72 opened pull request #68023 → phc-intel: Don't define the package if the assert would fail. → https://git.io/fjhT8
<kraem> srhb: alright! i always thought self was the current scope _and_ the enitrety of nixpkgs after everything had been evaluated.
drewr has joined #nixos
<dminuoso> srhb: Alright, that seems much less to write than an overlay I guess. :)
<srhb> kraem: Ah, no. :)
<dminuoso> Cheers
<evanjs> dminuoso: ooo hold on I have an example
<kraem> srhb: thanks! i got it building :)
<kraem> srhb++
<{^_^}> srhb's karma got increased to 73
<kraem> clever++
<{^_^}> clever's karma got increased to 190
<srhb> kraem: Great. Now to tackle the dependency of one of then other I think? :)
<srhb> Er.. Language..
<srhb> one on the other*
<srhb> Actually, nevermind me. I think you're good to go
<dminuoso> srhb: Actually it occured to me, that I dont even know how to add a channel via nixops..
<dminuoso> Mmm.
<srhb> dminuoso: Normally it has nothing to do with channels
<slabity> Are Nix flakes anything more than a concept right now? Or is it possible to make/use them now?
<dminuoso> Ohh because it uses my local nixpkgs?
<srhb> dminuoso: Unless you literally mean having a channel installed on the final host?
<srhb> dminuoso: Yeah. It just looks up nixpkgs in NIX_PATH
<evanjs> This works nicely for me
<evanjs> usage: e.g. pkgs.unstable-small.linuxPackages_latest
<srhb> dminuoso: This is why many people make a shell.nix for the nixops invocations that sets NIX_PATH to the desired commit of the deployment in its entirety.
<clever> srhb: nixops modify -I nixpkgs=something foo.nix
<srhb> clever: Yuck, state :)
<clever> srhb: this bakes it into the sqlite state, so you dont need a shell.nix
<srhb> To each their own. :P
<{^_^}> [nixpkgs] @averelld opened pull request #68024 → nvidia_x11: fix for vulkan in >= 435 → https://git.io/fjhTR
<dminuoso> srhb: I see, this makes a lot of sense. Cheers! :)
<niksnut> slabity: yes it's possible to use them
<slabity> niksnut: Is there any other information on them? The last update I saw on the proposal was a few months ago
<slabity> I would very much like to move my modules/overlays to be flakes
<niksnut> there are some updates at https://github.com/NixOS/rfcs/pull/49
<{^_^}> rfcs#49 (by edolstra, 7 weeks ago, open): [RFC 0049] Flakes
<alexarice[m]> ,flakes slabity
civodul has joined #nixos
<alexarice[m]> I think it's still a bit off
<slabity> Still better than nothing. Thanks
aveltras has quit [Quit: Connection closed for inactivity]
casaca has quit [Ping timeout: 244 seconds]
casaca has joined #nixos
polman has quit [Ping timeout: 245 seconds]
evanjs| has quit [Ping timeout: 258 seconds]
polman has joined #nixos
johanot has joined #nixos
fendor has joined #nixos
emptyfl4sk has quit [Ping timeout: 258 seconds]
zupo has joined #nixos
cartwright has joined #nixos
cantstanya has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @srhb merged pull request #68012 → maintainers: add jojosch → https://git.io/fjhvv
<{^_^}> [nixpkgs] @srhb pushed 2 commits to master: https://git.io/fjhT9
emptyfl4sk has joined #nixos
eyJhb has quit [Quit: Bye]
k0ral has joined #nixos
<k0ral> Hello
Myhlamaeus has joined #nixos
Myhlamaeus4 has quit [Read error: Connection reset by peer]
<k0ral> if you had to perform what the following post describes: https://enotacoes.wordpress.com/2010/10/22/limit-directory-size-in-linux/, but in a declarative way using nixos, how would you do it ?
feep has quit [Ping timeout: 245 seconds]
<srhb> k0ral: I really wouldn't, that sounds awful :P
<k0ral> notably, how would you declare the creation of such a filesystem so that it is created only if it does not exist yet (idempotent)
<k0ral> srhb: then how would you solve the need for a size-limited folder ?
<srhb> quotas sound good.
<srhb> Applying them (potentially repeatedly) also doesn't sound too scary.
domogled has quit [Ping timeout: 245 seconds]
<simpson> k0ral: The repeated mounting can be made declarative, and one-time setup need not be declarative beyond scriptability. But really, just use more users/groups and quotas, I think.
<k0ral> srhb: I expected that answer, but quotas are user/group-based, not folder-based (afaik), and I really need a folder-based solution
<tokudan> k0ral, wow, are you trying to emulate zfs with ext3 there?
<srhb> k0ral: Depends on your fs.
<srhb> k0ral: You can certainly get per-directory (or per volume at least) quotas.
<k0ral> srhb: don't want to use a zfs on my raspberry as it has low memory :)
<srhb> And that's the right tool for this job, imo :)
tpanum- has joined #nixos
<srhb> k0ral: Sure, that's fair. LVM?
tpanum has quit [Ping timeout: 246 seconds]
Guillaum has quit [Ping timeout: 268 seconds]
<tokudan> k0ral, reduce the zfs arc and you'll probably be fine, though i admit i've never use zfs in a low memory environment
acarrico has joined #nixos
<srhb> k0ral: I think XFS can also do something on a directory level
wfranzini has joined #nixos
<buckley310> are per-user quotas not fit for what you're doing?
<tokudan> another idea: run one web server per user and just proxy to the right instance
<k0ral> simpson: it might look like a one-time thing, setting up the file-filesystem, but I have multiple raspberry pi on which I will need to do it, so it would be nice if I can have nixos do it for me
<srhb> k0ral: Yeah, that's the reason I think quotas sound nice. Applying them again and again with some job sounds safe.
zupo_ has joined #nixos
tpanum has joined #nixos
<{^_^}> [nixpkgs] @alyssais merged pull request #61114 → ruby: add ruby.withPackages → https://git.io/fjcV8
<{^_^}> [nixpkgs] @alyssais pushed commit from @manveru to master « ruby.withPackages: init »: https://git.io/fjhkL
<k0ral> srhb: can you point at the specific nixos options that are related to quota setup ?
<simpson> k0ral: However you decide to do it, you may want to make a golden SD-card image, and then copy that image using a relatively high-bandwidth SD-card reader. RPis are not known for their bandwidth.
tpanum- has quit [Ping timeout: 245 seconds]
npmccallum has quit [Quit: npmccallum]
alp has quit [Ping timeout: 246 seconds]
dasj19 has quit [Quit: dasj19]
<qyliss> so happy we finally have ruby.withPackages
<srhb> k0ral: I don't know of any existing settings. I'm literally thinking "run this job at boot" or something like that :)
zupo has quit [Ping timeout: 258 seconds]
<qyliss> manveru++ amazing work
<{^_^}> manveru's karma got increased to 24
Zer0xp has joined #nixos
<manveru> qyliss++
<{^_^}> qyliss's karma got increased to 6
Guillaum has joined #nixos
<{^_^}> [nixpkgs] @vbgl opened pull request #68025 → ocamlPackages.janeStreet: init at 0.12 (for OCaml ≥ 4.07) → https://git.io/fjhkY
matthuszagh has joined #nixos
<simpson> manveru++ qyliss++
<{^_^}> manveru's karma got increased to 25, qyliss's karma got increased to 7
alp has joined #nixos
xkapastel has quit [Quit: Connection closed for inactivity]
k0ral has quit [Ping timeout: 276 seconds]
eyJhb has joined #nixos
<matthuszagh> i'm currently using startx with exwm as a window manager. this mostly works great, but occasionally i run into issues which I think are related to needing a more full-fledged desktop environment. is it possible to keep my startx exwm config and sometimes run kde plasma from startx?
k0ral has joined #nixos
<k0ral> srhb: LVM would certainly answer my need, although it looks unnecessarily powerful, I hoped for something simpler
feep has joined #nixos
Guillaum has quit [Ping timeout: 264 seconds]
chr15 has joined #nixos
ixxie has quit [Ping timeout: 245 seconds]
Guillaum has joined #nixos
Stuck_ has joined #nixos
feep has quit [Ping timeout: 244 seconds]
andgate has joined #nixos
<tokudan> k0ral, LVM is definitly more common than having a bunch of filesystems lying around as files and mounting them through loopback devices.
<{^_^}> [nixpkgs] @aristidb opened pull request #68026 → gnucash: fix cmake configure phase, missing "include(CheckSymbolExists)" → https://git.io/fjhk4
feep has joined #nixos
<Stuck_> Hi, I've a haskell package (random) installed, but the package is hidden, I've tried to expose the package using `sudo ghc-pkg expose random` but it says I don't have permission... even in root
<Stuck_> ghc-pkg: /nix/store/7xpmzgakddqh8njc6ypxj0dad27zzzjh-ghc-8.6.4-with-packages/lib/ghc-8.6.4/package.conf.d/: openBinaryTempFileWithDefaultPermissions: permission denied (Read-only file system)
<{^_^}> [nixpkgs] @andir merged pull request #67987 → [19.03] firefox: 68.0.2 -> 69.0 (and updated related packages) → https://git.io/fjpFI
<{^_^}> [nixpkgs] @andir pushed 10 commits to release-19.03: https://git.io/fjhku
<clever> Stuck_: what is claiming its hidden?
<clever> Stuck_: did you add random to your cabal file as a dependency?
<Stuck_> the ghci
knupfer has joined #nixos
<clever> Stuck_: how are you running ghci?
o1lo01ol1o has joined #nixos
<Stuck_> in the terminal
<tokudan> k0ral, if it's just about php, it might be an idea to sping up a php-fpm pool for each user, so their own files get created with their user and then you could use quotas
<Stuck_> in no particular project
feep has quit [Ping timeout: 246 seconds]
<clever> Stuck_: that should just work..., what does `type ghci` return?
<Stuck_> ghci is /run/current-system/sw/bin/ghci
<clever> Stuck_: i also prefer to not install ghc system-wide, and to only use it from within a nix-shell
byteflam2 has joined #nixos
<k0ral> tokudan: LVM is necessarily setup before installing nixos, unless I am mistaken, so I won't get the nice declarative/automated setup
<Stuck_> do you think that would work?
<clever> Stuck_: it works perfectly fine on this end
<{^_^}> [nixpkgs] @fpletz pushed 6 commits to gcc-8: https://git.io/fjhk2
<tokudan> k0ral, not if you dedicate a partition to it and create that during bootup if it hasn't been setup yet
<Stuck_> so I can't have a package exposed if I'm using ghc system-wide?
<symphorien> ,libraries Stuck_
<{^_^}> Stuck_: Don't install libraries through nix-env or systemPackages, use nix-shell instead. See https://nixos.wiki/wiki/FAQ/Libraries for details.
<clever> Stuck_: i'm not sure why it isnt working when you install it system wide, but ^^
zeta_0 has joined #nixos
<zeta_0> `
wfranzini has quit [Remote host closed the connection]
drakonis has joined #nixos
wfranzini has joined #nixos
byteflam1 has quit [Quit: Lost terminal]
<zeta_0> i can't find a `protonvpn` package in nix pkgs, so how do i install and setup/configure protonvpn in nixos ?
<hyperfekt> What actually is the reason for .drvs to be in the store? When do you actually want to create a drv but not build it at the same time?
<Stuck_> so if I'm to remove from the config ghc and the packages, and installed them with nix-shell it should work, right?
<symphorien> with remote builders, hyperfekt
matthuszagh has left #nixos ["ERC (IRC client for Emacs 27.0.50)"]
<clever> hyperfekt: nix-copy-closure can copy the drv files to a remote machine, nix-store -r /nix/store/foo.drv can re-build a drv, and skip the expensive eval, nix-shell /nix/store/foo.drv can shell into a drv to reproduce failures
<clever> hyperfekt: nix-shell is handy when the thing is burried in let blocks and imposible to access with -A
<clever> Stuck_: probably
<{^_^}> [nixpkgs] @jtojnar closed pull request #47009 → openrazer: init at 2.3.1 (driver, daemon, lib and NixOS module) → https://git.io/fAQHY
boxdot has joined #nixos
<{^_^}> [nixpkgs] @fpletz pushed 1000 commits to gcc-8: https://git.io/fjhk6
<clever> zeta_0: it doesnt appear to have a nixos module yet
<hyperfekt> symphorien: If it was just for remote builders you could send the drvs straight to them instead of either of the machines putting them in the store
<boxdot> When specifying buildInputs = [ cmake ninja ]; automagically ninja injects itself as build tool for cmake. How is this done? I can't find the place in nixpkgs where the injection happens.
Myhlamaeus has quit [Remote host closed the connection]
<clever> boxdot: the setup hooks, run `nix-build '<nixpkgs>' -A ninja` and then `ls -l result/nix-support`
<clever> boxdot: then repeat the above on cmake also
<hyperfekt> clever: So, essentially eval caching and that's it (apart from the 'not properly accessible' thing)?
<{^_^}> [nixpkgs] @fpletz pushed to gcc-8 « highlight: build with standard llvm version on darwin »: https://git.io/fjhki
npmccallum has joined #nixos
emptyfl4sk has quit [Ping timeout: 244 seconds]
<clever> hyperfekt: yeah
<zeta_0> clever: so the `protonvpn` package is still being developed ?
<clever> zeta_0: i think the package is done, it just needs a module to be built
<boxdot> clever: ah, this is outside of nix actually.
<clever> boxdot: sorta, its a convention setup within nixpkgs, that happens inside the nix builds
o1lo01ol1o has quit [Remote host closed the connection]
<clever> you can also see the setup hooks in both packages
johanot has quit [Quit: WeeChat 2.4]
<zeta_0> clever: so by this october(the next stable release) protonvpn should be in nixpkgs?
Myhlamaeus has joined #nixos
<clever> zeta_0: only if somebody gets a pr for that merged before then
polman has quit [Ping timeout: 245 seconds]
polman has joined #nixos
jtojnar has quit [Ping timeout: 245 seconds]
<clever> boxdot: the ninja setup hook, will overwrite the buildPhase, and the cmake setup hook will detect that, and change the cmake flags
<zeta_0> clever: ok, thanks for the info
<zeta_0> clever++
<{^_^}> clever's karma got increased to 191
vyorkin`` has joined #nixos
vyorkin` has quit [Ping timeout: 246 seconds]
<disasm> zeta_0: we'd happily accept a PR if you want to get it in, but freeze is coming soon.
<Stuck_> so I've just remove all ghc, and random stuff from the config, rebuilded it, `nix-shell -p 'haskellPackages.ghcWithPackages (p: [p.ghc p.random])'`, ran ghci, tried to import System.Random and still hidden, then ran `sudo ghc-pkg expose random` and still with the same permission denied :(
<clever> Stuck_: ghc expose will never work under nix
<clever> Stuck_: what if you remove p.ghc from the list?
drakonis1 has joined #nixos
<Stuck_> if I remove it how can I do ghc-pkg?
<clever> Stuck_: ghcWithPackages gives you a ghc already
Myhlamaeus has quit [Ping timeout: 245 seconds]
<Stuck_> same thing
drakonis has left #nixos ["Leaving"]
drakonis has joined #nixos
<clever> Stuck_: it works perfectly here
<zeta_0> disasm: what do you mean?
o1lo01ol1o has joined #nixos
<clever> Stuck_: do you have a ~/.ghci file?
<Stuck_> no, just a .ghc
<{^_^}> [nixpkgs] @0x4A6F opened pull request #68027 → tacacs+: tacacs+ -> tacacsplus → https://git.io/fjhkS
<clever> Stuck_: what is within that?
<{^_^}> [nixpkgs] @aristidb merged pull request #68026 → gnucash: fix cmake configure phase, missing "include(CheckSymbolExists)" → https://git.io/fjhk4
<{^_^}> [nixpkgs] @aristidb pushed to master « gnucash: fix cmake configure phase, missing "include(CheckSymbolExists)" (#68026) »: https://git.io/fjhkH
psyanticy has quit [Quit: Connection closed for inactivity]
<clever> Stuck_: what does `ghc-pkg list | grep random` say?
<{^_^}> [nixpkgs] @globin pushed to gcc-8 « arangodb_3_2: remove »: https://git.io/fjhkQ
zeta_0 has quit [Quit: ']
<disasm> zeta_0: 19.09 cut-off is 7th of September. Anything that doesn't get in will wait for 20.03
<Stuck_> I get the random package random-1.1
jtojnar has joined #nixos
<{^_^}> [nixpkgs] @DzmitrySudnik opened pull request #68028 → fluentd: add cloudwatchlogs plugin → https://git.io/fjhk5
<Stuck_> tree .ghc : .ghc
<Stuck_> │   └── default
<Stuck_> ├── environments
<Stuck_> └── x86_64-linux-8.6.4
<Stuck_> ├── ghci_history
<Stuck_> └── package.conf.d
<Stuck_> └── package.cache.lock
drakonis has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @aristidb merged pull request #68011 → vim: 8.1.1547 -> 8.1.1967 → https://git.io/fjhev
<{^_^}> [nixpkgs] @aristidb pushed commit from @averelld to master « vim: 8.1.1547 -> 8.1.1967 (#68011) »: https://git.io/fjhkF
<clever> Stuck_: try removing x86_64-linux-8.6.4
<pbb> What could be causing my block devices to be "busy"? They are not mounted, lsof knows nothing, but wipefs or make-bcache say "Device or resource busy".
<clever> pbb: was lvm previously on the device?
<pbb> no
<clever> pbb: mdadm? luks?
<pbb> no
<clever> pbb: what was on it then?
<pbb> just a filesystem
<pbb> I also just did wipefs -af and rebooted
<pbb> Of the two devices I want to use sometimes the first is busy and sometimes the other one
nhey_ has joined #nixos
<{^_^}> [nixpkgs] @globin pushed to gcc-9 « gcc: switch default to gcc9 »: https://git.io/fjhkA
<pbb> clever: actually on the partition that's busy right now has never existed before, so the header should have been in the middle of a previous filesystem before I did wipefs -af
<{^_^}> [nixpkgs] @globin opened pull request #68029 → [WIP] Default gcc to gcc9 → https://git.io/fjhkx
o1lo01ol1o has quit [Remote host closed the connection]
<clever> pbb: what does `dmsetup ls` report?
<averell> well then. might even get gcc9 done before branch-off :P
<nhey_> How do I get man-pages for C library functions on NixOS? I have gcc installed - but for example man 3 printf or man scanf are missing
<averell> you should install "manpages"
<clever> ,libraries nhey_
<{^_^}> nhey_: Don't install libraries through nix-env or systemPackages, use nix-shell instead. See https://nixos.wiki/wiki/FAQ/Libraries for details.
<pbb> clever: "dmsetup ls", says "No devices found"
selfsymmetric-pa has joined #nixos
<clever> nhey_: i use https://gist.github.com/cleverca22/37af9840ed40406ed89f0fda4992c55b to get a collection of man pages
zupo_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
schjetne has joined #nixos
<Yaniel> oh joy, now some steam games are broken too
<nhey_> nix-shell is awesome :D but I find when taking university courses where I am to do exercises and work in groups, sometimes it is preferable to have libraries in systemPackages
<evanjs> Speaking of nix-shell, I still need to check out lorris
<nhey_> Thanks for the link though, I understand why I would want to avoid installing systemwide gcc
<evanjs> *hides system-installed gcc*
<{^_^}> [nixpkgs] @aristidb merged pull request #67807 → roxterm: 3.3.2 -> 3.7.5 → https://git.io/fjxhB
<{^_^}> [nixpkgs] @aristidb pushed commit from @cdepillabout to master « roxterm: 3.3.2 -> 3.7.5 (#67807) »: https://git.io/fjhkj
<nhey_> so I will remove it from systemPackages :D
<nhey_> clever: thanks
<evanjs> clever: is your expression just a more explicit/expressive form of documentation.man.enable?
<clever> evanjs: documentation.man.enable just installs man, and installs the .doc output of things in systemPackages
<clever> evanjs: but it wont install the man pages for libc things
ky0ko has joined #nixos
fendor has quit [Ping timeout: 244 seconds]
<evanjs> clever: figured as much. I need to tweak my documentation settings
<{^_^}> [nixpkgs] @aristidb pushed commit from @averelld to master « mplayer: 1.3.0 -> 1.4 (#67733) »: https://git.io/fjhIv
<{^_^}> [nixpkgs] @aristidb merged pull request #67733 → mplayer: 1.3.0 -> 1.4 → https://git.io/fjxKM
<evanjs> I wonder how much documentation.dev.enable does
<{^_^}> [nixpkgs] @aristidb merged pull request #67686 → maintainers: update my maintainer information → https://git.io/fjx0c
<{^_^}> [nixpkgs] @aristidb pushed commit from @kampka to master « maintainers: update my maintainer information (#67686) »: https://git.io/fjhIT
<clever> evanjs: https://nixos.org/nixos/options.html#documentation.dev.enable and click declared in's link
o1lo01ol1o has joined #nixos
<clever> evanjs: that will cause it to install the devman output of things in systemPackages
<evanjs> clever: Right, that's where I was. Just wasn't sure how other packages look when that's enabled
emptyfl4sk has joined #nixos
k0ral has quit [Quit: WeeChat 2.5]
<{^_^}> [nixpkgs] @7c6f434c merged pull request #68010 → radare2: 3.7.0 -> 3.8.0 → https://git.io/fjpjY
<{^_^}> [nixpkgs] @7c6f434c pushed 2 commits to master: https://git.io/fjhIq
<clever> Stuck_: any change?
<clever> Stuck_: or are you still stuck?
<{^_^}> [nixpkgs] @aristidb merged pull request #67593 → kakounePlugins: Add 5 kakoune plugins → https://git.io/fjApy
<{^_^}> [nixpkgs] @aristidb pushed commit from @nrdxp to master « kakounePlugins: Add 5 kakoune plugins (#67593) »: https://git.io/fjhIY
joshuagl has quit [Quit: Textual IRC Client: www.textualapp.com]
loopy has joined #nixos
byteflam2 has quit [Ping timeout: 258 seconds]
<{^_^}> [nixpkgs] @aristidb merged pull request #67424 → Add large hunspell dicts → https://git.io/fjAfx
<{^_^}> [nixpkgs] @aristidb pushed commit from @Provessor to master « Add large hunspell dicts (#67424) »: https://git.io/fjhIG
Myhlamaeus has joined #nixos
<Stuck_> sry, I've been distracted
<Stuck_> Have you sugested something?
nhey_ has quit [Quit: Leaving]
<clever> Stuck_: try removing x86_64-linux-8.6.4
Soo_Slow has joined #nixos
<Stuck_> expose still doe'nt work
<clever> Stuck_: expose will never work
<clever> Stuck_: does import work in ghci?
<pbb> ok, after wipefs -a on the whole drive, repartition and wipefs -a on the partition, and then reboot it works
<Stuck_> 0.0 yes it did
<Stuck_> why?
Myhlamaeus has quit [Ping timeout: 246 seconds]
<clever> Stuck_: you had something in your ~/.ghc that hid all packages
<pbb> but now I created the bcache device, it says state is clean, but spams the dmesg with "bch_count_backing_io_errors() md127: Read-ahead I/O failed on backing device, ignore"
<Stuck_> hoo, I'm gonna have to see more about that but thank you very much, I think that's all of my problems ^^
<Stuck_> just for reference, it works even with ghc system-wide
<clever> Stuck_: yeah, so it was likely ~/.ghc/ that has been causing all of your problems
UltraPhil has joined #nixos
Stuck_ has quit [Quit: leaving]
selfsymmetric-pa has quit [Remote host closed the connection]
Miyu-saki is now known as Miyu-chan
Zer0xp has quit [Ping timeout: 264 seconds]
chr15 has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @rycee pushed commit from @sikmir to master « josm: 15238 -> 15322 (#68022) »: https://git.io/fjhIw
<{^_^}> [nixpkgs] @rycee closed pull request #68022 → josm: 15238 -> 15322 → https://git.io/fjhUh
cyraxjoe has quit [Quit: I'm out!]
egasimus has quit [Remote host closed the connection]
ris has joined #nixos
waleee-cl has quit [Quit: Connection closed for inactivity]
coderobe has quit [Read error: Connection reset by peer]
Soo_Slow has quit [Remote host closed the connection]
_zincy has joined #nixos
t58 has joined #nixos
<{^_^}> [nixpkgs] @adisbladis merged pull request #68027 → tacacs+: tacacs+ -> tacacsplus → https://git.io/fjhkS
<{^_^}> [nixpkgs] @adisbladis pushed 2 commits to master: https://git.io/fjhIN
<{^_^}> [nixpkgs] @alyssais opened pull request #68030 → ruby_2_3: remove → https://git.io/fjhIp
coderobe has joined #nixos
evanjs| has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/ce944b4bded (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
Chiliparrot has joined #nixos
mmlb has joined #nixos
growpotkin has joined #nixos
pie_ has joined #nixos
byteflam1 has joined #nixos
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
schjetne has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @aristidb merged pull request #66949 → icewm: 1.4.2 -> 1.6.0 → https://git.io/fjFMA
<{^_^}> [nixpkgs] @aristidb pushed commit from @volth to master « icewm: 1.4.2 -> 1.6.0 (#66949) »: https://git.io/fjhLO
drakonis has joined #nixos
Ariakenom_ has quit [Read error: Connection reset by peer]
byteflam1 has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @adisbladis merged pull request #68005 → go-ethereum: 1.9.2 -> 1.9.3 → https://git.io/fjphu
<{^_^}> [nixpkgs] @adisbladis pushed 2 commits to master: https://git.io/fjhLE
loopy has quit [Remote host closed the connection]
evanjs| has quit [Ping timeout: 244 seconds]
asymptotically has quit [Quit: Leaving]
mexisme has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
wfranzini has quit [Remote host closed the connection]
wfranzini has joined #nixos
evanjs- has quit [Quit: Configuring ZNC, sorry for the joins/quits!]
evanjs- has joined #nixos
solus88 has joined #nixos
Soo_Slow has joined #nixos
knupfer has quit [Ping timeout: 264 seconds]
polman has quit [Ping timeout: 245 seconds]
polman has joined #nixos
Jackneill has joined #nixos
boxdot has quit [Quit: Leaving.]
boxdot has joined #nixos
o1lo01ol1o has joined #nixos
boxdot has quit [Client Quit]
boxdot has joined #nixos
boxdot has quit [Client Quit]
boxdot has joined #nixos
boxdot has quit [Client Quit]
<sm[m]> srhb, FWIW I elaborated your curl command into these for finding things in nixpkgs: https://gist.github.com/simonmichael/497a52ceb77bb52c4b47cf39f3a17109
boxdot has joined #nixos
<sm[m]> they don't quite work (not sure why), but they give me enough of a toehold into hydra
boxdot has quit [Client Quit]
boxdot has joined #nixos
boxdot has quit [Client Quit]
boxdot has joined #nixos
boxdot has quit [Client Quit]
boxdot has joined #nixos
boxdot has quit [Client Quit]
Jackneill has quit [Remote host closed the connection]
civodul has quit [Ping timeout: 252 seconds]
__monty__ has quit [Quit: leaving]
<{^_^}> [nixpkgs] @cpages pushed to master « kodi: 19.3 -> 19.4 »: https://git.io/fjhtZ
sigmundv has joined #nixos
shibboleth has quit [Remote host closed the connection]
the-kenny-w has quit [Ping timeout: 244 seconds]
the-kenny-w has joined #nixos
vyorkin`` has quit [Ping timeout: 245 seconds]
<jasom> Is there an easy way to get nix to build a certain set of programs with debug symbols? I'm getting a segfault that doesn't reproduce on other distros and was hoping to diagnose.
<emily> there's a fancy filesystem that automatically fetches debug info for you
<clever> | 394 # intended to be used like nix-build -E 'with import <nixpkgs> {}; enableDebugging fooPackage'
<clever> | 395 enableDebugging = pkg: pkg.override { stdenv = stdenvAdapters.keepDebugInfo pkg.stdenv; };
<clever> jasom: from all-packages.nix
<jasom> clever, emily: thanks
<clever> jasom: if you need a certain library with debug, you can do `--arg config '{ packageOverrides = pkgs: { libfoo = pkgs.enableDebugging pkgs.libfoo; }; }'`
<clever> and it will then rebuild whatever it needs to
jgeerds has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @jtojnar opened pull request #68031 → tree-wide: s/GTK+/GTK/g → https://git.io/fjhtN
freeman[NixOS] has joined #nixos
<{^_^}> [nixpkgs] @andir opened pull request #68032 → systemd: fix CVE-2019-15718 → https://git.io/fjhtp
<{^_^}> [nixpkgs] @andir opened pull request #68033 → [19.03] systemd: fix CVE-2019-15718 → https://git.io/fjhtj
<evanjs> How do we get the same behavior as ignoreConfigError in the repl? e.g. if I'm trying to evaluate config.boot.kernelPackages.openrazer and I get `
<evanjs> error: assertion failed at /nix/store/klq1dhdzhc60nai0cnqyjl0knn7q8bqi-nixos-unstable-small-19.09pre189595.147b7ab692b/nixos-unstable-small/pkgs/os-specific/linux/blcr/default.nix:5:1`
wfranzini has quit [Remote host closed the connection]
<evanjs> s/ignoreConfigError/ignoreConfigErrors
wfranzini has joined #nixos
rembo10 has quit [Quit: ZNC 1.7.4 - https://znc.in]
freeman42[NixOS] has quit [Ping timeout: 245 seconds]
growpotk- has joined #nixos
<{^_^}> [nixpkgs] @dtzWill opened pull request #68034 → sudo-font: 0.37 -> 0.40 → https://git.io/fjhqT
boxscape has quit [Remote host closed the connection]
<hyperfekt> Can a expression result in more than one derivation when instantiated?
<clever> hyperfekt: if its a set or a list, yes
<hyperfekt> clever: And nix-instantiate will print several drvs then? I see.
<clever> yeah
rembo10 has joined #nixos
growpotkin has quit [Read error: Connection reset by peer]
ee1943 has quit [Read error: Connection reset by peer]
ee1943 has joined #nixos
growpotkin has joined #nixos
<jasom> guh, it doesn't segfault with debug symbols :(
<{^_^}> [nixpkgs] @symphorien opened pull request #68035 → Setup hook to make Exec= paths absolute in desktop files → https://git.io/fjhqs
<emily> jasom: ouch
<evanjs> jasom: quantum debugging FTW
<emily> dwarffs might be worth trying since then you can use the exact original binaries
<jasom> emily: right
emptyfl4sk has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @dtzWill merged pull request #66973 → xauth: 1.0.10 -> 1.1 → https://git.io/fjFHY
<{^_^}> [nixpkgs] @dtzWill pushed 2 commits to staging: https://git.io/fjhqZ
<{^_^}> [nixpkgs] @dtzWill merged pull request #66737 → azpainter: init at 2.1.4 → https://git.io/fjd9i
<{^_^}> [nixpkgs] @dtzWill pushed 2 commits to master: https://git.io/fjhqn
alex`` has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @dtzWill opened pull request #68036 → victor-mono: 1.2.1 -> 1.2.5 → https://git.io/fjhqu
alex`` has joined #nixos
<{^_^}> [nixpkgs] @dtzWill opened pull request #68037 → upower: 0.99.10 -> 0.99.11 → https://git.io/fjhqg
<{^_^}> [nixpkgs] @dtzWill opened pull request #68038 → php73: 7.3.8 -> 7.3.9 (security) → https://git.io/fjhqV
<{^_^}> [nixpkgs] @dtzWill pushed to update/evtest-1.34 « evtest: 1.33 -> 1.34 »: https://git.io/fjhqK
ris has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @dtzWill pushed 0 commits to update/evtest-1.34: https://git.io/fjhq6
<{^_^}> [nixpkgs] @dtzWill opened pull request #68039 → evtest: 1.33 -> 1.34 → https://git.io/fjhqP
<{^_^}> [nixpkgs] @dtzWill opened pull request #68040 → cups: 2.2.11 -> 2.2.12 (security!) → https://git.io/fjhqD
<{^_^}> [nixpkgs] @dtzWill opened pull request #68041 → harfbuzz: 2.6.0 -> 2.6.1 → https://git.io/fjhqS
mbrgm has joined #nixos
<jasom> hmm I wonder if I can build with clang and ASAN; that can catch some issues as well.
<{^_^}> [nixpkgs] @dtzWill opened pull request #68042 → v4l-utils: 1.16.6 -> 1.16.7 → https://git.io/fjhq9
<clever> jasom: clangStdenv, instead of stdenv
<jasom> clever: right, I'll have to modify some cflags as well though
Rusty1 has joined #nixos
<{^_^}> [nixpkgs] @dtzWill opened pull request #68043 → i3: pname, 4.17 -> 4.17.1 → https://git.io/fjhqH
emptyfl4sk has joined #nixos
jtojnar has quit [Quit: jtojnar]
jtojnar_ has joined #nixos
<{^_^}> [nixpkgs] @lopsided98 opened pull request #68044 → libzip: 1.3.0 -> 1.5.2, fix pkgconfig paths → https://git.io/fjhq7
emptyfl4sk has quit [Ping timeout: 245 seconds]
o1lo01ol1o has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @dtzWill opened pull request #68045 → recode: 3.7-gitrev -> 3.7.4, new home → https://git.io/fjhqd
drakonis has quit [Ping timeout: 258 seconds]
ng0 has quit [Quit: Alexa, when is the end of world?]
dansho has quit [Ping timeout: 258 seconds]
evanjs| has joined #nixos
<{^_^}> [nixpkgs] @dtzWill opened pull request #68046 → numactl: 2.0.12 -> 2.0.13 → https://git.io/fjhqb
erasmas has quit [Ping timeout: 245 seconds]
cyraxjoe has joined #nixos
<{^_^}> [nixpkgs] @dtzWill opened pull request #68047 → txr: 220 -> 224 → https://git.io/fjhqN
polman has quit [Ping timeout: 245 seconds]
polman has joined #nixos
<judson_> I've got a patch I've built in my configuration.nix on 19.03 - I'm not sure how to proceed with submitting it as a PR to nixpkgs...
<judson_> Rewrite against master? PR against the 19.03 branch?
<pie_> do we have something for declaratively applying github PRs to things? :D sounds like it could be useful
<pie_> probably similar to fetchpatch or something, ive never used it
<pie_> (qyliss were you maybe talking to someone about something similar the other day? )