gchristensen changed the topic of #nixos to: NixOS 18.09 released https://discourse.nixos.org/t/1076 || 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/nixcon2018
mmlb has quit [Read error: Connection reset by peer]
drakonis has quit [Ping timeout: 252 seconds]
mmlb has joined #nixos
Qubasa has joined #nixos
<Qubasa> Is https://nixos.org down?
<samueldr> up here
<Qubasa> Dns resolves to 54.217.220.47 and I can't ping it
<samueldr> resolves to same, can't ping, must not accept ping
<samueldr> try curling it
mkoenig has quit [Remote host closed the connection]
<Qubasa> alright strange... curling works but visiting the https version doesnt work
<Qubasa> seems to be a problem on my local dns resolver.
Qubasa has quit [Remote host closed the connection]
<ik3123> are there faster mirrors or something that speed up the initial install time?
pxc has joined #nixos
<ottidmes> ik3123: if you have another local machine with NixOS, you could probably do something with substituters
epicmetal has quit [Read error: Connection reset by peer]
<ik3123> ottidmes: nope. Just reinstalling on a new pool like you suggested
Mr_Keyser_Soze has joined #nixos
hamishmack has joined #nixos
<{^_^}> [nixpkgs] @marsam opened pull request #51642 → gitAndTools.git-test: init at 1.0.4 → https://git.io/fpDM1
pkx3 has joined #nixos
pkx3__ has quit [Read error: Connection reset by peer]
graphene has quit [Remote host closed the connection]
graphene has joined #nixos
<ik3123> ottidmes: well, of course it worked... maybe because I used virtual sata instead of virtio blocks
hiroshi- has joined #nixos
hiroshi has quit [Quit: ZNC 1.7.1 - https://znc.in]
hiroshi- is now known as hiroshi
<ottidmes> ik3123: ah, so ZFS now works? :D
<ik3123> yah, flashed right up when I rebuilt the pool. I guess it didn't like the virtio block devices? irksome.
<ottidmes> not sure, never ran it in a VM
<ik3123> Well, I wanted to work out the kinks before I committed it to my laptop. But thanks for helping me figure it out, I was ready to chuck it.
baum has joined #nixos
<baum> hi, by chance someone has an idea why the following doesn't work?
<baum> echo $dot/shell/haskell | xargs -I {} bash -c "nix-shell {}"
<baum> if i replace "nix-shell" with "echo" the correct path is printed
<{^_^}> [nixpkgs] @marsam opened pull request #51643 → flow: 0.86.0 -> 0.87.0 → https://git.io/fpDDx
freeman42x has quit [Ping timeout: 252 seconds]
<ottidmes> baum: this maybe: echo $dot/shell/haskell | xargs -I{} bash -c 'nix-shell {}'
<ottidmes> works for me
jrolfs has quit [Ping timeout: 268 seconds]
<baum> ottidmes: uhm, doesn't work on my end
<{^_^}> Channel nixos-unstable advanced to https://github.com/NixOS/nixpkgs/commit/c26dbef830a (from 6 hours ago, history: https://channels.nix.gsc.io/nixos-unstable)
Enzime has joined #nixos
<Enzime> can someone take a look at my PR?
<{^_^}> #51313 (by Enzime, 5 days ago, open): llpp: 2018-03-02 -> 30
CcxWrk has quit [Ping timeout: 250 seconds]
<baum> ottidmes: i assume the following works on your machine too?: echo $PWD | xargs nix-shell
<ottidmes> yes
<ottidmes> for you it does not work?
jrolfs has joined #nixos
<ik3123> ottidmes: not believing it was the virtio block that was the issue, there's a section in the wiki where there's a provisioning boilerplate using them. https://nixos.wiki/wiki/Virtualization_in_NixOS
<baum> ottidmes: nope, on neither of my machines, if i add --verbose i can see that nix evaluaes nixpkgs, however it doesn't switch to the correct shell
<baum> *evaluates
<ottidmes> ik3123: yeah, I know of a few people using it in VMs that way, but still, it could be related somehow, its a hard problem to pinpoint
Mr_Keyser_Soze has quit [Remote host closed the connection]
Mr_Keyser_Soze has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/70488665fae (from 85 minutes ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<baum> ottidmes: which bash version are you using? what's your channel
<baum> ?
<ottidmes> stable
Mr_Keyser_Soze has quit [Remote host closed the connection]
<ottidmes> GNU bash, version 4.4.23(1)-release (x86_64-unknown-linux-gnu)
Mr_Keyser_Soze has joined #nixos
<baum> ottidmes: thanks!
<{^_^}> Channel nixos-18.09-small advanced to https://github.com/NixOS/nixpkgs/commit/7795a7ad5f0 (from 89 minutes ago, history: https://channels.nix.gsc.io/nixos-18.09-small)
<{^_^}> Channel nixpkgs-18.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/7795a7ad5f0 (from 89 minutes ago, history: https://channels.nix.gsc.io/nixpkgs-18.09-darwin)
<kini> What's nixos's policy for updating the default linux kernel version?
epicmetal has joined #nixos
<ashkitten> does anyone have firefox nightly working
ng0 has quit [Quit: Alexa, when is the end of world?]
<samueldr> kini: not written, but "current LTS at release time"
<samueldr> (not written AFAIK)
<kini> cool, makes sense, thanks
<samueldr> si it's going to be updated to 4.19, eventually
<samueldr> especially important as current-non-LTS sometimes gets EOL'd before the stable version of nixos is dropped :)
endformationage has quit [Ping timeout: 240 seconds]
<kini> I guess the kernel devs set one LTS per year or so, so that means autumn releases of nixos will probably have the same kernel versions as the spring release of the same year
<samueldr> I don't know what's their policy on LTS versions
<kini> I don't know either, just guessing based on history
<rsully> is kernel version tied to nixos closely or is there a way to use newer kernels quicker? or is it unsupported
<samueldr> as long as you're going with released kernels, easy as it can be
<samueldr> kernel updates are backported, including newly released versions
<samueldr> often useful for new hardware :)
<samueldr> https://gitlab.com/samueldr/nixos-configuration/blob/master/machines/ralphwiggum/default.nix#L25 <- it could be pkgs.linuxPackages_latest to track the latest whichever it is
jrolfs has quit [Ping timeout: 250 seconds]
<rsully> is stateVersion to track a nix release, or does that property not really do anything? sorry I have not poked around much, very overwhelming
<samueldr> ,stateVersion rsully
<{^_^}> rsully: Setting stateVersion to the latest release doesn't update anything and can only break your setup at best. If you want to regardless, Ctrl-F for "stateVersion" in https://nixos.org/nixos/manual/release-notes.html to see things that need to be manually upgraded with the new value
Mr_Keyser_Soze has quit [Ping timeout: 246 seconds]
<simpson> rsully: To add onto that: The purpose of stateVersion is to be set *once*, when you install. You can change it after reading release notes. The entire goal is to enable most folks to cleanly upgrade between releases without worrying about having to upgrade Pg tables or other stateful data.
<rsully> is the proper way to update to use nix-rebuild and it will update it for you?
<samueldr> I thought the FAQ entry from the wiki was into that reploy :) https://nixos.wiki/wiki/FAQ/When_do_I_update_stateVersion
CcxWrk has joined #nixos
<rsully> aah ok "stateVersion has nothing to do with the current version of the system"
<simpson> nixos-rebuild is indeed the right way to upgrade your NixOS system.
<rsully> does nixos-rebuild update stateVersion? or is it still a manual process?
<{^_^}> [nixpkgs] @peterhoeg merged pull request #51622 → home-assistant: 0.82.1 -> 0.83.3 → https://git.io/fpMH0
<{^_^}> [nixpkgs] @peterhoeg pushed 2 commits to master: https://git.io/fpD9g
<simpson> nixos-rebuild will not change stateVersion nor anything else in your configuration.nix.
<gchristensen> the best bet is to forget stateVersion exists until release notes say it should change
<rsully> ok, provided you actually follow release notes closely
<gchristensen> they're not very long , usually only very important changes make it :)
<simpson> What gchristensen said. As a sysadmin, I really do want to set stateVersion *once*, at install, and hopefully never again.
<rsully> depends on how long you go between updates too
<rsully> ok I wasn't sure how fast things were changing
graphene has quit [Remote host closed the connection]
graphene has joined #nixos
<simpson> You can search for `stateVersion` in https://nixos.org/nixos/manual/release-notes.html to get an idea. It's not much. (I just checked in case I care about any of it, and nope.)
jrolfs has joined #nixos
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/fpD95
jperras has quit [Ping timeout: 250 seconds]
jperras has joined #nixos
nDuff has joined #nixos
cbarrett has quit []
<{^_^}> [nixpkgs] @ivan opened pull request #51644 → erlang: disable parallel building → https://git.io/fpDHS
<nDuff> When are paths used in a derivation added to the store? I have some code trying to iterate over a list to make only a subset of the source tree we're in relevant to a build (subpackages=[ "one/two" "three/four" ]; extraSources = map (x: ../../. + x) subpackages;), but I end up with paths that point to my local source tree, not to mirrors of that content in the store -- which is nasty, since I'm creating symlinks to the result of those locations (and *those
<nDuff> symlinks* into my home directory as a user are ending up in the store).
astrofog has joined #nixos
__monty__ has quit [Quit: leaving]
georges has quit [Ping timeout: 250 seconds]
dramforever has joined #nixos
<{^_^}> [nixpkgs] @dtzWill closed pull request #51633 → gcc: 7.3 -> 7.4 → https://git.io/fpD8D
jrolfs has quit [Ping timeout: 250 seconds]
georges has joined #nixos
epicmetal has quit [Read error: Connection reset by peer]
Supersonic has quit [Ping timeout: 268 seconds]
pie__ has joined #nixos
orivej has quit [Ping timeout: 250 seconds]
pie___ has quit [Remote host closed the connection]
baum has quit [Quit: Lost terminal]
epicmetal has joined #nixos
Supersonic has joined #nixos
<ashkitten> so i guess i'll install firefox nightly through flatpak
sigmundv has quit [Ping timeout: 246 seconds]
thc202 has quit [Ping timeout: 250 seconds]
iqubic has joined #nixos
meizikyn has quit [Quit: WeeChat 2.3]
Mr_Keyser_Soze has joined #nixos
<ashkitten> fucking
<ashkitten> thanks
<{^_^}> [nixpkgs] @worldofpeace merged pull request #51427 → scrcpy: 1.3 -> 1.5 → https://git.io/fpKS3
<{^_^}> [nixpkgs] @worldofpeace pushed commit from @tomberek to master « scrcpy: 1.3 -> 1.5 »: https://git.io/fpD7U
meizikyn has joined #nixos
joehh has quit [Ping timeout: 250 seconds]
<iqubic> What was the last release of NixOS? Do I need to update my system?
<gchristensen> 18.09
<emily> use nixos-unstable. then you always need to update your system.
<emily> fewer questions to deal with
<iqubic> Yeah, so I need to update my current branch.
<iqubic> How does one do that?
erratic has quit [Quit: this computer has gone to sleep...]
<dramforever> As root: nix-channel --add https://nixos.org/channels/nixos-18.09 nixos
<dramforever> As documented in: https://nixos.org/nixos/manual/#sec-upgrading
<iqubic> I'm still using the 18.03 branch.
<dramforever> Then do the nixos-rebuild switch --upgrade
<iqubic> That's gonna take a while I bet
<dramforever> Should have had you started by now?
endformationage has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace opened pull request #51646 → vivaldi: correct hash → https://git.io/fpD74
cyounkins has joined #nixos
<iqubic> I haven't used NixOS in a while.
<iqubic> Looks like nix-repl has bit the dust.
<ottidmes> iqubic: nix repl, now
<iqubic> I know. I saw the error message.
<dramforever> Seems like everything is *being* moved into just 'nix', *gradually*
<dramforever> So stuff like nix-env are still there
<iqubic> How long does: "Building system configuration" take?
cyounkin_ has joined #nixos
<dramforever> Shouldn't take long
<dramforever> I mean, shouldn't take long until more log appears
<ottidmes> iqubic: would depend on your configuration and the system you are building it on, would it not
<iqubic> It would.
<iqubic> Oh, there it goes, working on something else.
Mr_Keyser_Soze has quit [Ping timeout: 245 seconds]
cyounkins has quit [Ping timeout: 250 seconds]
astrofog has quit [Remote host closed the connection]
graphene has quit [Remote host closed the connection]
graphene has joined #nixos
graphene has quit [Remote host closed the connection]
graphene has joined #nixos
Radivarig has quit [Ping timeout: 252 seconds]
Mr_Keyser_Soze has joined #nixos
erratic has joined #nixos
the-kenny has quit [Ping timeout: 250 seconds]
cyounkin_ has quit [Remote host closed the connection]
the-kenny has joined #nixos
mmlb has quit [Read error: Connection reset by peer]
mmlb has joined #nixos
Mr_Keyser_Soze has quit [Ping timeout: 246 seconds]
<iqubic> Wow. Still building and compiling stuff.
<dramforever> Compiling?
<iqubic> Geez, how long is this gonna take.
<iqubic> dramforever: Does "nixos-rebuild switch --upgrade" compile stuff? I thought it did.
<iqubic> I might be wrong.
<nDuff> ...if there's compiling happening, presumably something about your box is changing the derivations in such a way that the upstream cached versions can't be used.
<dramforever> Shouldn't compile much
<iqubic> I see. I doubt stuff is being compiled than.
<iqubic> But it is definately building a ton of stuff.
<iqubic> Is building different than compiling?
<dramforever> Oh that's actually normal
epicmetal has quit [Ping timeout: 244 seconds]
<iqubic> Oh, looks like it is now building Texlive.full. I see why that's taking a while.
<dramforever> NixOS also builds configuration files and the like
<meizikyn> kinda, building in nixos is mostly decompressing binary content
<dramforever> Hmm
<meizikyn> compiling is... compiling
<iqubic> No. Actually this is building texlive drvs
<iqubic> It's building all the plugins and packages.
<dramforever> I don't know about textlive
<dramforever> *texlive
bobnormal has joined #nixos
<ldlework> hi dramforever
<iqubic> It's a version of LaTeX.
klntsky has quit [Ping timeout: 256 seconds]
<dramforever> I mean the internals, like what is build when installing and the like
<dramforever> ldlework: hi
<dramforever> iqubic: maybe you can ctrl-c it, then 'nixos-rebuild dry-build', then paste the log
sir_guy_carleton has joined #nixos
<dramforever> And someone might be able to tell if it's normal
<bobnormal> Suddenly having issues with arduino IDE - calls 'avr-g++' which appears via 'strace' to search for various locales then fail to execute, returning 127 (file not found). No idea what change caused this. Ideas?
<{^_^}> 'avr-g's karma got increased to 1
<dramforever> lol
* ivan learns SELECT * FROM builds WHERE (stoptime - starttime) > 7200 ORDER BY job;
<bobnormal> The only locale in the glibc directory it is searching is en_GB ... although I have tried reinstalling glibc with nix-env -i glibc and also have en_US.UTF-8 set as i18n.defaultLocale in configuration.nix
<bobnormal> Going to try setting that to "en_GB" and rebuilding/rebooting. Seems an obtuse fix for a weird issue though. Not sure of the nix way to resolve this.
bobnormal has quit [Quit: Leaving]
<dramforever> 'Suddenly having' <- It's not happening before?
<dramforever> Like, it worked on NixOS before but not now?
aleph- has quit [Ping timeout: 250 seconds]
Mr_Keyser_Soze has joined #nixos
<dramforever> bobnormal: Can you try 'file -L $(which avr-g++)' or something like that?
<{^_^}> avr-g's karma got increased to 1
<dramforever> ldd $(which avr-g++)
<{^_^}> avr-g's karma got increased to 2
<dramforever> I'm not actually sure what happened, but I think it's got something to do with shared libraries
bobnormal has joined #nixos
rprije has quit [Ping timeout: 250 seconds]
<dramforever> I feel like the locale stuff are just glibc trying to print an error message, but meh, dunno
<bobnormal> well, that didn't work.
<bobnormal> oh yeah maybe.
<dramforever> bobnormal: Check the bottom of https://logs.nix.samueldr.com/nixos/ for some stuff to try
Mr_Keyser_Soze99 has joined #nixos
<dramforever> I sent them earlier without realizing you disconnected
<bobnormal> ta
<{^_^}> [nixpkgs] @vbgl merged pull request #51265 → ocamlPackages.javalib: 2.3.5 -> 3.0; ocamlPackages.sawja: 1.5.3 -> 1.5.6 → https://git.io/fpwyb
<{^_^}> [nixpkgs] @vbgl pushed to master « ocamlPackages.javalib: 2.3.5 -> 3.0 »: https://git.io/fpD5y
<ottidmes> infinisil: maybe update the bot to only increase the karma when the name for which the karma is increased is actually online?
<{^_^}> [nixpkgs] @vbgl merged pull request #51345 → teyjus: fix build by using omake from ocaml 4.02 package set → https://git.io/fpo5N
<{^_^}> [nixpkgs] @vbgl pushed 2 commits to master: https://git.io/fpD5S
<infinisil> ottidmes: Can't do that currently, gchristensen would have to add such functionality to {^_^}
Mr_Keyser_Soze has quit [Ping timeout: 250 seconds]
<dramforever> This is incorrect -> /lib64/ld-linux-x86-64.so.2
<ottidmes> infinisil: its also not possible to track say the last N user names that said something, and just check if its in that list?
hakujin has quit [Ping timeout: 250 seconds]
<ottidmes> infinisil: or do you only have access to things prefixed with ,
<dramforever> bobnormal: Binaries packaged for other distributions don't generally work on NixOS
<dramforever> Where did you get this arduino ide?
<infinisil> ottidmes: I could do that yeah
<bobnormal> dramforever: ok, it was working previously. i think maybe it was arduino IDE's self update
<dramforever> (and avr-gxx)
<dramforever> oh
<bobnormal> dramforever: i guess i should delete its whole tree and reinstall it
<bobnormal> dramforever: thanks
<dramforever> self update hmm
<dramforever> you're welcome
<bobnormal> dramforever: its trying to make things easy for people... 'board manager' and 'library manager' built in. i guess the former destroyed the toolchain with incorrect dynamic linking paths.
<infinisil> ottidmes: I'm restricted by the interface, which is that I only receive every message in the form { channel, message } and can only send in the form { channel, message }
<ottidmes> infinisil: ah ok, minimal as it is, it should be enough to implement such a feature, keeping track of the N last users that said something
<dramforever> Maybe only register '<nick>++' messages that are alone on a line only?
<{^_^}> '<nick>'s karma got increased to 1
<dramforever> Dang it
<infinisil> Ah, I can just add some more blacklisted names
<dramforever> People don't usually randomly say 'g<plus><plus>' without context
<infinisil> avr-g, and g should do it
<dramforever> That sounds like not worth the effort
<infinisil> Why not?
<dramforever> I mean 'keeping track of the N last users that said something'
<dramforever> I forgot to put a mention
<ottidmes> its a proper fix at least, there are so many context you want to write ++ on these channels...
<infinisil> Ah yeah, a simple blacklist will cover 99.9% of these mis-increases while being super easy to implement
<bobnormal> OK that fixed it. nix-env -e arduino && mv ~/.arduino15 ~/.arduino15-old && nix-env -i arduino
<dramforever> the 'nix-env -e' should be completely unnecessary
<dramforever> And 'nix-env -i'
<dramforever> Also 'nix-env -i glibc' shouldn't really do anything
rprije has joined #nixos
<bobnormal> thanks, anyway is there somewhere to document this for future users?
Mr_Keyser_Soze has joined #nixos
<dramforever> Document 'Don't let Arduino IDE auto-upgrade?'
pxc has quit [Ping timeout: 252 seconds]
Mr_Keyser_Soze99 has quit [Ping timeout: 240 seconds]
<dramforever> Probably just put it on https://nixos.wiki/
Anton-Latukha has quit [Quit: Leaving.]
<{^_^}> [nixpkgs] @vbgl merged pull request #51643 → flow: 0.86.0 -> 0.87.0 → https://git.io/fpDDx
<{^_^}> [nixpkgs] @vbgl pushed commit from @marsam to master « flow: 0.86.0 -> 0.87.0 »: https://git.io/fpDdk
<iqubic> I wonder if anyone still codes in c++ anymore
<iqubic> Looks like that's been blacklisted.
<Ralith> ...?
<iqubic> g++
<iqubic> And that's also working as expected.
<ottidmes> i++
<{^_^}> i's karma got increased to 1
<dramforever> That sounds rare enough
rprije has quit [Ping timeout: 268 seconds]
iqubic_ has joined #nixos
iqubic has quit [Ping timeout: 256 seconds]
<iqubic_> Well, this is weird. I upgraded my system to 18.09 and did a reboot of my laptop. Now emacs is complaining about not being able to find the font specified in the config file.
iqubic_ is now known as iqubic
<iqubic> So I have no idea what's going on here.
dramforever has quit [Ping timeout: 256 seconds]
<iqubic> Is there a way to check if a certain font is installed on my machine?
<Ralith> iqubic: fc-list, fc-match
<iqubic> I just ran this:
<iqubic> fc-match "knack nerd font"
<iqubic> It came back with this:
<iqubic> FreeMono.ttf: "FreeMono" "Regular"
<iqubic> What the heck?!?!
<iqubic> I can't tell if knack nerd font is installed or not any more.
<iqubic> So can I get some help with this?
<{^_^}> [nixpkgs] @vbgl opened pull request #51648 → ocamlPackages.camlimages: 5.0.0 -> 5.0.1 → https://git.io/fpDFU
lsyoyom has joined #nixos
hamishmack has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
nDuff has quit [Quit: zzz]
epicmetal has joined #nixos
ninjin has quit [Remote host closed the connection]
ninjin has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/88b48753acf (from 62 minutes ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
lassulus_ has joined #nixos
vmandela has joined #nixos
gpstrucker has joined #nixos
lassulus has quit [Ping timeout: 250 seconds]
lassulus_ is now known as lassulus
<gpstrucker> Hello. I just started using NixOS. Pidgin keeps crashing. What irc client do you folks recommend/use?
drakonis_ has quit [Read error: Connection reset by peer]
epicmetal has quit [Read error: Connection reset by peer]
rsully has quit [Quit: rsully]
<Myrl-saki> gpstrucker: Weechat.
<Myrl-saki> Or irssi.
<Myrl-saki> If you're comfortable with your terminal, that is.
<gpstrucker> Thank you, I'll give those a try. Terminal is not a problem for me.
<iqubic> Does anyone know how to fix my font issues?
<gpstrucker> hmmm, just did a nix-env -qa weechat and it returned no matches
<{^_^}> [nixpkgs] @aszlig pushed to master « nixos/tests: Fix wrong arch in runInMachine test »: https://git.io/fpDbG
<gpstrucker> Did a nix search and found weechat-bin-env. Is that what I need?
<iqubic> I think so.
<gpstrucker> Ok
<iqubic> Yes, that is indeed what you want.
<gpstrucker> Installing now. I appreciate the help. Now off to learn how to use it LOL
<gpstrucker> :quit
gpstrucker has left #nixos [#nixos]
<iqubic> So I think my fonts are screwed up now.
<iqubic> Well, this is weird. I upgraded my system to 18.09 and did a reboot of my laptop. Now emacs is complaining about not being able to find the font specified in the config file.
<iqubic> My fonts were working before that reboot.
<iqubic> I want to use "Knack Nerd Font"
<Ralith> try nuking ~/.cache/fontconfig
<Ralith> chromium likes to mangle it sometimes
<iqubic> I'm not using Chromium. I'm using firefox.
<iqubic> I don't even have chromium installed right now.
hamishmack has joined #nixos
<Ralith> or don't, up to you 🤷
hakujin has joined #nixos
<iqubic> Would that help me fix this issue.
<iqubic> It's Emacs, a text editor, that is complaining about fonts.
mkoenig has joined #nixos
<mdash> iqubic: emacs uses fontconfig too IIRC
<iqubic> So?
<iqubic> I'm just concerned that I have permenantly screwed up my fonts.
<iqubic> Should I nuke the fontconfig file, will that fix this stuff?
<iqubic> I literally jus upgraded to 18.09 today.
reinhardt has joined #nixos
Mr_Keyser_Soze has quit [Remote host closed the connection]
jrolfs has joined #nixos
rprije has joined #nixos
jrolfs has quit [Ping timeout: 246 seconds]
rprije has quit [Remote host closed the connection]
rprije has joined #nixos
vk3wtf has quit [Ping timeout: 268 seconds]
mmlb has quit [Read error: Connection reset by peer]
reinhardt has quit [Quit: Leaving]
mmlb has joined #nixos
rauno has joined #nixos
endformationage has quit [Quit: WeeChat 2.3]
<{^_^}> #51649 (by nh2, 11 seconds ago, open): noOverflow: An effort to fight integer overflow for security and correctness
hakujin has quit [Ping timeout: 268 seconds]
palo1 has joined #nixos
hakujin has joined #nixos
eeva has quit [Remote host closed the connection]
palo has quit [Ping timeout: 240 seconds]
eeva has joined #nixos
smolboye has quit [Ping timeout: 268 seconds]
elgoosy has quit [Remote host closed the connection]
smolboye has joined #nixos
<{^_^}> Channel nixos-18.09 advanced to https://github.com/NixOS/nixpkgs/commit/7795a7ad5f0 (from 7 hours ago, history: https://channels.nix.gsc.io/nixos-18.09)
rprije has quit [Ping timeout: 250 seconds]
reinhardt has joined #nixos
hakujin has quit [Ping timeout: 250 seconds]
rawreraw has joined #nixos
sir_guy_carleton has quit [Quit: WeeChat 2.2]
<{^_^}> [nixpkgs] @gnidorah opened pull request #51650 → me_cleaner: init at 1.2 → https://git.io/fpDxN
rawreraw has quit [Ping timeout: 245 seconds]
crmlt has joined #nixos
rawreraw has joined #nixos
<{^_^}> [nixpkgs] @hedning opened pull request #51651 → cyrus-sasl: Remove private libs from .la files (fixes spice build) → https://git.io/fpDpb
jrolfs has joined #nixos
tv has quit [Quit: WeeChat 2.0]
jrolfs has quit [Ping timeout: 250 seconds]
tv has joined #nixos
cbarrett has joined #nixos
crmlt has quit [Remote host closed the connection]
agander has joined #nixos
pxc has joined #nixos
[Leary] has joined #nixos
metastance has joined #nixos
Ariakenom has joined #nixos
tv has quit [Quit: WeeChat 2.0]
Lears has quit [Ping timeout: 240 seconds]
tv has joined #nixos
tv has quit [Client Quit]
tv has joined #nixos
periklis has quit [Remote host closed the connection]
periklis has joined #nixos
ThatDocsLady has joined #nixos
Tucky has joined #nixos
rawreraw has quit [Ping timeout: 268 seconds]
johanot has joined #nixos
freeman42x has joined #nixos
rawreraw has joined #nixos
rawreraw has quit [Client Quit]
rawreraw has joined #nixos
freeman42x has quit [Ping timeout: 252 seconds]
rawreraw has quit [Client Quit]
rawreraw has joined #nixos
nix` has joined #nixos
civodul has joined #nixos
crmlt has joined #nixos
crmlt has quit [Remote host closed the connection]
hotfuzz_ has quit [Ping timeout: 268 seconds]
bobnormal has quit [Quit: Leaving]
tpanum has joined #nixos
<tpanum> When launching Inkscape with just a WM active, I get 'Gtk::IconThemeError' and it crashes instantly. How do I get Inkscape to pickup the themes correctly?
<{^_^}> [nixpkgs] @nlewo merged pull request #51528 → dockertools buildImage: support new-style image specs → https://git.io/fpXek
<{^_^}> [nixpkgs] @nlewo pushed 2 commits to master: https://git.io/fpyvE
cranjery has joined #nixos
<{^_^}> [nixpkgs] @flokli merged pull request #51646 → vivaldi: correct hash → https://git.io/fpD74
<{^_^}> [nixpkgs] @flokli pushed 2 commits to master: https://git.io/fpyvi
rawreraw has quit [Quit: WeeChat 2.3]
rawreraw has joined #nixos
<cranjery> Is this the right place to ask questions about problems I'm having building a derivation?
rhalff has joined #nixos
__Sander__ has joined #nixos
<rhalff> is there any magic key combination I can use during boot when my root fs fails to mount and be able to load an additional kernel module?
<rhalff> using a bricked laptop, which has usb disabled during boot, so the keyboard is disabled in grub, but during boot the keyboard is available.
Mateon3 has joined #nixos
<rhalff> during boot of nixos.
klntsky has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/776f084cf1b (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
orivej has joined #nixos
goibhniu has joined #nixos
Mateon1 has quit [Ping timeout: 272 seconds]
Mateon3 is now known as Mateon1
hotfuzz_ has joined #nixos
johanot has quit [Ping timeout: 272 seconds]
mmlb has quit [Read error: Connection reset by peer]
johanot has joined #nixos
rawreraw has quit [Quit: WeeChat 2.3]
mmlb has joined #nixos
rawreraw has joined #nixos
cranjery has quit [Quit: Page closed]
periklis has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @flokli merged pull request #51634 → pylint: 2.1.1 -> 2.2.2 → https://git.io/fpD4F
<{^_^}> [nixpkgs] @flokli pushed 3 commits to master: https://git.io/fpyfF
rawreraw has quit [Quit: WeeChat 2.3]
rawreraw has joined #nixos
<{^_^}> [nixpkgs] @joachifm merged pull request #51581 → Implement R wrappers as local-only runCommand → https://git.io/fp10p
<{^_^}> [nixpkgs] @joachifm pushed 3 commits to master: https://git.io/fpyJK
johann__ has joined #nixos
periklis has joined #nixos
agander has quit [Remote host closed the connection]
agander has joined #nixos
thc202 has joined #nixos
crmlt has joined #nixos
rprije has joined #nixos
Travankor_ has joined #nixos
<{^_^}> [nixpkgs] @flokli merged pull request #51565 → jenkins: 2.138.3 -> 2.150.1 (security!) → https://git.io/fpX5s
<{^_^}> [nixpkgs] @flokli pushed 2 commits to master: https://git.io/fpyTG
Travankor_ has quit [Client Quit]
hke has quit [Read error: Connection reset by peer]
rawreraw has quit [Quit: WeeChat 2.3]
rawreraw has joined #nixos
hke has joined #nixos
goibhniu has quit [Ping timeout: 246 seconds]
sigmundv has joined #nixos
goibhniu has joined #nixos
<Izorkin> How to fix error. Packages - nginx unit - https://github.com/NixOS/nixpkgs/pull/51612 - Error load php extension - Unable to load dynamic library '/nix/store/...-php-apcu-5.1.11/lib/php/extensions/apcu.so (/nix/store/...-php-7.2.12/lib/php/extensions//nix/store/...-php-apcu-5.1.11/lib/php/extensions/apcu.so.so: cannot open shared object file: No such file or directory))
<{^_^}> #51612 (by Izorkin, 23 hours ago, open): unit: init at v1.6
<mpickering> Is it possible to use the nix store with an external tool which requires a store to get caching, gc etc for free?
agander_ has joined #nixos
agander has quit [Ping timeout: 250 seconds]
cyphase has quit [Ping timeout: 268 seconds]
bkchr has joined #nixos
mmlb has quit [Read error: Connection reset by peer]
crmlt has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @c0bw3b merged pull request #50809 → wireguard: don't modprobe if boot.isContainer is set → https://git.io/fpWzz
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to master: https://git.io/fpykx
mmlb has joined #nixos
mmlb has quit [Read error: Connection reset by peer]
mmlb has joined #nixos
<bkchr> Hey. Since a long time I having problems with rust's cargo and git dependencies, sometimes they just timeout with a ssl error. Does someone else observed something similar on Nixos?
<{^_^}> [nixpkgs] @Mic92 merged pull request #51618 → crashplan: mark as broken → https://git.io/fpMV4
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fpyIi
rawreraw has quit [Ping timeout: 250 seconds]
pxc has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @srhb merged pull request #51640 → tectonic: 0.1.9 -> 0.1.11 → https://git.io/fpDPw
<{^_^}> [nixpkgs] @srhb pushed 2 commits to master: https://git.io/fpyL5
agander_ is now known as agander
crmlt has joined #nixos
<{^_^}> [nixpkgs] @cryptix opened pull request #51652 → systrayhelper: 0.0.4 -> 0.0.5 → https://git.io/fpytO
rprije has quit [Ping timeout: 250 seconds]
cyphase has joined #nixos
crmlt has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @Tomahna opened pull request #51653 → bloop: 1.1.0 -> 1.1.1 → https://git.io/fpyqE
hakujin has joined #nixos
hakujin has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @Mic92 merged pull request #51585 → tradcpp: improved aarch64 support → https://git.io/fp1zx
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fpyYz
<CMCDragonkai> How come `buildOcaml` results in `mkdir: cannot create directory '/nix/store/hpvrspda6i7mg755jdpzfzra48v7v3lx-ocaml-demo-0.0.1': Read-only file system`?
<CMCDragonkai> but if I use `mkDerivation` normally this error doesn't occur?
<{^_^}> [nixpkgs] @srhb merged pull request #51623 → flashplayer: 31.0.0.153 -> 32.0.0.101 [Critical security fix] → https://git.io/fpM7P
<{^_^}> [nixpkgs] @srhb pushed 2 commits to master: https://git.io/fpyO8
simukis has joined #nixos
joehh has joined #nixos
orivej has quit [Ping timeout: 246 seconds]
vidbina has joined #nixos
orivej has joined #nixos
<srhb> Protip: Don't run nix-review in your local nixpkgs checkout..
<CMCDragonkai> It seems that that error is caused by `findlib`.
<CMCDragonkai> And if `createFindlibDestdir = true;`
<CMCDragonkai> The setuphook of `findlib` tries to create some sort of directory.
<{^_^}> [nixpkgs] @Mic92 merged pull request #51592 → yed: 3.18.1.1 -> 3.18.2 → https://git.io/fp1HS
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fpy3r
rawreraw has joined #nixos
<{^_^}> [nixpkgs] @Mic92 pushed to release-18.09 « nix-review: 0.6.1 -> 1.0.1 »: https://git.io/fpy3A
<{^_^}> [nixpkgs] @srhb pushed commit from @taku0 to release-18.09 « flashplayer: 31.0.0.153 -> 32.0.0.101 »: https://git.io/fpysl
vidbina has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @srhb merged pull request #51648 → ocamlPackages.camlimages: 5.0.0 -> 5.0.1 → https://git.io/fpDFU
<{^_^}> [nixpkgs] @srhb pushed 2 commits to master: https://git.io/fpyG3
o1lo01ol1o has joined #nixos
vidbina has joined #nixos
<avn> Folks, anyone use nixos inside vmware VMs? Does it need any special for networking?
<srhb> avn: Nope.
<avn> srhb: we second day try to install VM. Won't accept network route. After 3 person check everything at least 10 times
<srhb> avn: I don't recall ever having any issues with NixOS on VMWare. Where does it get its IP etc. from?
o1lo01ol1o has quit [Ping timeout: 244 seconds]
<avn> srhb: static (manual ifconfig/route add), we still in live image.
<srhb> avn: And it fails to eg. ping the gateway you set up?
<avn> yup
<srhb> avn: Pastebin all the network setup? interfaces, routes, etc.
jrolfs has joined #nixos
jrolfs has quit [Ping timeout: 245 seconds]
<avn> srhb: address 9.1.1.194 netmask 255.255.255.0 broadcast 9.1.1.255 gateway 9.1.1.4
rawreraw has quit [Ping timeout: 246 seconds]
<srhb> avn: That's not enough to go on. (Aside from it being a terrible idea to use publically assigned ranges internally, it should be fine) -- interface, routes, etc. still needed. But my guess is that your problem is on the VMWare side, not NixOS.
<avn> srhb: is totally internal, I am on phone with my collegue, who are inside ;)
<avn> And I agree by all points ;)
dmc has quit [Changing host]
dmc has joined #nixos
<avn> btw, would vmware guest tools is redistributable? would be nice to have network drivers out of box
rawreraw has joined #nixos
<srhb> avn: I thought it was included in recent kernels? I may have just made that up, but check. :)
<avn> https://kb.vmware.com/s/article/1001805 vmxnet3 not in kernel ;)
<{^_^}> [nixpkgs] @Mic92 merged pull request #51601 → fontconfig: fix cross make-fonts-cache & make-fonts-config → https://git.io/fpMe8
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to staging: https://git.io/fpyWG
<srhb> avn: /nix/store/yhk1r4c6lxdabw1jnr834fb3cnag3k2p-linux-4.19.1/lib/modules/4.19.1/kernel/drivers/net/vmxnet3 -- this?
<avn> srhb: probably yes, but I not sure, that our default kernel on live is 4.19+, probably is 4.4 or 4.14 ;)
<srhb> The default is 4.14
<avn> srhb: we have latest kernel on iso?
<srhb> I don't have the iso at hand, but it's built from 18.09 iirc.
<avn> or any prebuild iso with .19?
<srhb> /nix/store/irsr8lc6kypl85ly17x9vkw2wd55vvnj-linux-4.14.79/lib/modules/4.14.79/kernel/drivers/net/vmxnet3 -- also here.
<{^_^}> [nixpkgs] @Mic92 pushed to staging « Revert "fontconfig: fix cross make-fonts-cache & make-fonts-config" »: https://git.io/fpyWM
joehh has quit [Ping timeout: 246 seconds]
periklis has quit [Ping timeout: 272 seconds]
vidbina has quit [Ping timeout: 252 seconds]
vidbina has joined #nixos
iyzsong has joined #nixos
fendor has joined #nixos
<Mic92> Where is nativeBuildInputs evaluated? Or how does it pick the right architecture? There are some cases where binaries are passed via function and non-native binaries end up in nativeBuildInputs
<{^_^}> #49526 (by symphorien, 5 weeks ago, open): nativeBuildInputs gives non native dependencies when used with overrides in all-packages.nix
<symphorien> Apparently the magic happens in callPackage if the argument is implicit
<{^_^}> [nixpkgs] @joachifm pushed commit from @dtzWill to release-18.09 « tor: 0.3.4.8 -> 0.3.4.9 »: https://git.io/fpyl1
<{^_^}> [nixpkgs] @pmiddend opened pull request #51654 → libopusenc: init at 0.2.1 → https://git.io/fpy8Z
<{^_^}> [nixpkgs] @joachifm opened pull request #51655 → uwsgi: fix build when withSystemd = false → https://git.io/fpy8W
vidbina has quit [Read error: Connection reset by peer]
<jophish> Ericson2314: to be honest, I think having such a deep meaning for target is banannas from the start
<jophish> there's no really good reason why the binaries my compiler can produce should depend at all on what platform the compiler itself is running on
<jophish> LLVM has the right idea here
<jophish> GHC can be excused I think because of template haskell complications
vidbina has joined #nixos
crmlt has joined #nixos
<typetetris> It would be really nice, if someone could check if I got that right: I write a nix expression, which evaluates to a derivation, which is simply a special set. nix-instantiate then turns that into a store derivation, whose store path ends in `.drv` and nix-store --realise builds, whatever is described by that derivation, and puts the output paths in the store.
crmlt has quit [Client Quit]
hke has quit [Quit: bye]
civodul has quit [Quit: ERC (IRC client for Emacs 26.1)]
aramiscd has quit [Ping timeout: 246 seconds]
<tilpner> typetetris - nix-instantiate does both the "evaluates to a derivation" and "turns that into a store derivation"
crmlt has joined #nixos
<typetetris> tilpner - thanks, what about evaluating a nix expression in the nix repl, does that also produce the store derivation, if the result is a derivation ( the special set value) ?
<tilpner> I think it does
<typetetris> Ok, thanks.
<fendor> my terminal does not seem to support unicode, i repeatedly get the error, <stdout>: commitBuffer: invalid argument (invalid character) when trying to print unicode characters
<etu> Which terminal?
<fendor> etu, konsole
<etu> And which application?
<srhb> fendor: Is your locale UTF-8 supporting?
<fendor> srhb, i dont think so, it seems to be set to "C" whatever that is
<etu> fendor: That's probably your issue
<fendor> etu, happened with stack2nix and `stack bench`, criterion output
<srhb> fendor: Right, then it should break like you're seeing. :)
crmlt has quit [Remote host closed the connection]
<fendor> srhb, what value should the locale have?
<srhb> I don't know what localization you want re. language and number formats, but *that* plus UTF-8.
<fendor> srhb, and how do I correctly set that?
<srhb> fendor: Are you on NixOS?
<{^_^}> [nixpkgs] @marsam opened pull request #51657 → pythonPackages.rednose: fix build → https://git.io/fpyBq
<fendor> srhb, yes i am
<fendor> srhb, the default value already is en_US.UTF-8?
<srhb> fendor: Then you probably have something else overriding it locally somewhere.
johanot has quit [Quit: WeeChat 2.2]
<fendor> srhb, could i try to set it locally just fo testing it out?
<srhb> fendor: Sure. But I'm almost positive that's your issue.
<{^_^}> [nixpkgs] @rasendubi merged pull request #51653 → bloop: 1.1.0 -> 1.1.1 → https://git.io/fpyqE
<{^_^}> [nixpkgs] @rasendubi pushed 2 commits to master: https://git.io/fpyBz
<fendor> srhb, I am trying to set it in /etc/nixos/configuration.nix explicitly and reboot, I dont think I have it set in either bashrc nor fish.config
abcrawf has quit [Remote host closed the connection]
fendor has quit [Remote host closed the connection]
fendor has joined #nixos
abcrawf has joined #nixos
<fendor> srhb, i dont understand why, but now it is set to en and that is the output of `locale`: https://hastebin.com/anuwemajex.makefile
<srhb> fendor: Try logging in as root and check its locale
<srhb> I've no idea how it's so broken for you :P
hke has joined #nixos
<fendor> srhb, same output, except LANG=en_US.UTF-8.
<fendor> welp, I am having trouble understanding what influences what in nixos and how to debug anything :/
<srhb> Glorious. Well, since altering your configuration changed _something_ I guess you did already have _something_ there touching locales.
<fendor> srhb, can KDE set something?
<srhb> No idea.
<{^_^}> [nixpkgs] @rasendubi merged pull request #51654 → libopusenc: init at 0.2.1 → https://git.io/fpy8Z
<{^_^}> [nixpkgs] @rasendubi pushed 2 commits to master: https://git.io/fpyRs
reinhardt has quit [Quit: Leaving]
<fendor> srhb, fish sets stuff
<fendor> seemingly, oh my fish
<fendor> almost certainly my fault
<srhb> fendor: Kill it with fire!
<srhb> Though that might be less effective on fish...
<fendor> srhb, dont you like fish? i find it quite charming
<fendor> output of locale is now: https://hastebin.com/ikuzomumag.makefile
<srhb> I have no opinion on it :)
<srhb> That looks good.
<fendor> but now, if i enter an unknown command, the following happens: https://hastebin.com/axadunewaf.rb
<fendor> also, the error persists
halfbit has joined #nixos
<srhb> fendor: That error seems to refer to different locale settings than what you just had.
<srhb> Oh, no, you still have _AT in some places
<srhb> So stuff is still broken.
<{^_^}> Channel nixos-18.09-small advanced to https://github.com/NixOS/nixpkgs/commit/135a7f9604c (from 60 minutes ago, history: https://channels.nix.gsc.io/nixos-18.09-small)
<fendor> srhb, numeric and time might be set by time zone, right?
<srhb> I doubt it.
<srhb> Just to be clear, you set the defaultLocale to en_US.UTF-8, right?
orivej has quit [Ping timeout: 246 seconds]
zolk3ri has joined #nixos
<fendor> yes
<srhb> fendor: OK, because I don't see a en_AT in glibc locales.
<fendor> configuration.nix: https://hastebin.com/cukixacani.bash
<{^_^}> [nixpkgs] @dotlambda pushed 2 commits to master: https://git.io/fpy0e
<srhb> fendor: I see nothing fishy there. Try logging in in a console to rule out KDE being weird.
<{^_^}> [nixpkgs] @zimbatm opened pull request #51660 → bundix: 2.4.0 -> 2.4.1 → https://git.io/fpy0T
palo1 is now known as palo
cyounkins has joined #nixos
<fendor> srhb, ha, everything works as expected there
<fendor> it might still be something with fish i Think
<srhb> fendor: I'm curious where AT is even coming from.. Isn't that Austria?
pie___ has joined #nixos
<fendor> srhb, yes
pie__ has quit [Remote host closed the connection]
<srhb> de_AT exists, but I'm not sure en_AT does.
<srhb> Anymoo... I've no good input here. Good luck :-P
<fendor> srhb, thanks for the help ^^
<{^_^}> Channel nixpkgs-18.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/135a7f9604c (from 70 minutes ago, history: https://channels.nix.gsc.io/nixpkgs-18.09-darwin)
<fendor> i am trying to unset fish as my default shell, maybe I messed something up there
fendor has quit [Remote host closed the connection]
locallycompact has joined #nixos
<locallycompact> Hi, can anyone help me use nix dockerTools? I have this snippet: https://gitlab.com/snippets/1787959
<locallycompact> but it fails with
<locallycompact> /build/.attr-0: line 15: stack: command not found
<tilpner> Maybe add nix to contents of stackBaseImage
<gchristensen> locallycompact: extraCommands doesn't run inside the container, it can only modify the layer files directly -- not use the programs you've added
fendor has joined #nixos
<fendor> srhb, i think, now i found the culprit and it wasnt actually my mistake! i think...
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/e1b7493cfed (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<srhb> fendor: Oh?
periklis has joined #nixos
<fendor> In KDE i set the locale so it displays the time in the german way
<fendor> that sets the locale values
<fendor> however, that somewhy breaks locale
<periklis> hey any idea why nixpkgs-unstable is so long behing nixos-unstable?
<fendor> s/somewhy/for some reason/
<locallycompact> gchristensen, oh ok
<srhb> fendor: KDE may be assuming the existence of en_AT even though it isn't a thing in NixOS (at least, as far as I can see...)
<locallycompact> gchristensen, if I use runAsRoot I get even more horrible errors
<locallycompact> what do I do?
<fendor> srhb, i can set the defaultLocale to "en_AT.URF-8"
<{^_^}> [nixpkgs] @eonpatapon opened pull request #51661 → test: set machines fqdn in /etc/hosts → https://git.io/fpy05
<fendor> UTF
<srhb> fendor: That sounds like a bad idea if it doesn't exist. :)
<fendor> if it doesnt exist, does nixos-rebuild switch know it?
<fendor> *does still switch
<srhb> I don't think so.
<srhb> Yes, I think it'll switch
<fendor> dammit
<gchristensen> periklis: looks like aarch64 backlog
<tilpner> What about en_DE.UTF-8?
<locallycompact> if I do this it just gives me dones of spam about nix: Cannot mkdir: No space left on device
<locallycompact> *tonnes
<fendor> tilpner, does that exist
<fendor> ?
<srhb> No, it does not.
<srhb> You can make it though.
<fendor> srhb, what locales do exist?
__monty__ has joined #nixos
<gchristensen> locallycompact: why do you want to use stack to install rio?
<srhb> fendor: ls $(nix-build '<nixpkgs>' -A glibc.out)/share/i18n/locales
<srhb> fendor: --no-out-link or something :-)
<locallycompact> gchristensen, I need to prebuild a bunch of things with stack into the docker
<gchristensen> locallycompact: you could install rio via adding haskellPackages.rio to the `contents` list
<locallycompact> but then stack won't pick that up
alex`` has joined #nixos
<srhb> fendor: Rolling your own involves using localegen with, say, en_US, en_US.UTF-8, de_DE and de_DE.UTF-8 if I understand your requirements correctly. I'm sure google has some opinion on how to do this, as it's probably used quite often.
<locallycompact> and it will be at a random version unrelated to the stack manifest
<srhb> Though apparently not as often as en_DK.UTF-8 :P
<gchristensen> locallycompact: Nix's dockerTools isn't behaving like Docker. the point of Nix's dockertools is to use Nix to build the software, and place the result of it in a container. I'm not sure youc an really get what you need out of Nix here -- you won't be able to access the internet during the build, for example
<{^_^}> [nixpkgs] @stephengroat closed pull request #51182 → terraform-providers: bump versions and add selvpc → https://git.io/fpaUT
<tilpner> Building glibcLocales for en_DE* or en_AU* fails with "unsupported locales detected"
<fendor> srhb, KDE knows en_AT, so maybe nixos just doesnt have many german people :P
<srhb> fendor: It's really not very NixOS specific. KDE probably just does the naive thing and says "OK, I can construct the string en_AT -- no problem!"
<srhb> fendor: That does not make it available in the locale definitions on the system. I bet it's the same on many other distros, since really they'll be using approximately the same locale archive that we are (namely the one from glibc)
<fendor> srhb, it actively offers it, I dont understand why it would do that
<srhb> Hm, okay, me neither.
<fendor> also it kind of works, since the time is displayed in the correct format then
<srhb> Regardless, what you need to is to actually create it if you want to use it correctly :-P
fendor has quit [Remote host closed the connection]
<tilpner> When you do "locale", it prints different ones for different uses
<tilpner> Perhaps you want LC_TIME to be de_DE, and en_US elsewhere?
<FireFly> locales.. both a blessing and a curse, hehe
fendor has joined #nixos
<tilpner> i18n.extraLocaleSettings
<tilpner> Example from man: { LC_MESSAGES = "en_US.UTF-8"; LC_TIME = "de_DE.UTF-8"; }
<fendor> tilpner, options does not seem to know that
<tilpner> Try it anyway
<srhb> I think tilpner's suggestion is by far the simplest.
<srhb> All the options should make it pretty easy to set your own frankenlocale.
<locallycompact> gchristensen, that's confusing but thanks
<fendor> the option: i18n.extraLocaleSettings does not exist :(
<tilpner> Huh, maybe it's 18.09+
<srhb> fendor: It's implemented in terms of environment.sessionVariables, so you can just do that.
<srhb> Or upgrade. :-P
<tilpner> Not just sessionVariables, you'd also need to set /etc/locale.conf
<srhb> Oh, of course, yes.
<srhb> Still I don't think that'll matter much to most applications..
<fendor> tilpner, I tried to add it to my /etc/nixos/configuration.nix, right?
<tilpner> Yeah, and your nixpkgs is probably too old
<srhb> Seems it's in unstable only :)
<tilpner> You can upgrade, or look at the module from unstable and do what it does
<tilpner> ,find glibc/locales.nix
<tilpner> :/
<fendor> tilpner, to what should upgrade? or should I do that on the unstable channel?
<tilpner> ,find config/i18n.nix
<srhb> fendor: You should probably not just go to unstable for one feature. There are caveats.
<srhb> Many, many caveats.
<fendor> srhb, what is unstable ad that sense? 19.03, or unstable channel? because i already have the unstable channel
<srhb> fendor: It will eventually become 19.03 yes.
<srhb> fendor: (It's master, once it's passed the NixOS test set)
<srhb> fendor: Since the config option does not exist for you, your NixOS is presumably tracking a stable channel. "Upgrading" in this sense would mean your entire NixOS system now tracks unstable. This may be undesirable.
<fendor> srhb, undesirable since things break? ^^
<srhb> Well, even less warranty than normal, at the very least.
<srhb> fwiw I seldom encounter breakage that I can't fix, but ymmv.
<fendor> ok, maybe ill just endure the US locale for now
hakujin has joined #nixos
fendor has quit [Remote host closed the connection]
periklis has quit [Ping timeout: 268 seconds]
fendor has joined #nixos
halfbit has quit [Ping timeout: 252 seconds]
jrolfs has joined #nixos
dhess has quit [Quit: ZNC - https://znc.in]
swflint has quit [Ping timeout: 252 seconds]
halfbit has joined #nixos
swflint has joined #nixos
jrolfs has quit [Ping timeout: 268 seconds]
<fendor> how would i switch to unstable? just out of intereset?
<sphalerite> temporarily: nixos-rebuild boot -I nixpkgs=channel:nixos-unstable
<sphalerite> permanently: nix-channel --add https://nixos.org/channels/nixos-unstable nixos && nixos-rebuild boot --upgrade
<sphalerite> and reboot
<sphalerite> (all as root)
cyounkins has quit [Remote host closed the connection]
cyounkins has joined #nixos
<{^_^}> [nixpkgs] @srhb opened pull request #51662 → zoom-us: 2.5.146186.1130 -> 2.6.146750.1204 → https://git.io/fpygq
orivej has joined #nixos
<{^_^}> [nixpkgs] @erictapen opened pull request #51663 → python3Packages.cytoolz: fix build → https://git.io/fpyg6
Anton-Latukha has joined #nixos
<fendor> sphalerite, what if I have added the unstable channel as a another channel that I occasionally use to get newer software?
<{^_^}> [nixpkgs] @FRidh merged pull request #51467 → openblas: 0.3.3 -> 0.3.4 → https://git.io/fp6bJ
<{^_^}> [nixpkgs] @FRidh pushed to staging « openblas: 0.3.3 -> 0.3.4 »: https://git.io/fpyg5
ahawkins has joined #nixos
<{^_^}> [nixpkgs] @FRidh pushed 297 commits to staging-next: https://git.io/fpy2L
agander has quit [Ping timeout: 240 seconds]
<makefu> ,unstable fendor
<fendor> makefu, thanks, i am doing exactly that
<{^_^}> [nixpkgs] @FRidh pushed to staging-next « fix eval after merging »: https://git.io/fpy2F
<{^_^}> [nixpkgs] @FRidh pushed 304 commits to staging: https://git.io/fpyak
nschoe has joined #nixos
<{^_^}> [nixpkgs] @erictapen opened pull request #51664 → pythonPackages.tlslite-ng: init at 0.7.5, migrate tlslite references to it. → https://git.io/fpyVf
WhittlesJr has joined #nixos
<{^_^}> [nixpkgs] @FRidh pushed 325 commits to python-unstable: https://git.io/fpyV3
<{^_^}> [nixpkgs] @pmiddend opened pull request #51665 → opus-tools: 0.1.10 -> 0.2 → https://git.io/fpyV0
hotfuzz_ is now known as hotfuzz
<{^_^}> [nixpkgs] @joachifm merged pull request #51655 → uwsgi: fix build when withSystemd = false → https://git.io/fpy8W
<{^_^}> [nixpkgs] @joachifm pushed 2 commits to master: https://git.io/fpyVE
<{^_^}> [nixpkgs] @gilligan opened pull request #51666 → grobi: 0.3.0 -> 0.5.1 → https://git.io/fpyV2
<avn> Folks, anyone know, why grub reject installing due "GPT have no BIOS boot partition"?
<etu> avn: Have you created an ESP?
<etu> A small fat32 partition that has the boot-flag
<{^_^}> [nixpkgs] @FRidh merged pull request #50983 → buildPython*: add updateScript to passthru → https://git.io/fp0RC
<{^_^}> [nixpkgs] @FRidh pushed to master « buildPython*: add updateScript to passthru »: https://git.io/fpyVQ
<avn> etu: does it attempt install EFI grub, instead bios one? (is a VM with single ext4 partition, I have no reasons to play with EFI)
<etu> avn: Well, do you have a GPT partition?
iyzsong has quit [Read error: Connection reset by peer]
<avn> etu: GPT assume EFI-only?
rawreraw has quit [Ping timeout: 250 seconds]
<etu> avn: "GPT is modern and has many advantages over MBR. However, there are also some issues with GPT booting in Legacy BIOS mode. GPT is part of the EFI specification, of course it will work best in UEFI mode. But maybe it will not be compatible and can not boot up on the BIOS computer, see more here." -- https://www.aioboot.com/en/gpt-legacy/
<etu> avn: So yeah, I think it is
dbmikus has joined #nixos
<clever> etu: if you make a bios boot partition (1mb, no fs, never mounted), then grub can do a legacy install just fine on gpt
<clever> the bios boot partition is not the /boot partition
<clever> and you can still choose to either have a /boot partition, or a /boot directory on the / partition
Ariakenom has quit [Ping timeout: 268 seconds]
<iqubic> So I just updated to 18.09 yesterday, and now my fonts are screwed up.
<iqubic> Emacs is now complaining that it can't find "Knack Nerd Font"
<{^_^}> [nixpkgs] @pacien opened pull request #51667 → todoman: 3.4.1 -> 3.5.0 → https://git.io/fpyoo
<iqubic> What may have caused this to occur?
<{^_^}> [nixpkgs] @dotlambda closed pull request #51657 → python2Packages.rednose: fix build → https://git.io/fpyBq
meizikyn has quit [Quit: WeeChat 2.3]
<{^_^}> [nixpkgs] @dotlambda reopened pull request #51657 → python2Packages.rednose: fix build → https://git.io/fpyBq
iqubic has quit [Ping timeout: 256 seconds]
jabranham has joined #nixos
klntsky has quit [Ping timeout: 256 seconds]
rawreraw has joined #nixos
agander has joined #nixos
<Ericson2314> jophish oh for sure
<Ericson2314> Target is bullshit
migy has quit [Quit: migy]
migy has joined #nixos
ng0 has joined #nixos
<Ericson2314> I've been poking at Meson with the absurdly long term goal of rewriting the GCC build system so building all the libraries/components separately can be trivially supported
<Ericson2314> After which it would be easier to justify getting rid of the target specific ifdefs and making them ifs
hakujin has quit [Ping timeout: 250 seconds]
<Ericson2314> On the other hand, nixpkgs's default LLVM no longer has all the backends as people didn't like the slow build times
<avn> clever: ty ;) we just redone with old-style mbr ;)
ThatDocsLady has quit [Ping timeout: 252 seconds]
freeman42x has joined #nixos
ntd has joined #nixos
vidbina has quit [Read error: Connection reset by peer]
ntd has quit [Quit: ntd]
pie___ has quit [Ping timeout: 264 seconds]
<sphalerite> Ericson2314: ooooh
oida has quit [Remote host closed the connection]
<sphalerite> jophish: does template haskell really require a special status for the target arch conceptually, if the compiler were to support multiple targets anyway?
klntsky has joined #nixos
Phillemann has joined #nixos
<Ericson2314> Template Haskell should be changed too
<Ericson2314> I started writing a GHC proposal for that, I'd anyone wants to collaborate
Phillemann has left #nixos ["WeeChat 2.3"]
<Ericson2314> *if anyone wants to
ntd has joined #nixos
locallycompact has quit [Ping timeout: 250 seconds]
hakujin has joined #nixos
<jabranham> Can I get nix-env --list-generations to tell me what changed between generation X and generation X-1?
<qyliss^work> jabranham: I've had success with https://github.com/Gabriel439/nix-diff for that
<qyliss^work> Something called nix-diff
<gchristensen> nix-diff.sh is not what you're looking for :)
hakujin has quit [Ping timeout: 240 seconds]
<jabranham> thanks, nix-diff.sh seems to work.
<gchristensen> :o
<gchristensen> ok, but consider using nix-diff from Gabriel
<{^_^}> [nixpkgs] @alyssais opened pull request #51669 → virtualbox: 5.2.14 -> 5.2.22 → https://git.io/fpy19
<tilpner> Is the store path filename schema stable? Should I expect the hash in /nix/store/rgmc4d3spji36n2l1sicm80yq79dpcc2-hello-2.10 to have different sizes in exotic configurations?
<jabranham> gchristensen: I don't understand how that does what I want. I want to see what changed between generations but Gabriel's is focused on diffing derivations, right?
<gchristensen> ah, I see. nix-diff can do it too, and shows pretty in-depth levels of what changed
endformationage has joined #nixos
<{^_^}> [cabal2nix] @ttuegel opened pull request #394 → Include cabal-version field inferred by hpack → https://git.io/fpyM3
<gchristensen> like it can show you that not only did PkgFoo upgrade from 1.0.0 to 1.0.1, but also how the build instructions changed
<qyliss^work> generations are just derivations, also
<jabranham> gchristensen: awesome. I'll keep that in mind for the future. For now, nix-diff.sh seems to have done the job. In that it told me enough that the issue I'm running into is of my own making, not because something updated and broke stuff. :-/
<gchristensen> neat
cranjery has joined #nixos
erasmas has joined #nixos
Ariakenom has joined #nixos
sigmundv has quit [Ping timeout: 250 seconds]
<yorick> tilpner: storePathHashLen is hardcoded in store-api.cc
<yorick> .h*
<tilpner> Oh, sorry, should have checked there :/
<tilpner> yorick++
<{^_^}> yorick's karma got increased to 1
rsully has joined #nixos
civodul has joined #nixos
Ariakenom has quit [Read error: Connection reset by peer]
lnikkila has joined #nixos
lnikkila has quit [Client Quit]
pxc has joined #nixos
<tilpner> Who would I ask about fair usage policies of cache.nixos.org?
<fusion809> Hi, what option shows all the metadata belonging to a specific installed package (e.g. version, description, maintainer, upstream URL, etc.)? The Nix equivalent to the RPM command rpm -qi package and the pacman, pacman -Qi package
<gchristensen> tilpner: how can I help?
Mr_Keyser_Soze has joined #nixos
<tilpner> gchristensen - How costly are .narinfo queries, and how many of them are acceptable to perform concurrently? Are there burst/daily limits I should try to keep within?
<tilpner> (There's no way to check thousands of .narinfos at once, is there?)
<gchristensen> right, there is not
<gchristensen> narinfo queries cost about $0.0004 per thousand, and there is no specified policy w.r.t. burst / daily limits. it sounds like you have a Big Project in mind, maybe you could share some info privately? the nixos foundation does, of course, appreciate support to help cover costs, something we can talk about too
Radivarig has joined #nixos
__Sander__ has quit [Quit: Konversation terminated!]
<tilpner> It's not a big project, I'm just thinking about a potential nix-weather
<gchristensen> gotcha
<gchristensen> we'd probably want to calculate and cache the data, but go hack and have fun :P
<tilpner> Yes, caching helps a little, but not all that much if you iterate on nixpkgs revisions
Mr_Keyser_Soze has quit [Ping timeout: 250 seconds]
<pie_> tilpner: whats a nix-weather? :pp
<tilpner> It's not useful yet, but it could eventually be the nix equivalent to https://www.gnu.org/software/guix/manual/en/html_node/Invoking-guix-weather.html
Mr_Keyser_Soze has joined #nixos
<gchristensen> I'd say just build it, and we can sort out any sort of fiddly bits later
<tilpner> I just checked my system generation, it would query 9165 narinfos
<jabranham> fusion809: You can get it with "nix-env -q --meta --json emacs" in json format
<{^_^}> [nixpkgs] @Mic92 opened pull request #51670 → quassel-webserver: remove → https://git.io/fpySh
<gchristensen> sure, go for it :P `nix-env`'s `--query` option has the flag `--status` which checks to see if the drv is cached, and that will issue around 50k requests with a loose enough query
<gchristensen> tilpner: cache.nixos.org is pointing to Fastly as a CDN, with S3 behind it. you certainly won't take it down.
<tilpner> gchristensen - I don't expect to, but I don't want Fastly to get angry at you, or rate-limit me
Tucky has quit [Quit: WeeChat 2.2]
<{^_^}> [nixpkgs] @zimbatm merged pull request #51660 → bundix: 2.4.0 -> 2.4.1 → https://git.io/fpy0T
<{^_^}> [nixpkgs] @zimbatm pushed to master « bundix: 2.4.0 -> 2.4.1 (#51660) »: https://git.io/fpy9c
<tilpner> gchristensen - I just commented-in the querying code, it currently queries at 840 rqs/s
<gchristensen> we get a lot of requests / day, it shouldn't be a problem :)
<tilpner> Okay :)
<averell> I need some advice, if this is the correct channel; I'm trying to get nvidia-docker to work, and it basically does but one problem remains: https://github.com/NixOS/patchelf/issues/44 (after patchelf touches a .so, ldconfig cannot read it anymore). These docker containers mount nvidia libs (and runs an ldconfig on them), so that doesn't work anymore. Now I have a few options (rebuild nvidia drivers, fix
<{^_^}> patchelf#44 (by darealshinji, 4 years ago, open): ldconfig warns about truncated libraries
<averell> libs/fix patchelf, fix ldconfig). I would prefer a patchelf/lib fix, but I don't know if that is possible.
<fusion809> jabranham: thanks :)
<averell> I basically have to move .dynstr back to the first LOAD segment. does anyone know the constraints on that, or if it is possible?
<gchristensen> tilpner: we seem to average ~185k requests/hr
fendor has quit [Ping timeout: 245 seconds]
<tilpner> That's just 52/s
pie___ has joined #nixos
<Ankhers> Can home manager be used to setup postgres service?
<gchristensen> yeah, indeed
<tilpner> So if I send 840/s, even if just in bursts, it would at least be visible in the fancy graphs I asusme you have :)
<gchristensen> it might be, sure
<gchristensen> not sure anyone'd care
<tilpner> "Not sure" is bad, I need a "sure that nobody cares" :P
<tilpner> But I can of course throttle it
<gchristensen> I think you're over worried
<gchristensen> if there is a problem, we'll reach out. you won't be the only person issung hundreds of requests/s.
hakujin has joined #nixos
<tilpner> Not worried anymore after your initial reply. Thank you!
<gchristensen> looking here, hthere are sections of around 2kreq/sec
betaboon has joined #nixos
pie___ has quit [Ping timeout: 252 seconds]
civodul has quit [Quit: ERC (IRC client for Emacs 26.1)]
<cranjery> I'm trying to build a derivation using cmake with a dependency on opencv, but the cmake include directory isn't getting passed to the compiler. Does anyone know how to fix this?
ahawkins has quit [Quit: Connection closed for inactivity]
vmandela has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @alyssais merged pull request #51666 → grobi: 0.3.0 -> 0.5.1 → https://git.io/fpyV2
<{^_^}> [nixpkgs] @alyssais pushed 2 commits to master: https://git.io/fpyQo
<gchristensen> w00t qyliss^work
<qyliss^work> :)
<qyliss^work> starting out nice and easy by merging a package update with no comments
WhittlesJr has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @alyssais merged pull request #51667 → todoman: 3.4.1 -> 3.5.0 → https://git.io/fpyoo
<{^_^}> [nixpkgs] @alyssais pushed 2 commits to master: https://git.io/fpy7e
rhalff has quit [Remote host closed the connection]
feep has joined #nixos
<feep> yo
<feep> I can use ping
<feep> but when I do strace ping, it does not work
<yorick> feep: ping is setuid
<yorick> strace it as root
<feep> oh okay
<feep> yorick: it also does not work in nix-shell
fusion809 has quit [Remote host closed the connection]
<yorick> feep: nix does not do setuid packages (that would be a security risk). nixos installs a setuid wrapper for ping
<feep> it doesn't seem to actually be setuid
<yorick> /run/wrappers/bin/ping
<feep> yes
<yorick> oh, then it's setcap
<feep> (it's 0511)
<feep> yorick: capset is indeed the call that fails in strace
<yorick> feep: getcap /run/wrappers/bin/ping
<feep> cap_setpcap,cap_net_raw+p
<feep> getcap does not exist in the nix-shell
<feep> is that a problem?
Mr_Keyser_Soze has quit [Remote host closed the connection]
<yorick> obviously you can't do weird strace stuff to things that elevate privileges
<yorick> feep: you want to use a ping from a nix shell?
<feep> yes
<yorick> well you can't
<gchristensen> nix-shell -p ping won't get you a ping binary with capabilities, it has to be done using the one in /run/wrappers/bin/ping, or with sudo
Mr_Keyser_Soze has joined #nixos
<feep> well I need to.
<feep> I have an app that uses fhs paths that calls ping :p
<feep> this is not exactly an uncommon usecase.
<gchristensen> we'll have to find a different solution, then!
<feep> gchristensen: to be clear, the ping in /run/wrappers does not work inside the nix-shell.
<feep> oh, but with a different error, it says socket: operation not permitted
<gchristensen> [nix-shell:~]$ /run/wrappers/bin/ping google.com
<feep> do I somehow need to give the shell raw socket rights?
<gchristensen> PING google.com(lga34s19-in-x0e.1e100.net (2607:f8b0:4006:819::200e)) 56 data bytes
<gchristensen> works for me?
tpanum has quit [Quit: ZNC 1.7.0 - https://znc.in]
swflint has quit [Ping timeout: 260 seconds]
<feep> gchristensen: nix-shell -p iputils --run 'ping google.de'
<feep> does not work for me
<feep> works when nix-shell is run as sudo
<gchristensen> that is because iputils is bringing in its own ping: grahamc@Morbo> nix-shell -p iputils --run "which ping"
<gchristensen> /nix/store/wqfpawgsigwnz2bk1ygkfya7802jxl9c-iputils-20180629/bin/ping
<gchristensen> which does not have capabilities
<feep> Ooh.
goibhniu has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @alyssais merged pull request #51665 → opusTools: 0.1.10 -> 0.2 → https://git.io/fpyV0
<{^_^}> [nixpkgs] @alyssais pushed 2 commits to master: https://git.io/fpy5L
swflint has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/74d0b82f29c (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
oida has joined #nixos
<feep> gchristensen: okay, this is weird. if I run a shell with all the packages listed in my buildFHSUserEnv it works
<feep> but if I run the actual buildFHSUserEnv shell, and ping from it, it doesn't
<feep> even given I explicitly specify the /run/wrapper path
ntd has quit [Quit: ntd]
<feep> I'll try to reduce the shell .nix file
lsyoyom has quit [Ping timeout: 250 seconds]
betaboon has quit [Quit: WeeChat 2.2]
<{^_^}> [nixpkgs] @alyssais merged pull request #51625 → skaffold: 0.18.0 -> 0.19.0 → https://git.io/fpDTe
<{^_^}> [nixpkgs] @alyssais pushed 2 commits to master: https://git.io/fpy51
<feep> is /run/wrappers/bin/ping actually supposed to have setuid?
<feep> because it doesn't here
<{^_^}> [nixpkgs] @alyssais merged pull request #51620 → gildas: 20181101_a -> 20181201_a → https://git.io/fpMDL
<{^_^}> [nixpkgs] @alyssais pushed 2 commits to master: https://git.io/fpy5S
<feep> ah hm
<feep> all these files have root:root, but in nix-shell they show as nobody:nogroup
<{^_^}> [nixpkgs] @yegortimoshenko pushed 0 commits to yegortimoshenko-patch-1: https://git.io/fpydv
<cyounkins> I'm working on this package and am getting "Can't load '/root/nixpkgs/net-snmp-5.8/perl/blib/arch/auto/NetSNMP/default_store/default_store.so' for module NetSNMP::default_store: /root/nixpkgs/net-snmp-5.8/perl/blib/arch/auto/NetSNMP/default_store/default_store.so: undefined symbol: netsnmp_ds_get_boolean at /nix/store/cmajym0bi9jyxw0fx8y9w7kl256wa9gl-perl-5.28.0/lib/perl5/5.28.0/x86_64-linux-thread-multi/DynaLo
<cyounkins> ader.pm line 193." I understand that the symbol is not available in the file, but how can I know if it's supposed to be in default_store.so or another library?
<{^_^}> [nixpkgs] @alyssais closed pull request #36831 → [WIP] linux: Add options for deblobbed kernels → https://git.io/vxeAW
<cyounkins> "nm -g /root/nixpkgs/net-snmp-5.8/perl/blib/arch/auto/NetSNMP/default_store/default_store.so" shows "U netsnmp_ds_get_boolean"
<feep> gchristensen: when you run the nix-shell, what's the user/group of the /run/wrapper fiels?
<feep> files*
<gchristensen> nix-shell doesn't change anything about /run/wrapper
pxc has quit [Ping timeout: 260 seconds]
<feep> ah
<feep> does buildFHSUserEnv?
<gchristensen> ah, yes, because it puts you in to a chroot
vidbina has joined #nixos
agander_ has joined #nixos
<feep> can I make it let me use those files anyway somehow?
meizikyn has joined #nixos
agander has quit [Ping timeout: 250 seconds]
<gchristensen> hmm an interesting question
Mr_Keyser_Soze has quit [Ping timeout: 250 seconds]
lsyoyom has joined #nixos
ninjin has quit [Remote host closed the connection]
<tilpner> They are at /host/run/wrappers/bin
agander_ has quit [Client Quit]
<gchristensen> oh!
<gchristensen> tilpner++
<{^_^}> tilpner's karma got increased to 11
<feep> still nobody nogroup.
<feep> because ... it just symlinks to /run/wrappers
ninjin has joined #nixos
<ottidmes> any reason why _module.args.utils is not just part of lib? its a source of infinite recursion for me so I am going to see if I can just place those utils in lib
<tilpner> ottidmes - That will not work unless you also fix every module expecting utils to be ther
<feep> /host/run/wrappers/wrappers.*/ping google.de just does not work at all
<feep> ah, because it asserts it's in the wrapper dir
<feep> and they're still nobody/nogroup
<ottidmes> tilpner: I am well aware, but there are not that many
<tilpner> ottidmes - It's possible it was put there specifically to avoid inf-rec. lib might be overlay-able, utils probably isn't
<ottidmes> tilpner: seems very unlikely to me, that same overlayed lib is used in the modules using utils, but am doing some tests
vidbina has quit [Ping timeout: 250 seconds]
<cyounkins> OK I found the symbol in /root/nixpkgs/net-snmp-5.8/perl/blib/arch/auto/SNMP/SNMP.so using `nm`. So this package (net-snmp) is running a test by invoking a perl script which cannot find a dynamically linked library that it just built. Any pointers?
<ottidmes> tilpner: also the one things utils depend on... is lib :P
<{^_^}> [nixos-homepage] @sternmull opened pull request #254 → "the the" -> "the" → https://git.io/fpyFG
<feep> aaa
Mr_Keyser_Soze has joined #nixos
fragamus has joined #nixos
ckauhaus has quit [Quit: WeeChat 2.2]
<aanderse> i see references to renaming a deployment with nixops, but was wondering if there is any way to rename an actual machine managed by nixops?
klntsky has quit [Remote host closed the connection]
<aanderse> i assume if i simply rename the variable nixops will think i've deleted one machine and added another
jrolfs has joined #nixos
slack1256 has joined #nixos
fragamus has quit [Ping timeout: 246 seconds]
Mr_Keyser_Soze has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @acowley opened pull request #51672 → vulkan-validation-layers: 1.1.82.0 -> 1.1.85.0 → https://git.io/fpyNG
<Taneb> Just switched our builds at work to use nixpkgs 18.09 for everything except our one Elm build
Mr_Keyser_Soze has joined #nixos
dbmikus_ has joined #nixos
dbmikus has quit [Ping timeout: 252 seconds]
<{^_^}> [nixos-homepage] @edolstra merged pull request #254 → "the the" -> "the" → https://git.io/fpyFG
<{^_^}> [nixos-homepage] @edolstra pushed 2 commits to master: https://git.io/fpyN5
halfbit has quit [Ping timeout: 260 seconds]
slack1256 has quit [Ping timeout: 250 seconds]
dbmikus__ has joined #nixos
dbmikus_ has quit [Ping timeout: 250 seconds]
vidbina has joined #nixos
<clever> aanderse: the only solution i can see is to `nixops export`, rename it in the json, and `nixops import`, then it will think it always had that name
<clever> aanderse: but ive not tested that, and dont know what side-effects may occur
c0bw3b_ has joined #nixos
<{^_^}> [nixpkgs] @c0bw3b opened pull request #51673 → polkit: add patch for CVE-2018-19788 → https://git.io/fpyAq
pxc has joined #nixos
hedning has joined #nixos
<aanderse> clever: thanks. still looking.
<aanderse> ah... yeah just found it... should have read --help before the manual >_<
<aanderse> says in the --help :)
<aanderse> a rename option
<clever> oh, nice
elgoosy has joined #nixos
<{^_^}> [nixpkgs] @costrouc opened pull request #51674 → python3Packages.flit: 1.0 -> 1.2.1 → https://git.io/fpyxL
<{^_^}> [nixpkgs] @c0bw3b opened pull request #51675 → [18.09] polkit: add patch for CVE-2018-19788 → https://git.io/fpyxl
<elgoosy> after upgrading from 18.03 to 18.09, i keep finding packages that do not work (lib x was not found..) until i reinstall that package. How can force to relink all libraries used by my packages?
<aanderse> yup, rename worked fine
<tilpner> elgoosy - Are you using NixOS or just Nix?
<tilpner> (I assume NixOS, because you mentioned version numbers 18.03 and 18.09)
<tilpner> Are you using declarative package installation methods, or nix-env?
endformationage has quit [Ping timeout: 250 seconds]
<elgoosy> tilpner, nixos, yes
<elgoosy> i trie to configuration.nix for all my packages, but sometimes install them -iA
<{^_^}> [nixpkgs] @ck3d opened pull request #51676 → vaapi-intel: added missing library libXfixes for x11 → https://git.io/fpyxj
<elgoosy> so maybe those with -iA stayed stale right?
<tilpner> Yes, that's my suspicion
<ottidmes> elgoosy: yep, happened to me too when upgrading, you got to update or remove them
<elgoosy> thanks
jtojnar has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @pmiddend opened pull request #51677 → pro-office-calculator: init at 1.0.6 → https://git.io/fpypz
fragamus has joined #nixos
<{^_^}> Channel nixos-18.09 advanced to https://github.com/NixOS/nixpkgs/commit/135a7f9604c (from 7 hours ago, history: https://channels.nix.gsc.io/nixos-18.09)
nschoe has quit [Ping timeout: 250 seconds]
<typetetris> So, next year my employer will start to use nix (to a small amount).
<gchristensen> woot!
<typetetris> :)
Thra11 has joined #nixos
Thra11 has quit [Client Quit]
<ottidmes> I have to do some more tests but it seems I finally solved my issue with _module.args and infinite recursion, the problem being pkgs was also defined via _module.args, so I could not use any _module.args in a config defining something that affected pkgs (i.e. an overlay), making _module.args pretty useless to me
<tilpner> Yeah, you have to be very careful with module._args :/
Mr_Keyser_Soze has quit [Ping timeout: 272 seconds]
<typetetris> Can get nix-shell to pass `--norc` to the invoked bash?
<tilpner> nix-shell -p hello --command 'bash --norc'
jabranham has quit [Quit: ERC (IRC client for Emacs 27.0.50)]
srl295 has joined #nixos
andromeda-galaxy has joined #nixos
<typetetris> tilpner: thanks.
pxc has quit [Quit: WeeChat 2.3]
<typetetris> tilpner: Somehow tab completion doesn't work in the shell starting then, do you know why that is so? (The shell claims to be interactive as "$-" contains an "i").
<tilpner> nix-shell -p bashInteractive --command 'bash --norc'
Synthetica has joined #nixos
<tilpner> The bash it was calling was a stripped-down version driving the build (I think)
<Synthetica> Is there something about nix-shell that makes it recompile the kernel when I try to build my system from a nix-shell?
<Synthetica> It's the weirdest thing
<tilpner> How do you enter that nix-shell?
<tilpner> What
<tilpner> It happens here too!
ntd has joined #nixos
<Synthetica> (Every way I seem to enter it seems to work)
<Synthetica> Now, when I grab an older kernel (specifically linux-4.14.76, nixpkgs rev 81f5c2698a8 this doesn't happen)
oida has quit [Remote host closed the connection]
oida has joined #nixos
<Synthetica> And I don't have the faintest clue how to git bisect for this, because it would be dependent on caching
<tilpner> It's not related to the nix version used
<{^_^}> [nixpkgs] @yegortimoshenko pushed to yegortimoshenko-patch-1 « nixos/bash: set title in PS1 »: https://git.io/fpSe9
<Synthetica> Not to the nix version, but to the nixpkgs version
<tilpner> Are you sure? It really should use the same nixpkgs in both cases
<tilpner> (Especially on my system, where I don't have channels)
<tilpner> NIX_PATH isn't touched either
<Synthetica> (I specifically pinned a channel version)
<Synthetica> (I had that version for some packages, and it doesn't happen there)
<Synthetica> (So I did `kernelPackages = pkgs.libreoffice-fix.linuxPackages` just to check, and it worked 😅)
<tilpner> I have no idea why this happens
<tilpner> nix-diff is unhelpful too
<{^_^}> [nixpkgs] @yegortimoshenko opened pull request #51678 → nixos/bash: set title in PS1 → https://git.io/fpSvn
fragamus has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<tilpner> Okay, so the difference between the two system derivations is that ncurses and pkgconfig are added to the linux derivation as buildInputs
<tilpner> Can you confirm that?
<tilpner> nix-instantiate your system from both inside and outside the nix-shell, then nix-diff them
Akii has joined #nixos
<Synthetica> tilpner: If I'm reading the output correctly, yes, that seems to be the case.
<tilpner> Now there's just... why does it do that?
<tilpner> My diff is a little longer due to driver things (alternate paths to linux), but essentially the same
<Synthetica> I think I should just file a bug report at this point?
[Leary] has quit [Remote host closed the connection]
Lears has joined #nixos
<tilpner> If you do, please link it here :/
<{^_^}> [nixpkgs] @gnidorah opened pull request #51679 → intelmetool: init at 4.8.1 → https://git.io/fpSfX
<{^_^}> [nixpkgs] @vbgl opened pull request #51680 → satysfi: 2018-03-07 -> 0.0.3 → https://git.io/fpSf9
hedning has quit [Quit: hedning]
jabranham has joined #nixos
hedning has joined #nixos
<{^_^}> #51681 (by Synthetica9, 18 seconds ago, open): Kernel tries to recompile when building system from nix-shell
<tilpner> Thanks!
<tilpner> I diffed nix-instiate -vvvvv logs, there was no cause visible
aleph- has joined #nixos
fragamus has joined #nixos
<eyjhb> Any good ways of debugging systemd `waiting for devices to settle`? (systemd-udev-settle)
elgoosy has quit [Remote host closed the connection]
cranjery has quit [Ping timeout: 256 seconds]
ntd has quit [Quit: ntd]
<{^_^}> Channel nixos-unstable advanced to https://github.com/NixOS/nixpkgs/commit/57c69ff7818 (from 12 hours ago, history: https://channels.nix.gsc.io/nixos-unstable)
fragamus has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
locallycompact has joined #nixos
<Synthetica> I'll see if I can bisect the commit responsible for the difference in nix-diff
<locallycompact> the documentation has loads of information for if you fetchFromGithub and have a shell script but doesn't really say what to do if you fetchFromGithub and the rpeo already has nix stuff in it
<locallycompact> like I just want to say x = buildNixThingFromGithub
<locallycompact> { blahdeblah }
<tilpner> locallycompact - The answer depends on whether you want to include the result in nixpkgs
<locallycompact> why does that matter
<tilpner> Because nixpkgs forbids IFD
<tilpner> ,ifd
fragamus has joined #nixos
<locallycompact> what's that
<tilpner> Oh well, it's dead again. IFD is import-from-derivation, so what you would do if you did "import (fetchFromGitHub { ... })"
<ottidmes> tilpner: I am doing some crazy stuff right now with _module.args, so the patch seems to work fine, so I no longer have to be careful to prevent accidental infinite recursion :D
<infinisil> ,IFD
<{^_^}> import-from-derivation (IFD) is when you evaluate nix from a derivation result, for example `import (pkgs.writeText "n" "1 + 1")` will evaluate to 2
<tilpner> infinisil - I tried that in PM, it didn't answer!
<tilpner> But case insensitivity might be a good change
vidbina has quit [Ping timeout: 246 seconds]
<infinisil> Oh darn, PM's don't work indeed
<tilpner> They did a while ago, I think?
<infinisil> Oh!
hedning has quit [Quit: hedning]
<infinisil> tilpner: Everybody has a separate state in PM's
elgoosy has joined #nixos
<gchristensen> :o
<tilpner> Ahh, right
<infinisil> Because otherwise anybody could change all definitions in PM's without anybody noticing
<infinisil> I'll have to make it read only or so to fix that
<tilpner> That explains why ,find/,locate were working, but not ,IDF
<gchristensen> infinisil: can we append ". This is a problem because it requires evaluating some, building some, and then evaluating the build result."
cnidario has joined #nixos
<infinisil> gchristensen: Sounds good to me
<gchristensen> ok, how? :P
<infinisil> ,help
<{^_^}> Use `,` to list all commands, `,foo = Foo!` to define foo as "Foo!", `,foo =` to undefine it, `,foo` to output "Foo!", `,foo somebody` to send "Foo!" to the nick somebody
<tilpner> ,foo infinisil
<tilpner> Lies!
<gchristensen> ,IFD = import-from-derivation (IFD) is when you evaluate nix from a derivation result, for example `import (pkgs.writeText "n" "1 + 1")` will evaluate to 2
<{^_^}> IFD redefined, was defined as: import-from-derivation (IFD) is when you evaluate nix from a derivation result, for example `import (pkgs.writeText "n" "1 + 1")` will evaluate to 2
<tilpner> ,foo = Foo!
<{^_^}> foo defined
<gchristensen> ,IFD = import-from-derivation (IFD) is when you evaluate nix from a derivation result, for example `import (pkgs.writeText "n" "1 + 1")` will evaluate to 2. This is a problem because it requires evaluating some, building some, and then evaluating the build result.
<{^_^}> IFD redefined, was defined as: import-from-derivation (IFD) is when you evaluate nix from a derivation result, for example `import (pkgs.writeText "n" "1 + 1")` will evaluate to 2
<gchristensen> ,ifd
<gchristensen> ,ifd = See: ,IFD
<infinisil> Huh
hedning has joined #nixos
<infinisil> ,ifd = See: ,IFD
<{^_^}> ifd redefined, was defined as: See: ,IFD
<infinisil> I should fix that too lol
graphene has quit [Remote host closed the connection]
<infinisil> These tiny outages are annoying
<disasm> is there a way to detect if it's a dry run in nixops backends?
<Izorkin> How to need to merge PR 51314 and 51612?
<locallycompact> tilpner, what's wrong with this https://gitlab.com/snippets/1788048
graphene has joined #nixos
<tilpner> This again? Didn't gchristensen already answer that?
<disasm> particularly in get_physical_spec()
<locallycompact> tilpner, no?
<tilpner> Oh, you changed it
<tilpner> Well, you tell me, what's wrong with it?
<locallycompact> I don't know isn't that what you said to do
<locallycompact> x = import (fetchFromGithub { ... })
<{^_^}> [nixpkgs] @grahamc merged pull request #51314 → mariadb: change location configuration file to /etc/my.cnf → https://git.io/fpo2E
<{^_^}> [nixpkgs] @grahamc pushed 2 commits to master: https://git.io/fpSTO
<disasm> locallycompact: helps if you tell us what the problem is :)
<locallycompact> I think I did
<locallycompact> I want to just do something like
<locallycompact> x = buildNixThingFromGithub { blahdeblah }
<locallycompact> no builder.sh no make or shell just all the nix stuff is there already
<tilpner> And you didn't tell us your paste fails
<tilpner> *us how your
<locallycompact> error: cannot coerce a function to a string, at /nix/store/ndx1c6zh8d8v101x81iy34xs5nff42gi-nixpkgs-19.03pre160749.3a393eecafb/nixpkgs/pkgs/stdenv/generic/make-derivation.nix:180:11
<locallycompact> (use '--show-trace' to show detailed location information)
<disasm> yeah, that's what I was getting at tilpner :)
<disasm> locallycompact: so the next thing you want to do is --show-trace
<locallycompact> error: while evaluating the attribute 'buildCommand' of the derivation 'docker-image-foundation.tar.gz' at /nix/store/ndx1c6zh8d8v101x81iy34xs5nff42gi-nixpkgs-19.03pre160749.3a393eecafb/nixpkgs/pkgs/stdenv/generic/make-derivation.nix:180:11:
<locallycompact> while evaluating the attribute 'contents' of the derivation 'docker-layer-foundation' at /nix/store/ndx1c6zh8d8v101x81iy34xs5nff42gi-nixpkgs-19.03pre160749.3a393eecafb/nixpkgs/pkgs/stdenv/generic/make-derivation.nix:180:11:
<locallycompact> cannot coerce a function to a string, at /nix/store/ndx1c6zh8d8v101x81iy34xs5nff42gi-nixpkgs-19.03pre160749.3a393eecafb/nixpkgs/pkgs/stdenv/generic/make-derivation.nix:180:11
<disasm> and do not paste multiple lines in IRC :)
<tilpner> Try callPackage (fetchFromGitHub { ... }) {}
<disasm> that's what gists/pastebins/etc are for
<locallycompact> attribute ghc843 missing
<tilpner> Now it's your problem again :)
<locallycompact> cool, I think
<tilpner> Although I guess you could also try import (fetchFromGitHub { ... }) {}
<tilpner> That would use their nixpkgs instead of yours
jrolfs has quit [Ping timeout: 246 seconds]
<tilpner> Which might be a better version due to having whatever they're currently missing
<locallycompact> oh yeah nice that's it
<locallycompact> thanks!
jrolfs has joined #nixos
jrolfs has quit [Read error: Connection reset by peer]
alex`` has quit [Remote host closed the connection]
alex`` has joined #nixos
<spacekookie> I'm trying to mount a vfat partition in the nixos net installer and mount is telling me "unknown filesystem". What obvious thing am I missing?
jrolfs has joined #nixos
cnidario has quit [Remote host closed the connection]
fragamus has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<tilpner> Does /proc/filesystems contain vfat? (It does here)
<averell> i'm adding an optional parameter to a derivation (glibc), and even when the result should be identical, everything gets rebuilt, because my flag is added to the build environment. how can i prevent that?
m0rphism has joined #nixos
<tilpner> What parameter?
<gchristensen> don't add it
<averell> it's a new flag, i want to include a patch, but not rebuild everything dependent on glibc, so i added glibc_patched as a new package with the flag true, and the default being false
<tilpner> Only add the flag when it's true?
<tilpner> You can try system.replaceRuntimeDependencies if it's just for your local system. Won't help with preventing a mass-rebuild of nixpkgs of course
<averell> i mean this: https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/libraries/glibc/common.nix you can see it's like profilingLibraries, how could i pass it through without adding it here?
civodul has joined #nixos
jrolfs_ has joined #nixos
jrolfs has quit [Read error: Connection reset by peer]
ensyde has joined #nixos
<spacekookie> tilpner: No, it's not
<tilpner> My config has a boot.supportedFilesystems = [ "exfat" ];, which might explain why vfat is supported here
<tilpner> According to lsmod, there is a fat and vfat module
<tilpner> I can't promise anything, but *maybe* try adding that to the live config, rebuilding, and potentially modprobing
<tilpner> If that doesn't work, you still have the option of building your own ISO, which is easier than it sounds
<averell> maybe a flag is the wrong approach? how could i get a patched version of glibc without copying the whole derivation?
<tilpner> Generally foo.overrideAttrs (old: { patches = old.patches ++ [ newPatch ]; })
<spacekookie> tilpner: I already built my own image to do the kexec thing on the server I'm installing it on
<tilpner> But that will still rebuilding everything if you overlay it onto your old glibc
<tilpner> spacekookie - Well, then try that again with the line I sent
<averell> i only need it as input for one other package, so i'll try that
zolk3ri has quit [Remote host closed the connection]
rawreraw has quit [Ping timeout: 252 seconds]
hakujin has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @c0bw3b merged pull request #51673 → polkit: add patch for CVE-2018-19788 → https://git.io/fpyAq
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to staging: https://git.io/fpStc
<{^_^}> [nixpkgs] @adisbladis opened pull request #51682 → cni/cni-plugins: Remove go references → https://git.io/fpSt8
<cyounkins> I have a derivation that is OK with "nix-shell --pure -I nixpkgs=/root/nixpkgs -A net_snmp", "genericBuild" but not with "nixos-rebuild -I nixpkgs=/root/nixpkgs build" - any suggestions on differences in the environment?
jabranham has quit [Quit: ERC (IRC client for Emacs 27.0.50)]
<eyjhb> Is there any easy way to enable debugging for `udev` package?
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/ca3f089a836 (from 63 minutes ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<cyounkins> (looks like networking is available in nix-shell, but not in nixos-rebuild)
<ottidmes> cyounkins: probably due to the sandbox
<{^_^}> [nix] @edolstra merged pull request #2562 → Solve hg "abandoned transaction" issue → https://git.io/fpPnx
<{^_^}> [nix] @edolstra pushed 2 commits to master: https://git.io/fpSm3
<c0bw3b_> cls
<c0bw3b_> (nope)
locallycompact has quit [Ping timeout: 246 seconds]
orivej has quit [Ping timeout: 244 seconds]
<ottidmes> develCuy: BTW I managed to reduce the errors I got from installing palemoon to just this one: Missing file(s): bin/browser/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd}/chrome.manifest
<sphalerite> c0bw3b_: many shells also support Ctrl-L ;)
<develCuy> hi ottidmes!
<develCuy> great progress so far!
<ottidmes> develCuy: adding ac_add_options --disable-devtools managed to remove the others
<develCuy> ottidmes: is the file chrome.manifest present somewhere in the source or the build folder?
<ottidmes> develCuy: I removed the build from disk in the mean time, but yes, I remember it was present
<cyounkins> my package in systemPackages has binaries in the store but doesn't get symlinked in /run/current-system/sw/bin - Why would that be?
<ottidmes> cyounkins: the package does not have $out/bin/<name> or it is not set executable?
<cyounkins> ottidmes: Hmm. Well I have `-r-xr-xr-x 1 root root 17920 Jan 1 1970 /nix/store/n6r3bvwpsy82nddsmbfpqp91nhmb1iqm-net-snmp-5.8/bin/snmptest`
<develCuy> yeah, but it is looking for the file somewhere else, it looks like an extension
<cyounkins> I'm dumb, had 'build' instead of 'switch'...
<develCuy> every extension has a chrome.manifest AFAIK
<develCuy> I think that folder bin/browser/extension/{972ce4c6-7e08-4474-a285-3208198ce6fd} might be missing
<ottidmes> develCuy: yeah, so I doubt any chrome.manifest from a different location would do, most likely totally unrelated files
<ottidmes> develCuy: pretty sure it is, but what enable/disable flag do we need to add to either remove it from the list of expected files, or to make sure it exist
<develCuy> ottidmes: look for this file: browser/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd}.xpi
<ottidmes> cyounkins: it had to be something simple like that, such things happen, like not understanding why something is not working and finding out you have been editing a copy of the file
<ottidmes> develCuy: I shall rebuild it then, because like I said, I have since purged it form my /tmp
rauno has quit [Ping timeout: 268 seconds]
<develCuy> ottidmes: that extension is the default theme, I think we should remove the branding option
<{^_^}> [nixpkgs] @adisbladis merged pull request #51682 → cni/cni-plugins: Remove go references → https://git.io/fpSt8
<{^_^}> [nixpkgs] @adisbladis pushed 3 commits to master: https://git.io/fpSYj
ntd has joined #nixos
<bgamari> domenkozar, have you run into limited tmpfs sizes when using runInLinuxVm?
<Ralith> anyone using emacs lsp-mode with advice for how to wire it up to shell environmenets?
<ottidmes> develCuy: nice find, then I will rebuild with that set, what do you suggest, either: ac_add_options --disable-official-branding or resetting ac_add_options --enable-application=palemoon back to ac_add_options --enable-application=browser?
<develCuy> ottidmes: I think you can try each option in that order
m0rphism has quit [Quit: WeeChat 2.2]
<develCuy> so first disable branding and compile
m0rphism has joined #nixos
<ottidmes> develCuy: guess I have to remove: export MOZILLA_OFFICIAL=1, too then?
<ottidmes> I could test first with it still there
<develCuy> yes
<ottidmes> its building, so in about 35min we will know...
Dezgeg has quit [Ping timeout: 264 seconds]
* develCuy crossing fingers, pushing the couch
liff has quit [Ping timeout: 252 seconds]
ent has quit [Ping timeout: 250 seconds]
<ottidmes> Ralith: not using Emacs, but maybe this is useful: https://direnv.net/
johnw_ has joined #nixos
<eyjhb> Is there any reason to keep `systemd-udev-settle.service` enabled?
m0rphism has quit [Quit: WeeChat 2.2]
johnw has quit [Ping timeout: 252 seconds]
hakujin has joined #nixos
<ottidmes> eyjhb: depends on your system, I read that you indeed what to prevent it from being pulled if possible, because its very slow, but some things might require it: https://freedesktop.org/wiki/Software/systemd/Optimizations/ (point 1)
<ottidmes> eyjhb: this answer seems to indicate its only needed for LVM, but not sure how reliable a source it is: https://ask.fedoraproject.org/en/question/115371/fedora-27-slow-boot-with-systemdudev-settleservice/
cyounkins has quit [Remote host closed the connection]
<eyjhb> Just currently hating the **** out of it, because it times out if my USB 3.0 Dock is inserted
<eyjhb> And udev basically says F you, when you try to debug it at all....
endformationage has joined #nixos
<{^_^}> [nix] @LnL7 opened pull request #2566 → s3: make scheme configurable → https://git.io/fpS3C
<ottidmes> eyjhb: another answer "My advice is to mask it with sudo systemctl mask systemd-udev-settle.service and reboot. If your system comes up normally, you don't need it; if not, you can always unmask it." seems fair enough: https://ask.fedoraproject.org/en/question/81006/slow-boot-time-udev-settle/
<eyjhb> Except, you cannot just mask it on nixos, right?
<LnL> gchristensen: ^
<ottidmes> eyjhb: this has more in depth info about it: http://0pointer.de/blog/projects/blame-game.html
<{^_^}> [nixpkgs] @alyssais merged pull request #51214 → winePackages.wine: add SDL support → https://git.io/fpVTQ
<{^_^}> [nixpkgs] @alyssais pushed 2 commits to master: https://git.io/fpS3w
cyounkins has joined #nixos
<eyjhb> ottidmes: but you cannot do most of that, at all, on nixos. And I am 99% sure, it is the udev rule added by displaylink, that is causing this
<ottidmes> eyjhb: it seems an open bug, but here is a workaround: https://github.com/NixOS/nixpkgs/issues/41055#issuecomment-394640702
ninjin has quit [Remote host closed the connection]
ensyde has quit [Ping timeout: 272 seconds]
ninjin has joined #nixos
vk3wtf has joined #nixos
hedning has quit [Quit: hedning]
<gchristensen> LnL: nice!
<eyjhb> ottidmes: Might just disable it that way then ! - Also, is there a way I can check the connected device at this address ? `'/devices/pci0000:00/0000:00:14.0/usb4/4-3/4-3.1/4-3.1:1.0'`?
<LnL> was still working on the docs
<eyjhb> As it seems like that is the reason => `systemd-udevd[471]: seq 1504 '/devices/pci0000:00/0000:00:14.0/usb4/4-3/4-3.1/4-3.1:1.0' is taking a long time`
<LnL> gchristensen: is your comment about the value or phrasing of the message?
<gchristensen> LnL: the phrasing, I think just sticking to "https/http" should be sufficient? maybe caches will have sensitive information - its a judgement call for the user
<ottidmes> eyjhb: udevadm info --query=all /devices/pci0000:00/0000:00:14.0/usb4/4-3/4-3.1/4-3.1:1.0
elgoosy has quit [Ping timeout: 250 seconds]
<eyjhb> `Unknown device, --name=, --path=, or absolute path in /dev/ or /sys expected.`
<ottidmes> eyjhb: probably /sys/devices
__monty__ has quit [Quit: leaving]
<ottidmes> it is for me at least
<eyjhb> Hmm.. It is the DisplayLInk vendor stuff, that times out because it does not respond... How would I even be able to change this?
jrolfs_ has quit [Quit: WeeChat 2.3]
<eyjhb> I cannot even see, what service calls the displaylink stuff, or why it does, because udev doesn't want to give me any debug information in either syslog or journalctl -b
logzet has joined #nixos
<ottidmes> eyjhb: try and search for a forum about the product, or maybe try stackexchange (has been mixed success for me, either you hit the jackpot and get a great answer, or you just get complaints and end up answering it yourself)
<eyjhb> Somewhat niche and new, so nothing so far
<eyjhb> And none-free.. So... Even the log files are encrypted
<ottidmes> eyjhb: you can test rules with udev, did you look into that already?
<eyjhb> Depends what you mean by testing?
<ottidmes> eyjhb: see if they fire correctly
halfbit has joined #nixos
<eyjhb> How would you go about that, during the boot process
graphene has quit [Remote host closed the connection]
<ottidmes> eyjhb: not sure exactly, only needed to look into this stuff once myself, but if I remember correctly, you could use udevadm too to test your rules for a device, so you can test and see if your debug script works and such
irdr has quit [Ping timeout: 246 seconds]
graphene has joined #nixos
<ottidmes> eyjhb: I have this as a shell function: sudo udevadm test $(udevadm info --query=path "$@")
<logzet> I want to package an NodeJS application (only for myself for now, I may create a PR in the future). There seem to be a few packages on Nixpks, is this frowned upon, or should non-development packages not be added to pkgs/developmen/node-packages?
Ariakenom has joined #nixos
apaul1729 has quit [Ping timeout: 268 seconds]
<adisbladis> logzet: It's a judgement call. Which package is it?
orivej has joined #nixos
<ottidmes> develCuy: it failed to install on the same missing extension manifest file, I am now trying --enable-application=browser
hakujin has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @cyounkins opened pull request #51683 → net_snmp: 5.7.3 -> 5.8 → https://git.io/fpSGp
simukis has quit [Quit: simukis]
hakujin has joined #nixos
<ottidmes> I just modified my NixOS implementation to allow overlays for lib, but before I clean it up and make a pull request, any reason why this would not be a good idea?
<logzet> Even if there are, I think a PR would be a good idea for documentation purposes
hedning has joined #nixos
<ottidmes> good point
<tilpner> ottidmes - Did you account for misc/lib.nix?
<{^_^}> [nixpkgs] @ck3d closed pull request #51676 → vaapi-intel: added missing library libXfixes for x11 → https://git.io/fpyxj
<ottidmes> tilpner: could you eloborate?
<tilpner> ,find misc/lib.nix
<tilpner> Does ^ still work?
<ottidmes> ah, forgot the * in my find check just now ;)
c0bw3b_ has quit [Remote host closed the connection]
<tilpner> Also, do you add a new overlay mechanism, or allow existing overlays to alter lib?
<tilpner> (I would strongly oppose the former, but am already using the latter)
<ottidmes> tilpner: I do exactly what nixpkgs overlays do
<tilpner> That doesn't answer my question. I'll just wait for the PR
<ottidmes> then your question is not clear to me, "do you add a new overlay mechanism", if taken literally, then yeah, but that is kinda the point, or if you mean, new compared to existing overlay mechanism, then that is why I mentioned nixpkgs overlays, but sure code answers things the best
endformationage has quit [Ping timeout: 250 seconds]
<tilpner> Do you add nixpkgs.libOverlays, next to nixpkgs.overlays, or allow nixpkgs.overlays to also set lib?
<adisbladis> logzet: I'm lazy so I'd be tempted to put the package in node-packages anyway
<adisbladis> logzet: Look in to node2nix/yarn2nix too
cyounkins has quit [Remote host closed the connection]
<ottidmes> tilpner: right now the former, but I am considering the latter, but not sure if its feasible
<ottidmes> tilpner: my current prototype does not even have any relation to NixOS, its just pure standalone lib, using either <nixpkgs-lib-overlays> (not sure about that naming, it at least unambiguous) or ~/.config/nixpkgs/lib/overlays{,.nix}
<tilpner> Oh no, that is terrible :c
<ottidmes> tilpner: what is, that approach, or the naming?
<tilpner> What happens if you do self: super: { lib = super.lib // { foo = 42; }; }, and then nix-instantiate '<nixpkgs>' --eval -A lib.foo ?
<eyjhb> ottidmes: But I have NO idea, what I should supplythe function with
<tilpner> Put that in your ordinary nixpkgs-overlays
hedning has quit [Quit: hedning]
timon37 has joined #nixos
<ottidmes> tilpner: your example was my first test case, and work just fine
<tilpner> So then why do we need nixpkgs-lib-overlays?
<ottidmes> tilpner: but I agree, if I can get it to work to leverage pkgs.lib overlays, than there is no need for anything seperate, hangs on that though
<ottidmes> tilpner: ^ that
<yegortimoshenko> jtojnar: does gnome application list refresh for you after nixos-rebuild?
<tilpner> ottidmes - Please specify the challenges of "if I can get it to work to leverage pkgs.lib overlays"
<tilpner> Oh, inf-rec, of course
<ottidmes> right
ntd has quit [Quit: ntd]
dbmikus__ has quit [Quit: WeeChat 2.3]
erasmas has quit [Quit: leaving]
<Ralith> ottidmes: hmm, doesn't seem to reach lsp-mode, somehow
<ottidmes> develCuy: got some new errors: https://gist.github.com/ottidmes/d96bb241b9f34547dc0864c172d47ffb#file-new-errors-log (or is the name basilisk caused by setting application to "browser", doubt it, but not famliar with the software at all)
m0rphism has joined #nixos
init_6 has joined #nixos