andi- changed the topic of #nixos to: NixOS stable: 19.09 \o/ https://discourse.nixos.org/t/nixos-19-09-release/4306/2 || https://nixos.org || Latest NixOS: https://nixos.org/nixos/download.html || Latest Nix: https://nixos.org/nix/download.html || Logs: https://logs.nix.samueldr.com/nixos/ || #nixos-dev, #nix-darwin, #nixos-aarch64, #nixos-chat, #nixcon ... nixcon videos: https://tinyurl.com/nixcon2019 || For best support,
zeta_0 has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
jgeerds__ has quit [Ping timeout: 265 seconds]
cap_sensitive has joined #nixos
o1lo01ol1o has quit [Ping timeout: 260 seconds]
janneke has quit [Ping timeout: 260 seconds]
<cap_sensitive> I'm running nixos-unstable on a Raspberry Pi 3. Initially I used linuxPackages_latest and everything works. If I switch to linuxPackages_rpi3, my pi won't boot. How can I use the rpi-specific kernel then?
<{^_^}> Channel nixos-19.09-small advanced to https://github.com/NixOS/nixpkgs/commit/d8d882e9978 (from 5 hours ago, history: https://channels.nix.gsc.io/nixos-19.09-small)
<samueldr> linuxPackages_rpi3 is the kernel from the raspberry pi foundation
mbrgm_ has joined #nixos
<cap_sensitive> samueldr: So it should be OK to use it (?)
mbrgm has quit [Ping timeout: 265 seconds]
mbrgm_ is now known as mbrgm
<cap_sensitive> I guess I need to change the bootloader setting
<samueldr> if you want to use the raspberry pi foundation kernel, rather than the mainline linux one
<samueldr> it depends on your needs
<cap_sensitive> samueldr: Yes I want to do that, because the mainline one lacks the /dev/gpiomem device and some other features
<samueldr> right
<cap_sensitive> But the problem is, if I just naively switch to that kernel, my Pi won't even boot
<samueldr> do you have serial access?
<samueldr> it may reveal what's happening
<cap_sensitive> No.
<cap_sensitive> My guess would be, the RPi foundation kernel requires a different bootloader
<{^_^}> [nixpkgs] @NeQuissimus pushed to staging « git: 2.24.1 -> 2.25.0 »: https://git.io/JvJg5
<samueldr> I believe it's supposed to work fine with u-boot, though haven't tested it personally
drakonis has quit [Ping timeout: 245 seconds]
<cap_sensitive> I see. I'm not using uboot though. I have boot.loader.grub.enable = false and boot.loader.generic-extlinux-compatible.enable = true
<cap_sensitive> Those 2 lines are coming from NixOS on ARM wiki
<samueldr> that's how u-boot is configured with NixOS's generic aarch64 image :)
<samueldr> we are using u-boot's ability to parse the extlinux config file
<cap_sensitive> Ah ok.
<samueldr> if you peek in the FIRMWARE partition (if it's an image from 19.09+) you should see u-boot in there
<cap_sensitive> Sorry, still very new to nix
<samueldr> no worries, that's even more a specificity to nixos on arm
sigmundv has quit [Ping timeout: 265 seconds]
fusion809 has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @NeQuissimus pushed to master « linux_latest-libre: 17192 -> 17198 »: https://git.io/JvJgh
<cap_sensitive> Now I really want a serial cable
<cap_sensitive> Is there any way else to debug this?
fusion809 has joined #nixos
<cap_sensitive> According to the same NixOS on ARM wiki, if I'm not using Pi 1, I should stick to the mainline kernel.
<cap_sensitive> I'm wondering now if I can compile the rpi-foundation kernel modules in the mainline kernel
<{^_^}> [nixpkgs] @marsam merged pull request #77640 → spotifyd: 0.2.20 -> 0.2.23 → https://git.io/JvJ4y
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JvJ2T
Izorkin has quit [Quit: ZNC 1.7.5 - https://znc.in]
lovesegfault has joined #nixos
Izorkin has joined #nixos
<{^_^}> [nixpkgs] @jonringer opened pull request #77651 → onnxruntime: 1.0.0 -> 1.1.0 → https://git.io/JvJ2q
thc202 has quit [Ping timeout: 245 seconds]
zeta_0 has quit [Quit: ']
takeda has quit [Ping timeout: 268 seconds]
o1lo01ol1o has joined #nixos
ng0 has quit [Quit: leaving]
o1lo01ol1o has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @jonringer closed pull request #46909 → Doc: Minor fix for python virtualenv example in nix-shell → https://git.io/fAHq8
erictapen has joined #nixos
aveltras has quit [Quit: Connection closed for inactivity]
tilcreator has quit [Ping timeout: 260 seconds]
lovesegfault has quit [Quit: WeeChat 2.7]
<{^_^}> [nixpkgs] @NeQuissimus pushed to master « linux: 5.5-rc5 -> 5.5-rc6 »: https://git.io/JvJ2i
halfbit has quit [Ping timeout: 245 seconds]
day|flip has joined #nixos
<day|flip> is there a reason that I need to rebuild the kernel? I never touch anything for it to be rebuilt.
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
nadley has quit [Read error: Connection reset by peer]
nadley has joined #nixos
turona has quit [Ping timeout: 246 seconds]
<evanjs> day|flip: what channel are you on?
<day|flip> nixos
<gchristensen> can you paste in to a pastebin, the output from nix-info -m ?
<day|flip> running a update
turona has joined #nixos
Guest92090 has quit [Ping timeout: 245 seconds]
<qyliss> There seems to be some issue with nixos-19.09 today that's making everybody rebuild their kernels.
<day|flip> i just find it odd. for my desktop i don't mind to much. just 15min. 2700x... but my laptop going take a hour. with blowing a fan at it.
<qyliss> Yeah, it's not supposed to happen
<gchristensen> this is not normal
<qyliss> But we're not sure why it's happening.
<gchristensen> can you paste a bunch of the logs from the build? especially the top from when before nix even started building
<day|flip> both computer are compiling the kernel right now. you want me to stop that?
vld has joined #nixos
<qyliss> Shell: maybe? But the channel shouldn't have advanced unless a kernel package was built.
<Shell> oh yeah, hmm
<samueldr> are you using linuxPackages_latest?
<day|flip> yes
<day|flip> and yes
<samueldr> that seems to match with what I'm observing; it looks like `tested` doesn't depend on `linuxPackages_latest`
tilcreator has joined #nixos
lovesegfault has joined #nixos
<day|flip> Desktop is almost done.
vld has quit [Ping timeout: 268 seconds]
<day|flip> i kind of wish the servies restart was faster
<day|flip> I just feel sorry for my laptop
<{^_^}> Channel nixpkgs-19.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/d8d882e9978 (from 6 hours ago, history: https://channels.nix.gsc.io/nixpkgs-19.09-darwin)
<{^_^}> [nixpkgs] @nh2 merged pull request #77142 → srtp: 2.2.0 -> 2.3.0 → https://git.io/JejDr
<{^_^}> [nixpkgs] @nh2 pushed 2 commits to staging: https://git.io/JvJaG
<{^_^}> [nixpkgs] @NeQuissimus opened pull request #77652 → [DO NOT MERGE] zfs: Unstable 0.8.3 patchset → https://git.io/JvJaW
<colemickens> conspiracy theory time
Guest92090 has joined #nixos
day|flip has quit [Quit: day|flip]
takeda has joined #nixos
bhipple has joined #nixos
acarrico has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/JvJa6
halfbit has joined #nixos
erictapen has quit [Ping timeout: 260 seconds]
reallymemorable has joined #nixos
day|flip has joined #nixos
<day|flip> will. im back. and notice I don't have sound anymore.
<day|flip> something up with pulseaudio
bfrog has joined #nixos
halfbit has quit [Ping timeout: 245 seconds]
halfbit has joined #nixos
takeda has quit [Ping timeout: 265 seconds]
Straa has quit [Ping timeout: 268 seconds]
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/60d72d12dea (from 7 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
alexherbo26 has joined #nixos
alex`` has quit [Ping timeout: 265 seconds]
alexherbo2 has quit [Ping timeout: 268 seconds]
alexherbo26 is now known as alexherbo2
alex`` has joined #nixos
<{^_^}> [nixpkgs] @jonringer opened pull request #77654 → samtools: 1.9 -> 1.10 → https://git.io/JvJVl
<day|flip> i don't know what going on with pulseaudio. but. i opts for a quick switch to sndio
takeda has joined #nixos
Straa has joined #nixos
<pie_[bnc]> how the HECK do i stop pulseaudio from restarting when i try to stop it
<pie_[bnc]> its using socket activation
<pie_[bnc]> i got this to work once somehow
<pie_[bnc]> oh huh funny, im not the only one with sound issues :)
<day|flip> my pulseaudio will not even start
<day|flip> i wonder if this got anything to do with the kernel getting recompile?
wildtrees has quit [Quit: Leaving]
takeda has quit [Ping timeout: 240 seconds]
Rusty1 has joined #nixos
<{^_^}> [nixpkgs] @grahamc closed pull request #77625 → way-cooler: Remove → https://git.io/JvJsE
<mjsir911> infinisil: regarding rfc0042, do you have any suggestions for allowing types of settings to be specified in the configuration file?
<mjsir911> Use case: I have an application who's configuration file differentiates between bytes & strings. I can have nix strings default to one of those, but the other has to be specified explicity somehow...
nek0 has quit [Remote host closed the connection]
<mjsir911> More info here: #72296
<{^_^}> https://github.com/NixOS/nixpkgs/pull/72296 (by mjsir911, 10 weeks ago, open): [WIP] services.softether.vpnserver.settings
<infinisil> I haven't really thought of a good way to do that no
acarrico has joined #nixos
<infinisil> Which is why the rfc is only for configuration formats that have a clear mapping to nix
takeda has joined #nixos
<infinisil> You could probably do something like `{ byte-setting = { _type = "bytes"; _value = "..."; }; }` and then handle this specially in the generator
<mjsir911> Yeah that is currently what I'm doing with `AuthNtLmSecureHash = {type="byte"; value="aaaaaaaaaaaaaaaaaaaaaa==";};` minus the leading underscores, but it's reassuring that you came up with the same thing
* colemickens had to learn/use filterdiff, but he got libpng patched inside freeimage.
<colemickens> aka imv builds on aarch64 now!
<mjsir911> Thank you infinisil!
srid has quit [Quit: Connection closed for inactivity]
takeda has quit [Ping timeout: 268 seconds]
drakonis has joined #nixos
h0m1 has quit [Ping timeout: 245 seconds]
kvda has joined #nixos
tomberek has joined #nixos
h0m1 has joined #nixos
viric has quit [Ping timeout: 260 seconds]
<pie_[bnc]> apparently you can just stop the socket
<{^_^}> [nixpkgs] @colemickens opened pull request #77655 → imagefree: (embedded libpng): apng support → https://git.io/JvJVQ
<qyliss> it'll start again as soon as something interacts with the socket
<qyliss> but yes
<pie_[bnc]> oh wow i just accidentally found out only my left speaker is absolutely messed up
<pie_[bnc]> while plugging stuff around in JACK
<gchristensen> pie_[bnc]: I think if yo ustop the socket, it deletes the socket from disk
<gchristensen> qyliss: I, mean ^
<kalbasit> I'm trying to setup Unifi Controller on my Rpi, but I'm doing it through Nixops from my x86_64 nixos machine. I did setup nixpkgs.system and it's getting correctly installed, but the mongo package taking from another nixpkgs is not getting the correct system. What am I doing wrong? https://www.irccloud.com/pastebin/bZTh16yq/configuration.nix
<day|flip> pie_[bnc]: im keeping thing simple and using sndio. sndiod simi config?: sndiod -f rsnd/DAC -e s32le -r 48000
<qyliss> gchristensen: it's socket-activated though
<qyliss> apparently
<gchristensen> I know but the .socket unit creates the socket file on start, and deletes it on stop, and it only starts the target service on open() of the socket file as long as the socket file exists
<gchristensen> no?
<qyliss> Oh, right
<qyliss> I misread and didn't see that pie_[bnc] stopped the socket
<gchristensen> ah :)
<qyliss> I thought they meant the service
<qyliss> I really should stop reading IRC this late at night
<gchristensen> you: 02:27 probably, me: 21:27: same
<qyliss> lol
<pie_[bnc]> day|flip: i have no idea sorry :V
<pie_[bnc]> day|flip: i know nothing about sndio
<day|flip> it made by openbsd
<day|flip> think of it like a lighter version of pusleaudio
LarryTheCow has joined #nixos
<day|flip> used aplay -l to find out what card your using. card X will be rsnd/X
<LarryTheCow> Hey, I wrote a small script and I want to add it to my bin path. What's the best way I can make it available from $PATH?
<pie_[bnc]> LarryTheCow: put it in your systempackages or use nix-env -i
<pie_[bnc]> or put another directory in your PATH for scripts, theres probably a few other options, but thats what i can think of off the top of my head
johnny101 has joined #nixos
<pie_[bnc]> there's also home-manager
<LarryTheCow> Oh wow. I didn't think it would be that simple. nix-env -i worked
<pie_[bnc]> so what you want depends on how heavily you use configuration.nix
<pie_[bnc]> :D nice
<LarryTheCow> Thanks a lot
<pie_[bnc]> its nice when things just work
<pie_[bnc]> sadly nixos isnt so magic yet that things always just magically do what you want x3
<pie_[bnc]> have fun
<LarryTheCow> nix is magic
chenhq2005 has joined #nixos
<nornagon> Has anyone had success installing Ghost on nixos? there doesn't seem to be a nixpkgs entry for it
<gchristensen> github online schema change?
<nornagon> ghost.org :)
<nornagon> https://github.com/NixOS/nixpkgs/pull/24936 looks like someone tried ages ago but it was too much node
<{^_^}> #24936 (by b123400, 2 years ago, closed): ghost: init at 0.11.9
viric has joined #nixos
<nornagon> it seems really hard in general to add npm-heavy stuff to nixpkgs :/
kvda has quit [Ping timeout: 265 seconds]
<pie_[bnc]> so yeah apparently getting JACK to work is one of the times nixos isnt magic xD
<{^_^}> [nixpkgs] @peterhoeg merged pull request #60981 → usb_modeswitch: fixes → https://git.io/JvJwu
<{^_^}> [nixpkgs] @peterhoeg pushed 2 commits to master: https://git.io/JvJwz
<pie_[bnc]> nornagon: its a bit of a cop-out but have you looked at escape hatche slike flatpak and whatnot
kvda has joined #nixos
<pie_[bnc]> if you just want to get it to work
Neo-- has quit [Ping timeout: 260 seconds]
<{^_^}> Channel nixos-19.09 advanced to https://github.com/NixOS/nixpkgs/commit/eb65d1dae62 (from 16 hours ago, history: https://channels.nix.gsc.io/nixos-19.09)
ddellacosta has quit [Ping timeout: 265 seconds]
kvda has quit [Ping timeout: 268 seconds]
vld has joined #nixos
kvda has joined #nixos
<infinisil> pie_[bnc]: Does the jack module not work?
vld has quit [Ping timeout: 240 seconds]
<pie_[bnc]> infinisil: suddenly unsure
<pie_[bnc]> infinisil: maybe its just the pulse interop thats problematic
<pie_[bnc]> i didnt seriously try to figure it out yet
<pie_[bnc]> ok lets say it this way, its not just a simple matter of toggling the jack module on
<pie_[bnc]> and the only thing is an ?outdated? wiki page and at least several things seem like they can go wrong
<infinisil> Maybe you can ask the author here: https://github.com/NixOS/nixpkgs/pull/57712
<{^_^}> #57712 (by gnidorah, 43 weeks ago, merged): jack module: init
<nornagon> pie_[bnc]: yeah someone's maintaining a docker image for ghost, maybe i could use that
halfbit has quit [Ping timeout: 245 seconds]
bhipple has quit [Ping timeout: 260 seconds]
<kalbasit> is there a way to change the directory where Nix is building? I'm not sure why but my rpi can't even extract nixpkgs archive due to space even though I still have 40G left
<pie_[bnc]> kalbasit: i think you can set TMPDIR or something like that
<kalbasit> pie_[bnc]: I'll try
<pie_[bnc]> kalbasit: this is one of those errors you can google and should end up with results
<pie_[bnc]> (or someone else will just say exactly what needs to be done)
<kalbasit> pie_[bnc]: was not able to find something, perhaps I did not look deep enough
<infinisil> Yeah it's TMPDIR, see https://nixos.org/nix/manual/#sec-common-env
<kalbasit> yep, it worked. Thanks!
mexisme has quit [Ping timeout: 258 seconds]
rogue_koder_ has quit [Ping timeout: 260 seconds]
rogue_koder_ has joined #nixos
bhipple has joined #nixos
<jared-w> So far getting haskell.nix to work with a cache so I don't rebuild the entire world is like pulling teeth
lord| has quit [Quit: https://i.imgur.com/xacQ09F.mp4]
felixfoertsch23 has joined #nixos
selfsymmetric-mu has joined #nixos
<selfsymmetric-mu> ,locate bin ulimit
<{^_^}> Found in packages: toybox
lord| has joined #nixos
<selfsymmetric-mu> What's the right way to read and set file descriptor limits in NixOS?
felixfoertsch has quit [Ping timeout: 260 seconds]
<gchristensen> see security.pam.loginLimits
LarryTheCow has quit [Ping timeout: 260 seconds]
<selfsymmetric-mu> What about reading?
<gchristensen> sysctl -a?
das_j has quit [Remote host closed the connection]
Scriptkiddi has quit [Remote host closed the connection]
das_j has joined #nixos
Scriptkiddi has joined #nixos
buckley310 has quit [Quit: Ping timeout (120 seconds)]
buckley310 has joined #nixos
xO1 has quit [Ping timeout: 258 seconds]
ddellacosta has joined #nixos
ryantm has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/7184df6beb8 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
spacefrogg has quit [Quit: Gone.]
aw has quit [Quit: Quitting.]
aw has joined #nixos
spacefrogg has joined #nixos
Supersonic has quit [Disconnected by services]
Supersonic112 has joined #nixos
Supersonic112 is now known as Supersonic
<{^_^}> [nixpkgs] @kazcw opened pull request #77656 → ocaml-lens: () -> 1.2.3 → https://git.io/JvJo6
felixfoertsch23 has quit [Ping timeout: 265 seconds]
<selfsymmetric-mu> gchristensen: I set hard nofile to 1048577 in `security.pam.loginLimits` but that number did not appear in `sysctl -a`
<selfsymmetric-mu> Is there any way to get a `ulimit` binary in NixOS?
<selfsymmetric-mu> Wait I might have a problem with my PATH, I found my `ulimit`.
<selfsymmetric-mu> Unfortunately after setting `security.pam.loginLimits` to `[{domain = "*"; type = "hard"; item = "nofile"; value = "1048576";}]`, `ulimit -Hn` still reports `524288`. So that does not work.
<selfsymmetric-mu> I'm going to try and put DefaultLimitNOFILE=1048576 in my systemd.extraConfig and reboot. See you in a bit.
selfsymmetric-mu has quit [Remote host closed the connection]
[Leary] has joined #nixos
Lears has quit [Read error: No route to host]
selfsymmetric-mu has joined #nixos
<selfsymmetric-mu> That did it. Now to see if it helps Proton to stop crashing so much.
<{^_^}> [nixpkgs] @jtojnar merged pull request #73548 → pavucontrol, waybar: Use system style → https://git.io/JeoSM
<{^_^}> [nixpkgs] @jtojnar pushed 3 commits to master: https://git.io/JvJKv
kvda has quit [Ping timeout: 258 seconds]
kvda has joined #nixos
ilikeheaps has quit [Ping timeout: 240 seconds]
ilikeheaps has joined #nixos
mac10688 has joined #nixos
chagra_ has joined #nixos
kvda has quit [Ping timeout: 265 seconds]
kvda has joined #nixos
chagra has quit [Ping timeout: 268 seconds]
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/f9c81b5c148 (from 5 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
growpotkin has quit [Quit: ZNC 1.7.5 - https://znc.in]
growpotkin has joined #nixos
<selfsymmetric-mu> Well, I managed to lose my game before the game crashed. So far so good, unfortunately with the nature of these things, and the poor logging available, I won't know for a while whether or not I just got lucky this time.
growpotkin has quit [Quit: ZNC 1.7.5 - https://znc.in]
growpotkin has joined #nixos
endformationage has quit [Quit: WeeChat 2.6]
Sigma has quit [Ping timeout: 245 seconds]
Supersonic112 has joined #nixos
Supersonic has quit [Disconnected by services]
Supersonic112 is now known as Supersonic
felixfoertsch has joined #nixos
vld has joined #nixos
<nornagon> npm2nix seems to be deprecated, is node2nix the new hotness? or is there something else?
felixfoertsch has quit [Ping timeout: 260 seconds]
vld has quit [Ping timeout: 260 seconds]
Sigma has joined #nixos
felixfoertsch has joined #nixos
<{^_^}> [nix] @bhipple opened pull request #3318 → doc: touchup release notes for 2.3 → https://git.io/JvJKK
chenhq2005 has quit [Ping timeout: 265 seconds]
ddellacosta has quit [Ping timeout: 260 seconds]
virus_dave has joined #nixos
virus_dave has quit [Client Quit]
<wedens[m]> node2nix/yarn2nix
cyraxjoe has joined #nixos
MightyJoe has quit [Ping timeout: 268 seconds]
kvda has quit [Ping timeout: 240 seconds]
kvda has joined #nixos
<{^_^}> [nixpkgs] @bhipple opened pull request #77657 → blitz: remove package → https://git.io/JvJKd
jose_danger has joined #nixos
fusion809 has quit [Read error: Connection reset by peer]
fusion809 has joined #nixos
jose_danger has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @bhipple opened pull request #77658 → boost: remove versions 1.62, 1.63, and 1.64 → https://git.io/JvJ6k
Rusty1 has quit [Quit: Konversation terminated!]
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bvdw has quit [Read error: Connection reset by peer]
bvdw has joined #nixos
leothrix has quit [Quit: ZNC 1.7.5 - https://znc.in]
leothrix has joined #nixos
leothrix has quit [Ping timeout: 240 seconds]
mac10688 has quit [Ping timeout: 258 seconds]
bhipple has quit [Remote host closed the connection]
<jared-w> nornagon: node2nix, yarn2nix, and pnpm2nix
<jared-w> (in order of popularity). There's two node2nixes however, like that isn't confusing
leothrix has joined #nixos
drakonis has quit [Quit: WeeChat 2.6]
orivej has quit [Ping timeout: 268 seconds]
bgamari_ has quit [Ping timeout: 268 seconds]
leothrix has quit [Ping timeout: 258 seconds]
dansho has quit [Ping timeout: 240 seconds]
infinee has joined #nixos
<{^_^}> [nixpkgs] @softinio opened pull request #77659 → Updated vim packages → https://git.io/JvJ67
leothrix has joined #nixos
<wedens[m]> and two yarn2nix :D
yobj has quit [Remote host closed the connection]
CMCDragonkai has joined #nixos
dansho has joined #nixos
Kritnich has quit [Quit: Bye bye.]
<CMCDragonkai> What to do about inetutils and iputils conflict?
<CMCDragonkai> I want ot use the ping from iputils
Kritnich has joined #nixos
<CMCDragonkai> but i want to use the traceroute and telnet from inetutils
<CMCDragonkai> and is nettools deprecated?
yobj has joined #nixos
CMCDragonkai has quit [Remote host closed the connection]
mq32 has left #nixos ["Leaving"]
<nornagon> jared-w: 🤦two node2nixes? yikes! which is the good one?
CMCDragonkai has joined #nixos
ToxicFrog has quit [Ping timeout: 258 seconds]
chagra_ has quit [Ping timeout: 268 seconds]
ToxicFrog has joined #nixos
palo1 has joined #nixos
infinee has quit [Quit: WeeChat 2.6]
<DigitalKiwi> node2nix
palo has quit [Ping timeout: 258 seconds]
palo1 is now known as palo
lorimer has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @bjornfor merged pull request #77647 → pencil: 3.0.4 -> 3.1.0 → https://git.io/JvJ0B
<{^_^}> [nixpkgs] @bjornfor pushed commit from @Flakebi to master « pencil: 3.0.4 -> 3.1.0 »: https://git.io/JvJiz
<pie_[bnc]> this might be interesting for nixpkgs work and channel-like stuff and idk https://github.blog/2020-01-13-highlights-from-git-2-25/
<pie_[bnc]> partial cloes
<pie_[bnc]> clones
* pie_[bnc] hasnt actually read the article yet
ng0 has joined #nixos
ng0 has joined #nixos
ng0 has quit [Changing host]
vld has joined #nixos
ng0 has quit [Client Quit]
ng0 has joined #nixos
ng0 has joined #nixos
nek0 has joined #nixos
Pasha[m] has joined #nixos
vld has quit [Ping timeout: 265 seconds]
cfricke has joined #nixos
ToxicFrog` has joined #nixos
ToxicFrog has quit [Ping timeout: 268 seconds]
ng0_ has joined #nixos
ng0_ has joined #nixos
ng0_ has quit [Changing host]
growpotkin has quit [Ping timeout: 268 seconds]
chagra_ has joined #nixos
ng0 has quit [Ping timeout: 265 seconds]
<multun> Ericson2314: I just noticed you maintain libbfd and binutils, would you pind having a look at https://github.com/NixOS/nixpkgs/issues/76927#issuecomment-573786193 ?
dansho has quit [Quit: Leaving]
chenhq2005 has joined #nixos
CMCDragonkai has quit [Ping timeout: 260 seconds]
<cap_sensitive> When I put 'nix.extraOptions = "keep-outputs = true"; and nixos-rebuild switch, I got an error message: warning: unknown setting 'experimental-feature' and then error: cannot connect to daemon at /nix/var/nix/daemon-socket/socket
<cap_sensitive> I'm adding this option because I want to keep the output of nix-shell so that they won't be garbage-collected
sb0 has joined #nixos
ayerhart has joined #nixos
gxt has quit [Ping timeout: 240 seconds]
wavirc22 has joined #nixos
<{^_^}> [nix] @edolstra merged pull request #3318 → doc: touchup release notes for 2.3 → https://git.io/JvJKK
<{^_^}> [nix] @edolstra pushed 2 commits to master: https://git.io/JvJix
<{^_^}> [nix] @edolstra merged pull request #3316 → build: remove warning when in sandboxing test mode → https://git.io/JvJR1
<{^_^}> [nix] @edolstra pushed 2 commits to master: https://git.io/JvJih
Neo-- has joined #nixos
chin-tastic has quit [Ping timeout: 268 seconds]
orivej has joined #nixos
jmeredith has quit [Quit: Connection closed for inactivity]
m0rphism has joined #nixos
<colemickens> Can I somehow use nix why-depends or something similar with derivation paths?
<colemickens> I can't tell why my system is going to build a bunch of texlive, etc.
Palpares has quit [Remote host closed the connection]
Palpares has joined #nixos
ToxicFrog` has quit [Ping timeout: 265 seconds]
cfricke has quit [Quit: WeeChat 2.7]
chin-tastic has joined #nixos
cfricke has joined #nixos
nixnewbie has joined #nixos
eoli3n has joined #nixos
<eoli3n> Hi
ToxicFrog` has joined #nixos
philr has joined #nixos
<eoli3n> trying to install my laptop, and to run wpa_supplicant with connman
<eoli3n> and
cfricke has quit [Client Quit]
cfricke has joined #nixos
<eoli3n> when i nixos-rebuild i get "failed to open config file "/etc/wpa_supplicant.conf" error
<day|flip> just make a wpa_supplicant.conf file there. it can still be blank
<day|flip> touch /etc/wpa_supplicant.conf
<eoli3n> should i use networking.wireless.enable ?
cfricke has quit [Client Quit]
cfricke has joined #nixos
<day|flip> or have networking.connman.enable = true
<day|flip> since your going that route
<day|flip> networking.connman.enable = true;
<eoli3n> only that, ok
<eoli3n> lets try
<eoli3n> it doesnt complains now
<eoli3n> but i can't see any wifi network in connman
civodul has joined #nixos
<day|flip> its been sometime since i lasted used connman. iwd and nmcli been my go to lately. iwd is very strat forword.
<day|flip> your laptop used broadcom?
<eoli3n> i could change connman to use iwd instead of wpa_supplicant
<eoli3n> day|flip: that's a new one, lets check
<day|flip> iwd is kind of like using wpa_cli
<day|flip> just easier
<day|flip> iwctl
<colemickens> nm+iwd is so silly faster than nm+wpa. I can hardly believe it most times I connect to a network with nm these days.
<colemickens> someday it'll just be systemd-networkd and iwd for me, hopefully
<day|flip> I hear that iwd can work with connman. but i hear it was still kind of buggy
<eoli3n> for wifi, i need a gui, and i don't like networkmanager
<eoli3n> day|flip: i read that too
<eoli3n> but connman+wpa_supplicant should work
totor has joined #nixos
<eoli3n> day|flip: http://ix.io/27mh
<day|flip> services.connman.enable = true; + networking.wireless.enable or networking.wireless.iwd.enable
<eoli3n> lets try
<day|flip> ahh. it intel
<eoli3n> what ?
<day|flip> hardware.cpu.intel.updateMicrocode = true; ### you might want it
<eoli3n> ok lets go
<day|flip> I know i need it for bluetooth for my computer
orivej has quit [Ping timeout: 258 seconds]
o1lo01ol1o has joined #nixos
gagbo has joined #nixos
totor has quit [Quit: Ping timeout (120 seconds)]
o1lo01ol1o has quit [Ping timeout: 265 seconds]
<eoli3n> do i need to install iwd ?
<eoli3n> ah no , i see my error
<eoli3n> ok
<day|flip> networking.wireless.iwd.enable = true; # not when it setup like this
<day|flip> it will grab it and install and setup
<eoli3n> forgot to include a file
<eoli3n> lets retry
Tucky has joined #nixos
bahamas has joined #nixos
<eoli3n> networking.wireless.enable and networking.wireless.iwd.enable are mutually exclusive
<eoli3n> and services.connman.enable enable networking.wireless.enable
<eoli3n> so i need to find how to tell connman to use iwd backend
<day|flip> you can't have more then one networking servies
<eoli3n> i just want connamn to use iwd
<eoli3n> services.connman.wifi.backend
<eoli3n> that's what i need, lets try
fusion809 has quit [Read error: Connection reset by peer]
fusion809_ has joined #nixos
ng0_ is now known as ng0
Maxdamantus has joined #nixos
<{^_^}> [nixpkgs] @edude03 closed pull request #60071 → garden-runc: init at 1.17.1 → https://git.io/fj3zQ
Neo-- has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @edude03 closed pull request #60069 → go-packr: init at 1.13.7 → https://git.io/fj3zP
<eoli3n> should i use fileSystems."/".options = [ "noatime" "nodiratime" "discard" ]; on a ZFS encrypted install ?
<{^_^}> [nixpkgs] @vbgl opened pull request #77661 → ocamlPackages.ocaml-migrate-parsetree: 1.4.0 → 1.5.0 → https://git.io/JvJX8
<colemickens> I think you set those options in zfs: https://nixos.wiki/wiki/NixOS_on_ZFS
<colemickens> Ctrl-f "atime"
Wizek has quit [Quit: Connection closed for inactivity]
<eoli3n> ok, so nothing about discard ? i see that trim is defaulty enabled
<wedens[m]> discard is never a good idea...
<day|flip> I hope your computer loaded with ram. ZFS can easily used half of it
<eoli3n> day|flip: i know that
<wedens[m]> TRIM on timer is the preferred way to do it
<eoli3n> i try, maybe i'll switch back to LUKS/LVM/ext4
<day|flip> discard is good if ssd is more modern
<eoli3n> ok ok
lukash_|away is now known as lukash_
<eoli3n> what is "xattr=sa for Journald" zpool option ?
<eoli3n> +for
<eoli3n> and "acltype=posixacl also for Journald"
<eoli3n> and day|flip there is a way to tell to zfs how much ram it consumme for caching
<day|flip> i tried zfs once on freebsd. never got a chance to learn it.
<eoli3n> what do you mean?
<{^_^}> [nixpkgs] @vbgl merged pull request #77656 → ocaml-lens: () -> 1.2.3 → https://git.io/JvJo6
<{^_^}> [nixpkgs] @vbgl pushed commit from @kazcw to master « ocamlPackages.lens: init at 1.2.3 (#77656) »: https://git.io/JvJXw
logzet has joined #nixos
<day|flip> when it came to installing freebsd. it gave me the option for ufs or zfs. i gave zfs the try with auto install
Naptra has joined #nixos
<wedens[m]> eoli3n: zfs_arc_max?
<eoli3n> wedens[m]: don't remember i'm searching for
<eoli3n> yes
<makefu> eoli3n: regarding iwd, check out https://nixos.wiki/wiki/Iwd , maybe you can add a subsection for connman :)
<eoli3n> makefu: i'm still trying to make it work but yes, i will
<eoli3n> ;)
lsix has joined #nixos
<eoli3n> cool, it works with iwd
<eoli3n> lets edit wiki :)
<makefu> thanks :D i've added a troubleshooting note regarding org.freedesktop.secrets service not activating under "exotic" desktop managers
<monsieurp> ZFS on FreeBSD: great!
<monsieurp> ZFS on Linux: not so much, according to Linus himself.
<day|flip> i gave up on freebsd due sound keep skiping.
<monsieurp> "ZFS sucks because CCDL"
<monsieurp> *CDDL
<eoli3n> makefu: https://nixos.wiki/wiki/Iwd done
<makefu> awesome, thanks!
<eoli3n> ah but i'm on unstable, maybe it doesn't work on stable
<day|flip> monsieurp: i find it funny that a distro that was TrueBSD to being base on void linux and they default to zfs.
<day|flip> monsieurp: all the same time that Linus said though things
<eoli3n> linux talked about it again recently
<eoli3n> saw it on reddit
<monsieurp> day|flip: I have no problem with ZFS, I think it's a great filesystem :)
phreedom has quit [Ping timeout: 240 seconds]
phreedom_ has joined #nixos
<eoli3n> linuS
<monsieurp> OTOH, I've been btrfs benchmarks which show the fs underperforms
<day|flip> I can see how people like zfs. from workstation to servers. not so much as normal computer use
<{^_^}> [rfcs] @spacekookie merged pull request #46 → [RFC 0046] Platform Support Tiers → https://git.io/fjGWk
<{^_^}> [rfcs] @spacekookie pushed commit from @7c6f434c to master « [RFC 0046] Platform Support Tiers (#46) »: https://git.io/JvJX9
<day|flip> there were a TrueBSD distro
<monsieurp> there's a reason why btrfs isn't mainstream yet unfortunately
<etu> eoli3n: The same arguments can be used to not use the nvidia driver :p
<day|flip> ya. a 10 year old bug still plage the darn thing
<etu> Or virtualbox
<etu> or any out of tree module
<etu> especially the ones that isn't free software licensed
<monsieurp> day|flip: really?
<monsieurp> :O
<eoli3n> he says what he want, zfs is by reputation the best filesystem ever, and will still for a while, its just licensing war
<wedens[m]> there is no "the best" filesystem...
<monsieurp> day|flip: can you share a link about that 10 yo bug?
<eoli3n> wedens[m]: i think there actually is, when a filesystem has tons of stable futuristic features
<{^_^}> [nixpkgs] @marijanp opened pull request #77662 → nixos/test: added verbose output for failed tests → https://git.io/JvJXd
<day|flip> monsieurp: it mostly have to do with raid 5/6 on btrfs. it been on it longest unuseble. it claim it mostly ok for used. witch still mean it not really fix or stable for full time used
<wedens[m]> eoli3n: convince me to use it on a desktop or a laptop without raid ;)
<eoli3n> snapshots + native encryption + pool storage + data integrity check / automatic repair + copy on write...
<eoli3n> what do you want more :)
<eoli3n> wq
<day|flip> monsieurp: im looking forward for ReiserFS 5 to come out.
<eoli3n> oups :D
thc202 has joined #nixos
ng0 has quit [Quit: leaving]
<day|flip> monsieurp: i kind of hype for it. reiserfs 5 new ideas. https://marc.info/?l=reiserfs-devel&m=157780043509663&w=2
<eoli3n> wedens[m]: if you want to give a try : https://github.com/eoli3n/nix-config/tree/master/scripts/install
chenhq2005 has quit [Ping timeout: 265 seconds]
medvid_ has joined #nixos
vld has joined #nixos
medvid has quit [Ping timeout: 258 seconds]
<{^_^}> [nixpkgs] @turboMaCk opened pull request #77663 → skypeforlinux: 8.55.0.123 -> 8.55.0.141 → https://git.io/JvJ1C
eoli3n_ has joined #nixos
vld has quit [Ping timeout: 268 seconds]
<day|flip> good night
day|flip has quit [Quit: leaving]
<{^_^}> [nixpkgs] @Ma27 pushed to master « swaylock-fancy: fix src »: https://git.io/JvJ1E
reallymemorable has quit [Quit: reallymemorable]
<{^_^}> [nixpkgs] @tfc opened pull request #77664 → nixos/transmisison: Transmission torrent test fix → https://git.io/JvJ1u
<{^_^}> [nixpkgs] @FRidh pushed 43 commits to staging-next: https://git.io/JvJ1z
Jackneill has joined #nixos
tomberek has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @markuskowa merged pull request #77649 → snapper: 0.8.7 -> 8.8.8 → https://git.io/JvJ0b
<{^_^}> [nixpkgs] @markuskowa pushed 2 commits to master: https://git.io/JvJ1P
cfricke has quit [Quit: WeeChat 2.7]
<{^_^}> [nixpkgs] @markuskowa merged pull request #77643 → soapysdr: 0.7.1 -> 0.7.2 → https://git.io/JvJRZ
<{^_^}> [nixpkgs] @markuskowa pushed 2 commits to master: https://git.io/JvJ11
o1lo01ol1o has joined #nixos
vidbina_ has joined #nixos
eoli3n_ has quit [Ping timeout: 240 seconds]
xO1 has joined #nixos
NoctisLabs has quit [Read error: Connection reset by peer]
Naptra has quit [Remote host closed the connection]
chloekek has joined #nixos
<{^_^}> [nixpkgs] @zaninime opened pull request #77665 → systemd-networkd: add configuration for XFRM interfaces → https://git.io/JvJ1h
<Christian[m]1> does anyone else have the issue that pcscd needs a restart in order to get the yubikey working with gpg-agent ?
<lewo> Christian[m]1: yes! but no idea on the why :/
Chiliparrot has joined #nixos
<lewo> It only appears _sometimes_ when my laptop wakes up
eoli3n_ has joined #nixos
Tucky has quit [Quit: WeeChat 2.7]
<Christian[m]1> yeah, the thing is pcscd prints a bunch of error messages that it cannot add the yubikey after restart, but then it just works, so not much to go on
tmaekawa has joined #nixos
nek0 has quit [Remote host closed the connection]
cinimod has joined #nixos
<{^_^}> [nixpkgs] @jonringer merged pull request #77651 → onnxruntime: 1.0.0 -> 1.1.0 → https://git.io/JvJ2q
<{^_^}> [nixpkgs] @jonringer pushed to master « onnxruntime: 1.0.0 -> 1.1.0 »: https://git.io/JvJMm
eoli3n_ has quit [Ping timeout: 268 seconds]
NoctisLabs has joined #nixos
<cinimod> If I try to use `python37.withPackages(ps: with ps; [ numpy matplotlib seaborn google.cloud.storage ])` then the "." is interpreted as a nix separator(?) How do I tell nix that "." is part of the name?
tmaekawa has quit [Client Quit]
<simpson> cinimod: Are you sure that that's the name? I see a different name:
nek0 has joined #nixos
<simpson> > python37Packages.google_cloud_storage
<{^_^}> "<derivation /nix/store/fby45sv9nnn9yakw1ca3837xa3lnicag-python3.7-google-cloud-storage-1.23.0.drv>"
<rauno> When defining a new service, how to configre so it won't be automatically restarted by nixops deployment? Or is there some why to have a policy on it ?
<lewo> cinimod: ps."google.cloud.storage"
<cinimod> simpson: thanks when you use it in python, it called google.cloud.storage so I naively assumed it would be the same in nix
Acilim has joined #nixos
eoli3n_ has joined #nixos
<simpson> cinimod: That's not even the case without Nix; for example, the popular package "Pillow" gives the module name "PIL".
<ikwildrpepper> rauno: systemd.services.<name>.restartIfChanged
ThatDocsLady has joined #nixos
<cinimod> simpson: I am naiver than I thought
eoli3n_ has quit [Client Quit]
o1lo01ol1o has quit [Remote host closed the connection]
FelschR has joined #nixos
o1lo01ol1o has joined #nixos
<FelschR> I'm trying to setup nvim-lsp on my machine but I get the following error when running nixos-rebuild: https://pastebin.com/WQghDkR5
<cinimod> Ok next naive question: which nix package is the name for the python json package?
vidbina_ has quit [Ping timeout: 265 seconds]
<cinimod> top-level/python-packages.nix didn't give me the answer
viric has quit [Ping timeout: 265 seconds]
<simpson> JSON support has been in Python's stdlib since 2.7: https://docs.python.org/3.7/library/json.html
viric has joined #nixos
<cinimod> ah so no need to mention it at all
vidbina_ has joined #nixos
Tucky has joined #nixos
<{^_^}> [nixpkgs] @LnL7 opened pull request #77666 → diffoscope: enable on darwin → https://git.io/JvJMi
<FelschR> I've tried setting $HOME to $TMP as part of the nvim-lsp & neovim build but it keeps throwing the /homeless-shelter issue.
eoli3n_ has joined #nixos
<cinimod> It seems that google.cloud.storage needs pkg_resources and this is not available https://gist.github.com/idontgetoutmuch/ce371c1bff064b4a37e93568c6557b59
eoli3n_ has quit [Client Quit]
<rauno> ikwildrpepper, thx will check it out
__monty__ has joined #nixos
Guest92090 has quit [Ping timeout: 265 seconds]
dm9 has joined #nixos
fendor has joined #nixos
hyper_ch2 has joined #nixos
<hyper_ch2> so, notebook still can't boot even when using latest git master
<denbrahe[m]> I have a secondary source for my derivation, fetched through fetchTarball, in which I need to modify a file, before referring to it in the main derivation. Using sed in `postPatch` of the derivation gives me `PermissionDenied`, as the nix store is read-only. Are there better ways to do this then to manually curl the 2nd source?
<wedens[m]> make this secondary source a derivation
<denbrahe[m]> a derivation that internally uses fetchTarball and has a postUnpack hook?
<wedens[m]> fetchurl and postUnpack hook (or patch in patches or whatever)
chagra_ has quit [Ping timeout: 260 seconds]
<denbrahe[m]> Ok, will try. Thanks!
chagra has joined #nixos
FelschR has quit [Remote host closed the connection]
nek0 has quit [Quit: ZNC 1.7.5 - https://znc.in]
nek0 has joined #nixos
cinimod` has joined #nixos
cinimod has quit [Ping timeout: 268 seconds]
bahamas has quit [Quit: leaving]
polygonXz has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
Naptra has joined #nixos
iyzsong has joined #nixos
o1lo01ol1o has joined #nixos
nixnewbie has quit [Read error: Connection reset by peer]
nixnewbie has joined #nixos
gagbo has quit [Ping timeout: 265 seconds]
cfricke has joined #nixos
o1lo01ol1o has quit [Ping timeout: 268 seconds]
hyper_ch2 has quit [Remote host closed the connection]
phreedom has joined #nixos
phreedom_ has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @roberth merged pull request #75539 → Add `pkgs.lib.encodeGNUCommandLine` → https://git.io/JeHeo
<{^_^}> [nixpkgs] @roberth pushed 7 commits to master: https://git.io/JvJyZ
lovesegfault has quit [Ping timeout: 260 seconds]
lovesegfault has joined #nixos
vld has joined #nixos
vld has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @davidtwco opened pull request #77667 → mdcat: 0.14.0 -> 0.15.0 → https://git.io/JvJy2
chenhq2005 has joined #nixos
fendor has quit [Read error: Connection reset by peer]
sigmundv has joined #nixos
polygonXz has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @adisbladis closed pull request #77629 → pythonPackages.poetry: Inherit package from top-level → https://git.io/JvJZE
Guest92090 has joined #nixos
atopuzov[m] has joined #nixos
<{^_^}> [nixpkgs] @basvandijk opened pull request #77668 → hydra: remove the build-use-substitutes option → https://git.io/JvJy1
kenjis1 has joined #nixos
ayerhart has quit [Ping timeout: 240 seconds]
vidbina_ has quit [Ping timeout: 268 seconds]
logzet has quit [Ping timeout: 245 seconds]
logzet has joined #nixos
captn3m0 has quit [Ping timeout: 240 seconds]
ThatDocsLady has quit [Remote host closed the connection]
ThatDocsLady has joined #nixos
gagbo has joined #nixos
cfricke has quit [Ping timeout: 258 seconds]
ayerhart has joined #nixos
dm9 has quit [Quit: WeeChat 2.7]
chiefgoat has quit [Read error: Connection reset by peer]
chenhq2005 has quit [Ping timeout: 265 seconds]
Acilim has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @basvandijk opened pull request #77669 → hydra: only set buildMachinesFiles when nix.buildMachines is defined → https://git.io/JvJSf
Acilim has joined #nixos
captn3m0 has joined #nixos
orivej has joined #nixos
Acilim has quit [Client Quit]
Acilim has joined #nixos
Acilim has quit [Client Quit]
Acilim has joined #nixos
Acilim has joined #nixos
chiefgoat has joined #nixos
cfricke has joined #nixos
cfricke has quit [Client Quit]
steevveen has joined #nixos
gagbo has quit [Ping timeout: 260 seconds]
bvdw has quit [Read error: Connection reset by peer]
bvdw has joined #nixos
cartwright has quit [Ping timeout: 240 seconds]
gagbo has joined #nixos
<{^_^}> [nixpkgs] @amarrella opened pull request #77670 → eksctl: 0.11.1 -> 0.12.0 → https://git.io/JvJSB
cartwright has joined #nixos
ng0 has joined #nixos
sb0 has quit [Remote host closed the connection]
chenhq2005 has joined #nixos
kahiru has quit [Ping timeout: 260 seconds]
kahiru has joined #nixos
fendor has joined #nixos
steevveen has quit [Remote host closed the connection]
erictapen has joined #nixos
<{^_^}> [nixpkgs] @mikesperber opened pull request #77672 → vagrant: Unbreak replacing symlinks on macOS → https://git.io/JvJSN
elenapan has joined #nixos
<{^_^}> [nixpkgs] @adisbladis pushed to master « libvterm-neovim: 2019-10-08 -> 0.1.3 »: https://git.io/JvJSh
<{^_^}> [nixpkgs] @markus1189 closed pull request #66319 → android: add missing arguments to `emulateApp` function → https://git.io/fjQpy
<yorick> das_j: ajs124: does the shallow git clone thing still work well in practice?
<das_j> <yorick "Janne Heß: ajs124: does the shal"> What do you mean? The patch from our forked repo?
<yorick> yeah
<yorick> ah
<das_j> but yeah, the builds work just fine
<yorick> interesting
<das_j> why?
<yorick> das_j: this seems like something to just upstream :D
<das_j> umm, ajs124 knows why we didn't do that. Enabling it for all repos without the possibility to disable it breaks stuff iirc
gagbo has quit [Ping timeout: 260 seconds]
<ajs124> no. nonono. don't. that's a broken POS patch.
chagra has quit [Ping timeout: 265 seconds]
<ajs124> trust me, I wrote it @yorick
<{^_^}> [hydra] @basvandijk opened pull request #704 → hydra-queue-runner: sleep 5s after handling an exception → https://git.io/JvJ9Z
chagra has joined #nixos
chenhq2005 has quit [Ping timeout: 265 seconds]
fusion809_ has quit [Remote host closed the connection]
<yorick> ajs124: what does it break?
<das_j> the nix git cache
<yorick> das_j: in what way?
<yorick> shallow fetches are still incremental
<das_j> or (quoting ajs): it breaks about every assumption fetchgit makes about its cache
<ajs124> Although there is the gitv3 cache, so maybe it works with that?
<das_j> ajs124: That's not on stable yet
<ajs124> what is this "stable" you speak of?
<yorick> das_j: ajs124: what assumptions does it break?
<yorick> master has gitv2, still
<yorick> maybe it breaks revCount
<{^_^}> [nixpkgs] @volth opened pull request #77673 → perlPackages: batch update → https://git.io/JvJ9R
<ajs124> yorick: I don't remember and I don't really want to look at the code right now. But I'm sure it broke something. I would have tried to upstream it (at least as a draft/wip) if I didn't believe it's bad and shouldn't be used.
<dalto5> Sorry for the beginner question but what is the difference between the unstable-nixos and the unstable-nixpkgs channels? Based some random searching, they always seem to return the same results but I am guessing they are different in ways I am not searching for.
<clever> dalto5: nixos-unstable goes thru extra testing, to make sure it wont brick a nixos machine
<dalto5> ah....thanks!
<yorick> ajs124: shallow clones seem worthwhile for most usecases
<clever> dalto5: few years ago, grub began corrupting the grub config file, and nixos-unstable correctly stopped updating
<clever> dalto5: for the next 3 weeks, every nixpkgs-unstable user came out of the wood-work, asking why the machine stopped booting :P
chiefgoat has quit [Ping timeout: 268 seconds]
<dalto5> So, do the packages just move there after a certain period of time or is the process manual?
<clever> dalto5: both nixos-unstable and nixpkgs-unstable point to whatever version of master has most recently passed a certain set of tests
wavirc22 has quit [Ping timeout: 260 seconds]
<clever> the difference is just which tests they check for
<ajs124> yorick: true. Idk why upstream hasn't implememted it. I sometimes get the impression @niksnut might not like fetchGit that much. Maybe because it allows for impure git inputs, idk.
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<dalto5> thanks clever. This is a pretty interesting distro but the learning curve is substantial even though I have been using linux for 25 years. On the other hand, getting to learn new things it what keeps it fun for me.
<clever> dalto5: one of my most recent projects, is making heavy use of the cross-compile stuff in nixpkgs
<{^_^}> [nixpkgs] @mbbx6spp opened pull request #77674 → nixos/doc+manual: update copyright year range end 2019->2020 → https://git.io/JvJ9X
<clever> dalto5: for example, it took ~2 days to add a new cpu arch to nixpkgs, and then i was able to pull together 3 different cross-compilers (vc4, arm-embeded, arm-linux) trivially, and start building stuff for the rpi
<das_j> clever: Have you found a solution for cross-building derivations with the same hash as they would have when building natively?
<clever> das_j: that not really feasible, because the hash depends on which compiler you used
<das_j> yeah, that's why I was asking
chiefgoat has joined #nixos
captn3m0 has quit [Ping timeout: 265 seconds]
Rusty1 has joined #nixos
<{^_^}> [nixpkgs] @taku0 opened pull request #77675 → flashplayer: 32.0.0.303 -> 32.0.0.314 → https://git.io/JvJ9D
gagbo has joined #nixos
iyzsong has quit [Ping timeout: 260 seconds]
reverbtank has joined #nixos
turion has joined #nixos
<dalto5> Hmm....so I have a laptop that needs a newer kernel. After a little research, I tried setting boot.kernelPackages = pkgs.linux_latest; This yielded the result: error: attribute 'extend' missing, at /nix/var/nix/profiles/per-user/root/channels/nixos/nixos/modules/system/boot/kernel.nix:40:31 so it looks like I missed something. Can anyone point
<dalto5> me in the right direction?
o1lo01ol1o has joined #nixos
nexgen has joined #nixos
<andi-> dalto5: you want to use pkgs.linuxPackages_latest;
chenhq2005 has joined #nixos
tabasko has quit [Remote host closed the connection]
<dalto5> thanks andi- that worked perfectly
<{^_^}> #48740 (by midchildan, 1 year ago, open): mirakurun: init at 2.13.0
<{^_^}> #49413 (by midchildan, 1 year ago, open): epgstation: init at 1.6.2
turion has quit [Quit: Leaving.]
Jarva[m] has joined #nixos
nexgen has quit [Ping timeout: 272 seconds]
<Jarva[m]> Has anyone experienced their network device ID changing before?
<Jarva[m]> My network device has seemingly randomly changed from wlp1s0 to wlp2s0
<clever> Jarva[m]: what does lspci say about that card?
<clever> for me, wlp3s0 is 03:00.0 Network controller: Intel Corporation Wireless 8265 / 8275 (rev 78)
<clever> so the 3, means its on pci bus #3, and the 0 means its device zero on that bus, 03:00
<Jarva[m]> What provides lspci?
<pie_[bnc]> reverbtank: oh, which work infra is that then?
<clever> ,locate bin/lspci
<{^_^}> Found in packages: toybox, busybox, pciutils
<clever> Jarva[m]: pciutils, and it would help to have an lspci from both wlp1s0 and wlp2s0
<Jarva[m]> Which is preferred? pciutils?
<pie_[bnc]> reverbtank: anyway, we could try to see if the ad-hoc set up works if you want
<Jarva[m]> How can I search for files within packages on local?
<clever> ,locate
<{^_^}> Use ,locate <filename> to find packages containing such a file. Powered by nix-index (local installation recommended) https://github.com/bennofs/nix-index
<pie_[bnc]> did you try the last thing i said in the thread, or did it even make any sense?
<Jarva[m]> Cheers
<Jarva[m]> Network controller is 02:00.0 but previously it was wlp1s0
<reverbtank> pie_[bnc]It is used for our infrastructure that runs a pretty sizeable web app. Nixops is used for all the machines which are hosted on AWS. I did not try the last steps you listed out in the bug as I was unsure what the specific pactl commands were that you were running
<Jarva[m]> Now 01:00.0 is an Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS525A PCI Express Card Reader (rev 01)
<Jarva[m]> Not sure how it would change
<clever> Jarva[m]: it might be a firmware problem with the motherboard, re-allocating bus's
<Jarva[m]> Running on a dell xps 7390
<Jarva[m]> I have firmware updates on, could that change it?
<reverbtank> pie_[bnc] I'm going to try it now. First i'll kill the jack, jack-session, and then pulseaudio processes
<clever> Jarva[m]: updating the firmware could change hte order of devices
chiefgoat has quit [Quit: ZNC 1.7.5 - https://znc.in]
chenhq2005 has quit [Ping timeout: 265 seconds]
alexherbo29 has joined #nixos
nexgen has joined #nixos
nDuff has joined #nixos
chiefgoat has joined #nixos
alex`` has quit [Ping timeout: 265 seconds]
alexherbo2 has quit [Ping timeout: 240 seconds]
alexherbo29 is now known as alexherbo2
<Jarva[m]> Oh well, another thing is I'm experiencing a deprecation warning for the bluetooth extraConfig
<Jarva[m]> ```trace: warning: hardware.bluetooth.`extraConfig` is deprecated, please use hardware.bluetooth.`config`.```
<Jarva[m]> I'm wondering how I should be upgrading it
<Jarva[m]> The bluetooth page uses .extraConfig
<reverbtank> pie_[bnc] I've confirmed all those services are not running by checking with ps aux | grep SERVICENAME. Is the next step to start jack in non realtime mode with qjacktl OR run the pactl commands?
alex`` has joined #nixos
chiefgoat has quit [Client Quit]
<pie_[bnc]> reverbtank: i *think* it didnt really matter, but id try starting jack first
chiefgoat has joined #nixos
<pie_[bnc]> reverbtank: this is what my qjackctl log looks like in the beginning https://bpaste.net/ISRQ
<pie_[bnc]> reverbtank: you can look at the systemd logs for pulse with sudo journalctl _SYSTEMD_USER_UNIT=pulseaudio.service
gustavderdrache has joined #nixos
<pie_[bnc]> reverbtank: for the record, even though we're starting stuff manually i bet theres some configuration files that are still being used, so the contents of the system configuration probably matter
chenhq2005 has joined #nixos
<reverbtank> pie_[bnc] There are no entries shown when checking the logs for the pulse audio service. My qjackctl log looks like this. It appears there is a failure. https://bpaste.net/V3NQ
<pie_[bnc]> reverbtank: looks fine to me
<pie_[bnc]> from line 17
<pie_[bnc]> im not really sure about the memory lock error thingies, but i also get them
reallymemorable has joined #nixos
<pie_[bnc]> so its at least not a fatal error
<reverbtank> pie_[bnc] seems to get past whatever the socket error is. Any suggestions for config files to nuke
nexgen2 has joined #nixos
<pie_[bnc]> i didnt mention the config files because they should be nuked, just that those also influence what we're doing probably
<pie_[bnc]> i barely have any idea how most of this works
reallymemorable has quit [Client Quit]
<pie_[bnc]> reverbtank: so now try starting pulse, and run the script that adds the pulse source and sink dvices
reallymemorable has joined #nixos
<reverbtank> pie_[bnc] Hmmm, should I run that yet? At this point in the setup, i think an application should be able to connect to Jack as an output device without having to setup pulse sources and sink.
<pie_[bnc]> reverbtank: oh right
<pie_[bnc]> yeah i guess
<reverbtank> pie_[bnc] Just tried with VCV Rack and still doesn't show a valid output device
nexgen has quit [Ping timeout: 272 seconds]
<pie_[bnc]> reverbtank: i mean...if pulse works than at least we know it works, otoh vcv rack might be simpler
jmeredith has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/e5fd4684f46 (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<pie_[bnc]> well...vcv just shows up for me
<pie_[bnc]> reverbtank: do you see any info in the logs or any info from vcv rack?
<pie_[bnc]> like, does it say anything about failing to find the socket or something?
<reverbtank> pie_[bnc] Great idea! Yes, it does. https://bpaste.net/I4MQ
<{^_^}> [nixpkgs] @erictapen opened pull request #77676 → [WIP] fontforge: 20190413 -> 20190801 → https://git.io/JvJHj
nexgen2 has quit [Ping timeout: 272 seconds]
lorimer has joined #nixos
<pie_[bnc]> so, ive never seen any of this
<pie_[bnc]> reverbtank: check, is pulse running?
chenhq2005 has quit [Quit: No Ping reply in 180 seconds.]
<reverbtank> pie_[bnc] It appears it is now
<pie_[bnc]> you have to stop the socket service in systemd otherwise something might keep bringing it back up
<pie_[bnc]> systemctl stop --user pulseaudio.socket
chenhq2005 has joined #nixos
Chiliparrot has joined #nixos
<reverbtank> pie_[bnc] Ran that command and it appears to have succeeded. However if I ps aux | grep pulseaudio I still see processes running
<pie_[bnc]> well you still have to kill it once
<pie_[bnc]> or something
<pie_[bnc]> systemctl stop pulseaudio.service
<pie_[bnc]> or pulseaudio --kill
<pie_[bnc]> *shrug*
<pie_[bnc]> add --user to the systemctl command
<reverbtank> pie_[bnc] Ok, that successfully killed Pulse. I re ran Rack and got the same error. Checked again with ps aux | grep pulseaudio and it was back. Looks like Rack is causing pulseaudio to start up again. I'm thinking I'll temporarily remove pulseaudio from my config, rebuild, and see if that resolves anything. Doing now....
<pie_[bnc]> reverbtank: if ou stopped the ssocket it shouldnt be coming back up >_>
<pie_[bnc]> weird
<reverbtank> pie_[bnc] Yea, and I removed all the script commands from qjackctl
selfsymmetric-mu has quit [Remote host closed the connection]
<pie_[bnc]> ive been running those manually so idk about that part
xkapastel has joined #nixos
<pie_[bnc]> reverbtank: are you on an oooold version of nixos by any chance
nexgen2 has joined #nixos
<reverbtank> pie_[bnc] 19.03
<pie_[bnc]> reverbtank: what version is your vcvrack
<pie_[bnc]> oh nevermind
<pie_[bnc]> err
<pie_[bnc]> nevermind nevermind
<pie_[bnc]> what version is it
<reverbtank> pie_[bnc] The unstable version which is v1.1.6
<pie_[bnc]> ok i thin kthats what i have soooo...probably has jack support
<reverbtank> pie_[bnc] Yea, it has Jack support because I have been using it on Ubuntu for 2 years with Jack Support
<reverbtank> pie_[bnc] Ok, 1 year, must have patched it before then
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/2ac5fab2647 (from 7 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
<pie_[bnc]> well, tell me if you manage to fight through the pulse stuff
tomberek has joined #nixos
<pie_[bnc]> reverbtank: well, so the current hypothesis is that the file descriptor error is because pulse was grabbing the sound device, but idk
<pie_[bnc]> also thats kind of weird becuase then i think jack should have complained about it too
<pie_[bnc]> *shrug*
nexgen2 has quit [Ping timeout: 260 seconds]
<pie_[bnc]> one way to confirm that would be the fuser command, which i dont know how to use off the top of my head
<reverbtank> pie_[bnc] So I set the pulseaudio config to false in my nix config file and rebuilt. Rebooted the system. Confirmed that there are no pulseaudio processes running. Started jack with qjackctl. Booted up VCV Rack, got the same error message. At this point, no pulseuadio on the system. So we are getting closer. Seems to be a strictly jack issue at the
<reverbtank> moment
philr has quit [Ping timeout: 258 seconds]
<{^_^}> [nixpkgs] @Mic92 opened pull request #77677 → openssl: fix build linux with clangStdenv → https://git.io/JvJQr
eri has quit [Ping timeout: 248 seconds]
hlavaty has joined #nixos
<pie_[bnc]> hm
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/8da81465c19 (from 3 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
<pie_[bnc]> reverbtank: try nix-shell -I channel=nixpkgs-unstable vcv-rack
<{^_^}> [nixpkgs] @darlentar opened pull request #77678 → ber_metaocaml: fix install order. → https://git.io/JvJQy
eri has joined #nixos
<pie_[bnc]> OH
<pie_[bnc]> thats what you meant by unstable
<pie_[bnc]> nevermind then
<pie_[bnc]> hm >:I
<{^_^}> [nixpkgs] @bcdarwin opened pull request #77679 → Python tensorly → https://git.io/JvJQ5
<reverbtank> pie_[bnc] Googling to figure out the root of that Jack error message
<pie_[bnc]> im pretty stumped and i dont get to see your system
<{^_^}> [nixpkgs] @Mic92 merged pull request #76573 → osmctools: 0.8.5plus1.4.0 -> 0.9 → https://git.io/JebpD
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/JvJQN
<pie_[bnc]> presumably it cant ifgure out how to talk to jack for some reason
<reverbtank> pie_[bnc] Yes, that seems to be where we are at
<pie_[bnc]> it probably doesnt know how
<pie_[bnc]> but why not
<pie_[bnc]> could try strace..
<pie_[bnc]> nah.
chenhq2005 has quit [Ping timeout: 258 seconds]
<reverbtank> pie_[bnc] In your nix-config do you explicitly install libjack2 and jack2? I do, not sure if I'm missing anything else
<gchristensen> infinisil: Oh Module System Sage, is there a better way to do this merging? https://gist.github.com/grahamc/b931c787d17c6456347f75ea14315f4e every (...) block in an imports = [ ... ] list is automatically combined
<pie_[bnc]> reverbtank: this is my qjackctl config https://paste.lassul.us/V7WibCYE
<pie_[bnc]> reverbtank: dont think so
eri has quit [Ping timeout: 245 seconds]
<infinisil> gchristensen: Yeah a bit more standard with `config = mkMerge [ (...) (...) ]`
<gchristensen> infinisil: does mkMerge tolerate the nested functions?
* infinisil checks
<gchristensen> https://gist.github.com/grahamc/b931c787d17c6456347f75ea14315f4e#file-system-nix-L43-L54 heck, maybe these mkForce's aren't even necessary
<infinisil> You mean the { lib, ... } ?
<gchristensen> yea
<infinisil> With mkMerge you'd use the lib from the top of the module
<gchristensen> yeah, I can't do that
<infinisil> Why not?
<gchristensen> all the ( ... ) bits are coming from individually valid Nix expressions
<gchristensen> to use mkMerge I'd need to make them all fragments
<infinisil> Oh wait there's levels of imports, what's that for?
<gchristensen> again, composed Nix expressions :)
<infinisil> I'm very confused as to what the goal is with all the things in the code
knupfer has joined #nixos
<gchristensen> I am dynamically composing NixOS module expressions
kenjis1 has quit [Remote host closed the connection]
<infinisil> Meaning exactly?
drewr has quit [Quit: ERC (IRC client for Emacs 26.3)]
eri has joined #nixos
<gchristensen> I have a source of dozens of modules which get picked based on information about the host, then: https://gist.github.com/grahamc/d061eb440421fe471fbf670c27bdd41f
<{^_^}> [nixpkgs] @FRidh merged pull request #77047 → Staging next → https://git.io/JejRC
<{^_^}> [nixpkgs] @FRidh pushed 53 commits to master: https://git.io/JvJ7c
<jared-w> gchristensen: Noice. That's my favorite kinda evil
<gchristensen> :)
<gchristensen> I don't want to do evil, but there isn't really a better way afaik
<infinisil> gchristensen: How about declaring options and deciding what to do based on those
<infinisil> Or using networking.hostName
<pie_[bnc]> reverbtank: might be easier to debug this with some other app but i dont really have ideas
drakonis has joined #nixos
<infinisil> `config = mkIf (networking.hostName == "foo") { <some config for that host here> }`
<gchristensen> no-can-do
Synthetica has joined #nixos
<jared-w> You can also grab environment variables or files or some other stateful-system-thingy and use that to check stuff right? Might be possible to find something that's already on the system somehow
<gchristensen> this is generating the host's configuration before it is handed off to a customer
<gchristensen> just about everything is dynamic, and then I must hand back a single .nix file which describes how to manage the system
<reverbtank> pie_[bnc] Upgrading my system to 19.09 right now. Then I'm going to remove libjack2 and jack2 seeing as how you don't have them in your config. Perhaps that is causing a conflict
<infinisil> Huh, a single nix file :/
<infinisil> That's disappointing
<gchristensen> it is instead of the hardware-configuration.nix
<jared-w> and all of it is dynamic in a "I don't know what their configuration is before I give them the nix file" way? Or in a "I get their configuration and have to give them a single nix file" sort of way?
<pie_[bnc]> reverbtank: i kind of doubt it, more like i probably need to add them to my config (or not)
<pie_[bnc]> i mean its not like that starts any more services or something
nexgen2 has joined #nixos
<pie_[bnc]> but yeah upgrade might help..
<jared-w> gchristensen: comedy option: Write a CLI tool that generates the hardware-nix file :p
<gchristensen> I am!
<infinisil> gchristensen: This might also be problematic, because the module system imports is a DAG. You can introduce duplicates unless you remove those
<gchristensen> that is what this is :P
<gchristensen> infinisil: how do you mean?
<jared-w> > mfw bash
<infinisil> gchristensen: The same file/module can be imported from multiple different modules
<infinisil> I guess in most cases it won't be a problem though
<gchristensen> right, this will never be imported more than once
<infinisil> You can put all imports into a single flat list if you want to
<infinisil> That shouldn't be a problem as long as you deduplicated multiple imports
<gchristensen> when a customer requests a server, this tool runs and determines the class of the hardware, the disk layout, networking requirements, boot / hardware requirement, etc. some of them are dynamically generated .nix expressions, some of them come from pre-written versions. it then writes them out to a directory and flattens them in to a system.nix file
<gchristensen> when the server is ready, nixops copies the system.nix file off and records it as the physical spec
<ddima> ?
<ddima> whoops, sorry, wrong window
vesper has quit [Ping timeout: 258 seconds]
vesper11 has joined #nixos
nexgen2 has quit [Ping timeout: 268 seconds]
mallox has joined #nixos
Shell has quit [Quit: ZNC 1.7.4 - https://znc.in]
qyliss has quit [Quit: bye]
nexgen2 has joined #nixos
<{^_^}> [nixpkgs] @tobim opened pull request #77682 → glog: remove static flag → https://git.io/JvJ5I
virus_dave has joined #nixos
Shell has joined #nixos
qyliss has joined #nixos
<pie_[bnc]> reverbtank: you could try running jack_simple_client and see if anything happens, it just seems to generate a tone but be careful it might be loud
drewr has joined #nixos
kenjis1 has joined #nixos
<reverbtank> pie_[bnc] Yup, that generates a tone
nexgen2 has quit [Ping timeout: 268 seconds]
dalto5 has quit [Ping timeout: 240 seconds]
domogled has joined #nixos
nexgen has joined #nixos
nexgen has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @jtojnar opened pull request #77683 → doc: Make callout marks & prompts unselectable → https://git.io/JvJ5C
zebrag has joined #nixos
<{^_^}> [nixpkgs] @erictapen opened pull request #77684 → libspiro: 0.5.20150702 -> 20190731 → https://git.io/JvJ58
inkbottle has quit [Ping timeout: 245 seconds]
zertox has quit [Remote host closed the connection]
teehemkay has quit [Remote host closed the connection]
NemesisD has quit [Remote host closed the connection]
d10n-work has quit [Remote host closed the connection]
bpierre has quit [Remote host closed the connection]
tazjin has quit [Remote host closed the connection]
ng0_ has joined #nixos
ng0_ has joined #nixos
erictapen has quit [Quit: leaving]
ng0 has quit [Ping timeout: 258 seconds]
zertox has joined #nixos
teehemkay has joined #nixos
NemesisD has joined #nixos
tazjin has joined #nixos
bpierre has joined #nixos
d10n-work has joined #nixos
ambroisie has quit [Remote host closed the connection]
vld has joined #nixos
ambroisie has joined #nixos
<{^_^}> [nixpkgs] @bcdarwin opened pull request #77685 → python3Packages.ignite → https://git.io/JvJ5i
domogled has quit [Ping timeout: 268 seconds]
Acilim has quit [Quit: Leaving]
Neo-- has joined #nixos
<{^_^}> [nixpkgs] @alyssais opened pull request #77686 → Revert "Re-revert "awscli: Get rid of runtime -dev dependencies"" → https://git.io/JvJ5N
Guest92090 has quit [Ping timeout: 268 seconds]
vld has quit [Ping timeout: 272 seconds]
werner291 has joined #nixos
gxt has joined #nixos
ambroisie has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
ambroisie has joined #nixos
<{^_^}> [nixpkgs] @teto merged pull request #77667 → mdcat: 0.14.0 -> 0.15.0 → https://git.io/JvJy2
<{^_^}> [nixpkgs] @teto pushed commit from @davidtwco to master « mdcat: 0.14.0 -> 0.15.0 »: https://git.io/JvJdU
dalto5 has joined #nixos
ambroisie has quit [Client Quit]
ambroisie has joined #nixos
ng0_ is now known as ng0
zertox has quit [Remote host closed the connection]
d10n-work has quit [Remote host closed the connection]
teehemkay has quit [Remote host closed the connection]
tazjin has quit [Remote host closed the connection]
NemesisD has quit [Remote host closed the connection]
bpierre has quit [Remote host closed the connection]
Guest92090 has joined #nixos
reverbtank83 has joined #nixos
reverbtank83 has left #nixos [#nixos]
reverbtank83 has joined #nixos
reverbtank83 has left #nixos [#nixos]
zertox has joined #nixos
Tucky has quit [Quit: WeeChat 2.7]
teehemkay has joined #nixos
NemesisD has joined #nixos
reverbtank58 has joined #nixos
tazjin has joined #nixos
reverbtank58 has left #nixos [#nixos]
d10n-work has joined #nixos
bpierre has joined #nixos
reverbtank has quit [Ping timeout: 260 seconds]
<Jarva[m]> How do I manage local scripts the nix way?
<Jarva[m]> Normally I'd just add a ~/bin and add it to my PATH, but it seems scripts from i3 are being executed without that
drakonis has quit [Ping timeout: 245 seconds]
gyroninja_ has quit [Ping timeout: 268 seconds]
sigmundv has quit [Ping timeout: 265 seconds]
vld has joined #nixos
eri has quit [Ping timeout: 272 seconds]
<Synthetica> Jarva[m]: I honestly still do that 😅
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/b2f6aa631ed (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<Synthetica> But I guess you could create a pseudo-package that installs all your scripts and add that to enviornment.systempackages
reverbtank has joined #nixos
reallymemorable has quit [Quit: reallymemorable]
<infinisil> So you can define `mine.binalias.foo = "echo foo"` in any module and it adds an executable called foo that does that
<infinisil> (plus a shell alias)
sigmundv has joined #nixos
<{^_^}> [nixpkgs] @ruuda opened pull request #77687 → python3Packages.sentry-sdk: add missing test dependency → https://git.io/JvJFt
dm9 has joined #nixos
Lears has joined #nixos
[Leary] has quit [Read error: Connection reset by peer]
gxt has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @danielstaleiny opened pull request #77688 → Add Robomongo keyword so users can find it by searching 'robomongo' → https://git.io/JvJFR
<{^_^}> [nixpkgs] @jtojnar merged pull request #77674 → nixos/doc+manual: update copyright year range end 2019->2020 → https://git.io/JvJ9X
<{^_^}> [nixpkgs] @jtojnar pushed 2 commits to master: https://git.io/JvJF0
mananamenos has joined #nixos
<mananamenos> hi, in my postgresql service i have initialScript. I want to add more instructions there, but after rebuilding it does not take effect (meaning initialScript has just executed once ever). How do i achieve this via configuration.nix?
<{^_^}> [nixpkgs] @lheckemann merged pull request #76797 → rPackages.rgl: fix build → https://git.io/JexO2
Shell has quit [Quit: ZNC 1.7.4 - https://znc.in]
qyliss has quit [Quit: bye]
<{^_^}> [nixpkgs] @lheckemann pushed 2 commits to master: https://git.io/JvJFP
Shell has joined #nixos
qyliss has joined #nixos
<reverbtank> pie_[bnc] Ok, small bit of progress. In my nix config, I set all my audio dependencies to pull the unstable versions. These were unstable.qjackctl, unstable.libjack2, and unstable.jack2. Rebuilt my config, now jack starts correctly and VCV rack can connect and output audio.
<reverbtank> Using pasuspender, pulse audio gets properly suspended, but doesn't recover after I stop jack via qjackctl
qyliss has quit [Remote host closed the connection]
Shell has quit [Client Quit]
<reverbtank> Interestingly, Reaper and Helm still do not see valid Jack outputs. Wondering if this has to do with those programs not being built with the correct jack dependencies
xkapastel has quit [Quit: Connection closed for inactivity]
Shell has joined #nixos
qyliss has joined #nixos
chloekek has quit [Quit: WeeChat 2.6]
<evanjs> Drawing a blank. Is there an easy way to reference rustPlatform, or more specifically, buildRustPackage via the moz overlay?
nakkle has quit [Ping timeout: 246 seconds]
<infinisil> mananamenos: initialScript isn't intended for that. You can instead add your own service that gets executed as many times and whenever you need it to
<nDuff> Hmm. I'm accustomed to NixOS systems having `/usr/bin/env`, but with an installer SD image built off current unstable, I'm not seeing it.
<clever> nDuff: nixos should create that, on bootup
<nDuff> clever, thank you; knowing I need to look at the activation script to figure out what's wrong is itself helpful.
Neo-- has quit [Ping timeout: 258 seconds]
kenjis1 has quit [Remote host closed the connection]
Naptra has quit [Remote host closed the connection]
kenjis1 has joined #nixos
<nDuff> ...okay, running ``/run/current-system/activate``, everything comes up just as it should; the question is why that didn't happen automatically on boot.
kenjis1 has quit [Remote host closed the connection]
erasmas has joined #nixos
lukash_ is now known as lukash_|away
Shell has quit [Quit: ZNC 1.7.4 - https://znc.in]
qyliss has quit [Quit: bye]
<clever> nDuff: maybe something else failed while booting, check the journal?
kenjis1 has joined #nixos
<{^_^}> [nixpkgs] @c0bw3b opened pull request #77689 → jdupes: 1.13.2 -> 1.14.0 → https://git.io/JvJb0
Shell has joined #nixos
endformationage has joined #nixos
<judson__> I'm trying to use a newer version of a package than is in 19.09 (c.f. alacritty-0.4.1), and use overrideAttrs to do it.
qyliss has joined #nixos
<judson__> It's a buildRustPackage, and what I'm finding is that it continues to fetch the vender tarball for the old version, which breaks.
<{^_^}> [nixpkgs] @c0bw3b merged pull request #77650 → azure-cli: 2.0.79 -> 2.0.80 → https://git.io/JvJue
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to master: https://git.io/JvJbz
<judson__> Can I succeed here? Should I instead e.g. add an unstable channel tarball to my configure.nix and get the alacritty from there?
<nDuff> clever: ahh, yes, indeed. This happened on first boot from freshly-written SD card media; it looks like somewhere there's logic that resizes the filesystem to fill the media (which is a cute trick), but that hadn't happened yet when the activation script was running and it was hitting errors related to the filesystem being full. Reboot and everything's happy.
<nDuff> judson__: I'm not familiar with alacrity in particular, but in general, it's very possible to pull a single derivation (and its dependencies) from a non-default channel.
<lewo> judson__: (sorry for the stupid question) did you override both src.sha256 and cargoSha256?
drakonis1 has joined #nixos
<judson__> lewo, totally reasonable question: I did override both.
growpotkin has joined #nixos
logzet has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
<judson__> I think(50%) that buildRustPackage may not make all of it's attributes overrideable?
fresheyeball has joined #nixos
<{^_^}> [nixpkgs] @c0bw3b merged pull request #77551 → piper: 0.2.903 -> 0.2.905 [19.09] → https://git.io/JvfK3
<{^_^}> [nixpkgs] @c0bw3b pushed commit from @mweinelt to release-19.09 « piper: 0.2.903 -> 0.2.905 (#77551) »: https://git.io/JvJb1
<jared-w> Current dilemma: I want to install vagrant + a plugin inside a nix shell, but that vagrant plugin should be from git rather than just "vagrant plugin install X"
<aswanson> does anyone know of a good article or reference for how to override a python package within a shell.nix file? I'm looking to use a specific version of cx_oracle and my assumption is that I should be able to override the src attribute of the cx_oracle default.nix, right?
<jared-w> Have yet to figure this out and it's driving me absolutely nuts.
<jared-w> In theory all I need is a *.gem file and then vagrant plugin install foo.gem (specifically, the plugin is vagrant-ovirt4)
hyper_ch has quit [Ping timeout: 268 seconds]
domogled has joined #nixos
mananamenos has quit [Ping timeout: 272 seconds]
<lewo> judson__: it seems you are right :(
janneke has joined #nixos
arno01 has joined #nixos
<judson__> lewo, Presumably, rBP emits an overrideable package? It's just that the attribute to override isn't obvious?
hlavaty has quit [Remote host closed the connection]
takeda has joined #nixos
<judson__> (one of these days, I'm going to add tofu = "<sha256 length worth of 0>" to a nix config and forget about it.)
<EsperLily> fwiw you can use `lib.fakeSha256` for that
<EsperLily> which looks visibly different than embedding an actual sha256
<judson__> That's worth a lot!
sigmundv has quit [Ping timeout: 258 seconds]
<judson__> What's it look like?
<srhb> judson__: 52a0 is my goto :P
<EsperLily> it looks like `lib.fakeSha256`
<EsperLily> I meant in source it looks different
<judson__> Oh, I see what you mean.
<EsperLily> it's just a value set to a string full of zeroes
<EsperLily> there's also constants for the other hash types too
<{^_^}> [nixpkgs] @zimbatm merged pull request #77606 → Sylk: 2.1.0 -> 2.5.0 → https://git.io/JvJke
<{^_^}> [nixpkgs] @zimbatm pushed commit from @leenaars to master « Sylk: 2.1.0 -> 2.5.0 (#77606) »: https://git.io/JvJN2
<{^_^}> [nixpkgs] @Ma27 pushed to master « bandwhich: 0.8.0 -> 0.9.0 »: https://git.io/JvJNa
<Taneb> judson__: my mnemonic is it's the same number as the number of cards in a deck
<judson__> Taneb, that's handy
opthomasprime has joined #nixos
<Taneb> It certainly suits some types of brain
<jD91mZM2> Hi! nixos-rebuild switch --upgrade just killed my X server, AMA... In all seriousness though, does anybody know if there's something I can do to help debugging this issue?
arno01 has quit [Remote host closed the connection]
<buckley310> jD91mZM2 what DE are you using?
<buckley310> this happens to me occasionally on gnome. i have theories.
<jD91mZM2> buckley310: I'm using the bspwm window manager, no full DE.
<jD91mZM2> "Process 6514 (X) of user 0 dumped core."
<jD91mZM2> - systemctl status display-manager
<jD91mZM2> maybe it wasn't restarted then, like I thought it was
<buckley310> using a login manager?
<jD91mZM2> LightDM
<buckley310> :/ not sure then. ive never seen a WM under lightdm get killed by a switch
<buckley310> i would suggest running your rebuilds inside of a tmux session, and then if the X crash happens, re-attach to tmux and see which services were restarted, and then debug from there
<jD91mZM2> Yeah, I suppose. I was quite taken by surprise
<{^_^}> [nixpkgs] @gnidorah opened pull request #77690 → way-cooler: Remove → https://git.io/JvJNy
<{^_^}> [nixpkgs] @arcnmx opened pull request #77691 → lib/types: prioritise coercedType in coercedTo → https://git.io/JvJNA
<jD91mZM2> Ok, so I don't actually think this was a NixOS issue anymore... X just crashed and produced a core dumb
eyJhb has quit [Quit: Clever message]
<jD91mZM2> `coredumpctl gdb <thing>` tells me it's from xf86ReadInput in /nix/store/hashhashhashhashhash-xorg-server-1.20.6/bin/Xorg
civodul has quit [Quit: ERC (IRC client for Emacs 26.3)]
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
dansho has joined #nixos
gagbo has quit [Ping timeout: 265 seconds]
<evanjs> I suppose I could just override rustc, rust, and cargo, and then use buildRustPackage like normal?
<evanjs> With latest.stable from the Mozilla overlay
<jD91mZM2> evanjs: I am missing the context - Are you aware of makeRustPlatform?
<evanjs> jD91mZM2: context is just trying to using latest stable with a package that’s currently using fully stable nixos and buildRustPackage
<evanjs> I already have moz overlay on the build system, as well as a pinned nixos-unstable, just wasn’t sure which route was best
<evanjs> Ideally I’d want to use buildRustPackage with always the latest stable rust (ie 1.40.0 rn)
<jD91mZM2> Yeah hold on, I have something like that somewhere
arcnmx has joined #nixos
<arcnmx> iirc generally you'll want something like some-rust-package.override { rustPlatform = pkgs.makeRustPlatform { rustc = rust.rust; cargo = rust.rustc; }; }
<evanjs> Alright. Yeah what you shared already is pretty close to what I was thinking
<arcnmx> oops cargo = rust.rust
<arcnmx> where rust is a channel from the moz overlay
bvdw has quit [Read error: Connection reset by peer]
<evanjs> jD91mZM2: wonderful! I think that’s exactly what I need
<evanjs> jD91mZM2++
<{^_^}> jD91mZM2's karma got increased to 5
<evanjs> arcnmx++
<jD91mZM2> :)
<{^_^}> arcnmx's karma got increased to 4
<evanjs> Thanks guys
<jD91mZM2> No problem, happy to help :)
<{^_^}> [nixpkgs] @7c6f434c merged pull request #77675 → flashplayer: 32.0.0.303 -> 32.0.0.314 → https://git.io/JvJ9D
<{^_^}> [nixpkgs] @7c6f434c pushed 2 commits to master: https://git.io/JvJAo
bvdw has joined #nixos
<jD91mZM2> Fun fact: The whole mozOverlay situation will be much improved with a cool WIP Nix feature I only learned about recently: Flakes!
<jD91mZM2> https://youtu.be/UeBX7Ide5a0 if you're ever bored
<evanjs> jD91mZM2: yeah flakes would definitely be interesting with the moz overlay
<evanjs> As would an official moz overlay support/discussion channel 😅
<jD91mZM2> Yeah
<jD91mZM2> No idea how to use it, but this is also a potential improvement: https://github.com/mozilla/nixpkgs-mozilla/blob/master/package-set.nix. It makes it possible to use it without an overlay, but I have no idea how it works
<{^_^}> [nixpkgs] @bcdarwin opened pull request #77692 → pythonPackages.pynrrd: init at 0.4.2 → https://git.io/JvJAy
<arcnmx> mm, you can also roughly use (pkgs.extend mozOverlay).latest.etc iirc?
<arcnmx> well probably more like pkgs.extend (import <mozilla/rust-overlay.nix>) or something ><
eyJhb has joined #nixos
opticnerve has joined #nixos
<{^_^}> [nixpkgs] @vcunat pushed 2 commits to master: https://git.io/JvJAx
<{^_^}> [nixpkgs] @vcunat merged pull request #77682 → glog: remove static flag → https://git.io/JvJ5I
<opticnerve> maybe biased answers anyway: is it NixOS ok for daily usage as general purpose desktop os?
<samueldr> maybe biased answer: yes
<{^_^}> [nixpkgs] @vcunat pushed 5 commits to release-19.03: https://git.io/JvJAj
lsix has quit [Quit: WeeChat 2.6]
<HedgeMage> opticnerve: Probably, depending somewhat on the user.
<opticnerve> which is the biggest change for a debian user?
<HedgeMage> opticnerve: I have a particularly varied set of use cases in that I'm a software engineer and infosec engineer/analyst turned CISO, so I need to simultaneously support a wide range of technical tools and a set of executive tools that were designed for people who don't really understand their computers...I can do both well on NixOS, which is why I migrated from Gentoo in the end. However, I know
<HedgeMage> nothing of the use case from a gamer's or designer's perspective, etc.
<aswanson> opticnerve: you're going to spend a lot of time learning how to do things you already know how to do the Nix way
<aswanson> opticnerve: the upside is that you'll suddenly find yourself making major changes to your system state that just kind of work, with a few minor edits to configuration.nix
<HedgeMage> opticnerve: The configuration is going to be a big change for you... Debian strongarms some things where NixOS expects you to make choices. Also, depending on whether you've worked with any declarative-syntax DSLs before or not, you may find "the Nix way" of doing things foreign at first.
captn3m0 has joined #nixos
Jackneill has quit [Remote host closed the connection]
tertl3 has quit [Quit: Connection closed for inactivity]
<opticnerve> clear. Last question: can u suggest me some study materials for Nix begginers so that if I install it i know where to put my hands?
wildtrees has joined #nixos
wildtrees has quit [Max SendQ exceeded]
<simpson> opticnerve: The Pills are popular: https://nixos.org/nixos/nix-pills/index.html
wildtrees has joined #nixos
Neo-- has joined #nixos
keithy[m] has joined #nixos
<keithy[m]> Are there any tutorials on how to create a yaml/json file with nix.
<infinisil> keithy[m]: What's your use-case?
<infinisil> Ah
<infinisil> You can just use `builtins.toJSON`
<infinisil> > builtins.toJSON { foo = "bar"; }
<{^_^}> "{\"foo\":\"bar\"}"
<keithy[m]> creating ignition files to instanciate fedora core os and load nix into it
wildtrees has quit [Max SendQ exceeded]
wildtrees has joined #nixos
<aswanson> what's the major difference between python.withPackages and python.buildEnv? So far the nixpkgs documentation seems to treat them as interchangeable
maurer is now known as maruer
<infinisil> aswanson: withPackages is just a small convenience wrapper around buildEnv
<aswanson> infinisil: Thank you! I never know exactly where in the tree to look for python utility functions
setthemfree[m] has left #nixos ["User left"]
<infinisil> > builtins.unsafeGetAttrPos "withPackages" pkgs.python
<{^_^}> { column = 9; file = "/var/lib/nixbot/nixpkgs/master/repo/pkgs/development/interpreters/python/default.nix"; line = 39; }
<{^_^}> [nixpkgs] @erikarvstedt opened pull request #77693 → Fix Python test driver → https://git.io/JvJx1
<infinisil> aswanson: This is one way to figure out where things come from ^
<infinisil> That line then contains `withPackages = import ./with-packages.nix { inherit buildEnv pythonPackages;};`
<infinisil> And `nix repl '<nixpkgs>'` can be used to call the unsafeGetAttrPos there
<aswanson> infinisil: thanks for the thorough answer. I have a feeling you might have a good answer for this: I'm attempting to install python package cx_oracle, but the build is currently failing. I'm in no position to troubleshoot what is going wrong with the package, so I thought it would be simpler for me to override the version number and use an older working version. Can I do an override like that within a
<aswanson> nix-shell expression?
mallox has quit [Read error: Connection reset by peer]
<infinisil> aswanson: I'd start by writing a shell.nix file. Expressions can become ugly quick, and having that all in a command makes mistakes easy
<{^_^}> [nixpkgs] @jonringer merged pull request #77692 → pythonPackages.pynrrd: init at 0.4.2 → https://git.io/JvJAy
<{^_^}> [nixpkgs] @jonringer pushed commit from @bcdarwin to master « pythonPackages.pynrrd: init at 0.4.2 »: https://git.io/JvJxb
<aswanson> infinisil: yeah, I had one going already, it broke after I updated my nixpkgs channel this morning
<infinisil> The easiest thing would be to just use an older nixpkgs version
<infinisil> ,pinning aswanson
<infinisil> E.g. like this ^
andymandias_ has joined #nixos
<infinisil> Then your shell.nix files don't depend on stateful channels
andymandias has quit [Ping timeout: 258 seconds]
<aswanson> infinisil: thanks, I'll look into that
<evanjs> jD91mZM2: tested and the makeRustPlatform route seems to work perfectly. And I can leave the package expression alone. Thanks again!
<jD91mZM2> No problem :)
<{^_^}> Channel nixpkgs-19.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/644045de8b9 (from 2 hours ago, history: https://channels.nix.gsc.io/nixpkgs-19.09-darwin)
dansho has quit [Remote host closed the connection]
dansho has joined #nixos
lovesegfault has quit [Ping timeout: 248 seconds]
bgamari has joined #nixos
orcus has joined #nixos
fendor has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @Infinisil merged pull request #77691 → lib/types: prioritise coercedType in coercedTo → https://git.io/JvJNA
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to master: https://git.io/JvJpW
ixxie has joined #nixos
o1lo01ol_ has joined #nixos
chloekek has joined #nixos
jonten has joined #nixos
wiml has joined #nixos
orcus has quit [Quit: ZNC 1.7.5 - https://znc.in]
orcus has joined #nixos
o1lo01ol1o has quit [Ping timeout: 268 seconds]
zeta_0 has joined #nixos
Maxdamantus has quit [Ping timeout: 258 seconds]
o1lo01ol_ has quit [Ping timeout: 265 seconds]
o1lo01ol1o has joined #nixos
Maxdamantus has joined #nixos
ThatDocsLady has quit [Quit: Leaving]
dm9 has quit [Quit: WeeChat 2.7]
o1lo01ol1o has quit [Ping timeout: 268 seconds]
hyper_ch has joined #nixos
drewr` has joined #nixos
ambro718 has joined #nixos
noudle has joined #nixos
drewr has quit [Ping timeout: 260 seconds]
Straa has quit [Ping timeout: 268 seconds]
orcus has quit [Quit: ZNC 1.7.5 - https://znc.in]
orcus has joined #nixos
<{^_^}> [nixpkgs] @nh2 opened pull request #77694 → marktext: init → https://git.io/JvJhL
orcus has quit [Client Quit]
orcus has joined #nixos
growpotk- has joined #nixos
kqb has joined #nixos
kqb has quit [Client Quit]
ixxie has quit [Ping timeout: 268 seconds]
ajs124 has quit [Quit: Gateway shutdown]
lordcirth_ has joined #nixos
dalto5 has quit [Ping timeout: 272 seconds]
<chrisaw> This is a long shot but is anyone using Mosquitto Broker on NixOS right now? I cannot get it to work properly and I've checked and double checked all the configs - all look fine but messages are never delivered!
lordcirth has quit [Ping timeout: 268 seconds]
zeta_0 has quit [Quit: rcirc on GNU Emacs 26.3]
<cransom> i am. no recent issues as far as i know as home-assistant is still assiting.
lordcirth__ has joined #nixos
dalto5 has joined #nixos
<{^_^}> [nixpkgs] @grahamc merged pull request #77683 → doc: Make callout marks & prompts unselectable → https://git.io/JvJ5C
<{^_^}> [nixpkgs] @grahamc pushed 3 commits to master: https://git.io/JvJjK
lordcirth_ has quit [Ping timeout: 260 seconds]
fendor has joined #nixos
<chrisaw> cransom: That's exactly what I want to use it for. Strange thing is - using "mosquitto_sub" and "mosquitto_pub" on the same box and the same topic and the message is seemingly "sent" but it never actually arrives. :S
<chrisaw> Completely confused with it!
lordcirth_ has joined #nixos
<cransom> are you watching for the exact same topic that you pub to? including a possible leading /?
lordcirth__ has quit [Ping timeout: 260 seconds]
dsx has quit [Quit: dsx]
<cransom> there's also a wildcard you can use... i think it's #, so subbing to /# will give you eeeeverything.
opticnerve has quit [Quit: Leaving]
<fresheyeball> hey I have an nginx problem
<fresheyeball> I am trying to get this page to work but for some reason nginx serves it with weird chars
<fresheyeball> everything looks great if I serve it locally with nodejs
growpotk- has quit [Ping timeout: 268 seconds]
<{^_^}> [nixops] @pSub opened pull request #1219 → Fix Travis build: Travis creates /etc/nix for us → https://git.io/JvJjh
<gustavderdrache> firefox is warning me that there's no character set declared
<gustavderdrache> what happens if you add `<meta charset="utf-8">` to the top of the `<head>` tag?
hax404 has quit [Quit: WeeChat 2.6]
<chrisaw> cransom: I have indeed, you can just use '#' for the topic too but still nothing. It's very strange. Like it's going through the motions but then just throwing it in /dev/null or something!
hax404 has joined #nixos
dsx has joined #nixos
<fresheyeball> gustavderdrache++
<{^_^}> gustavderdrache's karma got increased to 3
<chrisaw> I can use mosquitto_sub with a public broker and get messages in and out of that j ust fine just seems to be my install which is silently discarding them for some reason.
<fresheyeball> that did it
<fresheyeball> weird
lovesegfault has joined #nixos
<gustavderdrache> my guess is the node module was defaulting to utf-8 in the headers, whereas nginx isn't
<{^_^}> [nixpkgs] @alyssais merged pull request #77574 → public-inbox: fix build → https://git.io/JvfQq
<{^_^}> [nixpkgs] @alyssais pushed to master « public-inbox: fix build »: https://git.io/JvUeL
cinimod` has quit [Ping timeout: 240 seconds]
<cransom> chrisaw: possible that you ahve an acl set, or not enough acl set? i don't know what the reponse is if you try to send to a topic you don't have permissions for.
zeta_0 has joined #nixos
<chrisaw> cransom: I've tried the most open configs I could find to the most restrictive. Doesn't seem to make any difference strangely. :/
<lordcirth_> chrisaw, sounds like a question for the mosquito community
chagra has quit [Ping timeout: 260 seconds]
felixfoertsch has quit [Ping timeout: 246 seconds]
<chrisaw> cransom: You're a gem! The problem was topic. >_<
<chrisaw> The ACL was using 'topic /#' but of course that would only work if the topic was prefixed with a '/' - doh!!
<chrisaw> Thanks for the help!! :)
chagra has joined #nixos
<cransom> np, glad you are sorted.
lordcirth__ has joined #nixos
jonten has quit [Ping timeout: 260 seconds]
lordcirth_ has quit [Ping timeout: 260 seconds]
aszlig has quit [Quit: Kerneling down for reboot NOW.]
<{^_^}> [nixpkgs] @nyanloutre opened pull request #77695 → usb-modeswitch: fix configurable patch → https://git.io/JvUeo
tertl3 has joined #nixos
aszlig has joined #nixos
UndefinedIsNotAF has joined #nixos
<noonien> hello folks
hax404 has quit [Quit: WeeChat 2.6]
<noonien> can i use callPackage from shell.nix?
<noonien> pkgs.callPAckage says 'callPackage' is missing
hax404 has joined #nixos
felixfoertsch has joined #nixos
fresheyeball has quit [Quit: WeeChat 2.6]
<{^_^}> [nixpkgs] @FRidh opened pull request #77696 → WIP: pypyInterpreters.pypy{27,36}_prebuilt: fix builds → https://git.io/JvUeh
reverbtank has left #nixos [#nixos]
<infinisil> ,dnw noonien
<{^_^}> noonien: Provide as much info as possible on problems. What specifically doesn't work? What command did you run? What's the error? This makes debugging easier and helps getting faster responses
<noonien> a friend is trying to build a nix package to be included into his configuration.nix as an overlay, i want to test that .nix file
pikajude3 has joined #nixos
<noonien> and i want to use the same format that packages in nixos uses, this is why i need callPackage
pikajude3 is now known as pikajude0
<noonien> i would also like to just run `nix-build`, so that i don't have to change my configuration.nix
<pikajude0> so, what does nixos-rebuild do if you don't have a nixos channel set?
<pikajude0> which one does it pick?
<noonien> pkgs.callPackage seems to have worked, i just had a typo
<pikajude0> i logged in as root and added the 19.09 channel and suddenly everything on my system is getting rebuilt
ambro718 has quit [Quit: Konversation terminated!]
pikajude has quit [Quit: ZNC 1.7.5 - https://znc.in]
<cransom> noonien: https://gist.github.com/64c86938af8011ba6914adeac8b41975 this is a wrapper i use for the random derivations in nix files that i want to build. somefile.nix as the first argument and it does it's thing.
pikajude has joined #nixos
<pikajude0> hmm, site says that it autosubscribes to whatever release you originally installed with
<pikajude0> but i didn't see it in the nix-channel --list output. weird
<noonien> cransom: awesome, thanks!
pikajude has quit [Client Quit]
pikajude has joined #nixos
<{^_^}> [nixpkgs] @dtzWill opened pull request #77697 → pfetch: dontbuild -> dontBuild, installPhase touchup, stdenvNoCC → https://git.io/JvUv4
<wiml> Is there documentation on `stdenv.mkDerivation` or `buildEnv` ? I can find some examples of their use in the docs, but nothing that lists all of the attributes they look at and what they do with them. I feel like I'm looking in the wrong docs or something
<chloekek> I sometimes get Firefox being unable to load pages after resuming from stand-by.
<chloekek> Other apps can connect to internet just fine without restarting them e.g. IRC client.
elenapan has quit [Quit:]
elenapan has joined #nixos
elenapan has quit [Remote host closed the connection]
pikajude0 has quit [Remote host closed the connection]
zeta_0 has quit [Quit: rcirc on GNU Emacs 26.3]
<philipp[m]2> Has anybody gotten gnunet in a state where you could at least get your peerinfo from cli?
suchar has left #nixos ["WeeChat 1.6"]
shibboleth has joined #nixos
<{^_^}> [nixpkgs] @curiousleo opened pull request #77698 → lwan: 0.1 -> 0.2 → https://git.io/JvUfs
efriend has joined #nixos
alex`` has quit [Ping timeout: 260 seconds]
alexherbo2 has quit [Ping timeout: 272 seconds]
o1lo01ol1o has joined #nixos
knupfer has quit [Ping timeout: 245 seconds]
alexherbo2 has joined #nixos
<{^_^}> Channel nixos-19.09-small advanced to https://github.com/NixOS/nixpkgs/commit/644045de8b9 (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-19.09-small)
Guest25175 has joined #nixos
knupfer has joined #nixos
<{^_^}> [nixpkgs] @teto merged pull request #77677 → openssl: fix build linux with clangStdenv → https://git.io/JvJQr
<{^_^}> [nixpkgs] @teto pushed commit from @Mic92 to master « openssl: fix build linux with clangStdenv »: https://git.io/JvUJk
<{^_^}> [nixpkgs] @teto merged pull request #77666 → diffoscope: enable on darwin → https://git.io/JvJMi
<{^_^}> [nixpkgs] @teto pushed 2 commits to master: https://git.io/JvUJL
o1lo01ol1o has quit [Remote host closed the connection]
jonten has joined #nixos
alexherbo20 has joined #nixos
kenjis1 has quit [Remote host closed the connection]
zeta_0 has joined #nixos
alexherbo2 has quit [Ping timeout: 265 seconds]
alexherbo20 is now known as alexherbo2
Guest25175 has quit [Ping timeout: 268 seconds]
alexherbo2 has quit [Client Quit]
<zeta_0> i am currently in the process of installing python in home.nix, is there a nix python `anaconda` package that i can install or do i have to install all of those packages separately?
orcus has quit [Quit: ZNC 1.7.5 - https://znc.in]
alexherbo2 has joined #nixos
orcus has joined #nixos
o1lo01ol1o has joined #nixos
zeta_0 has quit [Quit: rcirc on GNU Emacs 26.3]
<{^_^}> [nixpkgs] @HugoReeves opened pull request #77700 → topgrade: fix, add darwin Foundation framework → https://git.io/JvUJz
medard has joined #nixos
<medard> Hi, are there any requirements for nixos graphical installer to run in virtual machine?
<medard> I started graphical daemon and screen just went black
wiml has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @FRidh merged pull request #77644 → pythonPackages.venvShellHook: init → https://git.io/JvJRc
<{^_^}> [nixpkgs] @FRidh pushed to master « pythonPackages.venvShellHook: init »: https://git.io/JvUUs
drakonis1 is now known as drakonis
<ddima> medard: hm, more of a hunch, but have you tried the nomodeset kernel parameter during boot to see if that helps?
opthomasprime has quit [Quit: Leaving.]
OmnipotentEntity has joined #nixos
mehlon has joined #nixos
<mehlon> so I just moved between partitions, can I somehow copy over my existing /nix/store from my old partition to my new one?
<mehlon> or at least, use it as a binary cache so I can reinstall my stuff
mexisme has joined #nixos
<medard> ddima, yes, didnt work :-/
<{^_^}> [nixpkgs] @Alan01252 opened pull request #77701 → gns3: Fix python package not being pinned → https://git.io/JvUUg
erasmas has quit [Read error: Connection reset by peer]
<OmnipotentEntity> There's a lot of symlinks going in and out of that directory, mehlon, I'm not sure it'll be that easy. But the good news is if you try it and it doesn't work, you can probably just undo it.
<mehlon> hmm
<OmnipotentEntity> I'm trying out updating to unstable, and I'm having a bit of trouble with the openshot-audio, it's failing to compile, and I believe it has something to do with the newer compiler. Is there a way I can instruct nix to use an older compiler from nixos-rebuild?
UndefinedIsNotAF has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
maruer is now known as maurer
<ddima> medard: from the top of my head: assuming the GUI installer generally works, which I havent verified; has any other linux booted, like tried arch or ubuntu to double-check? is it by any chance a rel new AMD cpu or so?
<medard> ddima, ot
<medard> ddima, it's first generation ryzen cpu, i have many different VMs running, some with graphical interface
Soo_Slow has joined #nixos
<ddima> medard: wait, are you getting black screen trying to boot nixos and not on the physical machine itself?
<medard> ddima, no i boot properly. Then i do sudo systemctl start display-manager and then screen goes black (on the VM)
philr has joined #nixos
<ddima> sorry, dropped words in the sentence before "trying to boot nixos installer in a VM"
o1lo01ol1o has quit [Remote host closed the connection]
<ddima> medard: do the logs say anything about the failed display-manager start say anything (if you maybe switch back to console)? I vaguely remember that with virtualbox for instance I had to pick some specific GPU device to get GUI to work, maybe thats sth to look into to, iirc there were not too many options.
Wizek has joined #nixos
<clever> medard: there are also pre-made virtualbox images, with nixos installed already
<{^_^}> [nixpkgs] @jwiegley merged pull request #77634 → Disable further pass tests that end up relying on gpg-agent on… → https://git.io/JvJCF
<{^_^}> [nixpkgs] @jwiegley pushed 0 commits to johnw/58975: https://git.io/JvUUx
<{^_^}> [nixpkgs] @jwiegley pushed 2 commits to master: https://git.io/JvUUp
mehlon has quit [Quit: Leaving]
OmnipotentEntity has quit [Quit: Leaving]
alex`` has joined #nixos
drakonis has quit [Ping timeout: 260 seconds]
fusion809 has joined #nixos
cosimone has joined #nixos
wild_buffalo has joined #nixos
<wild_buffalo> What package should I install to use the Haskell Tool Stack with Nix?
<{^_^}> [nixpkgs] @dtzWill opened pull request #77702 → nota: init at 1.0 → https://git.io/JvUTO
<lassulus> do the virtualbox images have a usable configuration.nix ? Last time I checked it was quite hard to modify the booted system
dalto5 has quit [Ping timeout: 258 seconds]
fusion809 has quit [Read error: Connection reset by peer]
drakonis1 has joined #nixos
fusion809 has joined #nixos
knupfer has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @lblasc opened pull request #77703 → syslinux: 2015-11-09 -> 2019-02-06 → https://git.io/JvUTR
jonten has quit [Ping timeout: 272 seconds]
virus_dave has quit [Quit: virus_dave]
Blessjah has quit [Remote host closed the connection]
zeta_0 has joined #nixos
gxt has joined #nixos
Blessjah has joined #nixos
chagra has quit [Ping timeout: 240 seconds]
chagra has joined #nixos
gustavderdrache has quit [Quit: Leaving.]
noudle has quit []
fenedor has joined #nixos
Blessjah has quit [Remote host closed the connection]
fendor has quit [Ping timeout: 265 seconds]
Blessjah has joined #nixos
<wild_buffalo> ah whoops there's instructions for installing it on the documentation, didn't see it initially
chagra has quit [Ping timeout: 268 seconds]
o1lo01ol1o has joined #nixos
<{^_^}> [nixpkgs] @elseym opened pull request #77704 → lib.commitIdFromGitRepo: fix support for git-submodule → https://git.io/JvUkT
chloekek has quit [Ping timeout: 240 seconds]
kvda has joined #nixos
<{^_^}> [nixpkgs] @jonringer merged pull request #77687 → python3Packages.sentry-sdk: add missing test dependency → https://git.io/JvJFt
<{^_^}> [nixpkgs] @jonringer pushed commit from @ruuda to master « python3Packages.sentry-sdk: add missing test dep »: https://git.io/JvUkm
<nDuff> Hmm; this is bizarre. I'm building an image with ``services.sshd.passwordAuthentication = false``, but it's generating a sshd_config with ``PasswordAuthentication true``.
Jackneill has joined #nixos
<nDuff> Running ``nix show-derivation -r`` on the resulting built shows me the generated code copying that string to a file, but it doesn't really do anything to explain *why* that's what's being generated.
<nDuff> (err, s/built/build/)
<noonien> can i pass packages from different channels to -p in `nix-shell`?
<nDuff> oh. Needs to be `services.openssh`, not `services.sshd`. Surprised that that didn't get caught in validation.
<{^_^}> [nixpkgs] @tobim opened pull request #77705 → nodePackages.clubhouse-cli: init at 2.1.0 → https://git.io/JvUk0
<{^_^}> Channel nixos-19.03-small advanced to https://github.com/NixOS/nixpkgs/commit/8818bed7716 (from 5 hours ago, history: https://channels.nix.gsc.io/nixos-19.03-small)
tomberek has quit [Ping timeout: 268 seconds]
domogled has quit [Quit: domogled]
jfhbrook has joined #nixos
ajs124 has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace merged pull request #76205 → networkmanager: 1.20.8 -> 1.22.4, modemmanager: 1.10.6 -> 1.12.2 → https://git.io/JvUk7
<{^_^}> [nixpkgs] @worldofpeace pushed 4 commits to staging: https://git.io/JvUk5
boolman has quit [Ping timeout: 240 seconds]
anderslundstedt has quit [Ping timeout: 258 seconds]
anderslundstedt has joined #nixos
<infinisil> noonien: You could do `nix-shell -I nixpkgs=channel:nixos-unstable -p foo bar
<infinisil> Or `nix-shell -f channel:nixos-unstable -p foo bar` I think
<noonien> yes, but if i want to have packages from both `nixos` and `nixos-unstable`?
<infinisil> You need a shell.nix file then
<infinisil> Well, you don't need to, but it gets complicated
<noonien> hehe, yes, i figured
<noonien> i'm working on a `nix-run`, i managed to make it work, but i'm unsure if it's the correct way of doing it
<noonien> `with { nixos = import <nixos> {}; nixos-unstable = import <nixos-unstable> {}; }; nixos.buildEnv { name = 'nix-shell'; paths = [ $PACKAGES ]; }"`
<noonien> i pass this to `nix-shell -E`
mikky has quit [Quit: WeeChat 1.0.1]
boolman has joined #nixos
<{^_^}> [nixpkgs] @jonringer merged pull request #77702 → nota: init at 1.0 → https://git.io/JvUTO
<{^_^}> [nixpkgs] @jonringer pushed commit from @dtzWill to master « nota: init at 1.0 »: https://git.io/JvUIY
fenedor has quit [Read error: Connection reset by peer]
<infinisil> nix-shell would use `pkgs.mkShell` or `pkgs.stdenv.mkDerivation`, but I guess buildEnv could work too here
vld has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @jonringer merged pull request #76104 → bs-platform: 6.2.1 -> 7.0.1 → https://git.io/JedmZ
<{^_^}> [nixpkgs] @jonringer pushed commit from @turboMaCk to master « bs-platform: 6.2.1 -> 7.0.1 »: https://git.io/JvUIs
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
xO1 has quit [Ping timeout: 240 seconds]
Jackneill has quit [Remote host closed the connection]
__monty__ has quit [Quit: leaving]
mexisme has quit [Ping timeout: 258 seconds]
<{^_^}> [nixpkgs] @dtzWill opened pull request #77706 → xorg.xorgserver: 1.20.6 -> 1.20.7 → https://git.io/JvUIR
cap_sens1 has joined #nixos
<noonien> in case anyone else needs a decent and fast `nix-run`
<cap_sens1> Noob question: Can I have /dev/gpiomem with mainline kernel on raspberry pi?
W1lkins has quit [Remote host closed the connection]
philr has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @dtzWill opened pull request #77707 → txr: 230 -> 231 → https://git.io/JvUIu
<cap_sens1> I think there's a kernel module called 'bcmXXXX_gpiomem' for rpi, but only for 4.19 kernel
<{^_^}> [nixpkgs] @andersk opened pull request #77708 → cupy: Move cudatoolkit to propagatedNativeBuildInputs to fix Thrust → https://git.io/JvUIz
growpotkin has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @dtzWill opened pull request #77709 → libsecret: 0.19.1 -> 0.20.0 → https://git.io/JvUIK
<nDuff> cap_sens1: I happen to be logged into a Raspberry Pi 4 built against nixos unstable right now, and /dev/gpiomem exists. That said, it's using linuxPackages_rpi4, so I suppose that doesn't answer your "mainline kernel" question.
<cap_sens1> nDuff: I see. Yesterday I was trying linuxPackages_rpi3, and I was unable to boot
<nDuff> Ahh. I don't have any pi 3 hardware, so can't test personally.
<cap_sens1> nDuff: But that was good info! I also have a rpi4, so maybe I can switch to that
medard has quit [Quit: Leaving]
kvda has joined #nixos
<cap_sens1> nDuff: BTW, in rpi4, all 4GB of RAM are avaliable right?
<nDuff> yup.
<nDuff> well, the one I'm logged into right now is a 1GB unit, but tested the SD image previously in a 4GB one, and /proc/meminfo looked right.
<cap_sens1> nDuff: Thanks!
m0rphism has quit [Ping timeout: 240 seconds]
<cap_sens1> Another noob question: It seems that i3lock and xscreensaver are installed by default. Can I remove them/How to remove them declaratively in /etc/configuration.nix?
mexisme has joined #nixos
<noonien> nixos on rpi??
<cap_sens1> noonien: yes
<noonien> woah, nice!
<noonien> i gave it a try some time ago, i remember having some issues making it run, really nice that it works now!
<noonien> did you just follow the wiki?
<cap_sens1> Yes
iqubic has joined #nixos
<noonien> great!
<cap_sens1> But on rpi3, I can't use rpi foundation's kernel so the functionalityh is limited
<iqubic> So, I did a silly thing. I just ran: `nix-env -iA nixos.gtk3-x11`
<cap_sens1> I have to use linuxPackages_latest or linuxPackages
<noonien> i've got rpi2, rpi3, and rpi4. i'm only interested in the rpi4 atm
<iqubic> No I can't remove this package.
<iqubic> *now
<cap_sens1> Aha, nDull claimed that linuxPackages_rpi4 is working, so I guess it's good time
<iqubic> And I wonder why that is.
<noonien> is anyone able to run qtcreator?
pbb has quit [Remote host closed the connection]
<noonien> i get this error when trying to run it: qt.qpa.plugin: Could not find the Qt platform plugin "xcb" in ""
Soo_Slow has quit [Quit: Soo_Slow]
pbb has joined #nixos
<tbenst[m]> noonien: are you in a shell? If so can add `QT_PLUGIN_PATH = "${qt5}/${qt5.qtPluginPrefix}";`
<tbenst[m]> but in general need `wrapQtAppsHook` in `nativeBuildInputs`
<noonien> hmmm, i added `qtcreator` to systemPackages. should that not make it work?
<iqubic> No. Not with this package.
<noonien> i see, is there a specific reason? and maybe a wrapper?
<tbenst[m]> on another note, I accidentally put a "[" in my nix.conf via nix.extraOptions on NixOS...now I can't do anything involving nix-store, and can't sudo to fix the read-only /etc/ filesystem...is there a way to fix this other than a live CD?
<nDuff> tbenst[m]: consider bind-mounting a fixed file over the real one, then restarting the nix-daemon service.
<nDuff> tbenst[m]: or you can boot into an older configuration.
<samueldr> /etc/ is not actually read-only, tbenst[m], you could sudo mv /etc/nix /etc/_nix; sudo mkdir /etc/nix/; cat /etc/_nix/nix.conf | sudo tee /etc/nix/nix.conf; sudo vim /etc/nix/nix.conf IIRC
<samueldr> (unless you made /etc/ read-only by some means :))
<nDuff> that too, though the bind-mount is safer; nothing you need to undo later, just reboot and it's gone. :)
boolman has quit [Ping timeout: 258 seconds]
boolman has joined #nixos
<samueldr> ah, I thought the symlink was on /etc/nix but it's directly on /etc/nix/nix.conf, so even easier
<samueldr> and when you rebuild it will overwrite that custom nix.conf iirc
<samueldr> since I believe I had to fix a boo-boo like that in the past
<{^_^}> [nixpkgs] @jonringer merged pull request #77693 → Fix Python test driver → https://git.io/JvJx1
<{^_^}> [nixpkgs] @jonringer pushed 2 commits to master: https://git.io/JvULt
<iqubic> so, I cannot for the life of me figure out how to undo the `nix-env -iA nixos.gtk3-x11` comman I ran.
felixfoertsch has quit [Quit: ZNC 1.7.4 - https://znc.in]
<iqubic> Whatever I do to try and remove gtk3 doesn't work. I can't seem to remove it from the list that `nix-env -q` shows.
<tbenst[m]> nDuff: neat! I had no idea about bind mounting..I just tried `sudo mount --bind /tmp/nix.conf /etc/nix/nix.conf`, and the file indeed changed per `cat`, but I still see `error: opening file '[': No such file or directory` on nixos-rebuild
das_j has quit [Remote host closed the connection]
ajs124 has quit [Remote host closed the connection]
Scriptkiddi has quit [Remote host closed the connection]
o1lo01ol1o has quit [Remote host closed the connection]
<iqubic> I'm so pissed that I can't easily remove this package.
<simpson> iqubic: If you have the /nix/store path, you can pass /nix/store paths directly to nix-env as if they were package names, including for removal.
<{^_^}> [nixpkgs] @flokli merged pull request #77664 → nixos/transmisison: Transmission torrent test fix → https://git.io/JvJ1u
<{^_^}> [nixpkgs] @flokli pushed 4 commits to master: https://git.io/JvULc
<iqubic> I see.
<tbenst[m]> nDuff: nvm, worked the second time I rebuilt, thanks!
<iqubic> I don't have the store path though.
<{^_^}> [nixpkgs] @flokli merged pull request #77645 → gitlab: 12.6.2 -> 12.6.4 → https://git.io/JvJR0
<{^_^}> [nixpkgs] @flokli pushed 3 commits to master: https://git.io/JvULl