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
mcbits has quit [Read error: Connection reset by peer]
ilyagotfryd has quit [Ping timeout: 240 seconds]
erasmas has quit [Quit: leaving]
parity has quit [Quit: leaving]
parity has joined #nixos
jluttine has joined #nixos
selfsymmetric-mu has joined #nixos
<aanderse> aanderse
<{^_^}> [nixpkgs] @peterhoeg opened pull request #69395 → home-assistant: 0.96.2 -> 0.99.2 → https://git.io/JeGYZ
jluttine has quit [Ping timeout: 240 seconds]
wildtrees has quit [Quit: Leaving]
ris has quit [Ping timeout: 240 seconds]
<nkaretnikov> how do i get gdbserver from nixpkgs? nix-env -iA nixpkgs.gdb doesn't seem to provide it
joehh has quit [Ping timeout: 268 seconds]
<{^_^}> Channel nixpkgs-19.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/e34ac949d1b (from 3 hours ago, history: https://channels.nix.gsc.io/nixpkgs-19.09-darwin)
freeman42x has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/JeGYg
growpotk- has quit [Ping timeout: 276 seconds]
<aanderse> DigitalKiwi: can you please post the configuration you're testing this with?
philr has joined #nixos
Rusty1 has joined #nixos
werner291 has quit [Quit: werner291]
slack1256 has quit [Ping timeout: 276 seconds]
<DigitalKiwi> aanderse: do you want a real one or just one that is enough to make it work
<aanderse> i guess just enough to make it work
<aanderse> thanks
<DigitalKiwi> i'm updating the docs to something i think is good
<aanderse> i should really upgrade to 19.09 soon...
growpotk- has joined #nixos
zacts has joined #nixos
drakonis1 has joined #nixos
* DigitalKiwi git push
<DigitalKiwi> hope it's good
drakonis has quit [Ping timeout: 245 seconds]
waleee-cl has quit [Quit: Connection closed for inactivity]
thc202 has quit [Ping timeout: 245 seconds]
joehh has joined #nixos
ng0_ has joined #nixos
ng0 has quit [Ping timeout: 260 seconds]
drakonis_ has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @edef1c pushed 3 commits to master: https://git.io/JeGOZ
abathur has joined #nixos
<{^_^}> Channel nixos-19.03-small advanced to https://github.com/NixOS/nixpkgs/commit/ebdc4419310 (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-19.03-small)
mexisme has quit [Ping timeout: 276 seconds]
jonringer has joined #nixos
tirti has left #nixos [#nixos]
sigmundv has quit [Ping timeout: 265 seconds]
captn3m0 has quit [Ping timeout: 265 seconds]
leothrix has joined #nixos
captn3m0 has joined #nixos
Judge_Aleph- is now known as aleph-
jluttine has joined #nixos
<{^_^}> Channel nixos-19.09 advanced to https://github.com/NixOS/nixpkgs/commit/5220486f44e (from 29 hours ago, history: https://channels.nix.gsc.io/nixos-19.09)
ilyagotfryd has joined #nixos
tirti has joined #nixos
captn3m0- has joined #nixos
captn3m0 has quit [Ping timeout: 240 seconds]
<bikki[m]1> I would upgrade to 19.09 but it's broken again
Zer0xp has quit [Ping timeout: 240 seconds]
Zer0xp_ has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @ehmry closed pull request #67878 → Nim packages → https://git.io/fjpGx
ilyagotfryd has quit [Ping timeout: 265 seconds]
felixfoertsch23 has joined #nixos
felixfoertsch has quit [Ping timeout: 245 seconds]
mexisme has joined #nixos
<{^_^}> [nixpkgs] @Anton-Latukha opened pull request #69397 → lib: modules: clear documentation of priority overrides hierarchy → https://git.io/JeGON
aw has quit [Quit: Quitting.]
spacefrogg has quit [Quit: Gone.]
aw has joined #nixos
spacefrogg has joined #nixos
mumuluxi has quit [Quit: ZNC 1.7.4 - https://znc.in]
wucke13 has quit [Quit: ZNC 1.7.4 - https://znc.in]
mumuluxi has joined #nixos
wucke13 has joined #nixos
Supersonic has quit [Disconnected by services]
Supersonic112 has joined #nixos
Supersonic112 is now known as Supersonic
* DigitalKiwi having not so much luck on upgrading nixos-unstable
mexisme has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @Evils-Devils opened pull request #69398 → nixos/fancontrol: init → https://git.io/JeG3U
evils has joined #nixos
<iqubic> How do I update/upgrade again?
kleisli has quit [Ping timeout: 245 seconds]
<evils> iqubic: nix or nixos?
<iqubic> Nixos.
<evils> sudo nixos-rebuild switch is probably what you want
<evils> for packages installed with nix-env, you can do nix-env -u '*' to update all of them
<iqubic> error: Linux v5.3 is not yet supported by zfsonlinux v0.8.1.
<iqubic> Try zfsUnstable or set the NixOS option boot.zfs.enableUnstable.
<iqubic> enableUnstable doesn't fix this issue.
<DigitalKiwi> use an older kernel?
siel_ has joined #nixos
siel has quit [Remote host closed the connection]
siel_ is now known as siel
<iqubic> Using this: "boot.kernelPackages = pkgs.linuxPackages_latest;"
<iqubic> So I should think not.
<DigitalKiwi> Compatible with 2.6.32 - 5.1 Linux kernels.
<DigitalKiwi> that's 0.8.1
jb551 has joined #nixos
<iqubic> latest is giving me 5.2
jb55 has quit [Ping timeout: 260 seconds]
<iqubic> error message on rebuild states that.
<DigitalKiwi> try using 4_19
<iqubic> I will.
<iqubic> That fixes that issue.
<iqubic> And seems to fix all issues.
<iqubic> Not sure if something later down the line wil break.
<iqubic> Nope.
<iqubic> But nothing broken.
ilyagotfryd has joined #nixos
philr has quit [Ping timeout: 240 seconds]
tirti has left #nixos [#nixos]
<DigitalKiwi> nice
alex`` has quit [Ping timeout: 245 seconds]
jgt1 has quit [Ping timeout: 245 seconds]
<iqubic> Thanks for your help.
abathur has quit [Ping timeout: 268 seconds]
kleisli has joined #nixos
growpotk- has quit [Ping timeout: 245 seconds]
<DigitalKiwi> you're welcome
sellout-1 has joined #nixos
sellout- has quit [Ping timeout: 265 seconds]
ilyagotfryd has quit [Ping timeout: 240 seconds]
alexbakker has quit [Quit: Dikke doei]
alexbakker has joined #nixos
nikola_i has joined #nixos
drakonis has joined #nixos
glowpelt has quit [Max SendQ exceeded]
justan0theruser is now known as justanotheruser
glowpelt has joined #nixos
alanz has joined #nixos
jaeckel has quit [Ping timeout: 276 seconds]
alanz has quit [Quit: Free ZNC ~ Powered by LunarBNC: https://LunarBNC.net]
felixfoertsch23 has quit [Quit: ZNC 1.7.3 - https://znc.in]
felixfoertsch has joined #nixos
Rusty1 has quit [Quit: Konversation terminated!]
jgt1 has joined #nixos
the-kenny has quit [Ping timeout: 246 seconds]
mexisme has joined #nixos
the-kenny has joined #nixos
growpotkin has quit [Quit: ZNC 1.7.4 - https://znc.in]
jb551 has quit [Remote host closed the connection]
noudle has joined #nixos
<{^_^}> [nixpkgs] @teto opened pull request #69400 → zfsStable: don't throw with incompatible kernels → https://git.io/JeGsL
jaeckel has joined #nixos
growpotkin has joined #nixos
alanz has joined #nixos
<ddima> do we have some sort of own repo somewhere for 3rd party archives with unreliable sources/retention?
iqubic` has joined #nixos
iqubic` has quit [Client Quit]
iqubic has quit [Ping timeout: 245 seconds]
nikivi has joined #nixos
iqubic has joined #nixos
palo1 has joined #nixos
palo has quit [Ping timeout: 240 seconds]
palo1 is now known as palo
<evils> iqubic: this PR just opened, https://git.io/JeGsL, you may want to try it out
captn3m0- has quit [Ping timeout: 265 seconds]
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<Ralith> ddima: man, I wish
drakonis_ has joined #nixos
kvda has joined #nixos
drakonis has quit [Read error: Connection reset by peer]
nikola_i has quit [Read error: Connection reset by peer]
vonfry has joined #nixos
captn3m0 has joined #nixos
zupo has joined #nixos
drakonis1 has quit [Ping timeout: 264 seconds]
zupo has quit [Client Quit]
zupo has joined #nixos
zupo has quit [Client Quit]
nikola_i has joined #nixos
octe has quit [Ping timeout: 246 seconds]
adamt has joined #nixos
adamt is now known as Guest70734
<danderson> is there a way to tweak a couple values of a derivation in nixpkgs, without having to copy the entire derivation? Case in point, I'd like to just update the versions/hashes in servers/plex/raw.nix of my nix-stable server, without duplicating the entire recipe.
<{^_^}> [nixpkgs] @7c6f434c merged pull request #69366 → gajim: add missing setuptools dependency → https://git.io/JeGv9
<{^_^}> [nixpkgs] @7c6f434c pushed 2 commits to master: https://git.io/JeGsu
<{^_^}> [nixpkgs] @worldofpeace merged pull request #68735 → pulseaudio: 12.2 -> 13.0 → https://git.io/JeGsa
<{^_^}> [nixpkgs] @worldofpeace pushed 3 commits to staging: https://git.io/JeGsV
<danderson> jackdk: aha, thanks! Digging...
<{^_^}> [nixpkgs] @etu merged pull request #69395 → home-assistant: 0.96.2 -> 0.99.2 → https://git.io/JeGYZ
<{^_^}> [nixpkgs] @etu pushed 2 commits to master: https://git.io/JeGsr
<LnL> danderson: this is what's in my configuration https://gist.github.com/LnL7/b53a929c9c1426de50495f28ef345a9a
<LnL> with the previous release the module also changed, that required a few extra lines to also update that
bendies has joined #nixos
<danderson> ah, interesting. Well, 1.17.something is out now, hopefully it'll be an easy update
srtsrtsrtsrt has joined #nixos
<bendies> Hello! I just ran `nixos-rebuild switch` and got a "error: Linux v5.3 is not yet supported by zfsonlinux v0.8.1." - which surprised me since I don't have the string "zfs" anywhere in my nix configs. How can I find out what's causing zfs to be built?
ilyagotfryd has joined #nixos
<qyliss> either roll back your channel, or try updating and see if that fix has made it in yet
zupo has joined #nixos
<bendies> Thanks! Is there anything more fresh than `nixpkgs-unstable` ?
hyper_ch2 has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
endformationage has quit [Ping timeout: 240 seconds]
captn3m0- has joined #nixos
captn3m0 has quit [Ping timeout: 265 seconds]
<Miyu-chan> Just had a thought. What if buildInputs was an attrset?
<Miyu-chan> Had this thought, because I don't want to call `python3.withPackages` and `python3Packages.callPackage` separately on the same function.
<Miyu-chan> Err, technically, you can't even do that. Which is kinda even worse? idk.
<Miyu-chan> OTOH, you can just do `python3.withPackages foo` and `foo python3Packages`
hyper_ch2 has quit [Remote host closed the connection]
Guest70734 has joined #nixos
Guest70734 has quit [Changing host]
Guest70734 is now known as adamt
hyper_ch2 has joined #nixos
ilyagotfryd has quit [Ping timeout: 245 seconds]
bendies has quit [Remote host closed the connection]
qqlq has joined #nixos
hyper_ch2 has quit [Quit: Ping timeout (120 seconds)]
wfranzini has joined #nixos
jgt1 has quit [Ping timeout: 264 seconds]
[Leary] has joined #nixos
hyper_ch2 has joined #nixos
Lears has quit [Ping timeout: 276 seconds]
orivej has quit [Ping timeout: 245 seconds]
callahad3060 has joined #nixos
callahad306 has quit [Ping timeout: 245 seconds]
Heirlung has quit [Quit: ZNC 1.6.5+deb1+deb9u2 - http://znc.in]
Heirlung has joined #nixos
nikola_i has quit [Read error: Connection reset by peer]
rauno has joined #nixos
nikola_i has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace opened pull request #69403 → peek: 1.3.1 -> 1.4.0 → https://git.io/JeGGj
veske2 has joined #nixos
freeman42x has joined #nixos
nikola_i has quit [Ping timeout: 276 seconds]
kleisli has quit [Ping timeout: 245 seconds]
jmeredith has quit [Quit: Connection closed for inactivity]
Ariakenom has joined #nixos
jgt1 has joined #nixos
lewo has joined #nixos
asymptotically has joined #nixos
<{^_^}> [nixpkgs] @cko opened pull request #69405 → maven: 3.6.1 -> 3.6.2 → https://git.io/JeGZq
freeman42x has quit [Ping timeout: 276 seconds]
veske2 has quit [Read error: Connection reset by peer]
veske2 has joined #nixos
<{^_^}> [nixpkgs] @vlaci opened pull request #69406 → IPMIView: 2.14.0 --> 2.16.0, fix iKVM console → https://git.io/JeGZm
<DigitalKiwi> how can i configure what nix channel a module gets installed from?
o1lo01ol1o has joined #nixos
ng0_ is now known as ng0
is_null has quit [Ping timeout: 240 seconds]
is_null_ has quit [Ping timeout: 265 seconds]
jonringer has quit [Ping timeout: 268 seconds]
o1lo01ol1o has quit [Ping timeout: 240 seconds]
zupo has joined #nixos
<srhb> DigitalKiwi: If you literally mean module, mixing them might not be possible, but the way to do it is via disabledModules and imports.
joehh has quit [Ping timeout: 245 seconds]
<srhb> DigitalKiwi: That is, you can disable the one from the channel your NixOS install uses and then manually import another.
<DigitalKiwi> this might be an x y problem
<srhb> DigitalKiwi: Cool, what are you trying to actually attempt :-)
<DigitalKiwi> my idea was i could do something like nix-channel do-agent https://github.com/yvt/nixpkgs/archive/init-do-agent-2.tar.gz and then use that
<DigitalKiwi> but what i want is to easily be able to use multiple PR before they get merged
<DigitalKiwi> without having to cherry pick
zupo has quit [Client Quit]
vonfry has quit [Quit: WeeChat 2.4]
<srhb> Hmm, I quite like the cherry-picking workflow, but I do so only on a branch that I spin up a VM with, unless it's trivial stuff..
<DigitalKiwi> that method works if all i wanted to do was install a program but i don't know how to do it with module :<
<DigitalKiwi> yesterday was the first time i ever cherry picked anything
ee1943 has quit [Read error: Connection reset by peer]
ee1943 has joined #nixos
johanot has joined #nixos
zupo has joined #nixos
o1lo01ol1o has joined #nixos
<srhb> DigitalKiwi: Oh, but you absolutely can build a vm from some nixpkgs tree :)
<srhb> DigitalKiwi: Keep around a test machine definition and use nixos-rebuild build-vm, then just point it at your test machine and test checkout :)
tetdim has joined #nixos
<tetdim> beep beep
<srhb> boop
<tetdim> any devs here?
<srhb> Plenty, most of the nixpkgs development is talked about in this channel.
<tetdim> or is the dev chan seperate reactos style
<tetdim> ic
<srhb> The -dev channel is mostly for large scale design discussions on NixOS
<tetdim> rite
<tetdim> ok
<tetdim> well im porting Nix PM to meson
<tetdim> libutil and libstore compiles and installs already
<tetdim> just thought id say
<srhb> Cool! Hmm, didn't someone try something similar recently? Or perhaps that was you :)
<srhb> ah, https://github.com/NixOS/nix/pull/2613 -- not that recently
<{^_^}> nix#2613 (by Ericson2314, 37 weeks ago, open): WIP line-for-line rewrite of build system in Meson
<tetdim> srhb, nope wasnt me
<tetdim> just jumped into nix stuff a couple days ago because it wont compile on f**ing frebsd or arch
<tetdim> so i was elbow deep in bs autotools n thought
<tetdim> nah
<tetdim> it would be easier and faster to rewrite this in meson than try and figure this out
<srhb> Hah, I see. :-)
<{^_^}> [nixpkgs] @kampka opened pull request #69407 → kops_1_13: 1.13.0 -> 1.13.1 → https://git.io/JeGZC
<tetdim> waitwait
<tetdim> whats the deals on nsfw content here
marek has quit [Ping timeout: 276 seconds]
<tetdim> can i say naughty words
<srhb> We try to keep this channel very welcoming, so use good judgment on what that means for a global community. :)
marek has joined #nixos
<worldofpeace> ooh there's a meson build system rewrite for nix?
nikivi has quit [Ping timeout: 245 seconds]
<worldofpeace> Yay ✌️ meson for everything
<srhb> What's the quick and dirty "why meson" article out there?
alanz has quit [Ping timeout: 276 seconds]
<tetdim> worldofpeace, there is now
<tetdim> because words cannot describe me complete contempt for GNU autotools
<tetdim> it thinks its better than you
<tetdim> but all it does is vomit build errors
<srhb> I admit I'm often quite surprised how much of the unix standard tools work despite autotools... :-)
<tetdim> srhb, ok meson:
<{^_^}> [nixpkgs] @flokli closed pull request #48811 → networkd: don't managed interfaces set up by script → https://git.io/fx6mt
<tetdim> - procedural generation of pkg-config
<tetdim> - no need to hard code versioning
<tetdim> - better build warning
<tetdim> - better build erros
<tetdim> - better linking errors
Makaveli7 has joined #nixos
<tetdim> - better dependency finding / linking / including
<tetdim> - better cross platform support
<worldofpeace> Literally too many to list, pythonic dsl for your build system
<tetdim> - better syntax
gxt has quit [Ping timeout: 260 seconds]
graf_blutwurst has joined #nixos
<tetdim> its like better in EVERY way but hackernews neckbeards hate it
<srhb> Heh, okay, I guess I'll do a search.. :)
<{^_^}> [nixpkgs] @edolstra merged pull request #69267 → Revert systemd interface version to 2 [19.09 backport] → https://git.io/JesRl
<tetdim> ^^
<{^_^}> [nixpkgs] @edolstra pushed 2 commits to release-19.09: https://git.io/JeGZR
fusion809 has quit [Remote host closed the connection]
<tetdim> srhb, worldofpeace wait one sec i was coding in a nix hard fork
michaelpj has quit [Quit: ZNC 1.7.4 - https://znc.in]
<tetdim> making a downstream fork, for if you decide to merge meson
<worldofpeace> tetdim: did you finish the work for meson?
<tetdim> worldofpeace, jeez give me time, i only started it yesterday
mexisme has quit [Ping timeout: 276 seconds]
<worldofpeace> Wasn't prying, I just didn't know the context of the subject completely
michaelpj has joined #nixos
boolman has quit [Ping timeout: 240 seconds]
boolman has joined #nixos
<tetdim> clone it, it should build with the bootstrap if you have meson and ninja
<tetdim> ..and the nix deps ovs
nikola_i has joined #nixos
adamCS has quit [Ping timeout: 264 seconds]
joshuagl has joined #nixos
alanz has joined #nixos
octe has joined #nixos
veske3 has joined #nixos
adamCS has joined #nixos
veske2 has quit [Ping timeout: 240 seconds]
<worldofpeace> Sending hope your way tetdim :D Definitely not an easy meson port
<tetdim> worldofpeace, been a piece of piss so far
<tetdim> only had to TODO one line
<{^_^}> [nixpkgs] @flokli merged pull request #69306 → virtualboxGuestAdditions: Fix clipboard integration. → https://git.io/JesPy
<{^_^}> [nixpkgs] @flokli pushed 2 commits to master: https://git.io/JeGZK
alex`` has joined #nixos
rndd has joined #nixos
<{^_^}> [nixpkgs] @flokli pushed commit from @ambrop72 to release-19.09 « virtualboxGuestAdditions: Fix clipboard integration. »: https://git.io/JeGZ6
logzet has joined #nixos
<rndd> hi everyone! as I know, i can change $PS1 using configuration.nix . But it really dont have any effect =(
<ikwildrpepper> rndd: did you set it in programs.bash.promptInit ?
nikivi has joined #nixos
<tetdim> worldofpeace, thats how far it builds to atm
<rndd> ikwildrpepper: not really, will try this way. thanks
__Sander__ has joined #nixos
veske3 has quit [Quit: This computer has gone to sleep]
joehh has joined #nixos
<ikwildrpepper> rndd: that's what works for me
<ikwildrpepper> just add `export PS1=....` in there
hmpffff has joined #nixos
liberiga has joined #nixos
<rndd> ok, have another question. In some games I installed through steam there are problems with cpp libs. In arch I simply install all these dependencies and games become playable. Don't really know how to do right in NixIs
mexisme has joined #nixos
ilyagotfryd has joined #nixos
thc202 has joined #nixos
sevcsik[m] has joined #nixos
sigmundv_ has joined #nixos
<Yaniel> the steam package should do that already
philr has joined #nixos
<etu> rndd: I did this a while back, it worked well for me: https://github.com/etu/nixconfig/blob/master/modules/my-gaming.nix#L13-L19
<{^_^}> [nixpkgs] @Mic92 merged pull request #69406 → IPMIView: 2.14.0 --> 2.16.0, fix iKVM console → https://git.io/JeGZm
<{^_^}> [nixpkgs] @Mic92 pushed 5 commits to master: https://git.io/JeGne
<graf_blutwurst> Hi I was wondering, how long does it generally take for a package to be available on unstable after the PR being merged? I'm anticipating playing around https://github.com/NixOS/nixpkgs/pull/68453
<{^_^}> #68453 (by nlewo, 2 weeks ago, merged): Add the browser `next`
<sevcsik[m]> hi all, when I run `nixos-rebuild switch`, I get a warning that the new configuration won't take effect until I reboot the system. After I reboot, I still have tne old configuration. Running rebuild again gives me the same message. Just realised that I'm stuck with an old configuration for a month now :) Any ideas where should I look?
<{^_^}> [nixpkgs] @Mic92 pushed 4 commits to release-19.09: https://git.io/JeGnI
<{^_^}> [nixpkgs] @zimbatm merged pull request #69407 → kops_1_13: 1.13.0 -> 1.13.1 → https://git.io/JeGZC
<{^_^}> [nixpkgs] @zimbatm pushed commit from @kampka to master « kops_1_13: 1.13.0 -> 1.13.1 (#69407) »: https://git.io/JeGnL
jgt1 has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @timokau opened pull request #69409 → home-manager: 2019-09-04 -> 2019-09-20 → https://git.io/JeGnt
<graf_blutwurst> sevcsik[m]: did you change anything in your config regarding boot settings / grub etc? I seem to faintly remember I had similar issues when I tried nixos grub to detect my windows install.
ubert has joined #nixos
<sevcsik[m]> The first edit I remember not activating is removing an entry from fstab. previously I migrated my root fs to a new drive
Neo-- has joined #nixos
<graf_blutwurst> hmm right. Sorry I don't know what that could be.
Zer0xp has joined #nixos
<sevcsik[m]> graf_blutwurst I might have screwed up something with my /boot partition, I'll check that out. Thanks for the idea
chr15 has joined #nixos
jgt1 has joined #nixos
joehh has quit [Ping timeout: 240 seconds]
iqubic has quit [Ping timeout: 245 seconds]
alex`` has quit [Quit: WeeChat 2.6]
alex`` has joined #nixos
<{^_^}> [nixpkgs] @primeos opened pull request #69410 → iproute: 5.2.0 -> 5.3.0 → https://git.io/JeGn4
<{^_^}> [nixpkgs] @elohmeier opened pull request #69411 → pythonPackages.fints: add implicit setuptools dependency → https://git.io/JeGnB
hmpffff has quit [Quit: nchrrrr…]
ilyagotfryd has quit [Ping timeout: 240 seconds]
cinimod``` has joined #nixos
hyper_ch2 has quit [Remote host closed the connection]
hyper_ch2 has joined #nixos
<cinimod```> I am trying to create a simple docker image that runs R using https://github.com/NixOS/nixpkgs/blob/master/pkgs/build-support/docker/examples.nix
cinimod``` has left #nixos [#nixos]
cinimod``` has joined #nixos
<rndd> etu: you just incllude it in your config and some problems gone?
<etu> rndd: Yes, some stuff needs 32bit stuff
<cinimod```> But if I follow the instructions
<cinimod```> nix-build '<nixpkgs>' -A dockerTools.examples.rR
<cinimod```> error: attribute 'rR' in selection path 'dockerTools.examples.rR' not found
<cinimod```> If I replace "rR" by "editors" then it works as advertised
<rndd> etu: thanks for this stuff
logzet has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
<{^_^}> [nixpkgs] @timokau opened pull request #69412 → fflas-ffpack: disable all avx versions by default → https://git.io/JeGnr
LysergicDreams has quit [Ping timeout: 276 seconds]
gxt has joined #nixos
<{^_^}> [nixpkgs] @globin pushed to master « paulstretch: fix build »: https://git.io/JeGnK
LysergicDreams has joined #nixos
<{^_^}> [nixpkgs] @globin pushed to release-19.09 « paulstretch: fix build »: https://git.io/JeGni
<{^_^}> [nixpkgs] @fpletz closed pull request #35364 → nixos: make systemd-nspawn work out of the box on a NixOS root filesystem → https://git.io/vAgbe
psyanticy has joined #nixos
oida has quit [Remote host closed the connection]
oida has joined #nixos
<cinimod```> Hmmm I change editors to editrs inside examples.nix but nix-build '<nixpkgs>' -A dockerTools.examples.editors still runs???
<{^_^}> [nixpkgs] @fpletz merged pull request #67232 → machinectl compliant NixOS installation → https://git.io/fjNeR
<{^_^}> [nixpkgs] @fpletz pushed 6 commits to master: https://git.io/JeGnQ
Neo-- has quit [Ping timeout: 245 seconds]
civodul has joined #nixos
<cinimod```> i see what i did wrong
veske3 has joined #nixos
veske3 has quit [Client Quit]
mexisme has quit [Ping timeout: 252 seconds]
veske3 has joined #nixos
musteresel has joined #nixos
mexisme has joined #nixos
is_null has joined #nixos
is_null_ has joined #nixos
<musteresel> Hi ... I'm a bit confused atm: I'm on x86-64 and have a library that needs to be built in 32bit mode. Is there a stdenv or what-not which gives me a C/C++ compiler producing 32bit (linux) executables by default?
judson_ has quit [Ping timeout: 245 seconds]
<LnL> you can build with --option system i686-linux
<cinimod```> docker run -it editrs:5a30zbxwc2qnb65kq2z0lkliipw9c3y2 R
<musteresel> LnL: thanks ... trying atm. Looks as if this causes all dependencies (e.g. CMake) to be fetched again, though, so I'd assume that I've now also a "32 bit CMake"?
<cinimod```> Fatal error: cannot create 'R_TempDir'
<cinimod```> It seems creating docker images from nix specifications is not quite so straightforward
<LnL> yes, 32bit stuff should run fine on your system
hmpffff has joined #nixos
init_6 has joined #nixos
<{^_^}> [nixpkgs] @globin pushed 8 commits to master: https://git.io/JeGc3
<{^_^}> [nixpkgs] @globin closed pull request #68802 → pythonPackages.xml2rfc: 2.18.0 -> 2.27.1 (and dependency updates) → https://git.io/JeGcs
<tetdim> lmao im stupid
<tetdim> i was duplicating a library instead of building another one
<tetdim> hhhhh
jgt1 has quit [Ping timeout: 265 seconds]
johnw has quit [Read error: Connection reset by peer]
johnw has joined #nixos
musteresel has quit [Ping timeout: 240 seconds]
lordcirth__ has joined #nixos
<tetdim> yo nix devs around?
<tetdim> (as in nix pm)
lordcirth_ has quit [Ping timeout: 250 seconds]
syd has joined #nixos
jgt1 has joined #nixos
graf_blutwurst has quit [Remote host closed the connection]
jgt1 has quit [Client Quit]
veske3 has quit [Quit: This computer has gone to sleep]
__monty__ has joined #nixos
<{^_^}> [nixpkgs] @globin pushed 8 commits to release-19.09: https://git.io/JeGc6
orivej has joined #nixos
<{^_^}> [nixpkgs] @globin merged pull request #69405 → maven: 3.6.1 -> 3.6.2 → https://git.io/JeGZq
<{^_^}> [nixpkgs] @globin pushed 2 commits to master: https://git.io/JeGcP
rndd has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @Mic92 opened pull request #69413 → zfsUnstable: 0.8.1 -> 24-09-2019 → https://git.io/JeGcD
<{^_^}> [nixpkgs] @globin merged pull request #69378 → kernel/common-config: enable SCHED_DEBUG → https://git.io/JeGT6
<{^_^}> [nixpkgs] @globin pushed 2 commits to staging: https://git.io/JeGcy
johanot has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @globin pushed commit from @ivan to staging-19.09 « kernel/common-config: enable SCHED_DEBUG »: https://git.io/JeGcS
hyper_ch2 has quit [Remote host closed the connection]
o1lo01ol1o has quit [Remote host closed the connection]
johanot has joined #nixos
<eyJhb> Is the Gihub bot borked?
syd has quit [Remote host closed the connection]
pie_ has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @globin merged pull request #69356 → tamarin-prover: mark as broken because upstream is broken → https://git.io/Jesho
<{^_^}> [nixpkgs] @globin pushed 2 commits to master: https://git.io/JeGc9
<{^_^}> [nixpkgs] @globin pushed commit from @kmein to release-19.09 « tamarin-prover: mark as broken because upstream is broken »: https://git.io/JeGc7
rawtaz has quit [Read error: Connection reset by peer]
rawtaz has joined #nixos
<{^_^}> [nixpkgs] @globin merged pull request #69358 → idrisPackages.heyting-algebra: remove because superseded → https://git.io/JeGeD
<{^_^}> [nixpkgs] @globin pushed 3 commits to master: https://git.io/JeGc5
equivrel has joined #nixos
<{^_^}> [nixpkgs] @globin pushed 2 commits to release-19.09: https://git.io/JeGcb
<equivrel> It feels like nix-env --delete-generations is not working for me: I can still see the links in /nix/var/nix/profiles, and I see stuff in my store which is not being gc'd which I think belongs to old generations... am I misunderstanding how it works?
eyJhb has joined #nixos
eyJhb has quit [Changing host]
seanparsons has quit [Quit: ZNC 1.7.3 - https://znc.in]
<Ashy> hmm, is it possible to build the sd-image without zfs support compiled into the kernel?
seanparsons has joined #nixos
<{^_^}> Channel nixos-19.09 advanced to https://github.com/NixOS/nixpkgs/commit/404d1cd0979 (from 29 hours ago, history: https://channels.nix.gsc.io/nixos-19.09)
<Shell> equivrel: remember to run it as root
<Shell> if you want to delete all root's generations.
iyzsong has joined #nixos
<equivrel> Shell: aaaah, I see! didn't realise. So I guess nix-store --gc needs to be run both as user and as root, to gc both my global packages and the ones I built as user?
pie_ has joined #nixos
<tetdim> grrrrrrrrrrrrrrrrrrrr goddam config
<tetdim> i built to the wrong directory and was getting errors
<tetdim> fixed now
<adamt> equivrel: The main difference when running as root is that it can also remove old generations, which accidentally also causes gc to remove more packages.
<equivrel> adamt: ok, so is nix-store --gc equivalent when run as user or as root, or not?
johanot_ has joined #nixos
orivej has quit [Ping timeout: 268 seconds]
veske has joined #nixos
<adamt> equivrel: Oh, sorry, I misread, I thought you were talking about something like `nix-collect-garbage --delete-older-than 7d`
__Sander__ has quit [Ping timeout: 276 seconds]
<adamt> (which causes generations to also get cleaned up when run as root, which obviously can't happen when run as a normal user)
johanot has quit [Ping timeout: 240 seconds]
<equivrel> Oh, I was, I just moved on to my next question :D I realise now that to delete system generations I need to run nix-env --delete-generations (or one of its wrappers) as root
marianobqp[m] has joined #nixos
ilyagotfryd has joined #nixos
johanot_ is now known as johanot
marianobqp[m] has left #nixos [#nixos]
nikivi has quit [Ping timeout: 250 seconds]
alanz has quit [Ping timeout: 245 seconds]
misuzu has quit [Remote host closed the connection]
misuzu has joined #nixos
hmpffff has quit [Quit: nchrrrr…]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
o1lo01ol1o has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
nikivi has joined #nixos
<{^_^}> [nixpkgs] @hlolli closed pull request #39604 → rocketchat-2.10.5: initial commit → https://git.io/vp8si
alanz has joined #nixos
<clever> equivrel: `nix-store --gc` doesnt matter what uset its ran as, and can only delete things without roots
<equivrel> clever: I see, thanks. that agreed with my intuition
<clever> equivrel: `nix-collect-garbage --delete-older-than 7d` will delete the roots for profiles it has access to (root can delete from all), then delete the garbage that it exposed
hmpffff has joined #nixos
srtsrtsrtsrt has left #nixos [#nixos]
hyper_ch2 has joined #nixos
iyzsong has quit [Read error: Connection reset by peer]
adamt has quit [Ping timeout: 265 seconds]
adamt has joined #nixos
adamt is now known as Guest7377
chr15 has quit [Quit: WeeChat 2.4]
Zer0xp has quit [Quit: Bye!]
kenshinCH has joined #nixos
iyzsong has joined #nixos
ilyagotfryd has quit [Ping timeout: 245 seconds]
johanot has quit [Ping timeout: 240 seconds]
<evils> i'm having trouble getting my derivation's binaries in my path, also the man pages aren't being found, how is this supposed to work?
andymandias has quit [Quit: ZNC 1.7.4 - https://znc.in]
andymandias has joined #nixos
alanz has quit [Ping timeout: 246 seconds]
nikivi has quit [Ping timeout: 264 seconds]
joehh has joined #nixos
kenshinCH has quit [Quit: WeeChat 2.4]
<dminuoso> Mmm, I have a nixos option that requires an attribute set of paths. How can I generate a file in the store and obtain a nix path to that?
nikivi has joined #nixos
alanz has joined #nixos
<cinimod```> I am trying to create a docker container using buildImage
<cinimod```> The image just contains R but when I try to run it I get: Fatal error: cannot create 'R_TempDir'
zupo has joined #nixos
<gchristensen> has systemd and journalctl changed how people do centralized logging?
<cinimod```> Has anyone had any success with e.g. python or haskell? Are there any examples I can look at?
zupo has quit [Client Quit]
niso has quit [Ping timeout: 240 seconds]
<cinimod```> Adding config = { WorkingDir = "/home/sundials"; }; didn't help - I still get the same error
<cinimod```>
niso has joined #nixos
<cinimod```> Maybe extraCommands = '' mkdir -p tmp ''; will help
<cinimod```>
twoolie has joined #nixos
<twoolie> hi all, is this an ok channel to ask questions about writing derivations, or is there a better venue?
<Ashy> twoolie: ask away
<makefu> gchristensen: last time i checked there was no builtin solution for forwarding logs unfortunately. however it is almost a year ago where i last checked. but i'd love to know how people are doing centralized logging as well
<fpletz> gchristensen: only how log shipping is done, and journald exposes much more metadata
niso has quit [Ping timeout: 245 seconds]
<gchristensen> fpletz: how do you do it?
nikivi has quit [Quit: Free ZNC ~ Powered by LunarBNC: https://LunarBNC.net]
<makefu> not yet, but looks promising.
nikivi has joined #nixos
<cinimod```> Woohoo - I have R working in a docker container built by nix
alanz has quit [Quit: Free ZNC ~ Powered by LunarBNC: https://LunarBNC.net]
<fpletz> gchristensen: graylog2 works particularly well because it stores an arbitrary amount of metadata fields and has its down log shipping format for that, and there's https://github.com/systemd/journal2gelf to ship the logs
<cinimod```> BTW the nix to docker stuff does *not* work on macos
<gchristensen> fpletz: oh cool
<Ashy> there's also journalbeat if you have an elasticsearch cluster to push it all to
<cinimod```> I guess I ought to report this
nikivi has quit [Client Quit]
<gchristensen> cinimod```: it works for me as long as I have a linux remote builder configured
alanz has joined #nixos
<makefu> Ashy: journalbeat is what i used until now
nikivi has joined #nixos
Guest7377 has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to gnome-3.34: https://git.io/JeGWC
veske has quit [Quit: This computer has gone to sleep]
Guest7377 has joined #nixos
<twoolie> @Ashy I'm trying to package a recent version of 389ds, which comes with a python3 module in a subdirectory. Is there any way to make a sub-derivation that uses the python3Package machinery to build the python lib, and put it at pkgs.389ds.lib? how can i make it do all the right stuff, but in a subdirectory of src?
<{^_^}> [nixpkgs] @timokau merged pull request #69409 → home-manager: 2019-09-04 -> 2019-09-20 → https://git.io/JeGnt
<{^_^}> [nixpkgs] @timokau pushed 2 commits to master: https://git.io/JeGW4
veske has joined #nixos
<gchristensen> fpletz: say I wanted to setup central logging for all the hydra infra, is graylog the way to go?
mattyu has joined #nixos
cfricke has joined #nixos
zupo has joined #nixos
nexgen has quit [Quit: Leaving]
<mattyu> hi all - I just upgraded from 18.03 to 19.03 and something is off when using sddm
ilyagotfryd has joined #nixos
<mattyu> eg. when I open chrome in 19.03 with sddm, the screen doesn't render (all grey) and then I get "unresponsive" message. I rebuilt without sddm and it works fine.
<mattyu> anyone else seen this?
rndd has joined #nixos
<cinimod```> gchristensen: thanks - that's way beyond my skill level
Zer0xp has joined #nixos
<cinimod```> clever: thanks for your help yesterday - I am thinking that rather than trying to copy all the deriviations across to the secure computer, I am better off using a docker image
eisbaer-north has quit [Ping timeout: 265 seconds]
<twoolie> @Ashy is it possible to do something like 389ds = mkDerivation { src = fetchurl {...} ; lib = buildPythonPackage { inherit src ; setupPhase = "cd src/lib389" }; }; ?
dermetfan has joined #nixos
<{^_^}> Channel nixos-unstable advanced to https://github.com/NixOS/nixpkgs/commit/f0fec244ca3 (from 4 days ago, history: https://channels.nix.gsc.io/nixos-unstable)
jg20 has joined #nixos
growpotkin has quit [Quit: ZNC 1.7.4 - https://znc.in]
<jg20> Hi guys, has anyone considered using Nix for running Continuous Integration/Continuous Delivery pipelines? E.g having a derivation that sets up an environment with AWS/Azure credentials, then runs terraform init + terraform apply etc. I guess this would be considered an "impure" derivation as it is nondeterministic. I'm not sure if this idea is abusing Nix or whether it is a legitimate usage but I think it could work quite well as Nix can nicely define
<jg20> dependencies between derivations and be used for populating variables for different CI/CD pipelines, even if the derivations themselves are "impure"
<exarkun> Hydra?
<emily> sounds more like nixops?
<emily> I know of a few people using Terraform as a replacement for nixops to deploy NixOS machines but that's probably not quite the layering you're thinking of
hyper_ch2 has quit [Remote host closed the connection]
<dminuoso> Mmm, okay Im not sure how this is supposed to work. Inside nixos, can you create a file such that you get a nix path back?
<dminuoso> writeText appears to be for derivations
<Ashy> twoolie: no idea, but someone else in the channel might know, alternatively you might have to go grepping through nixpkgs and see if any other derivations do something similar
<Ashy> twoolie: i find ripgrep really useful for that
<makefu> jg20: at our local hackerspace i have a test setup which essentially runs krops at the end of the pipeline https://git.shackspace.de/rz/stockholm/blob/master/.gitlab-ci.yml#L38
joehh has quit [Ping timeout: 245 seconds]
<exarkun> emily: kinda hard to say without more details, I guess.
cfricke has quit [Quit: WeeChat 2.6]
<jg20> of each tool available in the PATH), and also would be good to pass variables between different stages
<jg20> emily: So I've had a look at NixOps, but that seems more like a replacement for Terraform right? I'm looking for a layer above Terraform in a way which coordinates running different scripts. So I might have part of a CD pipeline that uses Terraform, part of it might use AWS CLI commands directly... but I was thinking Nix could be a nice way to coordinate running all of this by setting up the environment for each bit (environment variables, correct versions
<cinimod```> Can I just say that error: cannot coerce a function to a string is really confusing error message for when you should have put an expression inside parentheses
<exarkun> a lot of nix error messages take some real practice to make sense of, it's true
mexisme has quit [Ping timeout: 245 seconds]
<jg20> Out of the box Nix does this just fine, I've got a proof of concept where it works fine if I run nix with sandbox set to relaxed and derivations have network access, but it seems like a bit of a hack even though it works well. I saw the Github issue for impure derivations which seems like it's more for the usecase I'm looking for (https://github.com/NixOS/nix/commit/647291cd6c7559f68d49a5cdd907c2fd580790b1)
<exarkun> jg20: seems better to use Nix to create the environment where you can run the side-effectful operation and then run the side-effectful operation outside of the context of building a derivation.
cfricke has joined #nixos
<jg20> exarkun: Hmm maybe, but if I have let's say 10 different stages to a pipeline, let's say each one uses Terraform, with Nix I can nicely define those as derivations and pass variables between those derivations based on outputs (by using import from derivation) and then all of those stages run nicely with a single `nix-build` call. If I use Nix to just set up the environment then I lose this ability and would have to use e.g bash to achieve something similar
<jg20> which would be a lot more work :D
<exarkun> I guess
<{^_^}> Channel nixpkgs-19.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/8d3c8b9aef1 (from 2 hours ago, history: https://channels.nix.gsc.io/nixpkgs-19.09-darwin)
rauno has quit [Ping timeout: 265 seconds]
hyper_ch2 has joined #nixos
<jg20> It's just an idea - I've found Nix solves this problem really well of coordinating a large CI/CD pipeline by using derivations, and whilst it might be impure and technically not a valid use case of Nix, it solves a lot of problems as otherwise I'd be writing a load of bash to do this, unless anyone knows of any other tools that could do something like this instead?
<emily> I think using Nix to generate bash scripts is basically your best option here
<emily> a la what NixOS does
<emily> but yeah, it reduces flexibility
<emily> it would be nice if Nix was general enough for these more impure coordination tasks but it's pretty fundamentally based on the pure store model so I don't think it's ever going to be "approved" of.
rawtaz has quit [Changing host]
rawtaz has joined #nixos
twoolie has quit [Quit: leaving]
ilyagotfryd has quit [Ping timeout: 245 seconds]
mattyu has quit [Ping timeout: 240 seconds]
<jg20> Yeah fair enough, thanks @emily
<jg20> Maybe rather than explicit bash scripts, generating bash scripts using Nix like you said would work, that's something I'll take a look at :)
<jg20> I would be interested to see where this `__impure` derivation feature ends up though (https://github.com/NixOS/nix/commit/647291cd6c7559f68d49a5cdd907c2fd580790b1)
hyper_ch2 has quit [Remote host closed the connection]
hyper_ch2 has joined #nixos
niso has joined #nixos
cscscscscscscscs has joined #nixos
<{^_^}> [nixpkgs] @peti pushed 17 commits to haskell-updates: https://git.io/JeGl2
<{^_^}> [nixpkgs] @peti pushed 7 commits to haskell-updates: https://git.io/JeGlw
<{^_^}> [nixpkgs] @peti pushed 15 commits to master: https://git.io/JeGlr
veske has quit [Quit: This computer has gone to sleep]
Makaveli7 has quit [Quit: WeeChat 2.6]
joehh has joined #nixos
alex`` has quit [Quit: WeeChat 2.6]
hyper_ch2 has quit [Remote host closed the connection]
sondr3 has joined #nixos
<sondr3> I have a problem I want to debug regarding a Makefile, is there a way to install BSD Make with Nix? I haven't been able to find it
<{^_^}> Channel nixos-19.09-small advanced to https://github.com/NixOS/nixpkgs/commit/e34ac949d1b (from 16 hours ago, history: https://channels.nix.gsc.io/nixos-19.09-small)
<clever> sondr3: `nix-shell -p` will provide you with make
init_6 has quit []
<sondr3> clever: yes, but that is GNU Make, right? I have an issue I where a Makefile works on macOS and not on NixOS
<sondr3> and I have a feeling it might be because of differences between pmake and gmake
<clever> sondr3: i think it will always be gnu make, you can check `make --version` to confirm
<sondr3> clever: yes, but I want BSD Make, not GNU Make :)
zacts has quit [Ping timeout: 246 seconds]
<clever> i dont think i see bsd make packaged
<clever> sondr3: what is the error?
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<sondr3> clever: its for a university assignment where we need to compile our C++ with a Makefile, it fails with a `could not find file`, but running the same `g++` command works
<sondr3> and it does some weird magic to find the files and their headers, I asked a TA and he said it worked on his macOS machine
<clever> sondr3: can you pastebin the Makefile contents and the exact output it gives when failing?
<clever> sondr3: are you using nix-shell or did you install a compiler?
<sondr3> clever: gist.github.com works as well?
<sondr3> and no, not yet, everything works _besides_ running make
<{^_^}> [nixpkgs] @max-wittig opened pull request #69417 → gitlab-runner: 12.2.0 -> 12.3.0 → https://git.io/JeGlh
<gchristensen> since switching to 19.09, `wl-copy` doesn't seem to actually put thetext in to my pasting clipboard. `echo -n "foobar" | wl-copy` then `wl-paste` doesn't print "foobar", nor does pasting anywhere else. if I do `echo -n foobar | wl-copy --primary`, then `wl-paste --primary` does print "foobar", but Ctrl-V still doesn't paste foobar.
<gchristensen> any ideas?
<clever> sondr3: gist works good, and nix-shell should fix everything
<sondr3> clever: nix-shell still fails, gimme a sec
endformationage has joined #nixos
hyper_ch2 has joined #nixos
<sondr3> Just running the `g++ -std=c++2a -pthread task1.cpp -o task1.o` command works fine, which is what's tripping me up
<clever> sondr3: `strace -f make 2>&1 | grep ENOENT` ?
Chiliparrot has joined #nixos
<sondr3> clever: that's a tooon of output, am I looking at anything in particular?
<clever> sondr3: do all of the lines mention ENOENT?
<sondr3> I've installed gcc and gnumake with just `pkgs.gcc` and `pkgs.gnumake`, is there a wrapper I should use instead?
<clever> sondr3: nix-shell should provide the gcc wrapper for you, installing gcc and gnumake will break things
<clever> ,nix-shell
<sondr3> clever: I got 1214 lines of output from the command
alex`` has joined #nixos
<{^_^}> [nixpkgs] @siriobalmelli opened pull request #69418 → plantuml-syntax: add vim plugin → https://git.io/JeG8t
<clever> sondr3: `strace -o logfile make ; grep ENOENT logfile > logfile2` then upload logfile2 to gist
<sondr3> clever: alright, I'll remove them and try again, though a friend on Arch gets the same error too
arianvp has quit [Quit: WeeChat 2.6]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<clever> sondr3: oops `strace -f -o logfile make ; grep ENOENT logfile > logfile2` then upload logfile2 to gist
<clever> sondr3: `strace -e execve -f make` might also help
arianvp has joined #nixos
zacts has joined #nixos
zacts has quit [Client Quit]
zacts has joined #nixos
iyzsong has quit [Quit: ZNC 1.7.1 - https://znc.in]
<tetdim> hhhhhhh
<sondr3> clever: https://gist.github.com/sondr3/2e85d593af20f4f1630a89e8c5217ff1, it is a _ton_ of output though
<inkbottle> [nixos-generate-config] "don't forget to set a password with passwd". At what moment do I do that?
<clever> inkbottle: `nixos-install` will run passwd for you, at the end
<clever> you must then answer it, and supply a pw
<inkbottle> got it
<clever> 11978 access("", F_OK) = -1 ENOENT (No such file or directory)
<clever> sondr3: i thought so
<clever> sondr3: one of the arguments to g++ was ""
<clever> and g++ blindly obeys, and tries to open ""
<clever> sondr3: but when you read the script, you skipped over that part!
<clever> sondr3: what happens if you remove the LTHREAD part?
domogled has joined #nixos
<sondr3> clever: then it doesn't compile because it is a requirement for a library for this course, though I'll try again
<clever> sondr3: the gist sets LTHREAD to ""
<clever> so it should have no real effect
<sondr3> clever: well darn, that did it, thanks a ton man
<sondr3> how do I increase someones karma?
<clever> name++
<sondr3> clever++
<{^_^}> clever's karma got increased to 202
<{^_^}> Channel nixos-19.09-small advanced to https://github.com/NixOS/nixpkgs/commit/8d3c8b9aef1 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-19.09-small)
<sondr3> OH I GET IT NOW, on macOS Clang includes lthreads by default which is why it works but GCC doesn't and require a command line flag
<sondr3> I feel the professor should mention that somewhere in this assignment
<clever> sondr3: is macos using a different makefile, or is he telling you to edit it?
<tetdim> mmm
<tetdim> does anyone know what schema.sql.gen.hh is ive never seen it before
<tetdim> and dont say sql
<sondr3> clever: same thing for everyone, its just a zip file I downloaded and extracted
<clever> sondr3: it might be that mac's make, or clang, is ignoring the "" in the arguments
<clever> sondr3: it might even be a bash level thing, because make runs these strings with `sh -c`
<clever> sondr3: `strace -f -e execve` may further explain it, but you would have to compare to what a mac does, and execsnoop may hide the answer
<sondr3> clever: I think it is Clang vs GCC, the professor mentioned it in the first lecture, his slide says "GCC may additionally need -pthread."
<sondr3> but it hasn't been mentioned since
<Ericson2314> @tetdim let me know now the meson port goes! And file free to cannibalize my PR however you like
<clever> sondr3: ah
<Ericson2314> I've wanted this for a while, especially because it will allow upstreaming the windows port of Nix.
<tetdim> Ericson2314, tis going well ish
<tetdim> ive got most of libstore building
<tetdim> but i need to build the schema with custom_target()
zupo has joined #nixos
<tetdim> but... idk what the file is for hrm
<sondr3> clever: but damn, thanks a lot! You saved my assignment
<Ericson2314> Yeah makes sense
<Ericson2314> It doesn't matter, but did anything I did prove useful?
<Ericson2314> Tetdim what the schema is for?
<tetdim> inside libstore
<clever> sondr3: something of note, the only programming course ive ever taken at school, was visual basic, in grade 11
<Ericson2314> It is for the sqlite that accompanies the store
<clever> sondr3: but, by that time, i already knew c++, qbasic, perl, annd javascript
joehh has quit [Ping timeout: 265 seconds]
<tetdim> builds to a header
<Ericson2314> Libstore I guess links sqlite and they just stick it in as one big literal or some shit
<tetdim> they stick it in R"" but i have no idea what that is
hyper_ch2 has quit [Remote host closed the connection]
<tetdim> or why they are doing that i dont understand
<sondr3> clever: this is the first time I'm touching C++ (or C for that matter), so many segfauls and sigservs
hyper_ch2 has joined #nixos
<clever> tetdim: src/libstore/local.mk:%.gen.hh: %
<tetdim> clever, yes yes i see that
<Ericson2314> Tetdim it's like some raw string literal thing
<tetdim> but my original question is ***why***
<tetdim> it makes no sense to me why not just have a hard coded header
<clever> tetdim: it uses the trace-gen binary, and some echo/cat commands, to generate it
<tetdim> icic
<clever> tetdim: because then you have to edit the sql in a .hh file, and you have to escape every " yourself
hyper_ch2 has quit [Remote host closed the connection]
<Ericson2314> Probably because somebody thought this was easier than finding the file at run time haha
<tetdim> clever, hrm i guess...
hyper_ch2 has joined #nixos
<tetdim> maybe create a small bash scriptlet the meson can run to convert it?
<clever> tetdim: make should generate that header for you
<tetdim> clever, make has no jursidiction here
<clever> tetdim: if you read the makefile, it will tell you how it was generated
<tetdim> .....makefiles got forcefully edjected out the window
<tetdim> im building a meson rewrite remember
<tetdim> i know what the mk does thats not the question
<clever> tetdim: read the old makefile in github
AluisioASG has joined #nixos
<Ericson2314> Clever means use the makefile to figure out what your meson file should do
<Ericson2314> Not use make
<tetdim> rite
<Ericson2314> Since, as you say, it's a custom rule
<tetdim> ok so theres like 1000000 ways this could be done, all of which are sketch
<tetdim> clever i have the OG nix and meson nix open side by side as i migrate
<tetdim> i can see both files bruh .-.
<clever> tetdim: ah, you implied that you had deleted all make files
<tetdim> you implied i was using makefiles in the meson project :^)
<cfricke> Quick question: is there a way to figure out which installed package caused a specific dependency to be installed along with it?
<clever> cfricke: nix why-depends
<tetdim> cfricke, pkg-config links
<tetdim> ...or use the pm
<cfricke> clever, tetdim: thanks!
<tetdim> Ericson2314, did you already port this ?!?
<Ericson2314> I would really take my stuff and keep on going
<Ericson2314> No
<Ericson2314> I got part way
<tetdim> Ericson2314, part wat?
<tetdim> did you get stuck or something
domogled has quit [Ping timeout: 240 seconds]
<Ericson2314> It got pulled to other things
<Ericson2314> Though slightly stuck on some thing too o think
<tetdim> oof dont say that
<Ericson2314> Haha ok
<tetdim> this has been going smooth af so far
<Ericson2314> Yeah the main thing is switching
<tetdim> what build object did you get to?
<tobiasBora> Hello,
<Ericson2314> I had some big yaks that were earlier on the docket
<Ericson2314> Tetdim merely cross referencing mine, yours, and the original will probably find a bug or two in mine
<tobiasBora> I'm not sure to understand what's wrong in my python derivation: http://paste.debian.net/1102533 . Basically, I get an error during build about "Collecting chompack>=2.3.2 (from smcp==0.4.6) ERROR: Could not find a version that satisfies the requirement chompack>=2.3.2"
<Ericson2314> And that could well fix things
<tetdim> Ericson2314, one thing i will say is my code is way more readable than yours :^)
<tobiasBora> However, I did included in propagatedBuildInputs a chompack line... But it seems that when I compile this file (with nix-build -E "with import <nixpkgs> {}; python3Packages.callPackage ./smcp.nix {}"), it does not even try to build firt chompack... Any idea why?
<Ericson2314> @tetdim that's fine, I did all the configure stuff line by line more or less
zacts has quit [Quit: WeeChat 2.4]
<Ericson2314> And then started on the make
<Ericson2314> It was just a grind
<tetdim> ah im not doing that
<tetdim> im doing it lib by lib]
<tetdim> configure and make one lib, move to next
<tetdim> do it in dependency order
<Ericson2314> Well once I got to the make then yes line by line
<Ericson2314> Sorry lib by lib
<tetdim> Ericson2314, also you arent using standard names for the meson stuff :^)
<Ericson2314> configure dependencies are famously unclear, so I thought line by line was easier for that
<tetdim> libutil nahnah nixutil_lib yeee
<tetdim> _lib _dep _src _inc all those
<tetdim> its like type setting but variable names lmao
rndd has quit [Ping timeout: 245 seconds]
<Ericson2314> Hehe so I've contributed like 50 commits to meson but I have no clue what the ideomatic shit is
<Ericson2314> I have developed it far more than I've used it
Ariakenom has quit [Quit: Leaving]
<tetdim> Ericson2314, ive spent a grand total of a week crash coursing meson
<tetdim> prolly 12 hours a day? idk
<Ericson2314> Well, that's a good deep dive :)
<tetdim> ive actually learned more about auto tools than meson tbh
<tetdim> meson is very python like and ive been doing python for s o l o n g
<Ericson2314> Hahahaha that's often how it needs to be
<Ericson2314> I need to hop on a train, but good luck, and please open even a WIP PR as soon as you feel comfortable
rndd has joined #nixos
<Ericson2314> The fact that there are/were two independent efforts well help demonstrate the interest in this
<Ericson2314> People's comments will also be extra motivation to finish :D
<tetdim> Ericson2314, correct me if im wrong here
<tetdim> yoou shouldnt need to include the hh file in the build dir?
<tetdim> you put it in the library() sources
<tetdim> you can just include_directories('.') no?
mattyu has joined #nixos
<Ericson2314> @tetdim I'm not sure but meson will not go from . To any dependencies
<Ericson2314> You gotta be explicit
<tetdim> ohhhhhhhh no im being stupid
<tetdim> it doesnt generate a FILE
<Ericson2314> But yes what I did I didn't like
<{^_^}> Channel nixos-19.09 advanced to https://github.com/NixOS/nixpkgs/commit/9c0c769bfa7 (from 24 hours ago, history: https://channels.nix.gsc.io/nixos-19.09)
<tetdim> it processes the file and stores the result in memory
justanotheruser has quit [Ping timeout: 265 seconds]
<tetdim> so yes, you neeed to source it
<tetdim> gen_header = '''
<tetdim> '''
<tetdim> echo ')foo"' >> "$1"
<tetdim> cat @INPUT@ >> "$1"
<tetdim> echo 'R"foo(' >> "$1"
<tetdim> nixstore_src += custom_target(
<tetdim> 'schema.sql.gen.hh',
<tetdim> output : 'schema.sql.gen.hh',
<tetdim> input : 'schema.sql',
<tetdim> command : ['sh', '-c', gen_header, 'sh', '@OUTPUT@']
<tetdim> )
<tetdim> :^)
<clever> tetdim: i think you have to run trace-gen, or it wont escape things properly
<Ericson2314> I don't know what's in memory or not
<clever> tetdim: you also want to look at where it gets #include'd
<Ericson2314> But no implicit deps
<Ericson2314> In meson, full stop
<tetdim> clever, ah yes i missed a line
jmeredith has joined #nixos
<Ericson2314> Ok off to train good luck don't get distracted and not finish like I did!
<niksnut> to be honest, I'm not super keen on yet another build system rewrite
<tetdim> clever, that actually compiled fine, only leaves me with linking errors now
<tetdim> im imagining itll fail at runtime
<clever> tetdim: this will turn into: const char * schema = R"FOO(......)FOO"; i think
<clever> it feels like a heredoc, so i'm not sure what trace-gen is doing...
<fpletz> gchristensen: sounds good to me, graylog2 also nicely abstracts away all the elasticsearch madness (that's in the backend)
<clever> $(trace-gen) cat $< >> $@.tmp
<clever> wait, its running trace-gen, on cat ....
<tetdim> clever, >computers
<clever> maybe thats just to log what make is doing
<clever> not to mutate the stream
<clever> mk/tracing.mk: trace-gen = @echo " GEN " $@;
<tetdim> ima turn it into a sh script and run it, see the difference manually
<clever> tetdim: yep, thats a trace, that prints GEN
rndd has quit [Quit: WeeChat 2.4]
<clever> tetdim: so your thing with cat should be fine
<tetdim> o really?
<tetdim> hm
<tetdim> guess im not as dumb as i look :^)
<clever> tetdim: all trace-gen does, is print `GEN schema.sql.gen.hh`
<clever> so you know what make is doing
<tetdim> well thats stupid
<tetdim> why not just put a message above the script instead of in the middle
waleee-cl has joined #nixos
<gchristensen> fpletz: any recommended links / reading for me? :)
cinimod``` has quit [Remote host closed the connection]
jgeerds has joined #nixos
cinimod``` has joined #nixos
<tetdim> clever, fyi,,,
<tetdim> src/libstore/local-store.cc:350:10: fatal error: schema.sql.gen.hh: No such file or directory
mattyu has quit [Quit: done]
<tetdim> thats the include
<clever> tetdim: it must be in a directory that can be found with the -I flags while building local-store.cc
<clever> tetdim: and you must somehow tell meson that local-store.cc depends on schema.sql.gen.hh
<tetdim> yes yes yes ikik
mattyu has joined #nixos
<tetdim> itll actually link headers for you
<tetdim> i told you, i only get linking errors now
<tetdim> the amount of ninja warnings i get compiling this is impressive
veske has joined #nixos
joehh has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mattyu has quit [Read error: Connection reset by peer]
hyper_ch2 has quit [Remote host closed the connection]
<tetdim> clover, if youre interested https://pastebin.com/3rPz3z4U
mattyu has joined #nixos
<inkbottle> Can I put my "wpa-psk" password in the configuration.nix file?
justanotheruser has joined #nixos
<{^_^}> [nixpkgs] @globin pushed to master « linuxPackages.jool: 4.0.0 -> 4.0.5 »: https://git.io/JeG4k
<{^_^}> [nixpkgs] @globin pushed to release-19.09 « linuxPackages.jool: 4.0.0 -> 4.0.5 »: https://git.io/JeG4I
noudle has quit []
justan0theruser has joined #nixos
mattyu has quit [Remote host closed the connection]
cfricke has quit [Quit: WeeChat 2.6]
justanotheruser has quit [Ping timeout: 276 seconds]
mattyu has joined #nixos
mattyu has quit [Client Quit]
<inkbottle> if I do: networking.networkmanager.enable = true; Do I skip: networking.wireless.enable = true;?
cfricke has joined #nixos
<{^_^}> [nixpkgs] @globin pushed to master « linuxPackages.r8168: 8.046.00 -> 8.047.00 »: https://git.io/JeG4s
<{^_^}> Channel nixos-19.09 advanced to https://github.com/NixOS/nixpkgs/commit/e34ac949d1b (from 18 hours ago, history: https://channels.nix.gsc.io/nixos-19.09)
<{^_^}> [nixpkgs] @globin pushed to release-19.09 « linuxPackages.r8168: 8.046.00 -> 8.047.00 »: https://git.io/JeG4c
Zer0xp has quit [Ping timeout: 245 seconds]
<tokudan[m]> inkbottle: yes. the networking.wireless.enable should probably better be called services.wpa_supplicant.enable.
veske has quit [Quit: This computer has gone to sleep]
cfricke has quit [Client Quit]
<inkbottle> tokudan[m]: So I should use both together
<inkbottle> Do you know of an example of configuration.nix using this and plasma and not to complicated, which I could use as a template?
veske has joined #nixos
<inkbottle> this=networkmanager
<{^_^}> [nixpkgs] @globin opened pull request #69419 → mkRemovedOptionModule: assert on removed options → https://git.io/JeG4E
parity has quit [Quit: Lost terminal]
veske has quit [Quit: This computer has gone to sleep]
__monty__ has quit [Ping timeout: 268 seconds]
veske has joined #nixos
veske has quit [Client Quit]
<{^_^}> [hydra] @edolstra pushed 2 commits to master: https://git.io/JeG4M
<{^_^}> [hydra] @edolstra pushed 3 commits to flake: https://git.io/JeG4y
dansho has quit [Ping timeout: 268 seconds]
growpotkin has joined #nixos
<inkbottle> https://chris-martin.org/2015/installing-nixos: Replace networking.wireless.enable = true; with networking.networkmanager.enable = true;
<inkbottle> So, one of them seems enough
<inkbottle> https://nixos.org/nixos/manual/index.html: networking.networkmanager and networking.wireless (WPA Supplicant) cannot be enabled at the same time
<inkbottle> It's complicated
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<wucke13> I have a python package, which only works with python3. Should I write anything in the default.nix to mark it as python3 only?
<{^_^}> [nixpkgs] @vbgl opened pull request #69420 → ocamlPackages.patience_diff: init at 0.12.0 for OCaml ≥ 4.07 and related additions → https://git.io/JeG4j
<gchristensen> fpletz: graylog used to have spunk, but they really boringed up their logo
<{^_^}> Channel nixos-19.03 advanced to https://github.com/NixOS/nixpkgs/commit/2c61951df92 (from 28 hours ago, history: https://channels.nix.gsc.io/nixos-19.03)
o1 has joined #nixos
<tokudan[m]> inkbottle: sorry, saw your message just now. only enable one of them. if you want to use networkmanager (probably makes sense for a laptop), then set networking.wireless.enable = false
<inkbottle> no worries
niksnut has quit [Quit: Lost terminal]
<{^_^}> [nixpkgs] @Ma27 opened pull request #69421 → clipman: init at 1.0.1 → https://git.io/JeGBL
<tetdim> clever, fixed the linking errors on a few libraries
growpotkin has quit [Ping timeout: 265 seconds]
niksnut has joined #nixos
arjen-jonathan has joined #nixos
<wucke13> LnL: I have inserted the line in the default.nix, however, I can still build it with python2Packages.<p-name> (and the build fails due to python3 deps).
wfranzini has quit [Remote host closed the connection]
Ariakenom has joined #nixos
<LnL> that should make it bail out before the build, are you sure it's not a dependency that fails?
jg20 has quit [Quit: Textual IRC Client: www.textualapp.com]
sigmundv_ has quit [Ping timeout: 240 seconds]
<tetdim> Ericson2314,
<tetdim> found your first error
<tetdim> you set the value nixstatedir
<tetdim> but when you define it in libstore you just write
<tetdim> -DNIX_STATE_DIR="@0@/nix"'.format(get_option('localstatedir')),
<tetdim> should be
<tetdim> -DNIX_STATE_DIR="@0@/nix"'.format(nixstatedir,
v0|d has quit [Ping timeout: 240 seconds]
fusion809 has joined #nixos
oida has quit [Remote host closed the connection]
oida has joined #nixos
judson has joined #nixos
<tetdim> ooft
<tetdim> might need to take a break
is_null has quit [Ping timeout: 240 seconds]
<tetdim> words keep going sideways on me
is_null_ has quit [Ping timeout: 265 seconds]
obfusk__ has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
lucus16 has quit [Quit: lucus16]
obfusk__ has joined #nixos
lucus16 has joined #nixos
drakonis has joined #nixos
grumble has quit [Quit: And this chaos, it defies imagination]
<tetdim> HELL YEA
<tetdim> clever, Ericson2314, worldofpeace, https://snipboard.io/NrpbGs.jpg
<tetdim> 2 libs down, the rest of nix to go
<waleee-cl> is it possible to use the standard "Plug VIMPLUGIN, { 'for': 'LANGUAGE'}" when adding the plugins via plug.plugins for vim_configurable?
drakonis_ has quit [Ping timeout: 265 seconds]
erasmas has joined #nixos
<{^_^}> [nixpkgs] @arianvp opened pull request #69422 → nixos/systemd: Make machinectl work with NixOS → https://git.io/JeGBg
grumble has joined #nixos
<clever> tetdim: now its bothering me, what you censored out, lol
<tetdim> deadnames shmeadnames
drakonis_ has joined #nixos
<{^_^}> [nixpkgs] @markuskowa merged pull request #69398 → nixos/fancontrol: init → https://git.io/JeG3U
<{^_^}> [nixpkgs] @markuskowa pushed 9 commits to master: https://git.io/JeGBw
domogled has joined #nixos
drakonis has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @markuskowa pushed to revert-69398-fancontrol « Revert "nixos/fancontrol: init" »: https://git.io/JeGBr
ubert has quit [Quit: Leaving]
<exarkun> anyone want to explain the nixos test logging format to me? It seems to be some XML but I'm not sure what tags etc are involved. What does a line of log output in this format look like?
<exarkun> I guess it has to do with this
<exarkun> $self->{log}->dataElement("line", sanitise($item->{msg}), 'machine' => $item->{machine}, 'type' => 'serial');
<exarkun> not sure how to interpret that though. what does dataElement do?
arjen-jonathan has quit [Ping timeout: 265 seconds]
asymptotically has quit [Remote host closed the connection]
asymptotically has joined #nixos
Guest7377 has quit [Ping timeout: 240 seconds]
rotaerk has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @kaychaks opened pull request #69423 → zulip-desktop: init at 4.0.0 → https://git.io/JeGB1
<{^_^}> [nixpkgs] @globin merged pull request #69417 → gitlab-runner: 12.2.0 -> 12.3.0 → https://git.io/JeGlh
<{^_^}> [nixpkgs] @globin pushed 2 commits to master: https://git.io/JeGBS
<inkbottle> i18n.consoleKeyMap vs services.xserver.xkbVariant; Both have to be defined?
spazzpp2 has joined #nixos
<spazzpp2> hi I'm currently downloading the img for installing nixos on my raspi
<{^_^}> [nixpkgs] @globin pushed commit from @max-wittig to release-19.09 « gitlab-runner: 12.2.0 -> 12.3.0 »: https://git.io/JeGBH
philr has quit [Ping timeout: 240 seconds]
<spazzpp2> I will probably have some questions while doing so. It's my first time nixos
spazzpp2 has quit [Quit: Leaving]
spazzpp2 has joined #nixos
<infinisil> inkbottle: The former is for configuring the kbd layout in tty consoles, the latter for X
<inkbottle> Tx
<infinisil> inkbottle: But you can make the former use the latter with `i18n.consoleUseXkbConfig`
<inkbottle> OK, in that direction, so
bitmapper has joined #nixos
<exarkun> seems like it might not matter what the log format is yet because LOGFILE is not being set in the environment
<{^_^}> Channel nixpkgs-19.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/d8c1b4e8f2f (from 2 hours ago, history: https://channels.nix.gsc.io/nixpkgs-19.09-darwin)
__monty__ has joined #nixos
wildtrees has joined #nixos
bonnes has joined #nixos
cinimod``` has quit [Ping timeout: 245 seconds]
selfsymmetric-mu has quit [Remote host closed the connection]
<exarkun> if I read LOGFILE from the environment in testScript I get a path like /nix/store/ac7ab4hdmabkmfnfi6175sbi1zdcm68i-vm-test-run-unnamed/log.xml
<exarkun> kinda hard to write to a path in /nix/store isn't it?
<clever> exarkun: what is the value of $out ?
o1 has quit [Quit: WeeChat 2.6]
<exarkun> eg /nix/store/fy5nfzan2n1y7j0gbrxyfh4yx81d16za-vm-test-run-unnamed
<exarkun> That is, that's what `print($ENV{out})` reports
<clever> exarkun: how does $out and $LOGFILE compare, for the same drv?
<exarkun> For that run, LOGFILE was `/nix/store/fy5nfzan2n1y7j0gbrxyfh4yx81d16za-vm-test-run-unnamed/log.xml`
<exarkun> So, looks like LOGFILE = out + "/log.xml" to me? which matches what I read in testing.nix
<clever> exarkun: yep, so that is the one thing you can write to that will persist
<clever> sounds right
<exarkun> hrm
<clever> exarkun: have you seen the index.html the tests generate?
<exarkun> OSError: [Errno 30] Read-only file system: '/nix/store/fy5nfzan2n1y7j0gbrxyfh4yx81d16za-vm-test-run-unnamed/log.xml'
<exarkun> Oh
<clever> exarkun: when exactly are you trying to edit it?
<exarkun> On which host can I write it
Arahael has quit [Ping timeout: 240 seconds]
<exarkun> :(
<clever> exarkun: have you seen the xchg stuff?
<clever> exarkun: and systemd-cat
<exarkun> I tried to write to it from a program run by `$machine->succeed()`
<exarkun> ah, systemd-cat
<clever> exarkun: ah, you can only write to it from outside the qemu
<exarkun> okay
tmaekawa has joined #nixos
<exarkun> okay I'll log with systemd-cat instead, that's probably fine and simpler anyway
<clever> exarkun: if you want binary files, xchg is an option
<exarkun> just debug prints for now, basically
<exarkun> but thanks for that pointer as well
<clever> exarkun: `print`
<clever> literally, print "foobar";
<clever> try that?
<exarkun> print inside a program run with $machine->succeed(...) doesn't show up until after $machine->succeed completes
<exarkun> and maybe not even then?
<clever> succeed may return the stdout as a perl variable
<NemesisD> is it possible to install packages with `nix-env` which are available via nix expressions on github?
<exarkun> I think succeed buffers it and then throws it away if the command suceeds
<clever> |systemd-cat would let it leak into the logs, which are saved
<exarkun> and $machine->execute returns the result regardless
<exarkun> but still, not incrementally
<clever> NemesisD: nix-env -f https://sometjing -iA bar
<clever> exarkun: line 41 writes a video file to /tmp/xchg/ in the guest
<clever> exarkun: 63 then copies it to $out
<exarkun> xchg is ... shared filesystem between host and guest
<exarkun> ?
<exarkun> referencing a path "*/xchg/..." seems scary :)
<clever> exarkun: yep, and its bi-directional
<exarkun> that's handy to know about
tmaekawa has quit [Client Quit]
<exarkun> |systemd-cat accomplishes what I've been trying to do so far, anyway, thanks
<exarkun> oh, although it hides failure exit codes, but I guess there's some shell magic to fix that
<gchristensen> set -o pipfail
<gchristensen> set -o pipefail *
<exarkun> yea ... annoying to do that before every command, kinda. but functionrs or whatever, I guess.
<clever> exarkun: of note, is how succeed even gets exit codes
<emily> set -o pipefail is dangerous if you ever do foo | head, wt
<emily> *btw
<emily> because foo will usually die because of SIGPIPE and therefore exit non-0 and therefore kill your script
<clever> exarkun: behind the scenes, all things in the guest, are ran with ( foo ) ; echo '|!EOF' $?
<tetdim> eyy clever got header checking working on editline
alex`` has quit [Quit: WeeChat 2.6]
<tetdim> doesnt need a pkg config now :^)
<exarkun> clever: which seems to be part of some kind of awkward connection loss detection logic?
alex`` has joined #nixos
<clever> exarkun: also behind the scenes, it uses a qemu hypervisor serial port, to get a backdoor shell into the guest
<exarkun> kind of a shame there's no some real (if simple) rpc there instead
bitmapper has quit [Ping timeout: 245 seconds]
<clever> exarkun: that is something i have wanted to solve
<exarkun> instead of shell hacks piled on perl hacks piled on qemu hacks
<clever> exarkun: what i want, is a haskell library, with a muxed RPC over that serial console
<exarkun> +100
<Ericson2314> tetdim: thanks! nice catch!
<clever> exarkun: with haskell code on both the client and server side (host and guest)
<clever> exarkun: so you can have haskell code in the host, acting as a conductor
<exarkun> except no one wants haskell in the build tool chain because the compiler takes forever and the dependencies are huge? :)
<clever> exarkun: and then haskell code in each guest, doing actions, and reporting status over the rpc
<clever> exarkun: the issue, is that i basically need an RPC channel, that can act over a byte stream, and is mux-able (can deal with parallel concurrent streams)
<clever> does haskell have anything close to that?
<exarkun> I bet it has several
<emily> rust seems like a better fit here
<exarkun> Technically HTTP/2 fits the bill, though whether that would be anyone's first choice or not I dunno
<gchristensen> I was going to say HTTP/2 :)
<emily> similarly bad in terms of compilation toolchain weight, but certainly lighter for the resource-constricted VMs
<clever> network and tcp isnt going to be available
<clever> its just a single raw byte stream
<emily> not that haskell would work badly either
<gchristensen> HTTP/2 over a byte stream
<emily> just feels like the slightly more awkward choice
<exarkun> You can still do HTTP/2 over that
<emily> gRPC over stdio...
<emily> truly beautiful
<exarkun> Maybe some irrelevant corners would break, like don't return a redirect... but so what
<gchristensen> emily: bingo
<exarkun> But yea, gRPC might be better
<hodapp> say, is it fairly doable to take an existing NixOS system and basically run the installer from it onto a separate disk? I *could* just burn some install media, but I'm sort of at $client and trying to avoid taking the system down in the meantime until I need to
bonnes has left #nixos [#nixos]
<emily> I think there are, like, lighter-weight solutions to this problem, but I guess gRPC is batteries-included.
bonnes has joined #nixos
<hodapp> would use CloneZilla, but there are some complications
bonnes has left #nixos [#nixos]
<exarkun> it might be nice to use a protocol you can read with your eyes, for easy of debugging. bandwidth/cpu costs aren't really an issue. so possibly some flavor of json-rpc.
<exarkun> but with the right tooling you can probably make gRPC just as usable
<exarkun> Also, last week I read a blog post about using Servant (which you might know from Haskell HTTP'ing) for defining type-safe arbitrary protocols.
<clever> exarkun: for this test for example, i just want the host side to be a 2 step process
cinimod``` has joined #nixos
<clever> exarkun: step 1, boot the vm, step 2, tell the guest half of the code to do everything else
<exarkun> yea, that would be a lot better
<exarkun> and that's basically what I'm doing right now - by hand
<clever> exarkun: the guest side can then do lines 34-55, and spit out a json blob? with status
<clever> and also stream logs over, in real-time
<exarkun> rewriting 50 perl steps as 1 perl step that runs a python program on the guest
<infinisil> hodapp: Well you can copy only the configuration.nix over, then nixos-install
<clever> the reason i was thinking haskell and rpc, is that the guest could create any kind of object, serialize it, and fire it off to the host, which deserializes
<clever> and then you can do whatever you want
<exarkun> speaking of which ... "ImportError: No module named site" :/
<infinisil> hodapp: Plus all the data you need
<hodapp> infinisil: yeah, data should just be homedir so that's no big deal. I need to figure out LUKS though
<exarkun> clever: I definitely like that idea more than ad hoc gluing together random programs.
<infinisil> hodapp: That you need to reconfigure manually
<hodapp> not sure what you mean
<clever> hodapp: nixos-install works on any nixos machine, and i do prefer the idea of just installing to a usb stick
<clever> hodapp: because then changes you make to that stick persist, and you can leave a clone of your config repos, and ssh priv keys on it
<infinisil> hodapp: If you want luks on a machine you need to configure it, NixOS can't do that
<infinisil> At least as long as nixpart isn't finished :)
<lassulus> nixos-generate-config detects LUKS if there is no layer (like lvm) in between
<gchristensen> (and may we never finish it)
<clever> infinisil, gchristensen: did you see my nixops issue, that could use nixpart features?
nikola_i has quit [Ping timeout: 264 seconds]
<gchristensen> no
<{^_^}> nixops#1189 (by cleverca22, 5 weeks ago, open): plan for supporting custom partition layouts and custom FS's on any backend
<clever> that will let nixops support custom partitioning and FS types, on any backend
<gchristensen> gotcha
<clever> it also bypasses needing a generation 1 that wont match your nixpkgs and has to be GC'd when your done
<clever> and bypasses having to reboot after the first deploy because wireguard cant modprobe
<clever> and also, the binary cache not working on the initial deploy
<shyim> Is something known that the entire usb devices freezes after some time on 19.09 channel?
alex`` has quit [Ping timeout: 245 seconds]
* gchristensen is a firm -1 on anything that leads NixOS down a path of making changes to a disk automatically as part of normal operations
<clever> gchristensen: my nixops plans only trigger once, at install time
<gchristensen> cool
<{^_^}> [nixpkgs] @edef1c pushed to master « nixos/rabbitmq: use an attrset for example configItems »: https://git.io/JeGRP
<clever> gchristensen: step 1 is to somehow boot nixos without installing it
<clever> pxe, kexec, an ami that contains the netboot image by itself
<clever> step 2 is to partition, format, and mount everything under /mnt
<clever> step 3, nix copy --to ssh://root@target?remote-store=local?root=/mnt /nix/store/hash-nixos
duncan has quit [Quit: Updating details, brb]
<exarkun> Running python3 on this vm works. Running python2 on this vm works. Running `tahoe` (from `pkgs.tahoe-lafs` in systemPackages) works fine. Running `python3 -c 'import subprocess; subprocess.check_output(["tahoe"])'` fails. :/
<clever> which copies to /mnt/nix/store on a remote box
<clever> step 4, nixos-install --system /nix/store/hash-nixos --root /mnt
duncan has joined #nixos
<clever> which installs the bootloader for an already copied nixos
<clever> then you just reboot, and its live!
alex`` has joined #nixos
<clever> gchristensen: my idea, is that steps 2/3/4 are all a common library, that any nixops backend can use
<clever> gchristensen: and the kexec is an optional function, that some backends can choose to use, but the backend must supply a way of getting root on a rescue shell or ubuntu image
<infinisil> edef: Regarding the commit you just pushed, you should use literalExample with a string to have it show up correctly in the manual
<edef> infinisil: hm, elaborate?
<infinisil> edef: This is a good example of why we should have every change be a PR :)
<clever> gchristensen: aws would just have an ami, that is basically the installer iso with ssh enabled, to let you in
<edef> infinisil: it shows up in the manual properly here
<clever> gchristensen: packet.net could be a real pxe boot, with the installer image
<infinisil> edef: With how you have it now, the whole nix expression is on a single line (pretty sure)
<edef> infinisil: this is true, but it's tiny
<infinisil> edef: But still, it would look nicer with multiple lines, that's why literalExample exists
liberiga has quit [Ping timeout: 260 seconds]
<infinisil> I think all multi-line examples should use it
<edef> fair
<edef> i'm somewhat averse to making PRs for Literally Everything because, well, we have tonnes of them and review is always far behind
<gchristensen> I do a PR for literally everything, and just wait for ofborg to agree prior to merging
<edef> mhm
gxt has quit [Ping timeout: 260 seconds]
<infinisil> Yeah even for that it's beneficiql
<edef> i'm not particularly used to making PRs for things i merge myself instantly, and at that point the likelihood of gathering commentary is fairly tiny
<gchristensen> yeah fair enough, I don't do it for commentary, I do it so I don't break the build for the next PRs
<gchristensen> I've been burned on PRs I thought were 100% definitely safe and weren't, so I just don't anymore
<edef> right, i do check that everything builds before shipping it out
<edef> i should probably have a more pleasant CLI github experience
<{^_^}> [hydra] @edolstra merged pull request #680 → export a /prometheus endpoint → https://git.io/JeGIk
<{^_^}> [hydra] @edolstra pushed 3 commits to master: https://git.io/JeGR5
<gchristensen> the thing that trips me up sometimes is evaluations for the different platforms, plus making sure the nix-env output is clean
<andi-> I share the pain... I go through PRs most of the time but I'd rather do it all from the CLI
drakonis_ has quit [Quit: Leaving]
<edef> i've moved onto git email flow for collaborating with friends
<gchristensen> nice
<edef> for which a decent CLI setup is pretty trivial
drakonis has joined #nixos
rotaerk has joined #nixos
<edef> and now github drives me up the wall constantly
o1lo01ol1o has quit [Remote host closed the connection]
<andi-> +1
<edef> gchristensen: define "making sure the nix-env output is clean"?
o1lo01ol1o has joined #nixos
<gchristensen> ensuring this only outputs what we expect, no asserts / warnings / traces: nix-env -qa --json --file .
<edef> mmm
<edef> does ofborg check that?
<gchristensen> yeah
<gchristensen> `hub` is pretty nice
<edef> it has bitten me before
<gchristensen> hub?
mexisme has joined #nixos
<edef> if i create a PR with hub, and i haven't manually pushed the branch to edef1c/nixpkgs, it pushes it to NixOS/nixpkgs
<gchristensen> nice :|
rotaerk has quit [Ping timeout: 245 seconds]
o1lo01ol1o has quit [Ping timeout: 245 seconds]
domogled has quit [Ping timeout: 265 seconds]
<slabity> Hey guys, I' trying to get nix-plugins working on my system. Does anyone have experience with that? I'm not quite sure what needs to be added to my nix configuration.
<slabity> I have `nix.extraOptions == "plugin-files = ${nix-plugins}/lib/nix/plugins/libnix-extra-builtins.so"` and that works fine. But it only works if I pass `--option extra-builtins-file` when running it.
<sphalerite> slabity: if you add your extra-builtins-file setting to nix.extraOptions it should work
<sphalerite> AFAIK
<slabity> Oh... That makes a lot of sense...
<clever> slabity: --option just lets you override any nix.conf entry
<clever> slabity: `nix show-config` also shows the result of parsing the config
<slabity> Thanks. I'll see if this works
<sphalerite> I want to set up bind as a local nameserver in order to forward DNS requests for some domains to a custom nameserver. Is there a way to have bind use the upstream DNS server acquired via DHCP?
<clever> sphalerite: ive done that before, let me see
ris has joined #nixos
SyrupThinker has quit [Quit: WeeChat 2.5]
<clever> sphalerite: ah right, i did that on an old gentoo machine, let me see what the exact method was...
<clever> sphalerite: `Hooking into events` in `man dhcpcd`, it will run some shell scripts when it does things
domogled has joined #nixos
<clever> sphalerite: `man dhcpcd-run-hooks`
<clever> networking.dhcpcd.runHook
aveltras has joined #nixos
<clever> Shell code that will be run after all other hooks. See `man dhcpcd-run-hooks` for details on what is possible.
<sphalerite> oh, hm, I'm using network-manager though
<clever> sphalerite: the dns servers are in an env var when that hook gets ran
kleisli has joined #nixos
<clever> and i then echo'd them to a file, in the right format, to include into the bind cfg
Ilya_G has joined #nixos
<{^_^}> Channel nixos-19.09-small advanced to https://github.com/NixOS/nixpkgs/commit/d8c1b4e8f2f (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-19.09-small)
<clever> sphalerite: does network-manager have any dhcp hooks? what dhcp client does it use?
<sphalerite> dhclient by the looks of it
<clever> networking.networkmanager.dhcp
<clever> Type: one of "dhclient", "dhcpcd", "internal"
<Ilya_G> pypi2nix question: I have a so called unstable package I am trying to include in the mix. I am being told that it can only import latest stable package which is many versions behind. Any suggestions of what I should be looking for?
Jackneill has quit [Read error: Connection reset by peer]
<clever> On after defining the make_resolv_conf function, the client script checks for the presence of an executable /etc/dhcp/dhclient-enter-hooks script
<clever> sphalerite: so you can either write a dhclient hook, or switch to dhcpcd, and use a dhcpcd hook
rotaerk has joined #nixos
justan0theruser has quit [Ping timeout: 245 seconds]
<fpletz> sphalerite: or you could use networkd and resolved where you can configure what domains you want resolved from which interface's nameserver :)
<sphalerite> fpletz: hmmmm :D
<fpletz> sphalerite: man systemd.network, grep for Domains=
orivej has joined #nixos
cinimod``` has quit [Ping timeout: 265 seconds]
<hodapp> hmm... if I set boot.loader.grub.device, run nixos-install, and the device name changes at the next boot (due to me cloning to a new disk, planning to remove the old one), is that still okay?
<clever> hodapp: nixos will only use that device setting when it has to re-install the bootloader to the MBR
<clever> hodapp: which only happens when the grub version changes
<clever> so it can still boot, but you will likely want to fix it, or you risk overwriting the MBR of the wrong disk
<clever> personally, i usually just set it to "nodev" after i install
<clever> then the MBR just never updates
<hodapp> hmmmm
<clever> ive yet to break a machine, lol
<clever> but grub also almost never updates
<clever> EFI eliminates that issue
<Ilya_G> sorry reposting ---> pypi2nix question: I have a so called unstable package I am trying to include in the mix. I am being told that it can only import latest stable package which is many versions behind. Any suggestions of what I should be looking for?
zupo has joined #nixos
<spazzpp2> hi
<spazzpp2> I get `'/nix/var/nix/db/schema' is corrupt`
<spazzpp2> what should I do. Firstly, is it correct that I copied the img to my sd and booted from it?
<spazzpp2> Shouldn't the sd be rw?
<clever> spazzpp2: what is the contents of that file?
<sphalerite> spazzpp2: for raspberry pi?
<spazzpp2> yes for raspberry
<sphalerite> spazzpp2: your sd card might be bad
<exarkun> a python program is misbehaving. can I make it pass `-v` to Python to assist with debugging? how?
<spazzpp2> clever, it's empty
<clever> spazzpp2: that would be the problem, it shouldnt be empty
<clever> spazzpp2: what about the dmesg output?
arjen-jonathan has joined #nixos
<exarkun> spazzpp2: always unmount, remove, reinsert, and verify checksum when you're flashing an sd card
<sphalerite> spazzpp2: also, that's an ancient version
<spazzpp2> I see..
justan0theruser has joined #nixos
<mdash> I'm considering using zfs encryption for a single dataset. Anyone want to tell me why I'll regret it?
equivrel has quit [Read error: Connection reset by peer]
kleisli has quit [Ping timeout: 245 seconds]
<spazzpp2> exarkun, ask #python.. there's no -v to my knowledge. but there's pdb.
<exarkun> There is in fact -v. Sadly, it didn't help.
<{^_^}> [nixpkgs] @bjornfor merged pull request #69418 → plantuml-syntax: add vim plugin → https://git.io/JeG8t
domogled has quit [Quit: domogled]
<{^_^}> [nixpkgs] @bjornfor pushed commit from @siriobalmelli to master « plantuml-syntax: add vim plugin »: https://git.io/JeG08
<spazzpp2> sphalerite, are there contemporary sd images_
<spazzpp2> ?
domogled has joined #nixos
aleph- is now known as Odin-
chloekek has joined #nixos
<{^_^}> [nixpkgs] @mmahut merged pull request #69297 → nixos/zabbixServer: move pid file from default (/tmp) to /run/zabbix … → https://git.io/JesKo
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/JeG0u
rndd has joined #nixos
<hodapp> hmm. maybe I should have checked if this laptop even supports EFI boot before using that instead of GRUB...
<hodapp> my old config used GRUB, but I think that's because the laptop shipped with a Win7 install with normal MBR and I split this partition
baroobob has joined #nixos
<rndd> hi everyone! does anyone know how to properly install realteck drivers?
gxt has joined #nixos
pie_ has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @terlar opened pull request #69425 → Emacs: MELPA package updates → https://git.io/JeG0r
<exarkun> eehhh I added pkgs.python2 to systemPackages but it's not there :/
<exarkun> ah blech my fault as usual
<hodapp> exarkun: what past-life IRC channel do I know you from?
<exarkun> #python maybe
equivrel has joined #nixos
<exarkun> I was active op there from ~2002-~2008
<hodapp> that must be it
<Ilya_G> How do I convince pypi2nix to install a dependency that is packaged in WHL file?
<Ilya_G> it produces this derivation:
<Ilya_G> "asyncnsq" = python.mkDerivation { name = "asyncnsq-1.1.0"; src = pkgs.fetchurl { url = "https://files.pythonhosted.org/packages/16/f5/a32fd8b9267e085065fde3a5c7bcbe2c54c0cb6fbd4c05f2e84323916d58/asyncnsq-0.4.5.tar.gz"; sha256 = "9a69d7dd9595882deee5c42dcc324447d64c29a1979d0afffd2a4bf4d3789c59"; }; doCheck =
<Ilya_G> commonDoCheck; buildInputs = commonBuildInputs ++ [ ]; propagatedBuildInputs = [ self."python-snappy" ]; meta = with pkgs.stdenv.lib; { homepage = "https://github.com/aohan237/asyncnsq"; license = licenses.mit; description = "asyncio async/await nsq support"; }; };
<Ilya_G> but I need it to fetch this URL:
baroobob has left #nixos [#nixos]
<Ilya_G> it basically cuts me of on version 0.4.5 because from version 0.4.6 creator of the package started packaging this file in WHL file format.
Lears has joined #nixos
<spazzpp2> are there mirrors/torrents for nixos images?
[Leary] has quit [Ping timeout: 240 seconds]
<tetdim> ayylmao
<tetdim> libnixmain is built
<tetdim> another one bites the dust
SyrupThinker has joined #nixos
<samueldr> spazzpp2: there isn't; the images are always freshly built with the latest update of the channels
<samueldr> spazzpp2: that makes them hard to distribute that way
<{^_^}> Channel nixos-19.09-small advanced to https://github.com/NixOS/nixpkgs/commit/f4ee84dfeb7 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-19.09-small)
[Leary] has joined #nixos
pie_ has joined #nixos
Lears has quit [Ping timeout: 268 seconds]
cinimod``` has joined #nixos
rndd has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @ttuegel opened pull request #69426 → Reduce closure size of Qt applications → https://git.io/JeG0b
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cinimod``` has quit [Ping timeout: 276 seconds]
<spazzpp2> has anyone here been at the datenspuren, too?
<clever> gchristensen: i'm using buildLayeredImage and am winding up with 3gig layers, got any tips on how to debug it, or should i just increase the layer count more?
<{^_^}> [nixpkgs] @ttuegel opened pull request #69427 → Reduce closure size of Qt applications (backport) → https://git.io/JeGEt
<exarkun> Figured out what is going on with my "ImportError: no module named site"
<exarkun> nixos python wrapper sets PYTHONHOME in the environment
<exarkun> If you try to run a _different_ python then it respects that PYTHONHOME and breaks
<exarkun> because it's not for that python
<hodapp> hey, slick. I was enough of an idiot to use a crappy SATA to USB adapter which then dropped the drive right off the bus in the middle of a nixos-install, but it appears to have resumed okay post-reboot
<clever> exarkun: ive run into related problems, if you `nix-shell -p nixops`, it will leak a PYTHONHOME
<exarkun> Seems like either the python wrapper shouldn't set PYTHONHOME or the python script wrapper should unset/reset it
<clever> exarkun: if you then `nix-build -A nixops` and ./result/bin/nixops, it will use the nixops from nix-shell, not from result
<clever> exarkun: that leads to you spending 6 hours trying to get your changes to print anything at all :P
zupo has joined #nixos
<exarkun> ouch
<hodapp> hopefully nothing was left in a partly-copied state in /nix/store, as I could only imagine that would cause some subtle problems
<exarkun> at least I figured this out after only about 3 hours
SyrupThinker has quit [Quit: WeeChat 2.6]
acarrico has quit [Ping timeout: 268 seconds]
<clever> hodapp: nix wont register a path as valid in db.sqlite until it has finished writing it
<clever> hodapp: but ext4 can commit things out of order, and i have seen files get truncated after nix flagged them as valid, after an improper shutdown
<clever> hodapp: nix-store --verify --check-contents, will validate everything
<hodapp> clever: cool, I will do that once it's off of USB and onto actual SATA
<hodapp> this wasn't so much an improper shutdown as an improper "drive fell off the bus but was still powered"
<clever> hodapp: could have similar effects though
<clever> since ext4 was interupted mid-write
<hodapp> yeah... I'll run the verify
<hodapp> how did nixos-install know to resume? did it refer to that DB?
<clever> hodapp: nixos-install is basically just a helper script, that runs nixos-rebuild in a chroot
<hodapp> oh!
<clever> hodapp: and nixos-rebuild is just a helper script that runs nix-build
<hodapp> oh noes... "builder for '/nix/store/b9anbli2ydqfvqkbhz3bq56g0sycd7i9-texlive-dviincl-1.00.drv' failed with exit code 2; last 4 log lines:"
noudle has joined #nixos
<exarkun> does https://github.com/NixOS/nixpkgs/issues/39356#issuecomment-521233050 mean I should upgrade and this PYTHONHOME junk will go away?
<Taneb> Is there a good way to do a git bisect run with nix, so it doesn't repeatedly try to build the same failing derivation? (assuming the derivation doesn't change every commit...)
cinimod``` has joined #nixos
<{^_^}> [nixpkgs] @mtrsk closed pull request #67960 → pastel: init at 0.5.3 → https://git.io/fjpD0
<tetdim> libnixexpr linked
<tetdim> ooooh shitttttt
<tetdim> its close
<samueldr> I don't know, since nix lost the ability to keep failures :/
<gchristensen> `nix log` will keep logs for failed derivations
<tetdim> Ericson2314, not sure why you gave up after you had done most of the work
<tetdim> well, with some mistakes
<Ericson2314> tetdim: I don't remember what go in the way
<tetdim> hrm
<Ericson2314> liek in my life
<Ericson2314> not in the code
<tetdim> maybe if the c++ gods are nice to me this will be finished by friday
<{^_^}> [nixpkgs] @bjpbakker opened pull request #69429 → nvidia: blacklist i2c_nvidia_gpu → https://git.io/JeGEn
<Ericson2314> I've done a bunch of work this year on the haskell compiler, and earlier this year wrapped up my big changes to meson itself, and before that was really busy with work, and before that did this
<Ericson2314> something like that
<Ericson2314> tetdim: I will make an offering to the C++ gods for you
<hodapp> hrmph. I appear to have corrupted files that are keeping nixos-install from proceeding
<Ericson2314> I pushed the bug you found ot my branch too, just for safe keeping
<Ericson2314> *bugfix
tertl3_ has joined #nixos
drakonis has quit [Read error: Connection reset by peer]
drakonis has joined #nixos
tertl3_ is now known as tertl3
<hodapp> but I don't know how to find out what files are the problem...
<tetdim> Ericson2314, https://snipboard.io/EacwPN.jpg
<tetdim> this is what the build looks like so far
<Ericson2314> nice!
<{^_^}> [nixpkgs] @B4dM4n opened pull request #69431 → teamspeak-client: fix stuck build → https://git.io/JeGEC
tokudan has quit [Quit: Dunno.]
tokudan has joined #nixos
mikky has quit [Ping timeout: 276 seconds]
justan0theruser is now known as justanotheruser
<hodapp> okay, I found the corrupted .tar.xz and am not sure what I can do about this...
kleisli has joined #nixos
<hodapp> can I easily retrieve a .tar.xz with a known filename & hash?
Guest7377 has joined #nixos
<clever> hodapp: run `nix-store --delete` on the storepath, what does it say?
<{^_^}> [nixops] @takeda closed pull request #1186 → [WIP]: Rewritting to use boto3 → https://git.io/fjD10
arjen-jonathan has quit [Ping timeout: 245 seconds]
<hodapp> clever: it's not my /nix/store, it's on the mounted drive I'm trying to install to
<clever> hodapp: nixos-enter
<clever> hodapp: or `nix-store --store local?root=/mnt --delete /nix/store/foo`
<hodapp> where foo is what, the full path name, e.g. wlxyg2c9clshfcpkyx9w3w25zcz1jrqf-econ-bst.tar.xz?
drakonis has quit [Ping timeout: 265 seconds]
<clever> hodapp: yep
werner29140 has joined #nixos
werner29140 has quit [Remote host closed the connection]
werner291 has joined #nixos
<hodapp> whaaa, nixos-enter says it's not a NixOS installation
<clever> hodapp: try the 2nd one then, with --store
<werner291> Quick question: Can I reinstall a package from scratch? (Reset state?)
<hodapp> clever: cool, I think it's happily building now
psyanticy has quit [Quit: Connection closed for inactivity]
kleisli has quit [Ping timeout: 265 seconds]
Guest7377 has quit [Ping timeout: 268 seconds]
Ilya_G has quit [Remote host closed the connection]
Guest7377 has joined #nixos
<ivan> werner291: package installation with nix doesn't touch any system state
<ivan> well, other than the nix database and /nix/store
<ivan> so there's no reason to do that unless some of /nix/store is corrupt
<tetdim> Ericson2314, testing out a full build
<tetdim> lets see if it work :V
eraserhd has quit [Ping timeout: 246 seconds]
eraserhd2 has joined #nixos
<tetdim> hahaaaaa got a FAT linking error
kleisli has joined #nixos
jabranham has joined #nixos
<{^_^}> [nixpkgs] @Ma27 pushed to master « prometheus-wireguard-exporter: 3.0.1 -> 3.1.0 »: https://git.io/JeGEV
<jabranham> ,locate libX11.so.6
<{^_^}> Found in packages: xlibs.libX11
<jabranham> ,locate libGLU.so.1
<{^_^}> Found in packages: libGLU, libGLU_combined, xorg_sys_opengl
<jabranham> ,locate libGL.so.1
<{^_^}> Found in packages: libglvnd, primusLib, libGLU_combined, xorg_sys_opengl
<jabranham> ,locate libstdc++.so.6
<{^_^}> Found in packages: robo3t, gcc-unwrapped.lib
<jabranham> ,locate libz.so.1
<{^_^}> Found in packages: gap, zlib, gap-full, scilab-bin, gap-minimal, jetbrains.clion
<jabranham> ,locate libuuid.so.1
<{^_^}> Found in packages: libuuid, utillinux
<werner291> ivan: Aha, interesting. I'm trying to reset the state of matrix-synapse. Tried deleting the database, but now it's complaining about a missing db. Doesn't nixos-rebuild run some initialization scripts?
<jabranham> ,locate libstdc++.so.6\
<jabranham> ,locate libstdc++.so.6
growpotkin has joined #nixos
<{^_^}> Found in packages: robo3t, gcc-unwrapped.lib
<{^_^}> Couldn't find in any packages
<infinisil> jabranham: I recommend using #bottest or PMing the bot for lots of such queries
<jabranham> infinisil: thanks, will do in the future
Ariakenom has quit [Quit: Leaving]
<ivan> werner291: system configuration can include modules which include systemd services that do things like initial setup, but there's no standard way to blow away all the state for a thing
<werner291> Clear.
gila has joined #nixos
<{^_^}> [nixpkgs] @Ma27 pushed to release-19.09 « prometheus-wireguard-exporter: 3.0.1 -> 3.1.0 »: https://git.io/JeGEX
joehh has quit [Ping timeout: 245 seconds]
jabranham has quit [Quit: ERC (IRC client for Emacs 27.0.50)]
<tetdim> Ericson2314, i have good news and bad news
<tetdim> the good news
<tetdim> it compiles
<tetdim> the bad news
<gila> Im trying to compile a package on Nixos (19.x but so desperate now on unstable) but I keep getting libtool error unrecognised option: '-f'. Im using the autoreconfHook and looked at other distro's and they dont seem to do any particular magic either: https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=isa-l
<tokudan> gila, can you show the derivation that you're trying to build?
<tetdim> Ericson2314, clever, worldofpeace, https://snipboard.io/FBMc4t.jpg TIME
<{^_^}> Channel nixpkgs-19.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/f4ee84dfeb7 (from 4 hours ago, history: https://channels.nix.gsc.io/nixpkgs-19.09-darwin)
<worldofpeace> tetdim: 😲
<gchristensen> tetdim: what is this on?
<tetdim> arch
<tetdim> manjaro
<gchristensen> why'd you compile it yourself?
<tetdim> gchristensen, because devwork
<gchristensen> ah
<tetdim> now just need to set up post installation scripts for nixbuild n such
<tetdim> also core pkgs is broken atm
<tetdim> but it compiles
<tetdim> :^)
jtojnar has joined #nixos
<{^_^}> [nixpkgs] @wucke13 opened pull request #69433 → solo-python: init at 0.0.15 → https://git.io/JeGEF
arjen-jonathan has joined #nixos
<tokudan> gila, I cannot figure out what libtool -f is supposed to do, so probably the program was written for a different compiler?
joshuagl has quit [Quit: Textual IRC Client: www.textualapp.com]
chloekek has quit [Ping timeout: 276 seconds]
aveltras has quit [Quit: Connection closed for inactivity]
<gila> tokudan different as in older version of gcc?
<tokudan> maybe for an intel specific compiler? not sure tbh
<tokudan> though gcc is listed as supported
<yorick> tokudan: libtool --force
<yorick> oh, that's libtoolize
drakonis has joined #nixos
<jtojnar> Weird, if I run `nix-shell -p nodejs` in `direnv` directory, I just get `bash: /nix/store/kgx47wbbfkk8kylk2w5a6f5rbw4ymg5m-shell/varmap-v1: No such file or directory`
<gchristensen> a bug with lorri
<gchristensen> I think if you upgrade lorri it will be fixed
<tokudan> gila, sorry, no idea what exactly is going on there. apparently the configure script creates a libtool and that version somehow gets called with -f, though I cannot figure out what exactly is causing that
<jtojnar> gchristensen++
<{^_^}> gchristensen's karma got increased to 152
<gchristensen> :)
<jtojnar> thanks, recompiling
<gila> tokudan yeah wierd indeed .. thanks for have a look though
Soft[m] has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace opened pull request #69434 → dbus: set datadir again → https://git.io/JeGul
sondr3 has quit [Quit: WeeChat 2.4]
<worldofpeace> Jan Tojnar: turns out we did subtly break dbus #69434 🤣
<{^_^}> https://github.com/NixOS/nixpkgs/pull/69434 (by worldofpeace, 3 minutes ago, open): dbus: set datadir again
<worldofpeace> I should probably dedicate some time to actually have a dbus nixos test
growpotk- has joined #nixos
<jtojnar> worldofpeace: hmm, perhaps that is what also caused the tracker miner services not being find
<worldofpeace> !! that's correct
<worldofpeace> I think my brain got tripped up on the wrong feeling of setting datadir to etc :D
<{^_^}> [nixpkgs] @esclear opened pull request #69435 → Cura update → https://git.io/JeGu2
Soo_Slow has joined #nixos
iqubic has joined #nixos
o1lo01ol1o has joined #nixos
justanotheruser has quit [Ping timeout: 240 seconds]
glasserc has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @worldofpeace merged pull request #68921 → pastel: init at 0.5.3 → https://git.io/JeGuD
<{^_^}> [nixpkgs] @worldofpeace pushed 3 commits to master: https://git.io/JeGuy
* ivan locally reverts the revert of the systemd interface bump to avoid rebooting
glasserc has joined #nixos
domogled has quit [Quit: domogled]
<ivan> I don't really get https://github.com/NixOS/nixpkgs/pull/68906 - wouldn't they want to reboot for a new kernel anyway
<{^_^}> #68906 (by edolstra, 1 week ago, merged): Revert systemd interface version to 2
<cransom> they could be in the same kernel before/after.
Odin- is now known as aleph-
o1lo01ol1o has quit [Remote host closed the connection]
asymptotically has quit [Quit: Leaving]
Syrup has joined #nixos
<gchristensen> or maybe they don't want to reboot for the new kernel anyway
arjen-jonathan has quit [Ping timeout: 276 seconds]
<emily> not sure catering to insecure decisions is the right approach
<gchristensen> sure
<gchristensen> but also, this is a thing that is supposed to work (and does work)
<samueldr> and the kernel is irrelevant, it's about systemd not wanting to reexec itself
<{^_^}> [nixpkgs] @tshaynik opened pull request #69436 → nixos/nextcloud: add Strict-Transport-Security → https://git.io/JeGuF
<cransom> also the 19.03 to 19.09, it's just a set of tags. they are just updating to the next git release and have no care about what version it has been labeled.
Syrup has quit [Quit: WeeChat 2.6]
alex`` has quit [Ping timeout: 240 seconds]
alex`` has joined #nixos
iqubic has quit [Ping timeout: 240 seconds]
spazzpp2 has quit [Quit: Leaving]
uranther has joined #nixos
<{^_^}> [nixpkgs] @matthewbauer merged pull request #69111 → Fix libcanberra-gtk{2,3} on Darwin → https://git.io/Je308
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/JeGzY
growpotk- has quit [Ping timeout: 268 seconds]
Jackneill has joined #nixos
o1lo01ol1o has joined #nixos
<tetdim> emily, thats a cowards opinion who needs security just ship it :^)
hmpffff has quit [Quit: nchrrrr…]
waleee-cl has quit [Quit: Connection closed for inactivity]
o1lo01ol1o has quit [Remote host closed the connection]
Jackneill has quit [Remote host closed the connection]
Izorkin has quit [Ping timeout: 276 seconds]
o1lo01ol1o has joined #nixos
drakonis has quit [Ping timeout: 276 seconds]
civodul has quit [Quit: ERC (IRC client for Emacs 26.3)]
kleisli has quit [Ping timeout: 245 seconds]
nixnothing has quit [Ping timeout: 240 seconds]
drakonis has joined #nixos
nixnothing has joined #nixos
__monty__ has quit [Quit: leaving]
Guest7377 has quit [Ping timeout: 276 seconds]
<{^_^}> [nixpkgs] @Infinisil merged pull request #69431 → teamspeak-client: fix stuck build → https://git.io/JeGEC
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to master: https://git.io/JeGzD
drakonis has quit [Ping timeout: 240 seconds]
jgeerds has quit [Ping timeout: 240 seconds]
<wucke13> exit
gila has quit [Quit: My Mac Pro has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @dawidsowa opened pull request #69437 → calibre: add feedparser to dependencies → https://git.io/JeGzH
<{^_^}> [nixpkgs] @hauleth opened pull request #69438 → Update Erlang OTP to 22.1 → https://git.io/JeGz5
mjsir911 has quit [Quit: ZNC 1.7.3 - https://znc.in]
mjsir911 has joined #nixos
ilyagotfryd has joined #nixos
mexisme has quit [Ping timeout: 245 seconds]
ilyagotfryd has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @veprbl opened pull request #69439 → [WIP] Merge master into staging → https://git.io/JeGzb
Okinan has quit [Quit: Konversation terminated!]
emacsomancer has joined #nixos
ng0 has quit [Quit: Alexa, when is the end of world?]
emacsomancer has quit [Read error: Connection reset by peer]
erasmas has quit [Quit: leaving]
CrazyMind102 has joined #nixos
CrazyMind102 has quit [Quit: Good bye!]
sigmundv_ has joined #nixos
CrazyMind102 has joined #nixos
CrazyMind102 has quit [Quit: Good bye!]
thc202 has quit [Ping timeout: 246 seconds]
CrazyMind102 has joined #nixos
dermetfan has quit [Ping timeout: 240 seconds]
nixy6 is now known as nixy
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mbrgm_ has joined #nixos
mbrgm has quit [Ping timeout: 276 seconds]
mbrgm_ is now known as mbrgm
<{^_^}> Channel nixos-19.09-small advanced to https://github.com/NixOS/nixpkgs/commit/78d05675a41 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-19.09-small)
unkn has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
iqubic has joined #nixos
<iqubic> I'm trying to run a nix-shell, and I'm getting this error: "error: configuration setting 'max-jobs' should be 'auto' or an integer"
<iqubic> Anyone know what's up?
o1lo01ol1o has joined #nixos
<{^_^}> [nixpkgs] @veprbl pushed 163 commits to staging-next: https://git.io/JeGgE
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
emacsomancer has joined #nixos
<clever> iqubic: `nix show-config | grep max-jobs` ?
oida has quit [Remote host closed the connection]
oida has joined #nixos
Shados has quit [Quit: Shados]
<{^_^}> [nixpkgs] @veprbl closed pull request #69439 → [WIP] Merge master into staging-next → https://git.io/JeGzb
Soo_Slow has quit [Remote host closed the connection]
Shados has joined #nixos
<iqubic> clever: `max-jobs = 4`
shibboleth has joined #nixos
<{^_^}> [nixpkgs] @veprbl pushed 164 commits to staging: https://git.io/JeGgg
xantoz has quit [Ping timeout: 276 seconds]
Izorkin has joined #nixos
<infinisil> iqubic: `cat /etc/nix/nix.conf`?
<infinisil> (well really only the max-jobs line)
<infinisil> Also check ~/.config/nix/nix.conf
<iqubic> /etc/nix/nix.conf states: max-jobs = 4
<iqubic> And ~/.config/nix/nix.conf doesn't exist.
<infinisil> Okay so what nix-shell command are you running exactly?
<iqubic> I feel silly
<iqubic> I was running nix-shell with --run, but I forgot quotes around the command to be run inside the environment.
<iqubic> Issue solved.
<niso> the initial nixops deployment to hetzner fails due to "`GLIBC_2.28' not found"? (due to nixkickstart/libudev) by chance someone was also running into this problem?
philr has joined #nixos
wildtrees has quit [Quit: Leaving]
CrazyMind102 has quit [Read error: Connection reset by peer]