gchristensen changed the topic of #nixos to: The Nix Ecosystem, https://nixos.org | NixOS: https://nixos.org/nixos/download.html | Nix: https://nixos.org/nix/download.html | Logs: https://logs.nix.samueldr.com/nixos/ | #nixos-dev, #nix-darwin, #nixos-aarch64, #nixos-chat
<nh2> simpson: Yes it had me very stalled. I even dreamt the previous night that it was a trivially fixable problem with some overlay, and I was so disappointed when I went to the computer and the problem I thought was responsible for the issue only existed in the dream.
<nh2> Interestingly though, this other fix I just made https://github.com/nh2/static-haskell-nix/commit/1a6268267511c13e67a33c7f740377193a788371 looks almost like the thing in my dream. But I dreamt it for the wrong issue!
lassulus has joined #nixos
tv has joined #nixos
mbrgm has quit [Ping timeout: 264 seconds]
mbrgm has joined #nixos
selfsymmetric-mu has joined #nixos
erasmas has quit [Ping timeout: 248 seconds]
stepcut has quit [Ping timeout: 245 seconds]
stepcut has joined #nixos
kleisli_ has joined #nixos
<camsbury> well the kernel is up to date but still doesn't support Killer AX1650 (wifi card)... I think
<camsbury> not showing the wifi interface
mexisme has joined #nixos
seanparsons has quit [Quit: ZNC 1.7.3 - https://znc.in]
seanparsons has joined #nixos
<{^_^}> [nixpkgs] @danbst opened pull request #66657 → Pgpackages fixes → https://git.io/fjdTK
stepcut has quit [Ping timeout: 246 seconds]
selfsymmetric-mu has quit [Remote host closed the connection]
selfsymmetric-mu has joined #nixos
selfsymmetric-mu has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @danbst merged pull request #66336 → pgbouncer: use c-ares for name resolution → https://git.io/fj7JH
<{^_^}> [nixpkgs] @danbst pushed commit from @takeda to master « pgbouncer: use c-ares for name resolution (#66336) »: https://git.io/fjdT6
selfsymmetric-mu has joined #nixos
stepcut has joined #nixos
<camsbury> ah I see this
wildtrees has quit [Quit: Leaving]
npmccallum has quit [Quit: npmccallum]
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/fjdTM
<{^_^}> [nixpkgs] @jonafato closed pull request #63939 → keepassxc: 2.4.1 -> 2.4.3 → https://git.io/fjoNP
Thra11 has quit [Ping timeout: 258 seconds]
stepcut_ has joined #nixos
stepcut has quit [Ping timeout: 268 seconds]
amf has quit [Quit: WeeChat 2.4]
psy3497 has joined #nixos
drakonis has quit [Ping timeout: 244 seconds]
erasmas has joined #nixos
___laika has quit [Ping timeout: 272 seconds]
erasmas has quit [Ping timeout: 245 seconds]
ris has quit [Ping timeout: 246 seconds]
gvolpe has joined #nixos
gvolpe has quit [Remote host closed the connection]
camsbury has quit [Remote host closed the connection]
klntsky has quit [Remote host closed the connection]
klntsky has joined #nixos
___laika has joined #nixos
___laika has quit [Ping timeout: 268 seconds]
dl4mfo has joined #nixos
dl4mfo_ has quit [Ping timeout: 258 seconds]
___laika has joined #nixos
Guanin has quit [Remote host closed the connection]
ddellacosta has joined #nixos
growpotkin has quit [Ping timeout: 245 seconds]
waleee-cl has quit [Quit: Connection closed for inactivity]
ng0_ has joined #nixos
ng0 has quit [Ping timeout: 260 seconds]
orivej has quit [Ping timeout: 245 seconds]
drakonis has joined #nixos
Guest53968 is now known as atlas_
<{^_^}> [nixpkgs] @thoughtpolice merged pull request #66521 → tinyprog: init at 1.0.24.dev99+ga77f828 → https://git.io/fj5tZ
<{^_^}> [nixpkgs] @thoughtpolice pushed 2 commits to master: https://git.io/fjdkQ
ottidmes has quit [Ping timeout: 272 seconds]
Shados has joined #nixos
stepcut_ has quit [Remote host closed the connection]
nexgen has quit [Quit: Leaving]
dsiypl4 has joined #nixos
dsiypl4 has quit [Ping timeout: 244 seconds]
drakonis has quit [Quit: WeeChat 2.5]
jlv has joined #nixos
ajs124 has quit [Quit: Gateway shutdown]
<{^_^}> Channel nixos-19.03 advanced to https://github.com/NixOS/nixpkgs/commit/1f22d5b6f87 (from 6 hours ago, history: https://channels.nix.gsc.io/nixos-19.03)
schneid3306 has joined #nixos
tomberek has joined #nixos
<dansho> does a .nix file have to define an attribute set?
schneid3306 has quit [Quit: Quit.]
<samueldr> a .nix file can be any expression
<samueldr> but always has to be _one_ expression
<samueldr> (e.g. an attrset is composed of multiple expressions, but the attrset itself is the one expression)
[Leary] has quit [Remote host closed the connection]
m0rphism has quit [Ping timeout: 268 seconds]
<dansho> i guess loading a file with nix repl is different?
erasmas has joined #nixos
<clever> dansho: nix repl expects the file to either be a set, or a function taking a set and returning a set
<dansho> ah, ok i figured out i can use > (import ./hello.nix) if i want to echo a string
erasmas has quit [Ping timeout: 245 seconds]
<clever> dansho: yep, import will just load a nix file, and return that top-level value
growpotkin has joined #nixos
nexgen has joined #nixos
Supersonic has quit [Ping timeout: 264 seconds]
jlv has quit [Ping timeout: 260 seconds]
Supersonic has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @xrelkd opened pull request #66659 → cargo-make: 0.21.0 -> 0.22.0 → https://git.io/fjdI5
tomberek has quit [Remote host closed the connection]
robogoat has quit [Ping timeout: 245 seconds]
jtojnar_ has quit [Quit: jtojnar_]
robogoat has joined #nixos
jtojnar has joined #nixos
rprije has joined #nixos
mla has quit [Quit: WeeChat 2.2]
<dansho> is there a builtin for doing union of two attribute sets?
<clever> dansho: //
<clever> > { a=1; b=2; } // { b=3; c=4; }
<{^_^}> { a = 1; b = 3; c = 4; }
nexgen has quit [Remote host closed the connection]
nexgen has joined #nixos
<dansho> ty
endformationage has quit [Ping timeout: 244 seconds]
<{^_^}> [nixpkgs] @joachifm merged pull request #66245 → chicken: fixes for chicken 5.1.0 → https://git.io/fjQgy
<{^_^}> [nixpkgs] @joachifm pushed 2 commits to master: https://git.io/fjdtd
chaoflow has quit [Quit: WeeChat 1.9.1]
<jasom> So, the most full featured driver for my printer was not in nix (the generic escpr driver works, but doesn't support e.g. the rear printer tray). I wrote an overlay that works; should I go through the trouble of writing a PR to get it into nixos?
<clever> jasom: yeah, then you can save others the trouble
<jasom> there are two other nearly identical nix expressions, as most of the epson model-specific drivers are delivered the same. A project for later might be to make a function to generate packages for all of the rest of them too.
<jasom> it was literally find/replace the .rpm file name, change the SHA and everything worked.
<clever> nice
wfranzini has quit [Remote host closed the connection]
wfranzini has joined #nixos
matthuszagh has joined #nixos
<matthuszagh> hello. is there a way to remove attributes in an overlay?
<matthuszagh> i see the `removeAttrs' builtin, but i'm not really sure how I'd use it
<matthuszagh> to be clear, use the overlay to remove an attribute from the original set
<clever> matthuszagh: cant really remove an attr with an overlay, but you can set it to null
<pie_> is it possible to use build-vm with virtualbox
<clever> pie_: i dont think virtualbox supports virtio-fs and 9plan
<clever> well, they use something entirely different
<pie_> quemo is sloow
alex`` has quit [Ping timeout: 248 seconds]
<pie_> *quemu
<pie_> clever: aha
<clever> pie_: does /dev/kvm exist?
<matthuszagh> clever: thanks
<pie_> clever: on my host system?
<clever> pie_: yes
<pie_> yeah
<clever> pie_: and is the host nixos?
<pie_> yeah
<clever> pie_: qemu should be running at full performance then...
<clever> pie_: but only if virtualbox has no guests open when you boot qemu
<pie_> hm
<pie_> well ill try again
<pie_> it was slow when i tried this two days ago
<tjg1> how can i add a custom file to initrd?
<pie_> tjg1: boot.loader.grub.extraInitrd seems to exist but im not sure its what you want
<clever> tjg1: one min
<pie_> clever: do i have to run it as root
<clever> pie_: no, check the permissions on /dev/kvm
<pie_> seems fine
<pie_> what im observing is kde takes really long to get past the splash screen
<clever> pie_: check top on the host, what is using the cpu?
vmandela has joined #nixos
<pie_> clever: qemu is using 152% but there's room to spare
<pie_> no cores are maxed out
<clever> tjg1: boot.initrd.extraUtilsCommands is probably what you want
<clever> tjg1: what is your end goal?
<pie_> clever: oh great, more options that dont show up in the option search :P
<clever> i was pointing to the internal=true; which hides it
<pie_> oh
<pie_> :I
<pie_> but whyyyy
<clever> good question
<clever> pie_: if you hit H in top, it should switch to threads, is it 3 of 50%, or one 100% and a 52% or some other mix?
<pie_> inb4 bricking, but the solution to that isnt hiding it and not leavinga comment
terps has joined #nixos
<clever> pie_: how much ram did you give the guest?
<pie_> i didnt set anything, just used build-vm
<clever> pie_: the default build-vm only had ~300mb of ram
<pie_> aha.
<clever> pie_: MOAR things that dont show up in the docs!, but for a different reason
<pie_> i see two qemu threads around 60-70%
<tjg1> clever: luks keyfile in initrd
<clever> tjg1: ah, then you dont want extraUtilsCommands
<tjg1> with grub cryptodisk so i dont have to enter passphrase twice
Rusty1 has quit [Quit: Konversation terminated!]
<clever> that answers the grub vs systemd question, one min
Zer0xp has joined #nixos
<clever> tjg1: yeah, looks like boot.loader.grub.extraInitrd is the best option, generate an initrd that contains the secret key (cpio -H newc) and then give that the path
<pie_> clever: will changing that qemu setting change the buildvm runtime environment?
<pie_> or were you just linking it for illustration
<clever> pie_: runtime env?
<pie_> the amount of memoery it gets
<clever> pie_: you set that in your configuration.nix, and it will adjust the shell script used when launching qemu
<tjg1> thanks, let's try it out
terps has quit [Ping timeout: 250 seconds]
<pie_> hm ok
<pie_> clever: i just feel like theres a bit of a spatial disconnect between that and build-vm
<clever> pie_: build-vm will build a script in qemu-vm.nix
<clever> and that script obeys the cfg you put in configuration.nix
<pie_> oh this is a "builder" script, not some system level config?
<pie_> "virtualisation.memorySize"
<pie_> * "# This module creates a virtual machine from the NixOS configuration."
<clever> pie_: build-vm will build the entire nixos, then build a shell script, that runs nixos, in qemu, with the configured amount of ram
terps has joined #nixos
<pie_> feels a bit weird being directly under virtualisation and not like, virtualisation.build-vm.memory
<pie_> (or something like that)
terps has quit [Read error: Connection reset by peer]
<tjg1> clever: pie_: that works great, thank you
<pie_> clever: uhh "error: The option `virtualisation.memorySize' defined in `/etc/nixos/configuration.nix' does not exist." ok so it would make more sense if im not supposed to set it top level
<pie_> but then where
<clever> pie_: ignore that, its why the option doesnt show up in the docs
<clever> pie_: build-vm will dynamically jam another module into your imports list
<clever> but nixos-rebuild first uses your config to try to build nix itself (causing that error)
<clever> then it builds your config again, to make nixos (which wont error)
<pie_> wow so much obscure stuff
<clever> and because its an ad-hoc module in imports, it doesnt show up in docs
erasmas has joined #nixos
<pie_> wait isnt this supposed to be impossible, or does it use sring concatenation on my config? :P<clever> pie_: build-vm will dynamically jam another module into your imports list
<clever> pie_: line 9 is a normal nixos-rebuild, line 15 is build-vm
terps has joined #nixos
<clever> configuration is typically just /etc/nixos/configuration.nix
<pie_> well, its not impossible if you dont use pkgs.lib or such
matthuszagh has left #nixos ["ERC (IRC client for Emacs 27.0.50)"]
erasmas has quit [Ping timeout: 245 seconds]
mexisme has quit [Ping timeout: 246 seconds]
<pie_> i gave it a gig of ram but its still slow
<clever> pie_: try 2gig?
<pie_> i gave it another core, but RES (nt sure if thats the right one) only says like 700 megs
<pie_> cpu went up to 245 nd is now around 140
<pie_> extract from ps: qemu-system-x86_64 -enable-kvm -cpu kvm64 -name nixos -m 2048 -smp 2
<{^_^}> [nixpkgs] @ealasu opened pull request #66661 → apfs-fuse: init at 20190723 → https://git.io/fjdqa
shibboleth has joined #nixos
<pie_> takes like 4 seconds to open a right click menu
<{^_^}> [nixpkgs] @kalbasit opened pull request #66662 → mkpj: init at 2019-07-02 → https://git.io/fjdqw
orivej has joined #nixos
<pie_> clever: could it somehow be io limited :I
<pie_> guh so bad :(
<clever> pie_: `iostat -x 30`, and look at util%
<pie_> right..i should have learned that over the past week..the rest of my mahcine isnt slow though so it should be fine :I
<pie_> vm boot seems to go ok but when it gets into kde everything slows to crawl
<pie_> well actually the login screen is still responsive
palo1 has joined #nixos
<clever> pie_: what about `top` within the guest?
<pie_> (i think? hold on)
<pie_> well if i could get as far as that...
<pie_> any idea how to switch to the tty in the guest? i always eng up switching in the host
<clever> is the qemu menu bar available?
<pie_> yeah but theres nothing like sent ctrl-alt
<pie_> *send
<pie_> and capturing isnt sufficient
<clever> pie_: switch to the serial port
<pie_> oh lol
<pie_> nice
<pie_> well at the top of the screen it says
<pie_> > kvm: no hardware support
<{^_^}> <LAMBDA>
<pie_> im hoping thats about nesting
<clever> it is
<pie_> ok
palo has quit [Ping timeout: 245 seconds]
palo1 is now known as palo
<pie_> clever: tons of ram free, cpu 80% idle
<pie_> console is responsive.
<pie_> huh.
<clever> pie_: maybe kde has 3d composition enabled by default?
<clever> and qemu cant emulate gpu accel
<clever> virtualbox cant emulate it either
kvda has joined #nixos
<pie_> im trying to figure out if i can disable it somehow now but it doesnt look easy...
<clever> pie_: try not-kde?
<pie_> yeah that was going to be my next thing
ddellacosta has quit [Ping timeout: 245 seconds]
<pie_> maybe its time to try a different DE anyway :P
<clever> pie_: i use xfce
<pie_> looks like gnome hsa the same problem
<rsoeldner> srhb, Found the error you help yesterday, if .ghc.environment.x86_64-linux-8.6.4 exists, it fails
<pie_> clever: ok xfce works
<pie_> clever: its a little slow but its usable
terps has quit [Ping timeout: 250 seconds]
rauno has joined #nixos
<pie_> clever: unrelated, oh my god lol, good thing i googled https://discourse.nixos.org/t/how-to-debug-a-failing-container/3260/2
<pie_> i cant believe things like this are still a problem in linux
<clever> lol
<rsoeldner> Can someone help out with setting up nixops postgresql deployment. I'm using this configuration https://gist.github.com/rsoeldner/e14294fdca8ddcb900b28b0a3a9d6ed2 and trying to connect over "host='localhost' port=5432 dbname='app'" but receive 'libpq failed (could not connect to server: Connection refused'
<pie_> ok, something something hostname restriction
vmandela has quit [Quit: Leaving]
rauno has quit [Ping timeout: 250 seconds]
phreedom has quit [Remote host closed the connection]
phreedom has joined #nixos
polman has quit [Ping timeout: 245 seconds]
polman has joined #nixos
<pie_> clever: can a container create a private tun device or does it have to come from the host
<dminuoso> pie_: Pretty sure that, unless its a privileged one, you cant.
<pie_> hm
<dminuoso> Unless its tied to a capability
<pie_> that might be ok
fusion809 has quit [Remote host closed the connection]
sudoforge has joined #nixos
<dminuoso> pie_: Probably NET_ADMIN capability, but you can grant capabilities to a container.
<dminuoso> Haven't checked though, its just an educated guess.
<pie_> doh there's a containers.<name>.enableTun x)
<pie_> "Allows the container to create and setup tunnel interfaces by granting the NET_ADMIN capability and enabling access to /dev/net/tun. "
<pie_> question is if this is about manipulating a host visible device
<pie_> which i dont necessarily want
<dminuoso> pie_: Well you can.
<dminuoso> pie_: Refer to ⌜man 7 capabilities⌝
<pie_> i didnt say i cant?
<pie_> but yeah thanks \o/ this looks like the general right direction
lambda-11235 has quit [Quit: Bye]
<pie_> ok cool it looks like its not host visible by default
ng0_ is now known as ng0
terps has joined #nixos
<pie_> i should read more nixpkgs logic
<pie_> its not always easy to know where the interesting hotspots are
<pie_> e.g. the vm generation logic is somewhere in the gajillion modules
<pie_> some modules are not like the others
<{^_^}> [nixpkgs] @danbst opened pull request #66664 → linuxPackages/ixgbevf: 4.3.4 -> 4.6.1, unbreak → https://git.io/fjdmn
gxt has quit [Ping timeout: 260 seconds]
erasmas has joined #nixos
erasmas has quit [Ping timeout: 272 seconds]
___laika has quit [Ping timeout: 245 seconds]
pie_ has quit [Ping timeout: 252 seconds]
rauno has joined #nixos
___laika has joined #nixos
hyper_ch2 has joined #nixos
ilikeheaps has joined #nixos
M-Gregoire49 has quit [Quit: The Lounge - https://thelounge.chat]
M-Gregoire49 has joined #nixos
M-Gregoire49 has quit [Client Quit]
M-Gregoire49 has joined #nixos
yabobay has joined #nixos
Lears has joined #nixos
<yabobay> is nix-env _supposed_ not to give any output while installing stuff?
hyper_ch2 has quit [Remote host closed the connection]
<symphorien> are you on darwin by any chance ? there used to be a bug where software which is only supported on linux would silently fail to install with nix-env
<yabobay> im on the nixOS live iso
<yabobay> the only output i got (after a while) is "installing 'emacs-26.1'"
<symphorien> that's fine
<yabobay> so its installing properly?
<srhb> yabobay: can you run emacs? :)
<yabobay> ?
<srhb> You just installed emacs. Can you run emacs?
<yabobay> nix-env is still running
<symphorien> well you have to wait then :)
<yabobay> does it seriously have no output? is there like a verbose option or something?
<chris|> there is still 'nix-env -v|--verbose'
<symphorien> yabobay: example output, http://xelpaste.net/PpqKwO
<{^_^}> [nixpkgs] @markuskowa opened pull request #66665 → molden: 6.1 -> 6.2 → https://git.io/fjdm7
<yabobay> aaaaand now nix-env doesnt stop when i do C-c
gxt has joined #nixos
<symphorien> are you low on memory ?
<yabobay> probably, my vm has like a gigabyte of memory tho.
<symphorien> what nix-env command did you run ?
<yabobay> nix-env -i emacs
<symphorien> huh
<symphorien> is it still in the manual ?
<symphorien> ,-iA
<symphorien> ,-A
<{^_^}> You'll usually want to use nix-env -i with -A. It's faster and more precise. See https://nixos.wiki/wiki/FAQ/nix-env_-iA for details.
<symphorien> so try nix-env -f '<nixpkgs> -iA emacs
<yabobay> ah okay, i'll try once i reboot
<symphorien> it will be less computationally expensive
___laika has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @danbst opened pull request #66666 → linuxPackages/ena: 2.0.2 -> 2.1.2 → https://git.io/fjdmA
<manveru> so... i built this thing here and would be nice if someone could point out any obvious mistakes (since it works fine afaict): https://www.irccloud.com/pastebin/pAQ4e3yA/euphenix.nix
mexisme has joined #nixos
<manveru> i basically tried to emulate how overlays in nixpkgs work, so you can do stuff like this: https://www.irccloud.com/pastebin/kAn6cffG/default.nix
mexisme has quit [Ping timeout: 252 seconds]
<manveru> maybe that's better for #nix-lang :)
sigmundv has joined #nixos
<srhb> manveru: Looks fine, but maybe it'd be nicer to use extends and co. to use some already named things rather than reinventing.
orivej has quit [Ping timeout: 245 seconds]
FRidh has joined #nixos
<manveru> heh, i didn't even think of that...
<manveru> seems like a good idea, thanks
<{^_^}> [nixpkgs] @symphorien opened pull request #66668 → remove all instances of nix-env -i without -A in the NixOS manual → https://git.io/fjdY4
___laika has joined #nixos
o1lo01ol1o has joined #nixos
<{^_^}> [nixpkgs] @mmahut merged pull request #66666 → linuxPackages/ena: 2.0.2 -> 2.1.2 → https://git.io/fjdmA
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/fjdYB
thc202 has joined #nixos
boxscape has joined #nixos
<{^_^}> [nixpkgs] @mmahut merged pull request #66588 → nixos-enter: add --silent to suppress activation script output → https://git.io/fj51d
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/fjdYz
is_null has joined #nixos
<manveru> srhb: perfect, much nicer :D
<srhb> manveru: Do show :-)
<manveru> updated the pastebins
<srhb> Yep, looks good!
<manveru> could even put the callPackageWith in there...
<manveru> let's try :)
<manveru> jup
yabobay has quit [Read error: Connection reset by peer]
o1lo01ol1o has quit [Remote host closed the connection]
joshuagl has joined #nixos
<{^_^}> [nixpkgs] @OPNA2608 opened pull request #66669 → palemoon: 28.6.0.1 -> 28.6.1, drop hardeningDisable → https://git.io/fjdYD
orivej has joined #nixos
sudoforge has quit [Ping timeout: 264 seconds]
mexisme has joined #nixos
justanotheruser has quit [Ping timeout: 268 seconds]
___laika has quit [Ping timeout: 246 seconds]
o1lo01ol1o has joined #nixos
___laika has joined #nixos
Chiliparrot has joined #nixos
Mrmaxmeier has quit [Remote host closed the connection]
o1lo01ol1o has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @adisbladis merged pull request #66642 → emacsPackagesNg.emacsql-sqlite: Build sqlite binary → https://git.io/fjdJs
<{^_^}> [nixpkgs] @adisbladis pushed 2 commits to master: https://git.io/fjdYx
dm9 has joined #nixos
___laika has quit [Ping timeout: 272 seconds]
___laika has joined #nixos
o1lo01ol1o has joined #nixos
orivej has quit [Ping timeout: 272 seconds]
o1lo01ol1o has quit [Remote host closed the connection]
justanotheruser has joined #nixos
Mrmaxmeier has joined #nixos
erasmas has joined #nixos
dansho has quit [Ping timeout: 268 seconds]
o1lo01ol1o has joined #nixos
___laika has quit [Ping timeout: 258 seconds]
psy3497 has quit [Ping timeout: 268 seconds]
erasmas has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @vbgl merged pull request #66333 → ocamlPackages.zarith: enable for OCaml 4.08 → https://git.io/fj7fH
<{^_^}> [nixpkgs] @vbgl pushed to master « ocamlPackages.zarith: enable for OCaml 4.08 »: https://git.io/fjdOk
<{^_^}> [nixpkgs] @averelld opened pull request #66670 → rstudio: fix build → https://git.io/fjdOI
<ivegotasthma> how do I append to PATH in a nix-shell? I tried using shellHook, but PATH is undefined.
<{^_^}> [nixpkgs] @primeos pushed to master « inxi: 3.0.35-1 -> 3.0.36-1 »: https://git.io/fjdOq
<{^_^}> [nixpkgs] @vbgl opened pull request #66671 → ocamlPackages.charInfo_width: init at 1.1.0 → https://git.io/fjdOm
___laika has joined #nixos
dermetfan has joined #nixos
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dermetfan has quit [Client Quit]
o1lo01ol1o has quit [Remote host closed the connection]
___laika has quit [Ping timeout: 272 seconds]
o1lo01ol1o has joined #nixos
<{^_^}> [nixpkgs] @primeos pushed to master « signal-desktop: 1.26.0 -> 1.26.1 »: https://git.io/fjdOR
Okinan has quit [Quit: Konversation terminated!]
___laika has joined #nixos
<{^_^}> [nixpkgs] @primeos opened pull request #66672 → [19.03] signal-desktop: 1.26.0 -> 1.26.1 (backport) → https://git.io/fjdOE
<no-n> how do I get ncurses? I tried environment.systemPackages = [ ..., ncurses, ncurses.dev ]; in my /etc/nixos/configuration.nix, but I get curses.h: No such file or directory.
terps has quit [Ping timeout: 264 seconds]
asymptotically has joined #nixos
ubert has joined #nixos
terps has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
___laika has quit [Ping timeout: 272 seconds]
o1lo01ol1o has joined #nixos
<{^_^}> [nixpkgs] @Dlahacz opened pull request #66673 → libgphoto2: 2.5.17 -> 2.5.23 → https://git.io/fjdOK
<symphorien> ,libraries no-n
<{^_^}> no-n: Don't install libraries through nix-env or systemPackages, use nix-shell instead. See https://nixos.wiki/wiki/FAQ/Libraries for details.
rsoeldner has quit [Remote host closed the connection]
rsoeldner has joined #nixos
<no-n> thank you
rsoeldner has quit [Remote host closed the connection]
rsoeldner has joined #nixos
ThatDocsLady has joined #nixos
orivej has joined #nixos
<ivegotasthma> how do I append to PATH in a nix-shell? I tried using shellHook, but PATH is undefined.
<sphalerite> What's the current state-of-the-art way to build nodejs stuff with nix? Upstream doesn't use yarn
ottidmes has joined #nixos
<adisbladis> sphalerite: For nixpkgs inclusion node2nix still
o1lo01ol1o has quit [Remote host closed the connection]
<adisbladis> sphalerite: Or you could use yarn yourself even though upstream doesn't?
rsoeldner has quit [Remote host closed the connection]
rsoeldner has joined #nixos
cizra_ has joined #nixos
cizra has quit [Disconnected by services]
cizra_ is now known as cizra
mexisme has quit [Ping timeout: 250 seconds]
o1lo01ol1o has joined #nixos
___laika has joined #nixos
oleks has quit [Remote host closed the connection]
<{^_^}> ivegotasthma: Please expand your question to include more information, this will help us help you :)
<ivegotasthma> ,t
ajs124 has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/07cf130686d (from 42 minutes ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
rsoeldner has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @timokau merged pull request #65364 → vimPlugins: update; add seoul256-vim, vim-cpp-enhanced-highlight, delimitMate → https://git.io/fjDQh
rsoeldner has joined #nixos
<{^_^}> [nixpkgs] @timokau pushed 6 commits to master: https://git.io/fjd3s
seanparsons has quit [Quit: ZNC 1.7.3 - https://znc.in]
___laika has quit [Ping timeout: 268 seconds]
seanparsons has joined #nixos
___laika has joined #nixos
sigmundv has quit [Ping timeout: 248 seconds]
rsoeldner has quit [Remote host closed the connection]
___laika has quit [Ping timeout: 245 seconds]
rsoeldner has joined #nixos
chreekat has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
user____2 has joined #nixos
<user____2> Is there a package in nixpkgs that I can find python documentation in?
nexgen has quit [Ping timeout: 244 seconds]
<tilpner> Just any python docs?
<tilpner> > zeal.meta.description
<{^_^}> "A simple offline API documentation browser"
<user____2> The official langauge documentation, say python3
sigmundv has joined #nixos
<tilpner> Then do give zeal a try
<user____2> Like the one at https://docs.python.org/3/index.html
<user____2> Just need the html files
___laika has joined #nixos
chreekat has quit [Remote host closed the connection]
<tilpner> Just download them?
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<user____2> Thanks! That is what I have ended up doing.
<manveru> :D
<manveru> user____2: you can also give https://devdocs.io/ a try
___laika has quit [Ping timeout: 248 seconds]
___laika has joined #nixos
<asymptotically> hi, i created a small shell.nix with gcc in the buildInputs. then after using it, i changed gcc to gcc9, however `nix-shell --run 'gcc --version'` still shows gcc 7. do i need to run some command to refresh everything? thanks :)
cizra has quit [Ping timeout: 250 seconds]
cizra has joined #nixos
<infinisil> asymptotically: You need to use gcc9Stdenv.mkDerivation
<adisbladis> asymptotically: I recommend overridinig the stdenv used to create the shell
<adisbladis> Also what infinisil said :)
<joepie91> devdocs__
<joepie91> devdocs++ *
___laika has quit [Ping timeout: 245 seconds]
<tilpner> asymptotically: If you put it into nativeBuildInputs, it seems to work
<tilpner> (Please tell if you happen to know why)
___laika has joined #nixos
<asymptotically> thank you, gcc9Stdenv fixed it :)
tmaekawa has joined #nixos
FRidh has quit [Quit: Konversation terminated!]
nexgen has joined #nixos
iyzsong has joined #nixos
o1lo01ol1o has joined #nixos
tmaekawa has quit [Quit: tmaekawa]
dm9 has quit [Quit: WeeChat 2.5]
___laika has quit [Ping timeout: 248 seconds]
o1lo01ol1o has quit [Ping timeout: 258 seconds]
pie_ has joined #nixos
m0rphism has joined #nixos
erasmas has joined #nixos
<sphalerite> How does the maintainer information thing on github issues work?
<sphalerite> specifically: what goes in the affected modules thing?
<makefu> joepie91: you will be at the CCCAMP in 2 weeks?
<joepie91> makefu: unfortunately not :( I've decided not to go for medical reasons -- I'll be at congress though!
<pie_> makefu: isnt it 1 week
<joepie91> sphalerite: you're not the first to ask, this probably warrants creating an issue to get it clarified
<makefu> pie_: 1 week already, you are right!
<pie_> makefu: [panic]
erasmas has quit [Ping timeout: 246 seconds]
sigmundv has quit [Ping timeout: 268 seconds]
logzet has joined #nixos
<adisbladis> Camp \o/
* adisbladis <- super excited
Zer0xp has quit [Ping timeout: 258 seconds]
wfranzini has quit [Remote host closed the connection]
wfranzini has joined #nixos
rsoeldner has quit [Read error: Connection reset by peer]
rsoeldner has joined #nixos
hyper_ch2 has joined #nixos
tobim[m] has joined #nixos
<{^_^}> [nixpkgs] @danbst merged pull request #66664 → linuxPackages/ixgbevf: 4.3.4 -> 4.6.1, unbreak → https://git.io/fjdmn
<{^_^}> [nixpkgs] @danbst pushed to master « linuxPackages/ixgbevf: 4.3.4 -> 4.6.1, unbreak (#66664) »: https://git.io/fjdso
fendor__ has joined #nixos
sigmundv has joined #nixos
<{^_^}> [nixpkgs] @primeos merged pull request #66672 → [19.03] signal-desktop: 1.26.0 -> 1.26.1 (backport) → https://git.io/fjdOE
<{^_^}> [nixpkgs] @primeos pushed 2 commits to release-19.03: https://git.io/fjdsK
<Miyu-chan> Hm. Does anyone here have this twitter? https://twitter.com/DisapointedLain
<Miyu-chan> He mentions that he uses NixOS.
sakalli has joined #nixos
<{^_^}> [nixpkgs] @teto merged pull request #66488 → castxml: set correct -DCLANG_RESOURCE_DIR → https://git.io/fj7px
<{^_^}> [nixpkgs] @teto pushed commit from @link2xt to master « castxml: set correct -DCLANG_RESOURCE_DIR »: https://git.io/fjds1
<tilpner> Miyu-chan: I've seen spotify do the same thing
fendor__ has quit [Remote host closed the connection]
___laika has joined #nixos
fendor has joined #nixos
alex`` has joined #nixos
<balsoft> Hey guys, how does `nixos-rebuild -p prof-name boot` work? I'm recreating nixos-rebuild as a custom script, and I would love to have the ability to boot into different git branches of my config. Currently I essentially just `nix build` then `sudo nix-env --profile /nix/var/nix/profiles/system --set /nix/store/94kakr2ishxda5qxms5an5m5crj01ac0-skypeforlinux-8.50.0.38` then `sudo ./result/bin/switch-to-configuration switch`
<balsoft> whoops
<balsoft> The skypeforlinux thing is a mistake, it should just read `$(readlink ./result)`
justanotheruser has quit [Ping timeout: 244 seconds]
___laika has quit [Ping timeout: 244 seconds]
rprije has quit [Ping timeout: 272 seconds]
<{^_^}> [hydra] @edolstra pushed to master « Fix error in GitlabStatus plugin »: https://git.io/fjdGt
inkbottle has quit [Remote host closed the connection]
<{^_^}> [hydra] @edolstra pushed 14 commits to flake: https://git.io/fjdGm
<{^_^}> [nixpkgs] @volth reopened pull request #66585 → [bot] name -> pname (easy cases) → https://git.io/fj5XY
justanotheruser has joined #nixos
sakalli has quit [Read error: Connection reset by peer]
rsoeldner has quit [Remote host closed the connection]
rsoeldner has joined #nixos
nexgen has quit [Ping timeout: 272 seconds]
o1lo01ol1o has joined #nixos
rsoeldner has quit [Read error: Connection reset by peer]
rsoeldner has joined #nixos
gxt has quit [Ping timeout: 260 seconds]
kleisli_ has quit [Ping timeout: 245 seconds]
<Miyu-chan> tilpner: Do you have pulseaudio enabled? Methinks it's an electrum thing. Same thing happens with Discord if you're using ALSA.
<tilpner> Miyu-chan: Yes to PA, but I've been blaming it on my weird sandbox thing
gxt has joined #nixos
user____2 has quit [Ping timeout: 268 seconds]
<{^_^}> [nix] @edolstra merged pull request #2782 → Track function start and end → https://git.io/fjseq
<{^_^}> [nix] @edolstra pushed 2 commits to master: https://git.io/fjdG1
terps has quit [Ping timeout: 264 seconds]
___laika has joined #nixos
hyper_ch2 has quit [Remote host closed the connection]
Ariakenom has joined #nixos
___laika has quit [Ping timeout: 245 seconds]
<smakarov> balsoft: According to nixos-rebuild source:
<smakarov> runs nix-env -p with created directory as profile
<smakarov> nixos-rebuild -p profile-name just creates profile directory in /nix/var/nix/profiles/system-profiles and
<{^_^}> [nixpkgs] @vanzef opened pull request #66675 → pythonPackages.furl → https://git.io/fjdGF
terps has joined #nixos
<{^_^}> [nixpkgs] @WilliButz opened pull request #66676 → grafana: 6.3.2 -> 6.3.3 → https://git.io/fjdGA
gxt has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @Mic92 merged pull request #66585 → [bot] name -> pname (easy cases) → https://git.io/fj5XY
<{^_^}> [nixpkgs] @Mic92 pushed commit from @volth to staging « treewide: name -> pname (easy cases) (#66585) »: https://git.io/fjdZe
___laika has joined #nixos
mexisme has joined #nixos
mexisme has quit [Ping timeout: 244 seconds]
terps has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @NeQuissimus pushed to master « vivaldi: 2.6.1566.49-1 -> 2.6.1566.51-1 »: https://git.io/fjdZB
terps has joined #nixos
___laika has quit [Ping timeout: 245 seconds]
stepcut has joined #nixos
coldfront has joined #nixos
xkapastel has joined #nixos
<{^_^}> [nix] @edolstra merged pull request #2945 → Expanded documentation for .nix-defexpr → https://git.io/fj2ud
<{^_^}> [nix] @edolstra pushed 2 commits to master: https://git.io/fjdZi
user____2 has joined #nixos
lord| has quit [Quit: WeeChat 2.5]
lord| has joined #nixos
coldfront has left #nixos [#nixos]
erasmas has joined #nixos
Chiliparrot has joined #nixos
<{^_^}> [nixpkgs] @NeQuissimus pushed to master « sbt-extras: 2019-04-05 -> 2019-08-14 »: https://git.io/fjdZQ
erasmas has quit [Ping timeout: 248 seconds]
CodeWarrior has quit [Ping timeout: 258 seconds]
___laika has joined #nixos
<{^_^}> Channel nixos-19.03-small advanced to https://github.com/NixOS/nixpkgs/commit/520c39049f5 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-19.03-small)
<{^_^}> Channel nixpkgs-19.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/520c39049f5 (from 2 hours ago, history: https://channels.nix.gsc.io/nixpkgs-19.03-darwin)
hyper_ch2 has joined #nixos
rauno has quit [Ping timeout: 248 seconds]
___laika has quit [Ping timeout: 245 seconds]
dm9 has joined #nixos
terps has quit [Quit: WeeChat 2.5]
<{^_^}> [nixpkgs] @mguentner opened pull request #66677 → matrix-synapse: 1.2.1 -> 1.3.0 → https://git.io/fjdn8
ericsagnes has quit [Ping timeout: 276 seconds]
<{^_^}> [nixpkgs] @Ericson2314 merged pull request #66613 → buildRustPackage: support cross-compilation to x86_64-pc-mingw32 → https://git.io/fj559
<{^_^}> [nixpkgs] @Ericson2314 pushed 4 commits to master: https://git.io/fjdnB
stepcut has quit [Remote host closed the connection]
___laika has joined #nixos
Serus has quit [Quit: WeeChat 2.2]
<{^_^}> [nixpkgs] @mmahut merged pull request #66637 → pamixer: 1.3.1 -> 1.4 → https://git.io/fjdfO
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/fjdng
<{^_^}> [nixpkgs] @furrycatherder opened pull request #66678 → pythonPackages.typing: 3.6.6 -> 3.7.4 → https://git.io/fjdn2
___laika has quit [Ping timeout: 245 seconds]
ilikeheaps has quit [Ping timeout: 272 seconds]
___laika has joined #nixos
<{^_^}> [nixpkgs] @mmahut merged pull request #66649 → slurm: 19.05.1.2 -> 19.05.2.1 → https://git.io/fjdU2
<{^_^}> [nixpkgs] @mmahut pushed 3 commits to master: https://git.io/fjdnX
<{^_^}> [nixpkgs] @mmahut merged pull request #66633 → fmit: 1.1.14 -> 1.2.6 → https://git.io/fjder
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/fjdn1
ericsagnes has joined #nixos
<{^_^}> [nixpkgs] @grahamc merged pull request #66543 → dockerTools: document extraCommands, increase layers → https://git.io/fj5l0
<{^_^}> [nixpkgs] @grahamc pushed 4 commits to master: https://git.io/fjdnd
ng0 has quit [Quit: Alexa, when is the end of world?]
<{^_^}> [nixpkgs] @eadwu opened pull request #66679 → rstudio: resolve conflicts → https://git.io/fjdcv
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/aa9d7eedf25 (from 47 minutes ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
___laika has quit [Ping timeout: 244 seconds]
stepcut has joined #nixos
user____2 has quit [Ping timeout: 244 seconds]
__monty__ has joined #nixos
itorres1 is now known as itorres
___laika has joined #nixos
<{^_^}> [nixpkgs] @peti pushed to master « ghc-8.8.1: update alpha-2 to rc-1 »: https://git.io/fjdcW
<{^_^}> [nixpkgs] @peti pushed 10 commits to haskell-updates: https://git.io/fjdc4
<{^_^}> [nixpkgs] @peti pushed 10 commits to master: https://git.io/fjdc0
___laika has quit [Ping timeout: 272 seconds]
Grauwolf has quit [Quit: WeeChat 2.4]
stepcut has quit [Read error: Connection reset by peer]
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @teto merged pull request #66653 → luarocks: Update detected platform version → https://git.io/fjdTO
<{^_^}> [nixpkgs] @teto pushed commit from @lilyball to master « luarocks: Update detected platform version »: https://git.io/fjdcV
<exarkun> is it possible to use nix-shell with buildPythonPackage?
<asymmetric> i'm getting an "unable to download" error when running `nixos-rebuild --upgrade switch`
<asymmetric> hm, seems to have gone through, at the 3rd or 4th attempt
<__monty__> Does setting up avahi entail more than just `services = { avahi = { enable = true; nssmdns = true; }; }`?
<mdash> __monty__: that's all i've got
<mdash> well also 'ipv6 = true;'
<__monty__> mdash: And pinging .local hosts works fine for you? This machine can't even ping itself (by avahi name). I get `ping: host.local: System error`.
<exarkun> avahi does a lot of things, so it might depend on whether you have any more specific requirements
<exarkun> `hostent get host` or `hostent get host.local`
jabranham has joined #nixos
<mdash> you can also use `avahi-resolve-address` directly to rule out other layers of the problem
<mdash> oh, i guess it's `avahi-resolve-host-name` oops.
<{^_^}> [nixpkgs] @peterhoeg opened pull request #66680 → noti: 3.1.0 -> 3.2.0 → https://git.io/fjdCe
hyper_ch2 has quit [Remote host closed the connection]
<__monty__> ,locate bin hostent
<{^_^}> Couldn't find in any packages
<__monty__> avahi-resolve-host-name times out.
<__monty__> exarkun: What is this hostent?
___laika has joined #nixos
<exarkun> ugh where is my brain
<exarkun> _getent hosts host_
<{^_^}> [nixpkgs] @basvandijk opened pull request #66681 → clippy: init at rust-1.36.0 → https://git.io/fjdCO
rsoeldner has quit [Remote host closed the connection]
rsoeldner has joined #nixos
<exarkun> https://nixos.org/nixpkgs/manual/#development-mode says several times that nix-shell works with buildPythonPackage
<exarkun> wonder who is wrong
<{^_^}> [nixpkgs] @teto merged pull request #66627 → calc: don’t include glibc headers in closure → https://git.io/fj5jn
<{^_^}> [nixpkgs] @teto pushed commit from @matthewbauer to master « calc: don’t include glibc headers in closure »: https://git.io/fjdCZ
<exarkun> maybe it's development mode and nix-shell that don't play nicely together?
<exarkun> eh, though the docs say that works, too
<__monty__> exarkun: Hmm, that only returns 127.0.1.1 for the machine's hostname, nothing for .local hosts.
asymptotically has quit [Ping timeout: 260 seconds]
<exarkun> __monty__: Maybe you want to do something with the `publish` option too?
<exarkun> services.avahi.publish
<__monty__> Hmm, it sounds like that *might* help with the machine's own .local but it doesn't sound like not having that would prevent the machine from resolving *other* .locals?
<exarkun> indeed
<exarkun> from your question it's not really clear what you want to happen :)
<Taneb> Might you need to open a port?
erasmas has joined #nixos
stites has joined #nixos
MmeQuignon has joined #nixos
stites has quit [Remote host closed the connection]
<__monty__> Taneb: Sounds possible. Though I'd expect a less cryptic error from ping.
AluisioASG has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
<__monty__> exarkun: I have services.avahi.enable = true and services.avahi.nssmdns = true but pinging this or other .locals results in "ping: host.local: System error". What I want in the end is convenient access to and from the machine with ssh.
<exarkun> __monty__: There are a lot of pieces here.
<exarkun> __monty__: There are your, apparently, two machines
<exarkun> __monty__: There's whatever network infrastructure connects them together
<exarkun> __monty__: A _lot_ of different things could be broken to make it not work
<exarkun> Maybe looking at a network capture would be helpful
<__monty__> exarkun: Yes, first step was checking whether my nixos config for avahi was correct, hence asking here.
AluisioASG has joined #nixos
<__monty__> I suspect the problem's before the network. How would I do a network capture? Do you mean wireshark or something?
Ariakenom has quit [Quit: Leaving]
<exarkun> yes, something like that
<exarkun> avahi works by everybody shouting mdns at each other
<exarkun> so you should be able to see that passing between the two hosts in question
<exarkun> if nobody's shouting, maybe avahi config problem
<exarkun> if they're shouting and nobody hears, maybe a firewall problem
Blessjah has quit [Remote host closed the connection]
ThatDocsLady has quit [Ping timeout: 252 seconds]
Blessjah has joined #nixos
Blessjah has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @asymmetric opened pull request #66682 → ix: init at 20190815 → https://git.io/fjdWG
fusion809 has joined #nixos
___laika has quit [Ping timeout: 245 seconds]
___laika has joined #nixos
selfsymmetric-mu has quit [Remote host closed the connection]
ddellacosta has joined #nixos
waleee-cl has joined #nixos
Chiliparrot has joined #nixos
<{^_^}> [nixpkgs] @Ericson2314 opened pull request #66683 → qt4: Vendor bitrotted Arch Linux patch → https://git.io/fjdWX
<infinisil> Hm weird, when I use a minimal ISO to boot, I can get to the tty just fine
<{^_^}> [nixpkgs] @vbgl opened pull request #66684 → mkvtoolnix: use wrapQtApp → https://git.io/fjdW5
<infinisil> But when I try it with a minimal config, the screen becomes just black when it's starting up
<__monty__> infinisil: Sounds like missing kernel modules.
<infinisil> I already tried enabling all firmware with hardware.enableAllFirmware
<infinisil> Oh and I actually also imported <nixpkgs/nixos/modules/profiles/all-hardware.nix>
<infinisil> __monty__: And this adds a whole bunch of kernel modules ^^
<__monty__> Maybe something isn't getting detected? Or does it just load literally everything?
<{^_^}> [nixpkgs] @Ericson2314 opened pull request #66685 → qt4: Vendor bitrotted Arch Linux patch -- for 19.03 → https://git.io/fjdWA
<infinisil> Not sure
<infinisil> Here is my minimal config that doesn't work: https://gist.github.com/Infinisil/7a13f562f16f3b88aa7b24e4fefba528
<{^_^}> [nixpkgs] @matthewbauer merged pull request #66683 → qt4: Vendor bitrotted Arch Linux patch → https://git.io/fjdWX
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/fjdWp
<infinisil> Note that another configuration with xserver and everything enabled works fine
<infinisil> No idea what the iso image does more for it to work :/
ryantrinkle has joined #nixos
<ryantrinkle> are nix flakes actually something that can be used / tried out at this point? i'm having trouble finding stuff to use
<gchristensen> ryantrinkle: a prototype implementation exists in the flakes branch on nixos/nix
<gchristensen> also available on nixpkgs unstable at nixFlakes iirc
<thoughtpolice> Yeah you can install the nixFlakes package. Note that the RFC is still undergoing pretty heavy discussion so you should be prepared for everything to stop working at literally any second.
iyzsong has quit [Quit: ZNC 1.7.1 - https://znc.in]
<ryantrinkle> gchristensen, thoughtpolice: ah ok, cool; thanks!
ilikeheaps has joined #nixos
<infinisil> I guess my activation method is a bit weird: I first build the system, then `nix-store --export` to a memory stick, then `nix-store --import` on the machine I need it, then I call `sudo /nix/store/..-system/bin/switch-to-configuration boot`
<gchristensen> infinisil: you need to gc root the generation too
<infinisil> I'm not running any GC's and it's just temporary
shibboleth has quit [Quit: shibboleth]
<infinisil> then I reboot and select the default boot entry. I don't think there's a problem with this, but maybe worth mentioning
<gchristensen> (I don't know what your problem is, I haven't read up. pointing it out for future log searchers)
<infinisil> Well I'm really trying to debug a network problem. I know a minimal_iso build doesn't cause it, and my full NixOS config does cause it
<infinisil> Now I'm stripping down my config to a minimum to see if this was causing it
<infinisil> But now I'm running into the issue that I can't actually run this stripped version
<infinisil> yak-shaving-level++
endformationage has joined #nixos
<{^_^}> [nixpkgs] @matthewbauer merged pull request #66685 → qt4: Vendor bitrotted Arch Linux patch -- for 19.03 → https://git.io/fjdWA
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to release-19.03: https://git.io/fjdlI
Blessjah has joined #nixos
<infinisil> I guess my next step could be to boot into the minimal_iso installer, install the system (on a different partition), then boot into the installed system to see if it works
<sphalerite> infinisil: what sort of network problem?
<gchristensen> what about editing your own config, deleting all of your custom stuff, seeing how it goes, and bisecting your configuration from there
<sphalerite> infinisil: maybe we can help you reach insights more rapidly? ;)
<infinisil> gchristensen: Ah yeah, I could bisect from this minimal one to my original config to see where it stops the screen from working
kreisys has quit [Quit: Textual IRC Client: www.textualapp.com]
<infinisil> sphalerite: Short explanation: My computer brings down any network it's connected to
Neo-- has joined #nixos
<gchristensen> do you have ipfs enabled?
<infinisil> Oh I think I might have
<gchristensen> heh
<gchristensen> localDiscovery says: Whether to enable local discovery for the ipfs daemon. This will allow ipfs to scan ports on your local network. Some hosting services will ban you if you do this.
<gchristensen> enable says: Whether to enable Interplanetary File System (WARNING: may cause severe network degredation).
___laika has quit [Ping timeout: 272 seconds]
thc202 has quit [Ping timeout: 250 seconds]
<exarkun> ipfs implements local discovery by port scanning?
equbit[m] has joined #nixos
logzet has quit [Ping timeout: 264 seconds]
<infinisil> Hm, while I do have the ipfs service, I turned it off by default, so it's not running
wildtrees has joined #nixos
<sphalerite> infinisil: you could also try tcpdump'ing to see what it's sending the networks that they get so unhappy about
wildtrees has quit [Max SendQ exceeded]
wildtrees has joined #nixos
<infinisil> sphalerite: I already tried looking at it with wireshark, and while there was lots of red and bad stuff initially, after a minute it was just "ARP Who has <router ip>? Tell <my ip>"
<infinisil> Lots of TCP retransmissions before that
<infinisil> sphalerite: And specifically, I was able to ping any IP just fine, but any TCP connection was impossible (or near impossible)
<infinisil> UDP as well (meaning DNS is failing too)
___laika has joined #nixos
<exarkun> Why do you say "brings down any network" instead of "this computer has bad network performance"
<exarkun> Do other hosts on networks you connect it to also suffer?
<infinisil> exarkun: Yes!
rsoeldner has quit [Remote host closed the connection]
<infinisil> All hosts on the network stop working
<infinisil> It's really weird
<exarkun> What kind of networks have you attached it to?
rsoeldner has joined #nixos
<infinisil> (well not stop completely, it occasionally works, but very slowly and sporadically)
<infinisil> exarkun: I tried two: Our normal one with an LTE modem, going over powerline, via ethernet. And I also tried tethering with my phone
sigmundv has quit [Read error: Connection reset by peer]
sigmundv has joined #nixos
<infinisil> Even with tethering, it made my iphone's browser work really poorly
<exarkun> Hm. Proprietary LTE modem and an iPhone... Not great debugging targets
<exarkun> Find something running OpenWRT and connect it to that
<exarkun> Then start looking at router logs
<infinisil> I wish I had that
<exarkun> :(
<infinisil> I think for now my best bet is to just bisect the config, it has to be *something*
<exarkun> yea that doesn't seem like a bad idea
sigmundv_ has joined #nixos
<exarkun> if you quantified the problem more precisely that might help too but it might be harder than bisecting the config.
<infinisil> You mean what exactly is failing?
<exarkun> yes
<infinisil> I think I'll just go bisecting for now, I'd like to get this working again soon
<exarkun> Like, "DNS is failing" is a start. But failing how? Do packets fail to leave the host? Do they fail to reach the router? Does the router drop them for some reason? Actively or passively? And you can ask a similar set of specific questions about TCP traffic. etc. But maybe not with an iPhone as your router.
<infinisil> Yeah and this FritzBox router isn't very good for that either..
sigmundv has quit [Ping timeout: 248 seconds]
<infinisil> (no I can't put openwrt on it, unfortunately)
<infinisil> So the only logs I have are from the machine that has the problems :)
<infinisil> But man, bisecting will be annoying, because this `nix-store --import/--export` dance always takes a while
<exarkun> can you `git bisect` it instead
<{^_^}> [nixpkgs] @edolstra opened pull request #66686 → rustc: 1.36.0 -> 1.37.0 → https://git.io/fjdll
<infinisil> Well I don't want to bisect the timeline, but the config contents (on one side an empty config, on the other my current one)
<gchristensen> aszlig: I was expecting you to have claimed PR #66666
<{^_^}> https://github.com/NixOS/nixpkgs/pull/66666 (by danbst, 8 hours ago, merged): linuxPackages/ena: 2.0.2 -> 2.1.2
<exarkun> infinisil: wouldn't bisecting the timeline work just as well though?
<aszlig> gchristensen: nah, i'll claim #666666 :-D
<gchristensen> :D
<gchristensen> wel'll need to grow our community a bit to get there in a reasonable number of years
<infinisil> exarkun: Probably yeah, but I'd have to manually fix the fileSystems.* values
<infinisil> And my config started as a copied config from another machine
<infinisil> Would be really messy probably
<exarkun> ah
<infinisil> I guess I could just try to roll back some generations
<exarkun> you should use feature branches and have always-working master ;)
<infinisil> How do you mean?
<infinisil> Oh like track the filesystem changes in a different branch, and merge master and that branch for building the system?
<infinisil> s/merge/temporarily merge
<exarkun> probably didn't actually mean anything serious
<exarkun> ask me again in ten years for nixos configuration devops best practices
<infinisil> But that would make sense actually, put everything depending on hardware/system state could be in a separate repository even
<infinisil> s/could be//
<exarkun> yea, could be
<gchristensen> it would be a good step if I ever committed my changes to my config repo
<exarkun> since presumably a problem with bisecting a config is that you can't bisect hardware changes at the same time
<infinisil> It's kind of a shame really that changing fileSystems.* options makes like a rollback-barrier
<tilpner> infinisil: You can try navigating to /support.lua on your fritzbox for a package capture interface
<gchristensen> changing filesystems.* options doesn't create the rollback barrier, it is just a symptom of the rollback barirer
<infinisil> tilpner: :o!
<infinisil> gchristensen: Not sure what you mean by that
<exarkun> ie, it's a symptom, not a cause
<exarkun> the rollback barrier is that you swapped a disk or something
<infinisil> tilpner: Damn that's a nice page, why do they hide the nicest functions like that
<infinisil> exarkun: Ah right
<infinisil> got it
wfranzini has quit [Remote host closed the connection]
wfranzini has joined #nixos
<{^_^}> [nixpkgs] @joachifm pushed to master « tor-browser-bundle-bin: additional store capture fixups »: https://git.io/fjdl6
zupo has joined #nixos
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<sphalerite> gchristensen: omg same
<sphalerite> (never committing changes to config repo…)
<sphalerite> infinisil: Do you know when the problem started occurring?
<gchristensen> :D
<infinisil> sphalerite: Like 1-2 days ago
<infinisil> But a bit earlier it seemed to start slowly too
ubert has quit [Quit: Leaving]
<sphalerite> infinisil: looked at your snapshots for what changed?
<infinisil> Yeah, I haven't done any relevant changes
<sphalerite> not even nixpkgs version?
<infinisil> Nah haven't updated nixpkgs in a while
<sphalerite> damn
<infinisil> I've actually had a similar problem for a while now
<infinisil> For some reason going over a VPN solved that however
<infinisil> But that workaround doesn't work either now
<infinisil> I feel like this is probably related
<sphalerite> maybe you need an exorcism
<infinisil> Hehe maybe
tmaekawa has joined #nixos
<exarkun> infinisil: are you wireless to all these networks, or wired?
<infinisil> Wired
<exarkun> tried a different wire yet? :)
<infinisil> Well the thing is, this problem is kind of randomly occuring, it's very unpredictable
<gchristensen> exarkun++
<{^_^}> exarkun's karma got increased to 2
<infinisil> I did try a different wire (didn't help), different OS (windows, did help), minimal NixOS iso (did help)
<exarkun> that's another benefit of defining the problem more precisely, you may be able to make it predictable (and that helps no matter what you do next)
<exarkun> ah right you said minimal nixos image behaved well before, forgot about that
<infinisil> But I can't be 100% sure if my tests are actually conclusive, because it's no unpredictable
<infinisil> s/no/so
<ashkitten> can someone explain why IFD is frowned upon, btw?
<infinisil> exarkun: Right now for example, I can use my laptop's internet just fine, even though the bad desktop is connected to the network
<infinisil> But no internet on the desktop
<infinisil> And wireshark still seeems to pick up lots of traffic on it, but nothing gets through (or back)
<tilpner> ashkitten: Without IFD (which I interpret to also include readFile), you can evaluate any build process (NixOS system, package) quickly and without building anything, and then send these tiny derivations to your beefy build farm
<tilpner> ashkitten: IFD turns this neat process into one with multiple steps, where you have instantiate, build, instantiate, build (or more)
<infinisil> Oh, now seeing lots of red in wireshark
<{^_^}> [nixpkgs] @eadwu closed pull request #66679 → rstudio: resolve conflicts → https://git.io/fjdcv
<{^_^}> [nixpkgs] @aanderse merged pull request #66557 → s3ql: 2.26 -> 3.2 → https://git.io/fj5uz
<{^_^}> [nixpkgs] @aanderse pushed 2 commits to master: https://git.io/fjdlj
<gchristensen> (readFile is IFD if the file you're reading is built by Nix, but not if its like, builtins.readFile ./whatever.json
<ashkitten> tilpner: ahh
<ashkitten> is there any way to mitigate that?
<exarkun> infinisil: "Red" is mind of vague. Did you dig into why it's red? Is it red because Linux is letting the ethernet card compute the checksums or is it red for some good reason?
<tilpner> gchristensen: Right. I just meant to point out that it's about control flow, not the "import" syntax
<gchristensen> another big problem with IFD is the evaluator is single-threaded. so if you have multiple derivations you're importing, you don't build them both at the same time.
<gchristensen> tilpner++
<{^_^}> tilpner's karma got increased to 32
<{^_^}> [nixpkgs] @joachifm pushed 3 commits to master: https://git.io/fjd8f
<ashkitten> i know there's an rfc for recursive nix, is that meant to address the issue?
<gchristensen> recursive nix is an overlapping but different problem/solution
<ashkitten> ahh
chloekek has joined #nixos
<tilpner> AFAICT ret-cont Nix would help a little, but not entirely eliminate the slowdown
dsiypl4 has joined #nixos
<infinisil> exarkun: Hm, there's lots of TCP Retransmissions, and TCP Keep-Alive [ACK] ones that are red, and some TCP RST (reset?) ones, some Destination Unreachable (ICMP), I also see TCP Dup ACKs and
<infinisil> s/and//
<tilpner> Mostly because e.g. babel2nix still runs at "evaluation time, but not really"
<infinisil> Eh whatever, I'll just debug/bisect some more
<infinisil> If I don't get any further I'll come back
thc202 has joined #nixos
<tilpner> It would just shorten the first (of hopefully just two) build phases
<sphalerite> infinisil: aah, there's a way to disble hardware checksumming, maybe try that
<ashkitten> i suppose another way to mitigate it would be to have "adaptors" which would translate from other formats to nix
<exarkun> infinisil: good luck
<ashkitten> so you could use existing lockfiles without generating and building intermediate derivations
<sphalerite> infinisil: try `ethtool -K enxyz rx off tx off`
<tilpner> ashkitten: But when and where do those run? Are they integrated into Nix? Are they Nix packages that need to be used in a build?
<tilpner> (Are they privileged plugins?)
romatthe has joined #nixos
drakonis has joined #nixos
<ashkitten> i'd imagine they could be plugins, but that introduces the concept of a plugin architecture which has its own problems
<infinisil> sphalerite: I'll try later, right now the issue isn't even there
<infinisil> It's hiding, waiting for me to start using the internet, just so it can stop working once I don't expect i
<infinisil> t
<{^_^}> [nixpkgs] @matthewbauer merged pull request #66566 → ponyc: disabling stdlib tests → https://git.io/fj5Vx
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/fjd8t
<{^_^}> [nixpkgs] @joachifm opened pull request #66687 → Revert "nixos/hardened: use graphene-hardened malloc by default" → https://git.io/fjd8q
<tilpner> ashkitten: We already have those adaptors, but they're currently run by the maintainer manually, not by Nix
kleisli_ has joined #nixos
jgt has quit [Ping timeout: 264 seconds]
boxscape has quit [Remote host closed the connection]
<ashkitten> tilpner: yeah, i'm imagining evaluation time adaptors instead
boxscape has joined #nixos
<gchristensen> that is pretty much what we have now with IFD
<ashkitten> yeah but it generates intermediate derivations, yes?
<tilpner> And by using IFD, "evaluation time" turns into "evaluation time, with a build phase or two"
<ashkitten> hm
ddellacosta has quit [Ping timeout: 272 seconds]
<ashkitten> so the issue remains, whether it's a derivation or not. give me a moment, i'm tired
<gchristensen> no worries, it is certainly a complicated problem
stites has joined #nixos
<ashkitten> okay, so the issue is purely that "we have to do ~something~ before we're able to even evaluate this derivation"
<ashkitten> that's rough
<gchristensen> not necessarily
<tilpner> Doing something might be fine, if that something is quick enough
ng0 has joined #nixos
<gchristensen> for example, the problem could be "here is a pure derivation which produces some pure nix expressions, which we'd like to then evaluate and build"
<{^_^}> [nixpkgs] @markuskowa merged pull request #66665 → molden: 6.1 -> 6.2 → https://git.io/fjdm7
<{^_^}> [nixpkgs] @markuskowa pushed 2 commits to master: https://git.io/fjd8G
<tilpner> The purist "we need just two phases" can be suppressed, if it doesn't make a difference for any usecase
<gchristensen> one way this can be solved is by letting nix-build inside a nix-build access the host's nix-daemon socket.
<ashkitten> is that better than IFD?
<gchristensen> maybe!
<gchristensen> it has problems about what happens if some inputs changed? how do you access nixpkgs? is all of nixpkgs an inptu to that build? if so, *every* change of nixpkgs causes it to rebuild
<ashkitten> it would be extremely nice if we could stop having to put what basically amounts to intermediate build artifacts inside nixpkgs, anyways
dm9 has quit [Quit: WeeChat 2.5]
<petercommand> is there any way to fetch all sources ahead of time?
<tilpner> petercommand: All sources of... everything?
<tilpner> There is a way to at least mirror some parts
<petercommand> tilpner: of a particular revision of nixpkgs
<infinisil> This thread is all about that
<infinisil> Unfortunately there's no easy solution as of now
<tilpner> petercommand: See maintainers/scripts/*tarballs*
<ashkitten> also i think i understand now why fixed-output derivations exist... they allow for evaluation without building first, right?
<petercommand> infinisil: tilpner: thanks
<gchristensen> ashkitten: they do allow for that, but that is not why they exist
<gchristensen> ashkitten: they exist because there must be a pure way to interact with the outsid world to fetch sources :)
<ashkitten> ah, well of course
<infinisil> "When you can't guarantee the function always returning the same output for the same inputs, just make it always return the exact same thing and guarantee it can never return anything else"
<petercommand> infinisil: Ahh..doesn't look too good
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<petercommand> tilpner: how should I use these scripts?
sigmundv_ has quit [Ping timeout: 268 seconds]
xkapastel has quit [Quit: Connection closed for inactivity]
<petercommand> looks like copy-tarballs.pl depends on amazon s3 o.o
<ashkitten> welp, i gotta go to the doctor in a bit. thanks for the info gchristensen, tilpner
<ashkitten> gchristensen++
<{^_^}> gchristensen's karma got increased to 140
<ashkitten> tilpner++
<{^_^}> tilpner's karma got increased to 33
<tilpner> petercommand: This script populates tarballs.nixos.org, which is entered as hashed-mirrors in your nix.conf
<tilpner> petercommand: If you can't access tarballs.n.o, you could set hashed-mirrors to a different URL
<tilpner> petercommand: One option would be to setup a Minio host, and use copy-tarballs.pl to provide your own clone of tarballs.n.o
<tilpner> But you could probably rip out the S3 part entirely if you wanted
<tilpner> Another option might be to just realise all these sources into a host you register as a substituter
<tilpner> But then you get to fiddle with rooting all of them
<petercommand> rooting?..
<tilpner> Rooting refers to creating/managing garbage collections roots, so that the GC will not eat your sources
<petercommand> Ah..
<petercommand> tilpner++
<{^_^}> tilpner's karma got increased to 34
<petercommand> thanks
casaca has quit [Ping timeout: 272 seconds]
tmaekawa has quit [Quit: tmaekawa]
jgt has joined #nixos
casaca has joined #nixos
Shyim[m] has joined #nixos
<{^_^}> [nixpkgs] @thoughtpolice closed pull request #53144 → python3Packages: add Sanic HTTP Server (and dependencies) → https://git.io/fhtXx
<Shyim[m]> Has someone an idea how to fix "error: creating symlink from '/nix/var/nix/profiles/system-23-link.tmp-9336-1844247411' to '/nix/store/d05ndfgfk60xw9qpib7fc11fhni8qha2-nixos-system-shiina-19.09pre188690.8746c77a383': Permission denied" ?
<Shyim[m]> forget it i am dumb
jgt has quit [Ping timeout: 250 seconds]
dsiypl4 has quit [Ping timeout: 245 seconds]
o1lo01ol1o has quit [Remote host closed the connection]
dbmikus has joined #nixos
fl0_id is now known as step21
ryantrinkle has quit [Remote host closed the connection]
Shouou has joined #nixos
kleisli_ has quit [Ping timeout: 268 seconds]
dsiypl4 has joined #nixos
romatthe has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @timokau closed pull request #66553 → vimPlugins.delimitMate: init at 2017-06-18 → https://git.io/fj5Rk
lambda-11235 has joined #nixos
__monty__ has quit [Remote host closed the connection]
zupo has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace merged pull request #64576 → pythonPackages.django-csp: init at 3.5 → https://git.io/fjPG6
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fjd4k
__monty__ has joined #nixos
stites has quit [Ping timeout: 258 seconds]
dansho has joined #nixos
freeman42x has joined #nixos
<__monty__> clever: Ping, let me know when I can bother you about toxvpn? : )
<{^_^}> Channel nixos-19.03-small advanced to https://github.com/NixOS/nixpkgs/commit/6f7aca86f03 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-19.03-small)
<__monty__> Does anyone have a good way to grep through the current nixpkgs checkout of a channel?
freeman42x has quit [Client Quit]
freeman42x has joined #nixos
<__monty__> Or all channels simultaneously?
whald has joined #nixos
<whald> hi! i'm currently trying to figure out how to get mkShell and ccache (ccacheWrapper?) play together. but my google-foo is weak, so could anyone please provide some pointers on how to do this?
<tilpner> __monty__: cd $(nix eval -f channel:nixos-unstable path); rg foo
Shouou has quit [Ping timeout: 252 seconds]
<tilpner> __monty__: But if you already have a full clone, there are probably better ways
Neo-- has quit [Disconnected by services]
Neo--- has joined #nixos
<__monty__> tilpner: Why is that nix eval trying to access the network?
<whald> (what i want is basically a nix-shell where "cc" is some ccache'd gcc)
<tilpner> __monty__: It fetches that channel for you
<__monty__> tilpner: I'm only interested in channels that are already in the store though.
<tilpner> Okay
jgt has joined #nixos
rsoeldner has quit [Remote host closed the connection]
rsoeldner has joined #nixos
jgt has quit [Ping timeout: 264 seconds]
Neo---- has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @jwiegley pushed to master « mtr: Only include libcap on Darwin »: https://git.io/fjd4B
<clever> __monty__: *waves*
woffs has quit [Quit: Gateway shutdown]
woffs has joined #nixos
rsoeldner has quit [Remote host closed the connection]
fendor has quit [Remote host closed the connection]
rsoeldner has joined #nixos
fendor has joined #nixos
fendor has quit [Remote host closed the connection]
Neo--- has quit [Ping timeout: 252 seconds]
zupo has joined #nixos
Izorkin has quit [Quit: ZNC 1.7.4 - https://znc.in]
<nkaretnikov> how do i pass { allowUnsupportedSystem = true; } to nix-env without adding it to the config?
<nkaretnikov> i recall it's possible via a command line option, but i can't figure it out
<gchristensen> NIXPKGS_ALLOW_UNSUPPORTED_SYSTEM=1
<gchristensen> as an env vanr
<nkaretnikov> thx!
polman has quit [Ping timeout: 245 seconds]
Izorkin has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<__monty__> clever: The toxvpn.service always times out for me. I don't see a way to change the timeout using the service. Will I need to manually specify a systemd service? rngd.service always fails too, does toxvpn rely on this?
<__monty__> Oh, and nscd.service also keeps failing, but I think that's unrelated.
ixxie has joined #nixos
<colemickens> Is it possible to get gnome and plasma running without enabling it through the xserver nixos options? particularly if I'm using their wayland sessions and don't want to enable a DM?
mexisme has joined #nixos
rsoeldner has quit [Remote host closed the connection]
rsoeldner has joined #nixos
fresheyeball has joined #nixos
<fresheyeball> anyone out there have experience running gitlab on nixos?
mexisme has quit [Ping timeout: 252 seconds]
___laika has quit [Ping timeout: 246 seconds]
ris has joined #nixos
___laika has joined #nixos
polman has joined #nixos
Neo---- has quit [Read error: Connection reset by peer]
Neo---- has joined #nixos
<{^_^}> [nixpkgs] @ryantrinkle opened pull request #66689 → wireguard: allow routes to overlap with other routes → https://git.io/fjd4x
<colemickens> Also, is it possible to get nix-build to output to stdout as it goes, rather than at the end? thinking of partial builds when I'm building my entire system with custom nixpkgs and pushing to cachix, only to find out some package failed partway through, nothing got pushed to cachix and I have to rebuild (since I build on spot instances) ?
jgt has joined #nixos
zupo has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/8f5ce70861a (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
jgt has quit [Ping timeout: 264 seconds]
Neo--- has joined #nixos
SunWuKung has joined #nixos
Neo---- has quit [Remote host closed the connection]
SunWuKung has quit [Quit: Heading up to 武當山]
alex`` has quit [Ping timeout: 244 seconds]
alex`` has joined #nixos
<clever> __monty__: do you have a friend added in toxvpn?
<balsoft> smakarov: Oh hey, nice to see you here. Thanks for the quick reply.
<__monty__> clever: Not in this invocation, because it doesn't start. I have in a seperate invocation of `sudo toxvpn -i ip`.
vesper11 has quit [Ping timeout: 248 seconds]
<clever> __monty__: that might be a bug, where it doesnt tell systemd it has "started" until it connects to a friend
<clever> but with zero friends, you have a bootstrap problem
<__monty__> clever: If it helps I *have* added the id to another toxvpn host.
<__monty__> Oh, and toxvpn-remote doesn't connect to the session I start with `sudo toxvpn -i`. Not sure if it should?
bakakuna has joined #nixos
jabranham has quit [Quit: ERC (IRC client for Emacs 27.0.50)]
jabranham has joined #nixos
Guanin has joined #nixos
<fresheyeball> so I ran redis-cli flushall
<fresheyeball> on my box with gitlab
<fresheyeball> because redis was full
<fresheyeball> but maybe that was stupid on my part
<fresheyeball> because now gitlab just wont come back up
fendor has joined #nixos
<{^_^}> [nixpkgs] @aespinosa opened pull request #66691 → skaffold: 0.30.0 -> 0.35.0 → https://git.io/fjdBB
boxscape has quit [Remote host closed the connection]
<__monty__> Is there a 32bit cache? My poor 512MB ram machine is trying to build firefox o.O
erba has joined #nixos
truthadjustr has joined #nixos
truthadjustr has left #nixos [#nixos]
<erba> Hi, how do people prefer to setup emacs on NixOS? I got all the packages etc declared in emacs.nix but what about config? Just put it like you normally would under emacs.d? Currently I have one big emacs.el together with my emacs.nix that I copy with each rebuild but that doesnt seem like a very good solution..
<erba> The documentation seem to suggest that you just keep it in emacs.d like normal except let nix handle all the packages.
polman has quit [Ping timeout: 245 seconds]
<drakonis> check whether your channel is ahead of hydra
<drakonis> __monty__, rust updated
<symphorien> __monty__: not for everything. And btw I'm not sure you can compile firefox on 32 bits (the address space is too small)
<samueldr> __monty__: the channel doesn't wait for a full i686 build to complete before updating
lambda-11235 is now known as XMatrix
XMatrix is now known as lambda-11235
<clever> __monty__: there is a 32bit cache, but i dont think firefox is configured to build on it
<__monty__> Hmm, any browser recommendations for old machines? Would lightweight browsers like qutebrowser or midori work?
oida has quit [Remote host closed the connection]
SunWuKung has joined #nixos
greymalkin has joined #nixos
jgt has joined #nixos
logzet has joined #nixos
drewr has quit [Ping timeout: 250 seconds]
jtojnar has quit [Read error: Connection reset by peer]
<{^_^}> #66541 (by colemickens, 2 days ago, open): libinput: 1.13.4 -> 1.14.0
jtojnar has joined #nixos
polman has joined #nixos
<{^_^}> [nixpkgs] @jonringer opened pull request #66692 → smart: 18.2.9 -> 19.1.1 → https://git.io/fjdBQ
johnw has joined #nixos
rembo10 has quit [Quit: ZNC 1.7.4 - https://znc.in]
mexisme has joined #nixos
ixxie has quit [Remote host closed the connection]
rembo10 has joined #nixos
drewr has joined #nixos
<gchristensen> tomorrow (1900UTC, 3pm America/New_York) will be the third office hours, with tazjin talking about Nixery: https://github.com/worldofpeace/events/blob/master/office-hours/office-hours.md
jgt has quit [Ping timeout: 252 seconds]
fendor has quit [Quit: Leaving]
<worldofpeace> ^ hosted by gchristensen and yours truly ✨
<gchristensen> worldofpeace++
<{^_^}> worldofpeace's karma got increased to 29
mexisme has quit [Ping timeout: 245 seconds]
Shouou has joined #nixos
drakonis_ has joined #nixos
Okinan has joined #nixos
vesper11 has joined #nixos
Neo--- has quit [Remote host closed the connection]
Neo--- has joined #nixos
oida has joined #nixos
drakonis has quit [Ping timeout: 268 seconds]
SunWuKung has quit [Quit: Sleeping in 武當山]
SunWuKung has joined #nixos
joshuagl has quit [Quit: Textual IRC Client: www.textualapp.com]
gxt has joined #nixos
mexisme has joined #nixos
jgt has joined #nixos
ericsagnes has quit [Ping timeout: 245 seconds]
SunWuKung has quit [Quit: Sleeping in 武當山]
SunWuKung has joined #nixos
SunWuKung has quit [Client Quit]
SunWuKung has joined #nixos
<vaibhavsagar> worldofpeace, gchristensen: is there a calendar I can subscribe to?
<worldofpeace> vaibhavsagar: No, but we can set that up very soon
<gchristensen> great question! we'll do that :) (they're every 2 weeks :))
rsoeldner has quit [Remote host closed the connection]
<vaibhavsagar> thanks, I would hate to forget like I did last week
rsoeldner has joined #nixos
fresheyeball has quit [Ping timeout: 272 seconds]
Thra11 has joined #nixos
bakakuna has quit [Quit: bakakuna]
Mister_Magister has quit [Ping timeout: 245 seconds]
trevthedev has joined #nixos
Mister_Magister has joined #nixos
xkapastel has joined #nixos
<{^_^}> [nixpkgs] @jonasnick opened pull request #66694 → bitcoin: 0.18.0 -> 0.18.1 → https://git.io/fjdRw
<trevthedev> hi! so i come from a NixOS Telegram group with a question, how would I be able to get my package onto the release branch? namely, Dwarf Fortress. I sent a pull request for master a few months back and it was accepted, though idk when or how that'll be put on release ^^
<drakonis_> isn't it already available?
<trevthedev> on master, yeah ^^
<trevthedev> just not on release(19.03)
<drakonis_> this package has been around for 9 years
<trevthedev> yup
<trevthedev> though it doesn't have the enableTextMode
<trevthedev> or any new changes
<drakonis_> you changed lazypack
<drakonis_> not dwarf fortress itself
<trevthedev> well yea
Neo--- has quit [Remote host closed the connection]
<drakonis_> 19.09 is coming soon
Neo--- has joined #nixos
<infinisil> trevthedev: You can make a PR with a backport to the release-19.03 branch
<infinisil> If you don't wanna wait for 19.09
<infinisil> That change doesn't look like it would be a problem for stable
<trevthedev> im not that good with git, how would i do that? ^^
freeman42x has quit [Read error: Connection reset by peer]
<infinisil> trevthedev: Fork and clone nixpkgs, check out the release-19.03 branch, make a new branch with a fitting name, cherry pick the commit you want to backport with `git cherry-pick -x`, then push this new branch to your fork
freeman42x has joined #nixos
<infinisil> So the commands git {clone,checkout,checkout -b,cherry-pick -x,push -u}
cizra has quit [Remote host closed the connection]
Neo---- has joined #nixos
jgt has quit [Ping timeout: 252 seconds]
<gchristensen> is there a simple program for recording a video?
<trevthedev> obs, ffmpeg
Neo--- has quit [Ping timeout: 252 seconds]
<trevthedev> thanks infinisil, will check that out ^^
<gchristensen> oh! of course obs can do it!
<gchristensen> thanks, trevthedev!
o1lo01ol1o has joined #nixos
<drakonis_> #66690
___laika has quit [Ping timeout: 248 seconds]
<{^_^}> https://github.com/NixOS/nixpkgs/issues/66690 (by matthewbauer, 2 hours ago, open): systemd-timsyncd failing to start on nixos-unstable
<drakonis_> oh look its that problem again!
<gchristensen> yay.
<drakonis_> matthewbauer, its breaking because your stateversion is unset
Shouou has quit [Ping timeout: 252 seconds]
kleisli has joined #nixos
rsoeldner has quit [Remote host closed the connection]
rsoeldner has joined #nixos
___laika has joined #nixos
Neo--- has joined #nixos
Neo---- has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @yrashk opened pull request #66695 → wtfutil: init at 0.19.1 → https://git.io/fjd0s
__monty__ has quit [Quit: leaving]
<trevthedev> gchristensen you're welcome ^^
drakonis_ has quit [Ping timeout: 268 seconds]
fusion809_ has joined #nixos
fusion809 has quit [Read error: Connection reset by peer]
Neo---- has joined #nixos
jgt has joined #nixos
Neo--- has quit [Ping timeout: 264 seconds]
ng0 has quit [Quit: Alexa, when is the end of world?]
drakonis_ has joined #nixos
freeman42x has quit [Remote host closed the connection]
freeman42x has joined #nixos
jabranham has quit [Quit: ERC (IRC client for Emacs 27.0.50)]
leothrix has quit [Remote host closed the connection]
leothrix has joined #nixos
rsoeldner has quit [Remote host closed the connection]
rsoeldner has joined #nixos
cizra has joined #nixos
<{^_^}> [nixpkgs] @colemickens opened pull request #66697 → gopass: 1.8.6 -> unstable-2019-07-31 → https://git.io/fjd0K
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Neo---- has quit [Remote host closed the connection]
Neo---- has joined #nixos
drakonis_ has quit [Ping timeout: 272 seconds]
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/2edd7103dab (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
chloekek has quit [Ping timeout: 248 seconds]
jgt has quit [Ping timeout: 250 seconds]
rsoeldner has quit [Remote host closed the connection]
rsoeldner has joined #nixos
Neo---- has quit [Remote host closed the connection]
Neo---- has joined #nixos
<freeman42x> I don't understand this lorry (https://github.com/target/lorri) setup instructions: On NixOS, we have a simple service for installing and enabling the needed direnv version at ./direnv/nixos.nix. Download this file and add imports = [ ./direnv.nix ]; to your system's configuration.nix.
<freeman42x> what should I do with that nix file?
rsoeldner has quit [Remote host closed the connection]
dansvo has joined #nixos
fusion809_ is now known as fusion809
<hexagoxel> freeman42x: I think you are supposed to save that file named as "direnv.nix", which then is referenced in the next step.
<hexagoxel> the curl command below does something similar, even though with the important difference of nixos.nix vs nix.nix
cizra has quit [Ping timeout: 252 seconds]
jtojnar has quit [Quit: jtojnar]
sigmundv_ has joined #nixos
cizra has joined #nixos
jtojnar has joined #nixos
jgt has joined #nixos
<freeman42x> hexagoxel, I see, ty
o1lo01ol1o has quit [Remote host closed the connection]
trevthedev has quit [Remote host closed the connection]
trevthedev has joined #nixos
erasmas has quit [Quit: leaving]
<{^_^}> [nixpkgs] @Mic92 merged pull request #66651 → erlang: Fix build error on darwin → https://git.io/fjdUH
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fjdEq
dsiypl4 has quit [Ping timeout: 245 seconds]
<{^_^}> Channel nixos-19.03 advanced to https://github.com/NixOS/nixpkgs/commit/6f7aca86f03 (from 7 hours ago, history: https://channels.nix.gsc.io/nixos-19.03)
erba has quit [Quit: WeeChat 2.4]
Thra11 has quit [Ping timeout: 268 seconds]
drakonis_ has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace merged pull request #66444 → icedtea_web: 1.7.1 -> 1.7.2 (plus CVE patches) → https://git.io/fj7ix
<{^_^}> [nixpkgs] @worldofpeace pushed 4 commits to release-19.03: https://git.io/fjdEZ
freeman42x has quit [Quit: Leaving]
freeman42x has joined #nixos
jlv has joined #nixos
<jlv> Is there a tool to convert an ini file to nix?
<infinisil> jlv: Probably easier to go through json
<infinisil> There is builtins.fromJSON and there probably exists an ini -> json converter
page_ has joined #nixos
<jlv> infinisil: Good idea. Wasn't hard to find a ini to json converter.
page has quit [Ping timeout: 258 seconds]
Neo---- has quit [Read error: Connection reset by peer]
Neo---- has joined #nixos
romatthe has joined #nixos
MmeQuignon has quit [Ping timeout: 252 seconds]
<jlv> infinisil: can I use builtins.fromJSON to get the nix expression itself, or is that just for importing a json file?
SunWuKung has quit [Quit: Sleeping in 武當山]
jgt has quit [Ping timeout: 264 seconds]
<jlv> Looking at the manual, looks like its a straightforward String -> String. I just need to figure out how to get a nix repl.
<infinisil> Like a `nix repl`?
<jlv> That would do it :D
sebboh has joined #nixos
<sebboh> Is there something like nix for any of the BSDs?
<jlv> Hmm, looks like the repl doesn't like multline paste
mihaiii has joined #nixos
<mihaiii> Hello, how's everyone doing?
<infinisil> jlv: I think it can handle them if you're careful not to paste too much
<jlv> infinisil: I think it would be easier to pull the text from a file in this case. Just need to find the function to read a file :)
<infinisil> import?
<infinisil> Oh or builtins.readFile
<infinisil> Ah yeah you can't enter like the '' strings in nix repl
<infinisil> Wait no you can
<infinisil> Neat
<jlv> infinisil: builtins.readFile did it :) But the output is cut down XD So looks like I also need to write out to a file
<infinisil> Not quite sure what you're doing
<jlv> Trying to convert a large ini file to nix for use in home-manager
<infinisil> So you converted it to a json file already with some converter?
wildtrees has quit [Quit: Leaving]
<jlv> Ya, easy to find online
mihaiii has quit [Quit: leaving]
<infinisil> Then it should just be `builtins.fromJSON (builtins.readFile ./the/file.json)`
<jlv> That gives me the string, but the string is too large to display and is displayed with ... so I can't copy it. I think I found the solution though "builtins.toFile"
<infinisil> Oh, unless you need to, you don't need to get the string of the nix value
<infinisil> You can do `the.option = builtins.fromJSON ...;` directly in your home.nix
<jlv> I thought about that, but I expect to edit configuration, and would prefer to do it in nix, so I don't want it hanging around in a .json file.
<infinisil> I see
nexgen has joined #nixos
<jlv> Ok, looks like toFile needs a string instead of a set, so if I can convert the set to a string, I should be good. This is starting to get a little silly.
<jlv> Also, `nix repl` bugs out when a line wraps
<clever> jlv: what exactly are you trying to do?
<jlv> Convert an ini file to nix
<clever> and what is the main reason to do that?
<jlv> Using the example polybar config as a starting point for using polybar with home-manager
<jlv> It's pretty big, so I didn't want to manually convert it
<clever> do you want to actually modify the config from nix? or just use the .ini file as-is?
<infinisil> jlv: Probably `nix-instantiate --eval --strict -E 'builtins.fromJSON (builtins.readFile file.json)'` should work
<jlv> Want to modify the config from nix
<clever> ah
<jlv> The ini is just the starting point
nexgen has quit [Excess Flood]
nexgen2 has joined #nixos
<clever> yeah, you probably want to just convert the ini into json (either one-time, or use a derivation and IFD)
<clever> then fromJSON + readFile it, and use // or recursiveUpdate (or modules and mkMerge) to apply changes
<jlv> infinisil: That did it!
<infinisil> :)
<jlv> It's not formatted, but that should be easily enough to fix with some auto format
<infinisil> nixfmt for the win
werner291 has joined #nixos
thc202 has quit [Ping timeout: 250 seconds]
ericsagnes has joined #nixos
<werner291> Hello! I'm trying to get a shell environment that has Idris with a couple libraries available, but one of the libraries isn't available by default. I got this far: https://pastebin.com/sjJ8nJPp
<werner291> I'm getting "error: attempt to call something which is not a function but a set". As you can probably tell, I don't really know what I'm doing...
<clever> > pkgs.src
<{^_^}> "<derivation /nix/store/dchfz571i82csg27a8f1d2qx1n0hgrac-src-1.26.drv>"
<jlv> Oh dear, looks like there were some error introduced in converting the ini to nix
<clever> werner291: your not using a recursive set, so lines 20 and 24 are referencing this package, not line 14
<clever> werner291: you probably want to use just $src, not ${src}
<jlv> Well, fixing a few errors is still better than converting the whole thing by hand
<clever> werner291: does the error say which line the problem is on?
mbrgm_ has joined #nixos
<werner291> 5:1
<jlv> Well, the line is about 10000 characters long