sphalerite changed the topic of #nixos to: NixOS stable: 19.03 \o/ https://discourse.nixos.org/t/nixos-19-03-release/2652 || 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
realloc has quit [Quit: realloc]
<lucus16> Hmm, `cargo run` fails because it can't find a library. That kind of makes sense since the binary it just built isn't patchelf'd, but what's the best way to solve it?
<clever> lucus16: if you have the source available, just let nix build the whole thing
<ivan> lucus16: I sometimes point LD_LIBRARY_PATH= at things in /nix to get Rust things to run
<ivan> (when not building with nix)
<lucus16> This is for during development, when I'm working in a nix-shell with those dependencies in the buildInputs
<ivan> is cargo run failing during build?
<lucus16> No, when manually invoked from within the nix-shell, as part of my development workflow
<ivan> I mean, is rustc failing or is the binary failing to execute
jluttine has quit [Ping timeout: 268 seconds]
<lucus16> Ah, the binary is
ym555 has quit [Quit: leaving...]
<{^_^}> Channel nixpkgs-19.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/1601f559e89 (from 4 hours ago, history: https://channels.nix.gsc.io/nixpkgs-19.03-darwin)
alp has quit [Ping timeout: 268 seconds]
thc202 has quit [Ping timeout: 248 seconds]
<lucus16> Hmm, rustc is supposed to introduce the correct rpath into that binary, right?
<clever> i would expect it to
<clever> what does `type rustc` and `type cargo` return?
<lucus16> rustc is /nix/store/h4dv6f26q32m98zl7f7zzj965cx7lzs6-rustc-1.34.2/bin/rustc
<lucus16> cargo is /nix/store/9sqsyi5fz0wp7n624gck7fw5pcjycvc7-cargo-1.34.2/bin/cargo
<clever> yeah, that looks good at a glance
qubasa has joined #nixos
<lucus16> rustc has no wrapper, cargo has a small one, nothing like the cc wrapper
<clever> lucus16: if you run `set`, do you see anything like a fixup or postinstall function?
<lucus16> There's a bunch of hits for fixup, including a fixupOutputHooks which does something with patchELF
<clever> ah
<clever> so the rust stuff only patches stuff in $out/bin/ after installing
<clever> and the binaries you make in nix-shell wont work on their own
<lucus16> Where are rpaths supposed to come from actually? What decides what ends up in the rpath of an ELF file?
pie__ has quit [Ping timeout: 258 seconds]
<clever> with gcc, the $out/lib of every single buildInput gets added to the rpath when linking the binary
<clever> and then a fixup hook will run patchelf --shrink-rpath, to remove things that arent in the DT_NEEDED list
arjen-jonathan has quit [Ping timeout: 252 seconds]
<lucus16> yeah, but that's the cc wrapper that adds them, correct? How are they chosen in a non-Nix environment?
<clever> on a normal distro, the compiler mostly relies on /etc/ld.so.conf and ldconfig
<clever> and i think /usr/lib and /lib are baked into ld.so
Matthieu_ has joined #nixos
o1lo01ol1o has joined #nixos
ericsagnes has quit [Ping timeout: 258 seconds]
o1lo01ol1o has quit [Remote host closed the connection]
jluttine has joined #nixos
pvevu has quit [Ping timeout: 248 seconds]
mexisme has quit [Ping timeout: 272 seconds]
o1lo01ol1o has joined #nixos
ericsagnes has joined #nixos
<Guanin> Ok, I think I have openvpn running in the initrd, but it struggles with DNS. I'm copying everything from ${pkgs.glibc}/lib/*.so over into the initramfs, but that does not change anything (the gentoo wiki states that libnss_dns is required for dns resolution)
<Guanin> I've also assigned a custom nameserver in /etc/resolv.conf (although this is also set by dhcp correctly)
<Guanin> ping does not work, too
<Guanin> (just for clarification: ping which requires a dns request)
o1lo01ol1o has quit [Ping timeout: 272 seconds]
<clever> Guanin: the dynamic libraries get copied automatically
<clever> at least, the normal ones, dlopen are special
<clever> Guanin: what if you strace things?
<Guanin> still need to do that
jgt has joined #nixos
<Guanin> grepping for .so in output of strace busybox ping google.de shows that it uses libm.so.6, libresolv.so.2 and libc.so.6 (at least for these there was no ENOENT)
<clever> Guanin: under normal nixos, it will use nscd to do the actual lookup
<clever> so the busybox process wont actually do any dns
<Guanin> Huh ok, so I have to include strace into the initramfs, too?
<clever> yeah
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/e0818a15305 (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
m0rphism has quit [Ping timeout: 272 seconds]
jgt has quit [Ping timeout: 258 seconds]
Matthieu_ has quit [Ping timeout: 248 seconds]
mmercier has joined #nixos
mmercier has quit [Client Quit]
<Guanin> Thats from within the initramfs
<Guanin> Seems like libnss_dns.so.2 is missing
mmercier has joined #nixos
mmercier has quit [Client Quit]
lord| has joined #nixos
jasongrossman has quit [Ping timeout: 258 seconds]
jasongrossman has joined #nixos
jasongrossman has quit [Read error: Connection reset by peer]
<Guanin> Nice, that seems to work :)
<Guanin> Thanks
<Guanin> Now openvpn seems to struggle, but I'll figure that one out
day|flip has joined #nixos
mbrock has left #nixos ["Killed buffer"]
<lucus16> Went for an LD_LIBRARY_PATH shellHook in the end
<lucus16> clever: thanks for the help!
<day|flip> will. im just want to see if this work. but not sure if im going at this right. im trying to boot with "mem_encrypt=on"
<day|flip> i tried boot.kernelParams = [ "mem_encrypt=on" ];
<clever> day|flip: that should do it
o1lo01ol1o has joined #nixos
Ariakenom has quit [Quit: Leaving]
<day|flip> mmm. when i try dmesg | grep sme nothing show up. mm
<clever> day|flip: cat /proc/cmdline
jluttine has quit [Ping timeout: 272 seconds]
<day|flip> loglevel=4 mem_encrypt=on ahh cool
<clever> does it need a special compile-time flag in the kernel?
<clever> day|flip: cat /proc/config.gz | gunzip | grep CONFIG_CRY
<day|flip> i don't know. im board. and want to try amd SME. in theory this show help with rambleed
<day|flip> this should***
jluttine has joined #nixos
<clever> [clever@system76:~/apps/linux]$ grep -r --color memory_encrypt
<clever> arch/x86/mm/mem_encrypt.c:int __init early_set_memory_encrypted(unsigned long vaddr, unsigned long size)
<clever> 53 obj-$(CONFIG_AMD_MEM_ENCRYPT)->>+= mem_encrypt.o
<clever> ./arch/x86/Kconfig:config ARCH_HAS_MEM_ENCRYPT
<clever> ./arch/x86/Kconfig:config AMD_MEM_ENCRYPT
<clever> [clever@amd-nixos:~/Downloads]$ cat /proc/config.gz | gunzip | grep MEM_EN
<clever> # CONFIG_AMD_MEM_ENCRYPT is not set
<clever> day|flip: its not enabled in my kernel
<day|flip> so if i want to try this. i need to compile the kernel with CONFIG_AMD_MEM_ENCRYPT enable?
<clever> day|flip: https://gist.github.com/cleverca22/68d10d5d077bf531864394cc4b04e7fb a fragment of my configuration.nix, from when i was messing with kernel params
drakonis has joined #nixos
<clever> youll want to set AMD_MEM_ENCRYPT on the kernel your using
<day|flip> so "y" to enable?
<clever> yep
<day|flip> XXXlinux_4_9 = pkgs.linux_4_9.override { to XXXlinux_4_9 = pkgs.linux_latest.override {?
<clever> the XXX's where to disable it, since i didnt need it anymore
<clever> AMD_MEM_ENCRYPT_ACTIVE_BY_DEFAULT may also be of interest, that makes it on by default, so you dont need memory_encrypt=on
<clever> youll know when you get the config right, since it will trigger a rebuild of the kernel
<clever> if its wrong, it will either do nothing, or give an error
<day|flip> linux_latest = pkgs.linux_latest.override {
<clever> looks good at a glance
<day|flip> sorry for my noob question
<clever> but will also depend on what kernel your using
<aanderse> marek: are you a zabbix guy?
<day|flip> clever: is there a way for me to see kernel .config file?
<clever> day|flip: the config for the running kernel is in /proc/config.gz
jasongrossman has joined #nixos
fusion809 has joined #nixos
justanotheruser has joined #nixos
<Guanin> clever, thanks for your help, I got it working :) Is it desirable to clean it up enough to make a pull request, or is openvpn in the initrd a niche requirement that is better suited to document in the wiki?
<Guanin> One of my main concerns is probably that this introduces some kind of secret-in-the-nix-store problem, but it is similar to the situation for openvpn and for the host keys for boot.initrd.ssh
<clever> Guanin: it does sound like it may be useful to have
<clever> Guanin: there are also ways to solve the secrets in the initrd problem already
<Guanin> Is that used by initrd-ssh with boot.initrd.secrets?
<{^_^}> [nixpkgs] @samueldr pushed 2 commits to master: https://git.io/fj25K
<{^_^}> [nixpkgs] @samueldr merged pull request #63135 → nixos/captive-browser: fix module → https://git.io/fj2SS
<Guanin> (I used initrd-ssh.nix as a starting point)
<clever> boot.initrd.secrets is seperate, and the security depends on what boot.loader.supportsInitrdSecrets is set to
alex`` has quit [Quit: WeeChat 2.4]
<clever> (facepalm)
<clever> grub only supports boot.loader.grub.extraInitrd, which will load 2 initrd's at boot time
<clever> systemd-boot only supports boot.loader.supportsInitrdSecrets, which will dynamically regenerate the initrd to inject secrets, when your doing nixos-rebuild switch
<clever> and if you use boot.initrd.secrets on grub, the secrets land in the store!
<Guanin> Oh wow
<Guanin> Sounds a bit off
<clever> yeah
<clever> if the bootloader doesnt support secrets, this will copy them into the nix store for you, so it just works
<clever> this bash script will take an initrd file as an input, and then mutate it to include the secrets, and it can be ran when updating /boot/
<clever> systemd-boot's perl wrapper will run that on each entry, to inject all secrets from the current generation, into all generation's initrd's
<clever> but grub doesnt support that, and instead just takes a list of initrds, some of which arent in the store
<Guanin> So I guess I should stick to boot.initrd.secrets, and the handling of secrets might be changed for the grub case in the future to use the extraInitrd to bypass the store?
<clever> Guanin: id say grub should be patched to support boot.initrd.secrets
n0qqe has joined #nixos
toppler has quit [Ping timeout: 245 seconds]
<Guanin> Okay, so I'll stick to boot.initrd.secrets for the config/credentials. I'll just need to resolve one ugly hack (symlinking ip to /nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-iproute2-4.20.0/sbin/ip as openvpn uses that one) before starting to create a usable interface for it
<clever> Guanin: you probably want to check if openvpn is just looking for `ip` in $PATH, or using an absolute path
<Guanin> I just wanted to get a proof of concept running and go to sleep now :) I'll play around with it tomorrow (UTC+2 here) and will come back here
<clever> Guanin: and this is where the eeeeee's came from, https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/system/boot/stage-1.nix#L173
n0qqe is now known as noqqe
<Guanin> Mh, running openvpn from /bin/ash over ssh uses the same path, while ip is in $PATH of the shell
<Guanin> So right now I'd guess it uses an absolute path
<Guanin> but I'll try it tomorror
<Guanin> *tomorrow
<Guanin> Thanks for your help :)
<clever> yep
rprije has joined #nixos
jgt has joined #nixos
justanotheruser has quit [Quit: WeeChat 2.4]
justanotheruser has joined #nixos
toppler has joined #nixos
jgt has quit [Ping timeout: 258 seconds]
lambda-11235 has joined #nixos
day|flip has quit [Remote host closed the connection]
Guanin has quit [Remote host closed the connection]
iyzsong has joined #nixos
hio has quit [Quit: Connection closed for inactivity]
selfsymmetric-mu has joined #nixos
day|flip has joined #nixos
<day|flip> clever: i still getting no where. https://hastebin.com/exahucahut.cs
<clever> day|flip: have you tried with just linux = pkgs.linux ....
mexisme has joined #nixos
mexisme has quit [Ping timeout: 245 seconds]
drakonis1 has joined #nixos
<day|flip> im going try one more time. then i try this option out as will if this does not work out https://discourse.nixos.org/t/the-correct-way-to-override-the-latest-kernel-config/533/4
<clever> day|flip: it will depend on what your doing with boot.kernelPackages
<day|flip> boot.kernelPackages = pkgs.linuxPackages_latest;
<day|flip> boot.kernelParams = [ "mem_encrypt=on" ];
<clever> then linux_latest should do it, confirming...
<day|flip> ill brb
day|flip has quit [Remote host closed the connection]
<clever> 15507 linuxPackages_latest = linuxPackages_5_1;
amfl has joined #nixos
amfl has quit [Client Quit]
amfl has joined #nixos
init_6 has joined #nixos
jgt has joined #nixos
G0ld3nChi1d has joined #nixos
jgt has quit [Ping timeout: 258 seconds]
ericsagnes has quit [Ping timeout: 258 seconds]
<{^_^}> [nixpkgs] @marsam opened pull request #63144 → timescaledb: disable telemetry → https://git.io/fj2dv
<{^_^}> [nixpkgs] @marsam opened pull request #63145 → odyssey: 2019-03-12 -> 1.0rc → https://git.io/fj2dJ
G0ld3nChi1d has quit [Ping timeout: 248 seconds]
ericsagnes has joined #nixos
ricekrispie2 has joined #nixos
lambda-11235 has quit [Ping timeout: 258 seconds]
mmercier has joined #nixos
mmercier has quit [Client Quit]
day|flip has joined #nixos
mmercier has joined #nixos
<day|flip> will i got it working clever
mmercier has quit [Client Quit]
<day|flip> but now. nvidia driver don't work with that options on
kim0 has quit [Quit: Connection closed for inactivity]
<day|flip> dmesg | grep SME
<day|flip> [ 0.000000] AMD Secure Memory Encryption (SME) active
<day|flip> im now force to used nouveau. V.V
<day|flip> i guess i need to play around with compton
Supersonic has quit [Ping timeout: 258 seconds]
Supersonic has joined #nixos
mexisme has joined #nixos
init_6 has quit []
jgt has joined #nixos
mmercier has joined #nixos
mmercier has quit [Client Quit]
mmercier has joined #nixos
mmercier has quit [Client Quit]
mmercier has joined #nixos
mmercier has quit [Client Quit]
jgt has quit [Ping timeout: 248 seconds]
mmercier has joined #nixos
mmercier has quit [Client Quit]
mmercier has joined #nixos
mmercier has quit [Client Quit]
mmercier has joined #nixos
mmercier has quit [Client Quit]
mmercier has joined #nixos
mmercier has quit [Client Quit]
<clever> day|flip: i'm guessing that the video driver has to know that SME enabled, and inform the kernel to not encrypt the dma buffers
mmercier has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
mmercier has quit [Client Quit]
<zacts> hi
<zacts> how can I install firefox 67.0.2?
<zacts> on the latest stable NixOS
o1lo01ol1o has joined #nixos
mmercier has joined #nixos
<zacts> the version I'm running is 67.0.1
<zacts> I need this so that I can transfer my bookmarks and stuff over.
mmercier has joined #nixos
mmercier has quit [Client Quit]
<ivan> zacts: it should land in the channel soon if it hasn't already
mmercier has joined #nixos
<zacts> ok
mmercier has quit [Client Quit]
<ivan> if it's not there: git clone -b release-19.03 https://github.com/NixOS/nixpkgs
<ivan> maybe with --depth=100 if you're bandwidth-constrained
mmercier has joined #nixos
mmercier has quit [Client Quit]
<zacts> ivan: how would I build and install it from git?
mmercier has joined #nixos
<ivan> zacts: is firefox in your systemPackages
mmercier has quit [Client Quit]
<zacts> I'm a complete beginner at NixOS. This is my first ever install of it
<zacts> ivan: yeah
o1lo01ol1o has quit [Ping timeout: 246 seconds]
<ivan> export NIX_PATH=nixpkgs=/path/to/nixpkgs:nixos-config=/etc/nixos/configuration.nix
<ivan> nixos-rebuild switch
G0ld3nChi1d has joined #nixos
mmercier has joined #nixos
<zacts> is that export NIX_PATH a shell command?
mmercier has quit [Client Quit]
<zacts> looks like it
<zacts> let me try this
<ivan> yep
mmercier has joined #nixos
mmercier has quit [Client Quit]
mmercier has joined #nixos
mmercier has quit [Client Quit]
mmercier has joined #nixos
mmercier has quit [Client Quit]
mmercier has joined #nixos
mmercier has quit [Client Quit]
init_6 has joined #nixos
ericsagnes has quit [Ping timeout: 252 seconds]
init_6 has quit [Client Quit]
orivej has joined #nixos
abaiste^ has quit []
shah^ has joined #nixos
<zacts> ivan: that seems to give me the same version of firefox, 67.0.1
<ivan> zacts: you don't have the old one in your user environment? (nix-env -q)
<day|flip> clever: dma buffers?
<clever> day|flip: thats how the gpu drivers get gfx data to the gpu
<day|flip> ah. i don't really know that a thing in the kernel. hint. i don't mess around with the kernel
<ivan> zacts: if you don't, not sure what's up because that branch has 67.0.2, did nixos-rebuild show it fetching 67.0.2?
<zacts> ivan: it seems to be working now. I think it was a shell issue I was having.
<zacts> it's fetching now
<day|flip> clever: so how will i tell the kernel not to encrypt dma buffers
<zacts> ivan: it worked perfectly this time, thanks
<clever> day|flip: the gpu driver would have to be modified to do that correctly
<zacts> my config is intact and working now
<day|flip> clever: so it more then xorg.conf change
arahael1 has quit [Quit: "Re-enabling intel graphics..."]
<clever> day|flip: yeah
ericsagnes has joined #nixos
G0ld3nChi1d has quit [Ping timeout: 250 seconds]
init_6 has joined #nixos
<day|flip> clever: nvidia-drm in boot.kernelModules or boot.kernelParam [ "nvidia-drm.modeset=1" ]; help any?
cantstanya has joined #nixos
<day|flip> or it going be something crazy with services.udev.extraRules =
<clever> day|flip: i think the compatability thing is likely going to be in the source code
<day|flip> so im going be using neuveau
hio has joined #nixos
<day|flip> will this been fun. learning new stuff
<day|flip> last post in the page show the right way to used packageOverrides on pkgs.linux_latest
Arahael has joined #nixos
<clever> day|flip: i checked the source, and linuxPackages_latest is referencing pkgs.linux_5_1
<clever> day|flip: linux_latest is an alias, and changing it wont change _51
<day|flip> ahh
<day|flip> will. i think that boot.kernelPatches is a cleaner option to go with
jgt has joined #nixos
jgt has quit [Ping timeout: 258 seconds]
<{^_^}> Channel nixos-19.03 advanced to https://github.com/NixOS/nixpkgs/commit/1601f559e89 (from 8 hours ago, history: https://channels.nix.gsc.io/nixos-19.03)
<{^_^}> [nixpkgs] @teto opened pull request #63146 → python3Packages.cmd2: 0.9.12 -> 0.9.13 → https://git.io/fj2dK
<drakonis1> what's the advice on patching glibc and wine?
<drakonis1> and then getting wine to use the patched glibc?
drakonis_ has joined #nixos
o1lo01ol1o has joined #nixos
drakonis has quit [Ping timeout: 258 seconds]
o1lo01ol1o has quit [Ping timeout: 248 seconds]
Rusty1 has quit [Quit: Konversation terminated!]
<zacts> what might be the best way to install a local perl with cpan modules on NixOS? I want to do this following the Nix way of doing things if I can.
<zacts> on debian systems I would do this with perlbrew, which is kind of like rbenv if you are familiar with that. or rvm.
<zacts> I see the nix package guide for Perl and Ruby
<zacts> but I'm confused on how to package a local perl and modules
freeman42x has quit [Ping timeout: 258 seconds]
<zacts> wait, let me read the manual
<zacts> I think it explains how to create your own packages that don't exist in NixOS yet
<zacts> ivan: # nixos-rebuild switch -I nixpkgs=/path/to/my/nixpkgs <-- this might be better right?
<ivan> if that works, sure, I just haven't tested it
<{^_^}> [nixpkgs] @samueldr opened pull request #63147 → aarch64: misc. graphical boot fixes → https://git.io/fj2dH
init_6 has quit [Read error: Connection reset by peer]
endformationage has quit [Ping timeout: 248 seconds]
adamantium has joined #nixos
jgt has joined #nixos
toppler has quit [Ping timeout: 246 seconds]
jgt has quit [Ping timeout: 258 seconds]
init_6 has joined #nixos
ericsagnes has quit [Ping timeout: 258 seconds]
day|flip has quit [Remote host closed the connection]
toppler has joined #nixos
init_6 has quit [Ping timeout: 248 seconds]
mexisme has quit [Ping timeout: 272 seconds]
Anton-Latukha has joined #nixos
palo1 has joined #nixos
drakonis1 has quit [Quit: WeeChat 2.5]
palo has quit [Ping timeout: 245 seconds]
balsoft has quit [Read error: Connection reset by peer]
palo1 is now known as palo
nD5Xjz has quit [Ping timeout: 258 seconds]
nD5Xjz has joined #nixos
leothrix has quit [Remote host closed the connection]
leothrix has joined #nixos
jgt has joined #nixos
mac10688 has quit [Ping timeout: 246 seconds]
jgt has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @FRidh pushed 25 commits to staging-next: https://git.io/fj2Fe
noqqe has quit [*.net *.split]
iyzsong has quit [*.net *.split]
amf has quit [*.net *.split]
Lears has quit [*.net *.split]
qubasa has quit [*.net *.split]
ashkitten has quit [*.net *.split]
drewr has quit [*.net *.split]
lovesegfault has quit [*.net *.split]
tokudan has quit [*.net *.split]
pjan has quit [*.net *.split]
dontobey has quit [*.net *.split]
aramiscd has quit [*.net *.split]
yastero has quit [*.net *.split]
risson has quit [*.net *.split]
THFKA4 has quit [*.net *.split]
lopsided98 has quit [*.net *.split]
cyris212 has quit [*.net *.split]
tboston has quit [*.net *.split]
travelion has quit [*.net *.split]
Cale has quit [*.net *.split]
Forkk has quit [*.net *.split]
aristid has quit [*.net *.split]
abcrawf has quit [*.net *.split]
DigitalKiwi has quit [*.net *.split]
aswanson has quit [*.net *.split]
xorkle has quit [*.net *.split]
ma27 has quit [*.net *.split]
shad has quit [*.net *.split]
mkaito has quit [*.net *.split]
exarkun1 has quit [*.net *.split]
MayeulC_backup has quit [*.net *.split]
grahamc[m] has quit [*.net *.split]
zaphar_ps[m] has quit [*.net *.split]
ddellacosta has quit [*.net *.split]
lord| has quit [*.net *.split]
jluttine has quit [*.net *.split]
talqu has quit [*.net *.split]
orivej has quit [*.net *.split]
toppler has quit [*.net *.split]
callahad has quit [*.net *.split]
m1cr0man has quit [*.net *.split]
nullheroes has quit [*.net *.split]
leothrix has quit [*.net *.split]
drakonis_ has quit [*.net *.split]
Anton-Latukha has quit [*.net *.split]
M-Gregoire4 has quit [*.net *.split]
slyfox has quit [*.net *.split]
selfsymmetric-mu has quit [*.net *.split]
JadoJodo has quit [*.net *.split]
MinceR has quit [*.net *.split]
Xal has quit [*.net *.split]
Athas has quit [*.net *.split]
cross has quit [*.net *.split]
justanotheruser has quit [*.net *.split]
amfl has quit [*.net *.split]
palo has quit [*.net *.split]
Miyu-saki has quit [*.net *.split]
alter-schjetne has quit [*.net *.split]
dminuoso has quit [*.net *.split]
rtjure has quit [*.net *.split]
zfnmxt has quit [*.net *.split]
MichaelRaskin has quit [*.net *.split]
raedah has quit [*.net *.split]
johnny101 has quit [*.net *.split]
awygle has quit [*.net *.split]
dansho has quit [*.net *.split]
rprije has quit [*.net *.split]
gratto has quit [*.net *.split]
Zer000 has quit [*.net *.split]
simukis__ has quit [*.net *.split]
hamishmack has quit [*.net *.split]
shah^ has quit [*.net *.split]
andymandias has quit [*.net *.split]
WilliButz has quit [*.net *.split]
elvishjerricco has quit [*.net *.split]
mlen has quit [*.net *.split]
Ashy has quit [*.net *.split]
thequux[m] has quit [*.net *.split]
nD5Xjz has quit [*.net *.split]
hl has quit [*.net *.split]
copumpkin has quit [*.net *.split]
v88m has quit [*.net *.split]
glasserc has quit [*.net *.split]
Supersonic has quit [*.net *.split]
duairc has quit [*.net *.split]
zacts has quit [*.net *.split]
_cyril_ has quit [*.net *.split]
nikivi has quit [*.net *.split]
_e has quit [*.net *.split]
jasonrm has quit [*.net *.split]
Twey has quit [*.net *.split]
devalot has quit [*.net *.split]
q3k has quit [*.net *.split]
srk has quit [*.net *.split]
GlennS has quit [*.net *.split]
ricekrispie2 has quit [*.net *.split]
jasongrossman has quit [*.net *.split]
daGrevis has quit [*.net *.split]
Serus has quit [*.net *.split]
LnL has quit [*.net *.split]
arianvp has quit [*.net *.split]
buckley310 has quit [*.net *.split]
ericnoan has quit [*.net *.split]
klntsky has quit [*.net *.split]
cantstanya has quit [*.net *.split]
phreedom_ has quit [*.net *.split]
grumble has quit [*.net *.split]
jb55 has quit [*.net *.split]
gxt has quit [*.net *.split]
hoek has quit [*.net *.split]
morr has quit [*.net *.split]
dsx has quit [*.net *.split]
NekomimiScience has quit [*.net *.split]
jonreeve[m] has quit [*.net *.split]
jasongrossman[m] has quit [*.net *.split]
kwork has quit [*.net *.split]
etu has quit [*.net *.split]
nckx has quit [*.net *.split]
fabianhjr[m] has quit [*.net *.split]
taktoa[c] has quit [*.net *.split]
peterhoeg[m] has quit [*.net *.split]
bendlas has quit [*.net *.split]
tolt has quit [*.net *.split]
irdr has quit [*.net *.split]
tilpner has quit [*.net *.split]
rembo10 has quit [*.net *.split]
hex2 has quit [*.net *.split]
Arahael has quit [*.net *.split]
teto has quit [*.net *.split]
suzu has quit [*.net *.split]
Philonous has quit [*.net *.split]
kevincox[m] has quit [*.net *.split]
cgm[m] has quit [*.net *.split]
bdesham[m] has quit [*.net *.split]
clacke_movim has quit [*.net *.split]
adamantium has quit [*.net *.split]
cizra has quit [*.net *.split]
mthst has quit [*.net *.split]
gallexme[m] has quit [*.net *.split]
emily has quit [*.net *.split]
retrry[m] has quit [*.net *.split]
azazel has quit [*.net *.split]
emilsp has quit [*.net *.split]
wrl has quit [*.net *.split]
v0|d has quit [*.net *.split]
layus has quit [*.net *.split]
j4m3s__ has quit [*.net *.split]
Neptu has quit [*.net *.split]
Aleksejs has quit [*.net *.split]
rgrau has quit [*.net *.split]
boegel has quit [*.net *.split]
anton has joined #nixos
zfnmxt has joined #nixos
CcxWrk has joined #nixos
qqlq has joined #nixos
clacke_movim has joined #nixos
cpc26 has joined #nixos
zacts has joined #nixos
hex2 has joined #nixos
johnny101 has joined #nixos
Serus has joined #nixos
bigvalen has joined #nixos
bob_twinkles has joined #nixos
catern has joined #nixos
hiroshi has joined #nixos
aanderse has joined #nixos
Mateon1 has joined #nixos
CapsLock has joined #nixos
aveltras has joined #nixos
ploupiboulba[m] has joined #nixos
lucus16 has joined #nixos
feepo has joined #nixos
nixy- has joined #nixos
hke has joined #nixos
wak-work has joined #nixos
MerlinGttlinger[ has joined #nixos
mguex has joined #nixos
tg has joined #nixos
bitonic has joined #nixos
obfusk has joined #nixos
nand0p has joined #nixos
xacktm has joined #nixos
Gohla has joined #nixos
Florian[m]1 has joined #nixos
slabity has joined #nixos
gausby_ has joined #nixos
asthma[m] has joined #nixos
simbergm has joined #nixos
Brio[m] has joined #nixos
shreyansh_k has joined #nixos
Enzime has joined #nixos
NemesisD has joined #nixos
eliasp has joined #nixos
infinisil has joined #nixos
pukkamustard has joined #nixos
gonz_ has joined #nixos
ar has joined #nixos
unacceptable has joined #nixos
step21 has joined #nixos
boegel has joined #nixos
ryjm[payon] has joined #nixos
luigy has joined #nixos
migy has joined #nixos
glowpelt has joined #nixos
nisstyre has joined #nixos
magnus1 has joined #nixos
endocrimes has joined #nixos
PyroLagus has joined #nixos
drewr has joined #nixos
yastero has joined #nixos
aramiscd has joined #nixos
lovesegfault has joined #nixos
dontobey has joined #nixos
lopsided98 has joined #nixos
aristid has joined #nixos
DigitalKiwi has joined #nixos
noqqe has joined #nixos
ma27 has joined #nixos
tokudan has joined #nixos
mkaito has joined #nixos
knupfer has joined #nixos
qubasa has joined #nixos
aswanson has joined #nixos
Lears has joined #nixos
tboston has joined #nixos
cyris212 has joined #nixos
THFKA4 has joined #nixos
risson has joined #nixos
abcrawf has joined #nixos
ashkitten has joined #nixos
Cale has joined #nixos
shad has joined #nixos
Forkk has joined #nixos
travelion has joined #nixos
pjan has joined #nixos
amf has joined #nixos
MayeulC_backup has joined #nixos
zaphar_ps[m] has joined #nixos
exarkun1 has joined #nixos
grahamc[m] has joined #nixos
<{^_^}> [nixpkgs] @FRidh pushed 2 commits to staging-next: https://git.io/fj2FU
<{^_^}> [nixpkgs] @FRidh pushed 158 commits to staging: https://git.io/fj2FT
Xal has joined #nixos
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/fj2Fk
knupfer has quit [Ping timeout: 248 seconds]
dansho has joined #nixos
lambda-11235 has joined #nixos
linarcx has joined #nixos
wfranzini has joined #nixos
<{^_^}> [nixpkgs] @FRidh pushed 100 commits to python-unstable: https://git.io/fj2FR
{^_^} has quit [Ping timeout: 252 seconds]
duoi has quit [Ping timeout: 252 seconds]
amf has quit [Ping timeout: 248 seconds]
amf has joined #nixos
alp has joined #nixos
lovesegfault has quit [Ping timeout: 248 seconds]
hio has quit [Ping timeout: 252 seconds]
duoi has joined #nixos
duoi has quit [Excess Flood]
FRidh has joined #nixos
lovesegfault has joined #nixos
{^_^} has joined #nixos
hio has joined #nixos
duoi has joined #nixos
<{^_^}> [nixpkgs] @marsam opened pull request #63148 → reviewdog: init at 0.9.12 → https://git.io/fj2Fw
Jetien_ has joined #nixos
<{^_^}> [nixpkgs] @yegortimoshenko merged pull request #62853 → nixos/sshd: fixes validation for cross-compilation → https://git.io/fjziZ
<{^_^}> [nixpkgs] @yegortimoshenko pushed 2 commits to master: https://git.io/fj2F6
inquisitiv3 has joined #nixos
<{^_^}> [nixpkgs] @FRidh pushed 4 commits to python-unstable: https://git.io/fj2FP
psy3497 has joined #nixos
juhe has joined #nixos
<psy3497> Curious question, I made a NixOS VM with the following configuration (using nixos-generators):
<psy3497> ```
<psy3497> { config, lib, pkgs, ... }:
<psy3497> {
<psy3497> services.sshd.enable = true;
<psy3497> services.nginx.enable = true;
<psy3497> }
<psy3497> ```
<psy3497> When I boot the VM I get a login prompt but what is the root's password?
<psy3497> I tried looking at the NixOS modules and found the default initialHashedPassword
<psy3497> to be "!" but what password is hashed to that? I had to manually set a password,
<psy3497> but I wonder what is the default password for root if nothing is set, like in
<psy3497> this case.
<{^_^}> [nixpkgs] @worldofpeace pushed to master « pantheon.wingpanel-applications-menu: drop libwnck3 »: https://git.io/fj2FS
<{^_^}> [nixpkgs] @worldofpeace pushed to release-19.03 « pantheon.wingpanel-applications-menu: drop libwnck3 »: https://git.io/fj2F9
mexisme has joined #nixos
thc202 has joined #nixos
mexisme has quit [Ping timeout: 248 seconds]
Jetien_ has quit [Ping timeout: 248 seconds]
<maurer> psy3497: ! is /etc/shadow speak for "there is no valid password for this account"
<maurer> so no password will work until one is set
<psy3497> @maurer thanks for your answer! First time I hear of this `/etc/shadow` speak, I'm gonna look it up :)
<{^_^}> [nix] @grahamc merged pull request #2931 → Daemon: warn when an untrusted user cannot override a setting → https://git.io/fjzoS
<{^_^}> [nix] @grahamc pushed 2 commits to master: https://git.io/fj2FF
mexisme has joined #nixos
<{^_^}> [nixpkgs] @FRidh pushed 5 commits to python-unstable: https://git.io/fj2FA
toppler has joined #nixos
<{^_^}> [nixpkgs] @FRidh merged pull request #63146 → python3Packages.cmd2: 0.9.12 -> 0.9.13 → https://git.io/fj2dK
lambda-11235 has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @FRidh pushed commit from @teto to master « python3Packages.cmd2: 0.9.12 -> 0.9.13 »: https://git.io/fj2be
knupfer has joined #nixos
<{^_^}> [nixpkgs] @FRidh merged pull request #63106 → cocoapods: 1.7.1 -> 1.7.2 → https://git.io/fj2gI
<{^_^}> [nixpkgs] @FRidh pushed commit from @lilyball to master « cocoapods: 1.7.1 -> 1.7.2 »: https://git.io/fj2bI
Thra11 has joined #nixos
<{^_^}> [nixpkgs] @FRidh closed pull request #63080 → pip: 19.0.3 -> 19.1.1 → https://git.io/fj2ce
<{^_^}> [nixpkgs] @FRidh pushed 2 commits to python-unstable: https://git.io/fj2bm
<{^_^}> [nixpkgs] @FRidh pushed 2 commits to python-unstable: https://git.io/fj2bO
lambda-11235 has joined #nixos
<{^_^}> [nixpkgs] @FRidh merged pull request #62889 → Staging next → https://git.io/fjzb2
<{^_^}> [nixpkgs] @FRidh pushed 93 commits to master: https://git.io/fj2b3
<gchristensen> FRidh++
<{^_^}> FRidh's karma got increased to 3
<{^_^}> [nixpkgs] @FRidh merged pull request #62245 → Python package set → https://git.io/fj0g4
<{^_^}> [nixpkgs] @FRidh pushed 115 commits to staging: https://git.io/fj2bG
<{^_^}> [nixpkgs] @FRidh pushed 141 commits to staging-next: https://git.io/fj2bC
ericsagnes has joined #nixos
<{^_^}> [nixpkgs] @FRidh opened pull request #63149 → Staging next → https://git.io/fj2bW
<{^_^}> [nixpkgs] @Lassulus merged pull request #62872 → clinfo: init at 2.2.18.04.06 → https://git.io/fjzHN
<{^_^}> [nixpkgs] @Lassulus pushed commit from @athas to master « clinfo: init at 2.2.18.04.06 »: https://git.io/fj2bl
<{^_^}> [nixpkgs] @FRidh pushed 11 commits to staging: https://git.io/fj2b8
adamantium has joined #nixos
<marek> aanderse: well, not really - we use it at work and I need the proxy :)
<{^_^}> [nixpkgs] @FRidh merged pull request #62859 → nvidia-x11: Set 32-bit library paths for 32-bit libraries. → https://git.io/fjz1R
<{^_^}> [nixpkgs] @FRidh pushed commit from @ambrop72 to master « nvidia-x11: Set 32-bit library paths for 32-bit libraries. »: https://git.io/fj2bB
lambda-11235 has quit [Ping timeout: 248 seconds]
Thra11 has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @FRidh merged pull request #62923 → fuse-overlayfs: 0.3 -> 0.4 → https://git.io/fjgTX
NinjaTrappeur has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @FRidh pushed commit from @dtzWill to master « fuse-overlayfs: 0.3 -> 0.4 »: https://git.io/fj2bR
<{^_^}> [nixpkgs] @FRidh merged pull request #62924 → cni-plugins: 0.8.0 -> 0.8.1 → https://git.io/fjgT1
<{^_^}> [nixpkgs] @FRidh pushed commit from @dtzWill to master « cni-plugins: 0.8.0 -> 0.8.1 »: https://git.io/fj2b0
<{^_^}> [nixpkgs] @FRidh closed pull request #62781 → pythonPackages.tables: 3.4.4 -> 3.5.2 → https://git.io/fjzYI
<{^_^}> [nixpkgs] @FRidh merged pull request #63055 → makemkv: 1.14.3 -> 1.14.4 → https://git.io/fj2Ye
<{^_^}> [nixpkgs] @FRidh pushed commit from @danieldk to master « makemkv: 1.14.3 -> 1.14.4 »: https://git.io/fj2bu
ericsagnes has quit [Ping timeout: 258 seconds]
lewo has joined #nixos
lambda-11235 has joined #nixos
NinjaTrappeur has joined #nixos
<{^_^}> [nixpkgs] @pSub pushed to master « opkg: 0.4.0 -> 0.4.1 »: https://git.io/fj2br
ambro718 has joined #nixos
Jetien_ has joined #nixos
<ambro718> How do I make nix download the source code for a package?
<clever> ambro718: pkgs.fetchurl
<ambro718> I could download it myself but the url is dead.
<ambro718> I need to download the cached source file.
<clever> ambro718: if you know the /nix/store/path, just run nix-store -r /nix/store/path
<ambro718> never mind, I'll just make a trivial change to the package
psy3497 has quit [Ping timeout: 245 seconds]
lambda-11235 has quit [Quit: Bye]
Thra11 has joined #nixos
thc202 has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @Lassulus merged pull request #57851 → reuse: init at 0.3.4 → https://git.io/fjvKk
<{^_^}> [nixpkgs] @Lassulus pushed commit from @FlorianFranzen to master « reuse: init at 0.3.4 »: https://git.io/fj2b1
ericsagnes has joined #nixos
<gentauro> is there anywhere in `/etc/nixos/configuration` to enable docker? (I don't seem to be fine a guide to do so)
<clever> gentauro: `man configuration.nix` and then `/docker`
<gentauro> clever: thx
<makefu> gentauro: there is also https://nixos.org/nixos/options.html#docker.
<gentauro> makefu: yeah, it's more or less what's written in the manual
knupfer has quit [Remote host closed the connection]
adamantium has quit [Ping timeout: 248 seconds]
<gentauro> nevertheless, it's quite not what I'm looking for ...
<clever> gentauro: what are you looking for?
<tokudan> could someone merge this security fix into 19.03? it's a cherry-pick from master. https://github.com/NixOS/nixpkgs/pull/63141
<{^_^}> #63141 (by tokudan, 11 hours ago, open): znc: 1.7.2 -> 1.7.3 Security, 19.03
<gentauro> clever: nevermind. I added `virtualisation.docker.enable = true;` to the /etc/nixos/configuration and then added `docker` to environment.systemPackages and added the "docker" userGroup to my user
m0rphism has joined #nixos
<clever> gentauro: you dont have to add docker to systemPackages
adamantium has joined #nixos
<gentauro> oh
<gentauro> clever: I wonder how much "unnecesary" stuff I have in my configuation.nix file :|
<{^_^}> [nixpkgs] @Izorkin opened pull request #63150 → nixos/tests/prosody: update prosody tests → https://git.io/fj2b7
Thra11 has quit [Ping timeout: 246 seconds]
zupo has joined #nixos
<{^_^}> [nixpkgs] @JohnAZoidberg opened pull request #63151 → perlPackages.SysCPU: remove broken attribute → https://git.io/fj2bp
jgt has joined #nixos
vidbina has joined #nixos
<gchristensen> angerman: #nixos-aarch64
arjen-jonathan has joined #nixos
<{^_^}> [nixpkgs] @jtojnar merged pull request #63122 → flatpak: Preserve pixbuf path in validate-icon → https://git.io/fj2Ko
<{^_^}> [nixpkgs] @jtojnar pushed 3 commits to master: https://git.io/fj2Nf
juhe has quit [Quit: Leaving.]
Ariakenom has joined #nixos
fendor has joined #nixos
InFlames has joined #nixos
ris has joined #nixos
<eyJhb> clever: so far the pageflip disable trick does not work.. :(
<clever> eyJhb: :(
<Izorkin> https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/services/web-servers/phpfpm/default.nix#L25 how to replace listen = ${p.listen} to listen = /run/phpfpm-${pool}/${p.listen}
<eyJhb> Will try and see, if it makes a difference using the newest displaylink now. If it wanted to build for me.. :p
<clever> Izorkin: it accepts a string, so you could just set listen = "/run/phpfpm-something/something"; but automating it would require changing nixpkgs, or using disabledModules
<Izorkin> clever: my rewrite modules phpdpm with run no-root mode
Makaveli7 has joined #nixos
<Izorkin> *phpfpm
<aanderse> Izorkin: also of note is that a *huge* number of nixos modules assume that hard coded formula, so if you're thinking to change it you will need to update them all... :(
__monty__ has joined #nixos
<eyJhb> clever: any clue about.. this.. error (none) - https://termbin.com/4p0x
<aanderse> Izorkin: yeah i was very happy to see that PR by you, i hope you will continue with it
<clever> eyJhb: run `nix-store -r /nix/store/hv25mq89vxlk7cd1cy29h4szxysxm2kq-displaylink.zip.drv`
<Izorkin> aanderse: there are variants?
<clever> eyJhb: nix show-derivation /nix/store/hv25mq89vxlk7cd1cy29h4szxysxm2kq-displaylink.zip.drv | jq
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<aanderse> no. i mean every service which uses phpfpm is assuming that fixed location. there are many services which use phpfpm. they would all need to be updated to reflect a change like that
<eyJhb> jq?
<eyJhb> ,locate jq
<{^_^}> Found in packages: cheat, jq.bin, jq.doc
<clever> eyJhb: jq is in jq
<aanderse> Izorkin: definitely something that can be done, just something i wanted to mention
<clever> eyJhb: cat /nix/store/llxigm79n56rss7x4ka09a601im9zyk2-restrict-message
<{^_^}> [nixpkgs] @FRidh merged pull request #63100 → drop unmaintained phabricator package, service, and httpd subservice → https://git.io/fj2uU
<{^_^}> [nixpkgs] @FRidh pushed 6 commits to master: https://git.io/fj2Nr
<eyJhb> Just says the same. It seems like the .zip files doesn't exist?
<Izorkin> aanderse: you need to redo the service first. I can't deal with /run/phpfpm-${pool}/${p.listenName} - error - undefined variable 'pool'
<eyJhb> Readded displaylink.zip, seems to have fixed it
<eyJhb> Trying to reboot now
<clever> eyJhb: it looks like a very poorly written pkgs.requireFile
<clever> the entire msg telling you what to do it missing
<eyJhb> clever: yeah, it might not have set it in my overlay or something.. Buuuut, the fix doesn't work
<eyJhb> My content of /etc/X11/xorg.conf is - https://termbin.com/6hvv
<eyJhb> Which should be what they said would fix it
arjen-jonathan has quit [Ping timeout: 252 seconds]
<clever> eyJhb: there are no `Section "Screen"` that refer to the device called DisplayLink
<clever> eyJhb: you need to add it to the existing modesetting device, up a ways
b has joined #nixos
<eyJhb> clever: can you give me a example of what to add extra ?
<clever> eyJhb: services.xserver.deviceSection = ''Option "PageFlip" "false"'';
<clever> i think
<eyJhb> And then, just remove what I have now in my xserver.config? Or keep that?
<clever> and remove the other PageFlip you had added
<eyJhb> clever: no dice
<eyJhb> COnfig - https://termbin.com/ve58
<eyJhb> Tried both versions of displaylink
<eyJhb> and evdi
<clever> eyJhb: what does the xorg journal say?
<clever> journalctl -u display-manager.service
<eyJhb> Nothing pretty much - Last log entry is 31 December
<clever> eyJhb: thats strange
Matthieu_ has joined #nixos
<eyJhb> Wait
<eyJhb> I might be stupid
Jetien_ has quit [Ping timeout: 248 seconds]
<eyJhb> clever: yes, just me being stupid.. :p https://termbin.com/mcbd
<eyJhb> The current boot does not work
<clever> eyJhb: yeah, not much of use there
Jetien_ has joined #nixos
toppler has quit [Ping timeout: 258 seconds]
<tA_> howdy, im running fc-list, grepping for tewi (from tewi-font) and im only seeing a bold entry, but xfontsel is showing the regular one as an option, is there something else i have to do to get the regular? i checked the derivation in case it was an extra option but I dont think it is
<eyJhb> Nope.. And, no logs that indicate why pretty much....
<eyJhb> The only thing I have found to be working, is downgrading
<{^_^}> [nixpkgs] @flokli opened pull request #63153 → windows.mingwrt: fix src url → https://git.io/fj2Nd
<clever> services.xserver.verbose
<clever> eyJhb: crank that up and see what the logs say
<{^_^}> [nixpkgs] @FRidh merged pull request #63120 → wallabag: 2.3.7 -> 2.3.8 → https://git.io/fj2r6
<{^_^}> [nixpkgs] @FRidh pushed commit from @schneefux to master « wallabag: 2.3.7 -> 2.3.8 »: https://git.io/fj2Nh
dansho has quit [Quit: Leaving]
knupfer has joined #nixos
<eyJhb> clever: but what are we debugging here? Wheter or not pageflip is enabled/disabled? - Because, it should be displaylink that says useful stuff, but it can't
<aanderse> Izorkin: is line 36 ok? specifically the cfg.pools.${pool} part?
toppler has joined #nixos
<eyJhb> Trying with 10
<Izorkin> aanderse: yes, correct. Different does not work. Is there another variant?
<eyJhb> clever: Tried setting it to 10, which logs should I check?
[Leary] has joined #nixos
thc202 has joined #nixos
Lears has quit [Read error: No route to host]
<clever> eyJhb: the journal still
aanderse-znc has joined #nixos
aanderse has quit [Ping timeout: 245 seconds]
<eyJhb> clever: nothing in it, if it is the same command
linarcx has quit [Quit: WeeChat 2.4]
aanderse-znc is now known as aanderse
linarcx has joined #nixos
nilsirl[m] has joined #nixos
<aanderse> marek: if you need a hand with anything in that zabbix pr let me know :)
<m1cr0man> Hi folks. I'm trying to build a derivation which has a jar-based setup program. It's giving me an UnknownHostException but I can resolve the URL on the host fine from the prompt. What do I need to add? Here's the deriv. so far https://github.com/m1cr0man/nix-configs/blob/newmc/services/spigot.nix
Ariakenom has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @petabyteboy opened pull request #63154 → zfs: 0.8.0 -> 0.8.1 → https://git.io/fj2AI
<symphorien> m1cr0man: derivations are built in a sandbox where network is not accessible
<m1cr0man> ah.. ok :P Can I make it available? Or is this just the wrong way to do this full stop.
<clever> m1cr0man: if possible, download the files using pkgs.fetchurl, and then tell BuildTools.jar to use the pre-downloaded copies
<m1cr0man> Ok will check if that's possible. If not I might set up a build job on a CI and upload the compiled jar to my S3
kim0 has joined #nixos
<clever> m1cr0man: you can do the same thing as fetchcargo, and just make your whole thing fixed-output
Guanin has joined #nixos
<clever> m1cr0man: also, line 10, you want buildInputs = [ git jdk ];
<clever> that will add it to PATH for you
<m1cr0man> oh cool ok
<{^_^}> [nixpkgs] @timokau opened pull request #63155 → vimPlugins: update → https://git.io/fj2Ac
<{^_^}> [nixpkgs] @romildo merged pull request #62994 → cbatticon: 1.6.8 -> 1.6.9 → https://git.io/fjgMV
<{^_^}> [nixpkgs] @romildo pushed 2 commits to master: https://git.io/fj2AW
pie__ has joined #nixos
JosW has joined #nixos
adamantium has quit [Ping timeout: 250 seconds]
o1lo01ol1o has joined #nixos
iyzsong has joined #nixos
<clever> m1cr0man: also, line 4 didnt do anything of use
zupo has joined #nixos
alex`` has joined #nixos
contrapumpkin has joined #nixos
<m1cr0man> Yeah I just removed it when I added buildInputs there. I've learned now how the resolution of pkgs works.
<m1cr0man> I'm simultaneously trying to figure out node packages in another branch :P
<clever> [ERROR] Could not create local repository at /home/clever/.m2/repository -> [Help 1]
<clever> m1cr0man: weird, how did it get that path
orivej has joined #nixos
<FRidh> maven typically needs that path when developing a java project
<clever> FRidh: but this was in the nix sandbox, running as nixbld1, with HOME explicitly set
<clever> [ERROR] Could not create local repository at /var/empty/.m2/repository -> [Help 1]
<clever> thats better
<clever> m1cr0man: you may be interested in https://github.com/mcpkg/gradle2nix
sb0 has joined #nixos
<clever> m1cr0man: oh, and this is basically doing exactly what i said to do an hour ago
<{^_^}> [nixpkgs] @Izorkin opened pull request #63156 → phpfpm: do not run anything as root → https://git.io/fj2AK
<Izorkin> aanderse: create PR
jtojnar has joined #nixos
rfold has joined #nixos
linarcx has quit [Quit: WeeChat 2.5]
linarcx has joined #nixos
Ariakenom has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
domogled has joined #nixos
o1lo01ol1o has quit [Ping timeout: 268 seconds]
Makaveli7 has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @grahamc merged pull request #63153 → windows.mingwrt: fix src url → https://git.io/fj2Nd
<{^_^}> [nixpkgs] @grahamc pushed 2 commits to master: https://git.io/fj2Ab
linarcx has quit [Quit: WeeChat 2.5]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
rfold has quit [Ping timeout: 268 seconds]
halogenandtoast has joined #nixos
<halogenandtoast> Is there a channel specific to nixpkgs?
<manveru> halogenandtoast: you're in it :)
<manveru> given that nixos is part of nixpkgs
seku has joined #nixos
JosW has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
o1lo01ol1o has joined #nixos
<halogenandtoast> Ah, thanks, well then, does anyone know how to resolve this (using osx): https://gist.github.com/halogenandtoast/aa553b4ea86e1f97268eb626bd7135c7
<{^_^}> [nixpkgs] @marsam merged pull request #63041 → eksctl: init at 0.1.35 → https://git.io/fj2Tk
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/fj2xU
<zacts> ivan: re: # nixos-rebuild switch -I nixpkgs=/path/to/my/nixpkgs. This was in the NixOS manual. I'll test it out.
<manveru> halogenandtoast: which commit of nixpkgs are you using?
<manveru> halogenandtoast: and can you show the default.nix you're trying to build?
<halogenandtoast> manveru: updated to include my default.nix
zupo has joined #nixos
civodul has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
<sonercirit[m]> do we have ungoogled chromium in the repo?
<manveru> sonercirit[m]: doesn't look like it
xkapastel has joined #nixos
<manveru> my ungoogled chromium is firefox :P
<pbb> How do I make the NixOS networking scripts work after using ip=dhcp for networking in initramfs?
<sonercirit[m]> same :D but I do my testing for development on ungoogled chromium instead of chromium
<clever> pbb: there is an option already to just run dhcp in the initrd, so you dont need ip=dhcp
<alex``> how to make Puppeteer working?
jgt has quit [Ping timeout: 250 seconds]
<alex``> I cannot run Chrome testing the basic example
<halogenandtoast> manveru: did anything seem off after I added the default.nix, I am pretty sure I am using the latest version of nixpkgs
o1lo01ol1o has quit [Ping timeout: 245 seconds]
<manveru> i assume the darwin version is broken
romildo has joined #nixos
<{^_^}> [nix-mode] @j-piecuch opened pull request #80 → SMIE tweaks & bug fixes → https://git.io/fj2x8
<manveru> you can maybe open an issue on nixpkgs for it, i don't have a darwin machine to test, or the time to build haskell atm :P
nD5Xjz_ has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<halogenandtoast> manveru: no worries, thanks though
tilpner has joined #nixos
shibboleth has joined #nixos
<romildo> I want to run audacity (multi-track audio editor and recorder) on NixOS unstable, but I am not getting sound output.
<clever> romildo: does it appear in pavucontrol ?
<romildo> Any clues on how to get it working?
wfranzini has quit [Remote host closed the connection]
wfranzini has joined #nixos
<romildo> clever, no
<clever> romildo: does it print anything to stdout?
seku has quit [Remote host closed the connection]
<marek> aanderse: I might, I think I'm very close :) the last thing to solve is to include passwordFile with configFile, any idea? I cannot find any examples of this
o1lo01ol1o has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
<pbb> clever: ok I just removed the ip=dhcp and indeed dhcp in initramfs still works, but networking scripts don't start because "Timed out waiting for device /sys/subsystem/net/devices/eth1."
<pbb> (the devices don't get renamed either)
mian has joined #nixos
<pbb> eth1: Failed to rename network interface 3 from 'eth1' to 'enp2s0': Device or resource busy
<pbb> maybe because it's up?
<clever> pbb: i'm not sure renaming works when using initrd networking
<clever> pbb: networking.usePredictableInterfaceNames = false; will just not rename it
<pbb> ok, thanks
<romildo> clever, here is what audacity is writing to the terminal: http://dpaste.com/37CRQJF
<clever> romildo: is hardware.pulseaudio.enabled = true; ?
<romildo> clever, yes, it is.
<clever> romildo: it looks like audacity isnt using the pulse device within alsa
rfold has joined #nixos
o1lo01ol1o has joined #nixos
o1lo01ol1o has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @FRidh merged pull request #63118 → nodejs: make v10 the default → https://git.io/fj2w6
<{^_^}> [nixpkgs] @FRidh pushed commit from @wmertens to master « nodejs: make v10 the default »: https://git.io/fj2xK
<{^_^}> [nixpkgs] @timokau merged pull request #63155 → vimPlugins: update → https://git.io/fj2Ac
<{^_^}> [nixpkgs] @timokau pushed to master « vimPlugins: update (#63155) »: https://git.io/fj2xi
<aanderse> marek: yeah, one sec, few examples exist
<aanderse> * a few examples exist
<aanderse> note line 17, followed by 310-314
<aanderse> though... i thought i saw brief mention of an "include" directive in zabbix config, in which case that would be *much* better
jophish has joined #nixos
ris has quit [Ping timeout: 244 seconds]
seku has joined #nixos
<aanderse> marek: not sure if this is applicable to all versions you have, but https://gist.github.com/zunkree/7385258#file-zabbix_proxy-conf-L469 would be a great way to handle passwordFile if so :)
<marek> aanderse: can I ask the user to make the file in the DBPassword = <> format?
<pbb> clever: ok disableing predictable interface names mostly worked, but I prefer another solution: I will remove the ips and set down the interfaces in postBootCommands, so they can be initialized cleanly
<marek> aanderse: I guess ideally it would contain only the password right?
<clever> pbb: that also works, if you can afford the network being down
<clever> pbb: depends on if its just for luks, or a whole nfs root
<pbb> it's for unlocking a zfs encrypted pool
<Guanin> clever Regarding the openvpn-initrd module: I resolved the /bin/ip problem by adding "iproute /bin/ip" to the openvpn config. The command line switch available by openvpn somehow did not work
<clever> Guanin: ah, nice
<Guanin> I also cleaned up the options and think that it is nearly suitable to be PR'd :)
<Guanin> I'm just cleaning up the documentation right now
<Guanin> Is there some tag that I can use to reference other options? So something like <literal> or <option>?
<Guanin> Or is <option> already the proper tag for that?
jtojnar has quit [Read error: Connection reset by peer]
<clever> Guanin: dont remember, but could just grep the entire nixpkgs for examples
<aanderse> marek: it is your module, you're free to do whatever you see fit
<aanderse> but you're right, ideally the file would only contain the password
jtojnar has joined #nixos
<aanderse> as that would be more consistent with the rest of nixos modules
<aanderse> which means a little bit more work on your part
<aanderse> hmm
<marek> aanderse: I did not like the redmine way at first, but I think there is no better way
<aanderse> marek: yeah that way is horrible
<aanderse> but used sometimes because no other option
<aanderse> now that i think about it
<aanderse> there might be a module or two which ask for credentials to be in a specific format
<aanderse> yeah put a note in the description of password file to specify the password as zabbix would expect
<aanderse> it will keep the module code so simple
<aanderse> see if any reviewer complains :)
jgt has joined #nixos
<romildo> clever, any other clue on fixing audacity sound output?
<clever> romildo: testing it on this end...
<marek> aanderse: argh, the configuration from upstream is world-readable by default :) oh
<clever> romildo: which platback device are you selecting within audacity?
jgt has quit [Ping timeout: 250 seconds]
<Guanin> Huh, is there a way of creating a temporary file to include it in boot.initrd.secrets from a string? (Basically a pkgs.writeText that is not added to the store)
<marek> aanderse: actually, writeTextFile nixpkgs function does that - is has the executable ? but not readable
<clever> Guanin: i believe it must be a file that already exists, only nixops is able to extract strings
<aanderse> writeTextFile will be world readable
<Guanin> Okay, that it might be better to add the ovpn configuration as types.path instead of types.lines :)
<aanderse> and its ok if the configuration file for zabbix is world readable... so long as the (password) include file it references is not
Jetien_ has quit [Ping timeout: 245 seconds]
<romildo> clever, in Preferences->Devices the only option for interface host is ALSA, and the playback devices are only hdmi ones and default.
Matthieu_ has quit [Ping timeout: 248 seconds]
<clever> romildo: on my end, i see a default device
<{^_^}> Channel nixpkgs-19.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/f1707d88752 (from 6 hours ago, history: https://channels.nix.gsc.io/nixpkgs-19.03-darwin)
<clever> romildo: do you see default in /etc/asound.conf?
mexisme has quit [Ping timeout: 248 seconds]
<romildo> clever, the devices preferences: https://pasteboard.co/IjxnAip.png
<clever> romildo: set platback to default, at the very bottom
<marek> aanderse: I went the sed way after all, I told myself it's probably better have it little bit uglier on our side than on the user facing side
<romildo> clever, here is /etc/asound.conf: http://dpaste.com/2RBH5YM
<aanderse> marek: sounds good
b has quit [Quit: Lost terminal]
<{^_^}> [nixpkgs] @athas opened pull request #63159 → oclgrind: init at 18.3. → https://git.io/fj2pL
<{^_^}> [nixpkgs] @basvandijk opened pull request #63160 → opencv: 4.0.1 -> 4.1.0 → https://git.io/fj2pt
<clever> romildo: set platback to default, at the very bottom
<aanderse> marek: are you using the zabbix web frontend at all? and if so, are you using services.httpd.extraSubservices = [ { type = "zabbix"; } ]; ?
<romildo> clever, the default is working. But I was quite sure it was not previously. Now I am puzzled.
dckc-ho has joined #nixos
mumuluxi has joined #nixos
<dckc-ho> I'm struggling to install idris with pruviloj. The docs say `nix-env -iE 'pkgs: pkgs.idrisPackages.with-packages (with pkgs.idrisPackages; [ contrib pruviloj ])'` but I get: error: attribute 'idrisPackages' missing, at (string):1:7
wucke13 has joined #nixos
<clever> dckc-ho: nix-env doesnt pass you pkgs, it passes you an attrset containing all channels
<dckc-ho> OTOH, the nix-shell command documented there works.
<dckc-ho> clever, I'm not sure how to apply that clue. care to elaborate?
<clever> [clever@amd-nixos:~]$ nix-env --dry-run -iE '{ nixos, ... }: (nixos {}).hello'
<clever> dckc-ho: this will load the channel called nixos, and then get hello from it
<clever> [clever@amd-nixos:~]$ nix-env --dry-run -iE '{ nixos, ... }: let pkgs = nixos {}; in pkgs.hello'
<clever> dckc-ho: and this is a bit simpler, just replace the pkgs.hello
justbeingglad has joined #nixos
<dckc-ho> error: anonymous function at (string):1:1 called without required argument 'nixos',
<romildo> clever, thanks.
<clever> dckc-ho: that assumes your channel is called nixos, `nix-channel --list` to see all channels
<dckc-ho> this seems to work: nix-env --dry-run -iE '{ nixpkgs, ... }: (nixpkgs {}).hello'
justbeingglad has left #nixos [#nixos]
<dckc-ho> clever, do the docs at https://nixos.org/nixpkgs/manual/#idris-packages look right to you?
<clever> dckc-ho: yeah, that looks wrong, nix-env is weird and often doesnt work the same way as all the other nix tools
<marek> aanderse: nah, sadly our main zabbix server is still running on RHEL, but we will migrate to nixos that one too
<marek> aanderse: with the knowledge I got from writing the proxy module, if that works fine, I will rewrite the server as well
<dckc-ho> flailing around...
<dckc-ho> $ nix-env -iE '{ nixpkgs, ...}: nixpkgs.idrisPackages.with-packages (with nixpkgs.idrisPackages; [ contrib pruviloj ])'
<dckc-ho> error: value is a function while a set was expected, at (string):1:18
endformationage has joined #nixos
<clever> dckc-ho: nixpkgs is the path to nixpkgs, not the package set
<clever> dckc-ho: thats why i imported it
<marek> aanderse: honestly, thank you so much for that review, I learned so much from it
<dckc-ho> imported? where?
<aanderse> marek: awesome, i'm so glad to hear :D
<clever> dckc-ho: the `import nixos {}`
jtojnar has quit [Quit: jtojnar]
iyzsong has quit [Ping timeout: 248 seconds]
<clever> dckc-ho: that imports the file at that path, and then calls the function with no args
<clever> dckc-ho: you want `pkgs = import nixpkgs {}`
wfranzini has quit [Remote host closed the connection]
<aanderse> marek: i'm looking to get rid of the zabbix http subservice and replace it with a real module, i'll ping you when i get around to it (as i have zero zabbix experience)
wfranzini has joined #nixos
<marek> aanderse: yes, please do
<marek> aanderse: (my pr is updated)
<{^_^}> Channel nixos-19.03-small advanced to https://github.com/NixOS/nixpkgs/commit/f1707d88752 (from 7 hours ago, history: https://channels.nix.gsc.io/nixos-19.03-small)
<dckc-ho> still flailing... I'd rather use nix-shell than nix-env, but i haven't figured out how to get emacs idris mode to notice nix-shell settings. direnv looked promising; maybe I'll try again.
<dckc-ho> latest try:
<dckc-ho> nix-env -iE '{ nixpkgs, ...}: let pkgs = import nixpkgs {}; in pkgs.idrisPackages.with-packages (with nixpkgs.idrisPackages; [ contrib pruviloj ])'
<dckc-ho> error: cannot coerce a function to a string, at (string):1:29
<clever> dckc-ho: your using nixpkgs in the with block, that is of type path
<clever> dckc-ho: you want pkgs in the with block
<dckc-ho> same error: nix-env -iE '{ nixpkgs, ...}: let pkgs = import nixpkgs {}; in pkgs.idrisPackages.with-packages (with pkgs.idrisPackages; [ contrib pruviloj ])
<marek> how can I import nixos/tests on my workstation to run my own specific tests (based on my own configration, not related to nixpkgs)?
<clever> dckc-ho: also, i find using -E with nix-env to be a source of problesm for other reasons
<clever> dckc-ho: 4 months later, when you want to upgrade idris, youll need to figure this all out again
<clever> dckc-ho: its much simpler to make an override in config.nix, then just nix-env -iA nixpkgs.idris-things
<dckc-ho> I'm more comforable with shell.nix, something evident in this directory, instead of global config.nix
* dckc-ho tries to get direnv, emacs, and nix-shell to play nice again...
<clever> dckc-ho: yeah, i also prefer having it in the current dir, and to just never install dev time tools, nix-shell all the way
<dckc-ho> there's a movement to shrink the python stdlib; I think they're ignoring this sort of "just install one extra package" friction
<dckc-ho> clever, do you use emacs?
<clever> dckc-ho: vim
<{^_^}> [nixpkgs] @jtojnar merged pull request #63124 → gnome3.gnome-control-center: Add mutter to dependencies → https://git.io/fj26r
<{^_^}> [nixpkgs] @jtojnar pushed 2 commits to master: https://git.io/fj2pR
<simpson> dckc-ho: Oh, trust me, Python folks have been aware of the problem for a *long* time; it's more that there's certain dysfunctions within Python core, one of which is the inability to comprehend extensions of systems/applications.
<simpson> python.withPackages isn't a panacea, but it's not bad either.
ericsagnes has quit [Ping timeout: 248 seconds]
Matthieu_ has joined #nixos
<clever> simpson: a bigger problem in nix+python, is dynamic libraries
<simpson> clever: Like, using ctypes or cffi to load DSOs?
toppler has quit [Ping timeout: 248 seconds]
<clever> simpson: you sometimes need to patchelf/LD_LIBRARY_PATH, but you cant patchelf the python proc, and you dont even control the things depending on you to patch it right
<simpson> clever: Huh, TIL. Is that a problem with PyPy too, or just CPython?
sb0 has quit [Ping timeout: 245 seconds]
Jetien_ has joined #nixos
<clever> any time your loading a compiled library and not giving an absolute path
<clever> it will search the LD_LIBRARY_PATH and RPATH of the python binary
<clever> but if somebody is depending on your library, they wont think to wrap python and fix that
<clever> and then everything fails
<{^_^}> [nixpkgs] @jtojnar opened pull request #63161 → gnome3.geary: add libunity → https://git.io/fj2po
<{^_^}> [nix] @edolstra pushed 3 commits to master: https://git.io/fj2p6
<dckc-ho> what do I use for buildInputs in my shell.nix? (following the style in https://ariya.io/2016/06/isolated-development-environment-using-nix ).
<dckc-ho> idrisPackages.with-packages (with idrisPackages;
<dckc-ho> [ contrib pruviloj ])
<clever> dckc-ho: wrap it in parans
<dckc-ho> ok... winning
<dckc-ho> (well, except that I'm downloading 80% of all open source software ever developed again because I did `nix-channel --update` while I was flailing)
<dckc-ho> odd that idris has a runtime dependency on gcc
<zacts> ivan: the -I switch doesn't seem to work for me.
joapet99 has joined #nixos
<clever> dckc-ho: `nix why-depends /path/to/idrsi /path/to/gcc`
<chrisaw> What's the standard way to version a nix pkg when it's being built directly from git and that repo has no tags or versions defined?
<infinisil> dckc-ho: It's expected, it uses C as its backend compiler
<clever> chrisaw: the date of the commit
<zacts> ivan: I'll stick with your method, but the -I switch is what is included in the NixOS manual.
<dckc-ho> ah! that does make sense
<chrisaw> @clever
<chrisaw> @clever Thank you sir! Exactly what I needed! :)
<pie__> chrisaw, if you have a question, the tooling is usually there...somewhere...[CITATION NEEDED]
<infinisil> dckc-ho: Feel free to ping me if you have any trouble with idris and nix btw
toppler has joined #nixos
halogenandtoast has quit [Ping timeout: 258 seconds]
<ivan> zacts: what do you see with the -I?
<zacts> ivan: I don't see any other output, except that it's building the older firefox
<chrisaw> Is there a particular date format you use as a standard? YYYY-MM-DD I'm guessing but just confirming.
<zacts> when I do it via your method, it builds with the newer firefox
<clever> zacts: what was the start of the output?
<clever> chrisaw: yeah
<zacts> let me run the command again
<dckc-ho> infinisil, the biggest trouble I see is that the nix manual has a bogus nix-env command for installing idris with packages
<clever> infinisil: nix-env -E doesnt work the way the manual thinks it does
<dckc-ho> that's not blocking me just now, but it's a poor invitation for the next guy
<infinisil> Ahh darn, I didn't fix that eh
<clever> zacts: its nixpkgs=/path/to/nixpkgs
<infinisil> Yeah indeed
<clever> zacts: your telling it to look for nixpkgs, in /home/zacts/git/nixpkgs, and /home/zacts/git/nixpkgs/nixpkgs doesnt exist
<joapet99> It may seem like the creation of a win64 prefix with wineWowPackages.full doesn't finish correctly. "/nix/store/br5l8n88by98ks4h6zk5lg0hyy5565by-wine-wow-4.0/bin/wine: not an ELF binary... don't know how to load it"
<joapet99> The syswow64 folder ends up empty
<joapet99> Can anyone confirm this?
<zacts> oh
jasongrossman has joined #nixos
<zacts> let me try this again
<zacts> clever: yes, and your version is what is in the manual too.
<zacts> yep, now it's working for me
sb0 has joined #nixos
<zacts> thanks
<clever> your welcome
<infinisil> dckc-ho: Can you quickly confirm something for me? If you put `self: super: { myIdris = with self.idrisPackages; with-packages [ contrib pruviloj ]; }` in ~/.config/nixpkgs/overlays/my-idris.nix, can you install that with `nix-env -iA nixos.myIdris`?
jgt has joined #nixos
<marek> aanderse: I'm not sure why did that ofborg eval failed, I cannot find if it's related to my change
joapet99 has quit [Quit: Leaving]
jgt has quit [Ping timeout: 250 seconds]
knupfer has quit [Ping timeout: 248 seconds]
<{^_^}> [nixpkgs] @basvandijk opened pull request #63162 → opencv: 3.4.5 -> 3.4.6 → https://git.io/fj2pN
<dckc-ho> infinisil, no: error: attribute 'nixos' in selection path 'nixos.myIdris' not fou
<infinisil> dckc-ho: Are you on NixOS?
<dckc-ho> no
<infinisil> dckc-ho: Then use nixpkgs.myIdris
<infinisil> nix-env -iA nixpkgs.myIdris
<dckc-ho> right... `nix-env -iA nixpkgs.myIdris` did something more interesting...
<infinisil> Alright cool, this works then
<infinisil> I'll open a PR with these doc fixes
zacts has quit [Quit: WeeChat 1.9.1]
v88m has joined #nixos
dontobey has quit [Ping timeout: 248 seconds]
<{^_^}> [nixpkgs] @Infinisil opened pull request #63163 → doc/idris: Fix install instructions → https://git.io/fj2pp
shibboleth has quit [Quit: shibboleth]
ryantrinkle has joined #nixos
<{^_^}> [nixpkgs] @kuznero opened pull request #63164 → grsync: init at 1.2.6 → https://git.io/fj2hv
<joepie91[m]> am I going mad, or is the pulseaudio-modules-bt package suddenly required for bluetooth audio in 19.03 whereas that was not the case in 18.09?
<joepie91[m]> I don't recall this being in the release notes...
Jetien_ has quit [Ping timeout: 248 seconds]
zacts has joined #nixos
<{^_^}> [nixops] @PsyanticY opened pull request #1165 → Adding destroy message when destroying containers → https://git.io/fj2hs
G0ld3nChi1d has joined #nixos
o1lo01ol1o has joined #nixos
o1lo01ol1o has quit [Ping timeout: 248 seconds]
m1911 has joined #nixos
<{^_^}> [nixpkgs] @Amarandus opened pull request #63165 → nixos/system/boot/initrd-openvpn: New openvpn options for initrd → https://git.io/fj2hR
<dckc-ho> yay! emacs and nix-shell are getting along via direnv
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/395da1280e8 (from 5 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
halogenandtoast has joined #nixos
kim0 has quit [Quit: Connection closed for inactivity]
G0ld3nChi1d has quit [Ping timeout: 248 seconds]
ris has joined #nixos
halogenandtoast has quit [Ping timeout: 252 seconds]
justanotheruser has joined #nixos
veske has joined #nixos
mthst has joined #nixos
jgt has joined #nixos
jgt has quit [Ping timeout: 248 seconds]
seku has quit [Remote host closed the connection]
veske has quit [Quit: This computer has gone to sleep]
Matthieu_ has quit [Ping timeout: 248 seconds]
ryantrinkle has quit [Ping timeout: 272 seconds]
<etu> dckc-ho: Yeah, it's amazing <3
<{^_^}> [nixpkgs] @jtojnar merged pull request #63161 → gnome3.geary: add libunity → https://git.io/fj2po
<{^_^}> [nixpkgs] @jtojnar pushed 2 commits to master: https://git.io/fj2jf
<{^_^}> [nixpkgs] @FRidh merged pull request #63021 → dbus: 1.12.14 -> 1.12.16 → https://git.io/fjgQz
<{^_^}> [nixpkgs] @FRidh pushed commit from @dtzWill to staging « dbus: 1.12.14 -> 1.12.16 »: https://git.io/fj2jU
<{^_^}> [nixpkgs] @FRidh merged pull request #63020 → nghttp2: 1.38.0 -> 1.39.1 → https://git.io/fjgQu
<{^_^}> [nixpkgs] @FRidh pushed commit from @dtzWill to staging « nghttp2: 1.38.0 -> 1.39.1 »: https://git.io/fj2jT
<{^_^}> [nixpkgs] @FRidh merged pull request #62850 → boehm-gc: remove libatomic_ops, guile: 2.2.3 -> 2.2.4 → https://git.io/fjz6Z
<{^_^}> [nixpkgs] @FRidh pushed 3 commits to staging: https://git.io/fj2jL
<{^_^}> [nixpkgs] @FRidh closed pull request #62217 → recurseIntoAttrs of coqPackages → https://git.io/fj038
m1911 has quit [Remote host closed the connection]
dontobey has joined #nixos
<{^_^}> [nixpkgs] @FRidh merged pull request #62967 → wine: 4.8 -> 4.9, 4.0 -> 4.0.1 → https://git.io/fjgcP
<{^_^}> [nixpkgs] @FRidh pushed commit from @avnik to master « wine: 4.8 -> 4.9, 4.0 -> 4.0.1 »: https://git.io/fj2jn
<PyroLagus> what are nixos's plans for python 2? will python 2 packages be deleted or marked insecure after EOL?
<infinisil> PyroLagus: I think the plan is to firstly make python 3 the default
<PyroLagus> it's not yet?
<PyroLagus> oh, it isn't. wow
<Izorkin> aanderse: full update PR, please check.
<FRidh> python attribute will either remain at python2 (python27) or be removed. Setting it to python3 is likely to break downstream codebases (although personally I think it's good to push 'm a bit)
<FRidh> For runtime python2 is hardly used, but for building it is more common.
<PyroLagus> hm
<FRidh> ugh, building stdenv takes too long.
<Izorkin> Please check PR #61671 #61722 #61816
<{^_^}> https://github.com/NixOS/nixpkgs/pull/61671 (by Izorkin, 4 weeks ago, open): nixos/mysql: fix mysqlReplication test
<{^_^}> https://github.com/NixOS/nixpkgs/pull/61722 (by Izorkin, 3 weeks ago, open): nginxModules.pinba: init at 13.05.2019
<{^_^}> https://github.com/NixOS/nixpkgs/pull/61816 (by Izorkin, 3 weeks ago, open): nginxMainline: 1.16.0 -> 1.17.0
<PyroLagus> well, i think it would be weird to maintain and patch python 2. that feels...debian-y
<{^_^}> [nixpkgs] @FRidh merged pull request #63015 → less: 530 -> 551 → https://git.io/fjgQ3
<{^_^}> [nixpkgs] @FRidh pushed commit from @dtzWill to staging « less: 530 -> 551 »: https://git.io/fj2jx
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/33a0ef8bb3e (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<FRidh> quite likely will be marked as insecure
<FRidh> at least when significant CVE's pop up
<Yaniel> joepie91[m]: seems like it does
<Yaniel> or at least switching to pulseaudioFull
<MichaelRaskin> Well, maybe someone wants to maintain Python2 using RedHat SRPMS after EOL…
jgt has joined #nixos
<simpson> PyroLagus, FRidh, MichaelRaskin: I will write my RFC this weekend. The basic idea: pythonPackages points to python3Packages, python2Packages points to pypyPackages, and we'll remove CPython 2.x in favor of PyPy.
<PyroLagus> ah
<FRidh> simpson: that I would be directly opposed to due to lack of compatibililty and bad state of pypyPackages
<simpson> FRidh: I am prepared to put in the time to fix the "bad state". The lack of compatibility is a grave that the Python community has dug for themselves over the past 15yrs, though, so that's not on my menu.
<FRidh> simpson: what do you gain by setting python2Packages = pypyPackages? It will only cause confusion, and lead to breakage. Then just remove pythonPackages as attribute if you want to break things.
jgt has quit [Ping timeout: 248 seconds]
<FRidh> improving pypyPackages would be nice
<simpson> FRidh: Well, as I see it, the choices are either PyPy, or no Python 2; there's no other suitable Python 2 interpreters IMO.
<FRidh> if we put in the effort it should be fine I think to build them on hydra, considering the python2 package set will be shrinking anyway
<FRidh> simpson: what is your motivation for having this? Do you need python2 for a longer period of time?
alex`` has quit [Ping timeout: 248 seconds]
<simpson> (I don't want to break anything; I want for the Numpy folks to have listened over a decade ago and stopped gluing themselves to CPython's internal APIs.)
<{^_^}> [nixpkgs] @ambrop72 opened pull request #63166 → libelf: Add patch to prevent -Wundef warnings. → https://git.io/fjaeq
<simpson> FRidh: Well, yeah. There's an entire massive Python 2 community with legacy code which isn't going anywhere next year.
<simpson> FRidh: https://morepypy.blogspot.com/2016/08/pypy-gets-funding-from-mozilla-for.html "PyPy's own position is that PyPy will support Python 2.7 forever---the RPython language in which PyPy is written is a subset of 2.7, and we have no plan to upgrade that."
alex`` has joined #nixos
<ivan> isn't pypy sufficiently different from cpython 2? different gc and heap size behavior
Guanin has quit [Remote host closed the connection]
<ivan> could see some things explode
<simpson> ivan: https://pypy.readthedocs.io/en/latest/cpython_differences.html "Some of these differences are “by design”, since we think that there are cases in which the behaviour of CPython is buggy, and we do not want to copy bugs."
<FRidh> even so, it will cause trouble
<simpson> Well, yes. CPython retiring their 2.x branch is causing lots of trouble for lots of folks.
<MichaelRaskin> Maybe enough of them to actually patch any bad holes for a long time in the future
vidbina has quit [Ping timeout: 246 seconds]
Orbstheorem has joined #nixos
<simpson> FRidh: Another thing about the PyPy community is that, unlike CPython, folks have *documented* differences and incompatibilities. There's an entire wiki about the trashiest and most common Python packages: https://bitbucket.org/pypy/compatibility/wiki/Home
dontobey has quit [Read error: Connection reset by peer]
dontobey has joined #nixos
<{^_^}> [nixpkgs] @FRidh pushed to staging « bison: 3.3.2 -> 3.4.1 »: https://git.io/fjaec
<{^_^}> [nixpkgs] @FRidh closed pull request #61791 → bison: 3.3.2 -> 3.4 → https://git.io/fj4s4
drakonis has joined #nixos
<{^_^}> [nixpkgs] @vbgl opened pull request #63167 → xastir: 2.1.0 -> 2.1.2 → https://git.io/fjaeW
Thra11 has joined #nixos
hoijui has joined #nixos
cantstanya has joined #nixos
bsima has joined #nixos
fendor has quit [Ping timeout: 272 seconds]
jasongrossman has quit [Quit: ERC (IRC client for Emacs 26.2)]
<{^_^}> [cabal2nix] @turboMaCk opened pull request #422 → Run hpack in prePatch phase → https://git.io/fjae6
hoijui has quit [Ping timeout: 250 seconds]
gratto has joined #nixos
<Yaniel> any schedule for defaulting to kernel 5.x on unstable?
Makaveli7 has joined #nixos
v88m has quit [Read error: Connection reset by peer]
v88m has joined #nixos
<etu> Yaniel: Whenever there's an LTS kernel on 5.x
<Yaniel> ah, so even unstable sticks to lts kernels?
<etu> yeah, if you want to you can use pkgs.linuxPackages_latest to always stick to latest
<Yaniel> doesn't seem like a good idea as long as I have an NVIDIA GPU
jgt has joined #nixos
<etu> You're totally correct about that, then you can pick pkgs.linuxPackages_5_0 or pkgs.linuxPackages_5_1 or so to be able to change when you feel like it
<{^_^}> [nixpkgs] @vcunat pushed 3 commits to master: https://git.io/fjaeh
<Yaniel> or I can get a better gpu :P
<Yaniel> have to do that anyway if I want to try wayland it seems
halogenandtoast has joined #nixos
o1lo01ol1o has joined #nixos
jgt has quit [Ping timeout: 248 seconds]
<{^_^}> [nixpkgs] @FRidh pushed 32 commits to python-unstable: https://git.io/fjavT
halogenandtoast has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @vcunat merged pull request #63131 → thunderbird, thunderbird-bin: 60.7.0 -> 60.7.1 [High security fixes] → https://git.io/fj21K
alex`` has quit [Ping timeout: 245 seconds]
toppler has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @NeQuissimus pushed 4 commits to master: https://git.io/fjavs
alex`` has joined #nixos
<{^_^}> [nixpkgs] @NeQuissimus pushed 3 commits to release-19.03: https://git.io/fjavn
justbeingglad1 has joined #nixos
justbeingglad1 has left #nixos [#nixos]
toppler has joined #nixos
<{^_^}> [nixpkgs] @7c6f434c merged pull request #63140 → libreoffice: fix build → https://git.io/fj2QZ
<{^_^}> [nixpkgs] @7c6f434c pushed 2 commits to master: https://git.io/fjavB
zupo has joined #nixos
alex`` has quit [Quit: WeeChat 2.5]
<{^_^}> [nixpkgs] @FRidh merged pull request #63022 → pygraphviz: 1.3.1 -> 1.5 → https://git.io/fjgQ2
<{^_^}> [nixpkgs] @FRidh pushed commit from @dtzWill to master « pygraphviz: 1.3.1 -> 1.5 »: https://git.io/fjavE
alex`` has joined #nixos
linarcx has joined #nixos
<{^_^}> [nixpkgs] @FRidh merged pull request #62863 → pythonPackages.matchpy: 0.4.6 -> 0.5.1, fix build → https://git.io/fjzMU
<{^_^}> [nixpkgs] @FRidh pushed commit from @risicle to master « pythonPackages.matchpy: 0.4.6 -> 0.5.1, fix build »: https://git.io/fjava
<{^_^}> [nixpkgs] @FRidh pushed 5 commits to python-unstable: https://git.io/fjavw
<{^_^}> [nixpkgs] @FRidh opened pull request #63169 → Python unstable → https://git.io/fjavr
<{^_^}> [nixpkgs] @FRidh closed pull request #62445 → pythonPackages.scikit-build: fix by bumping pytest-virtualenv, -shutil, -fixture-config, -server-fixtures → https://git.io/fjEBw
halogenandtoast has joined #nixos
fusion809 has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @FRidh pushed commit from @jonringer to python-unstable « python.pkgs.psutil: 5.5.1 -> 5.6.2 »: https://git.io/fjavo
<{^_^}> [nixpkgs] @FRidh closed pull request #62324 → python.pkgs.psutil: 5.5.1 -> 5.6.2 → https://git.io/fjEUO
<{^_^}> [nixpkgs] @FRidh pushed to python-unstable « python: psutil: 5.6.2 -> 5.6.3 »: https://git.io/fjavi
<{^_^}> [nix-mode] @matthewbauer merged pull request #80 → SMIE tweaks & bug fixes → https://git.io/fj2x8
<{^_^}> [nix-mode] @matthewbauer pushed 10 commits to master: https://git.io/fjavP
praetorg has joined #nixos
halogenandtoast has quit [Ping timeout: 259 seconds]
<praetorg> anybody know what causes kernel make config to ask the same question twice and consequently puke?
hoijui has joined #nixos
<samueldr> it's getting a "wrong" answer, praetorg
<samueldr> e.g. [Y/n] you answer m
<samueldr> when the nixos harness for the config sees the same question a second time, it knows it won't have the right answer
<praetorg> yeah it's automated
<praetorg> i haven't changed my config since last kernel build
<samueldr> are you tracking a specific branch or _latest?
<samueldr> it sometimes happens that the kernel changes possible answers
<praetorg> latest
<samueldr> which question is it and how is it configured to be answered with?
<praetorg> its per-file encryption which it answers m. is there a way to override the answer it gives
<samueldr> CONFIG_FS_ENCRYPTION, right%?
<praetorg> yes
<samueldr> up to 5.0 it was tristate, since 5.1 it's Y/n
<samueldr> so at least there's confirmation there
Markus72[m] has joined #nixos
<samueldr> should be fine as far as nixpkgs' config is concerned
<samueldr> unless you're still on the now unsupported 18.09 (or earlier) branches
<samueldr> (though I'm not sure that 5.1 would be present)
<samueldr> check for FS_ENCRYPTION (grepping for it) in your nixos configuration
<praetorg> im on 19.09
<samueldr> right, then it's fine there too
<praetorg> configuration.nix?
<samueldr> yeah, configuration.nix and/or any files imported
<praetorg> so that's why 5.1 builds because it's already forced into yes
<samueldr> I'm not sure I follow, it's failing for you with which kernel? _latest should already be 5.1
wfranzini has quit [Remote host closed the connection]
wfranzini has joined #nixos
<praetorg> any version before 5.1. trying to use bcachefs kernel which is still on 5.0
<samueldr> it should still be fine there, unless somehow the bcachefs kernel presents itself as 5.1 but has that option set differently
<samueldr> the configuration is set to answer yes on 5.1 and later, and module for 4.9 and later
<{^_^}> [nixpkgs] @Mic92 opened pull request #63171 → zfs: 0.8.0 -> 0.8.1 → https://git.io/fjavh
Anton-Latukha has joined #nixos
<{^_^}> [nixpkgs] @matthiasbeyer opened pull request #63172 → mutt: 1.12.0 -> 1.12.1 → https://git.io/fjavj
<praetorg> linux-testing-bcachefs builds kernel 5.0 from linux-5.0.nix
<samueldr> should be tristate (for the revision currently on nixos-unstable)
acarrico has joined #nixos
<{^_^}> [nix-mode] @matthewbauer pushed 4 commits to master: https://git.io/fjafe
<{^_^}> [nix-mode] @matthewbauer pushed 0 commits to refs/tags/v1.4.1: https://git.io/fjafv
jgt has joined #nixos
orivej has quit [Ping timeout: 244 seconds]
Jetien_ has joined #nixos
<samueldr> so, since version is 5.0.* it should be answering module, which should be fine here
<samueldr> > lib.versionAtLeast "5.0.2019.05.29" "5.1"
<{^_^}> false
<praetorg> right
<praetorg> should be
jgt has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @jonringer opened pull request #63173 → pythonPackages.antlr4-python2-runtime: init at 4.7.2 → https://git.io/fjafk
<{^_^}> [nixpkgs] @FRidh opened pull request #63174 → libxml2 and libxslt: build against python3 by default → https://git.io/fjafL
<{^_^}> [nixpkgs] @FRidh pushed 4 commits to python-unstable: https://git.io/fjaft
<{^_^}> [nixpkgs] @FRidh closed pull request #62746 → pythonPackages.azure-cli-core: init at 2.0.66 → https://git.io/fjuNK
<{^_^}> [nixpkgs] @FRidh closed pull request #62037 → pythonPackages: update various python packages → https://git.io/fjB7d
<m1cr0man> I'm adding a node package to my local copy of nixpkgs and then running generate.sh. Is there a more efficient way for me to put a node package in production on my server? Every time I make a change and I run that script im querying npm for all the sources again.
domogled has quit [Ping timeout: 258 seconds]
<marek> how do I tell nix-build to ignore one whole option defined in my configuration on import?
<marek> like import everything expect "deployment" (custom morph option not in nixpkgs modules)
<mjrosenb> ok, I've determined that the issue with building generics-sop-0.3.2.0 is that it depends on an older version of ghc. how do I request that a newer generics-sop get built?
<m1cr0man> I know about node2nix but it seems a bit overkill for production? Surely I don't need those huge nix scripts. Maybe I just need to learn more about deploying nodejs packages on nix.
<{^_^}> [nixpkgs] @jonringer closed pull request #63173 → pythonPackages.antlr4-python2-runtime: init at 4.7.2 → https://git.io/fjafk
<mjrosenb> https://gist.github.com/mjrosenb/d79e861f9eba854a9ac672e61f9226d1 -- that's my default.nix (I only have the vaguest idea what it does, I've mostly cobbled it together from other sources)
<manveru> m1cr0man: it's exactly for production/deployment
<m1cr0man> hm ok. I was put off by the statement in the nixpkgs manual "When it is desired to use NPM libraries in a development project"
Izorkin has joined #nixos
<manveru> you can use it for both, yeah
Guanin has joined #nixos
ricekrispie has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Izorkin has quit [Quit: ZNC 1.7.3 - https://znc.in]
Izorkin has joined #nixos
<dminuoso> Is there an environment variable the nix provided gcc respects to control where to look for directories?
<dminuoso> (Reason I need this, is because apparently Python folks consider it very funny to rely on `gcc` to look for libraries when loading .so files..)
<dminuoso> Ah I guess it'd just be LIBRARY_PATH
jgt has joined #nixos
<pie__> dminuoso, theres a thread about that somewhere on the issue tracker i think
<pie__> maybe try looking for python and ldd?
<pie__> something like that
acarrico has quit [Ping timeout: 258 seconds]
<dminuoso> pie__: Actually... I could just provide a stub shell script called `gcc` that satisfies the interface cutils is looking for.
<{^_^}> #25763 (by nh2, 2 years ago, closed): Python 3.6 depends on ld at run-time
jgt has quit [Ping timeout: 250 seconds]
<dminuoso> pie__: Sadly the proposed patch doesnt work for me, because its a pyinstalled provided python.
<pie__> i dont know anything more i just saw the issue :(
<dminuoso> pie__: Ah its fine, a helpful pointer nevertheless.
<pie__> good luck \o/
<FRidh> python libraries always need to be patched to hardcode paths
<{^_^}> [nixpkgs] @petabyteboy closed pull request #63154 → zfs: 0.8.0 -> 0.8.1 → https://git.io/fj2AI
hoijui has quit [Quit: Leaving]
<PyroLagus> https://0x0.st/zeTy.png thanks for explaining, but it's a bit late for that
hiroshi has quit [Read error: Connection reset by peer]
o1lo01ol1o has quit [Remote host closed the connection]
hiroshi has joined #nixos
Makaveli7 has quit [Ping timeout: 245 seconds]
dftxbs3e has joined #nixos
<{^_^}> Channel nixpkgs-19.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/5e6f48c64fc (from 2 hours ago, history: https://channels.nix.gsc.io/nixpkgs-19.03-darwin)
InFlames has quit [Ping timeout: 258 seconds]
o1lo01ol1o has joined #nixos
Jetien_ has quit [Ping timeout: 245 seconds]
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
gratto has quit [Read error: Connection reset by peer]
o1lo01ol1o has quit [Remote host closed the connection]
gratto has joined #nixos
o1lo01ol1o has joined #nixos
mexisme has joined #nixos
halogenandtoast has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
mexisme has quit [Ping timeout: 246 seconds]
halogenandtoast has quit [Ping timeout: 250 seconds]
o1lo01ol1o has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
_ris has joined #nixos
ris has quit [Ping timeout: 245 seconds]
drakonis_ has joined #nixos
<{^_^}> [nixpkgs] @jonringer opened pull request #63175 → pythonPackages.pydocumentdb: init at 2.3.3 → https://git.io/fjaJ0
qqlq has quit [Quit: ZNC 1.7.3 - https://znc.in]
o1lo01ol1o has joined #nixos
not_a_robot has joined #nixos
<not_a_robot> anyone know what package has the ssh client? I'm trying to rsync in a systemd timer but getting a failed to exed ssh error
<Yaniel> I'd expect openssh
o1lo01ol1o has quit [Ping timeout: 248 seconds]
contrapumpkin has quit [Ping timeout: 244 seconds]
<not_a_robot> Yaniel: thanks, for some reason that didn't even cross my mind
szicari has joined #nixos
<{^_^}> [nixpkgs] @jonringer opened pull request #63176 → pythonPackages.azure-cosmos: init at 3.1.0 → https://git.io/fjaJa
<tA_> howdy, anyone know if im missing something installing fonts other than adding it to fonts.fonts? its showing in xfontsel fine, but i can only seem to access the bold version of tewi in my terminal
linarcx has quit [Quit: WeeChat 2.5]
<infinisil> ,locate bin ssh
<{^_^}> Found in packages: openssh, openssh_hpn, openssh_gssapi
toppler has quit [Ping timeout: 245 seconds]
FRidh has quit [Quit: Konversation terminated!]
jgt has joined #nixos
not_a_robot has quit [Ping timeout: 256 seconds]
Anton-Latukha has quit [Ping timeout: 245 seconds]
DerGuteMoritz has joined #nixos
toppler has joined #nixos
jgt has quit [Ping timeout: 258 seconds]
szicari has quit [Ping timeout: 250 seconds]
szicari has joined #nixos
civodul has quit [Quit: ERC (IRC client for Emacs 26.2)]
orivej has joined #nixos
<marek> is there ANY way to escape ";" in ${url}? :(
<gchristensen> what is the problem?
<marek> gchristensen: it errors with invalid character, when there is an ; in the url
<marek> even with escaping it with \ hm
<samueldr> marek: using the "naked" URL syntax? use a string instead
<{^_^}> error: syntax error, unexpected ';', expecting ')', at (string):255:21
<samueldr> > "http://example.com/a;b"
<gchristensen> ^
<samueldr> > builtins.typeOf http://example.com
<{^_^}> "string"
<samueldr> > builtins.typeOf "http://example.com"
<{^_^}> "string"
Zer000 has joined #nixos
<{^_^}> [nixpkgs] @volth opened pull request #63177 → treewide: remove unused variables → https://git.io/fjaUZ
<marek> hmm
<{^_^}> error: syntax error, unexpected ';', expecting ')', at (string):255:33
<marek> samueldr: using that ^ I still get: error: invalid character ';' in name '?p=qemu.git;a=patch;h=d52680fc932efb8a2f334cc6993e705ed1e31e99'
halogenandtoast has joined #nixos
Thra11 has quit [Ping timeout: 272 seconds]
<Guanin> marek That problem is probably not the url itself, but in the filename where the patch will be stored
<samueldr> I saw your original question had `${}` in... `"${http://example.com/a;a}"`would be a string, with an antiquotation, with a naked URL literal
<samueldr> > "${http://example.com/a;a}"
<{^_^}> error: syntax error, unexpected ';', expecting '}', at (string):255:24
<samueldr> > "${"http://example.com/a;a"}"
<marek> oh no, sorry, I meant url = :)
<marek> Guanin: hmm good point
Ariakenom has quit [Quit: Leaving]
<Guanin> In the case of fetchurl, you might want to try to add the parameter name to give a filename without special characters
Matthieu_ has joined #nixos
<marek> Guanin: you were right! it is the filename itself, not the url thank you Guanin gchristensen samueldr :)
<gchristensen> ^.^
rfold has quit [Ping timeout: 268 seconds]
ldlework has joined #nixos
szicari has quit [Quit: ZNC - http://znc.in]
szicari has joined #nixos
<{^_^}> [nixpkgs] @mmahut opened pull request #63178 → qemu: CVE-2019-12155 → https://git.io/fjaUg
Matthieu_ has quit [Ping timeout: 248 seconds]
acarrico has joined #nixos
<{^_^}> [nixpkgs] @lightbulbjim opened pull request #63179 → gnome-mpv: 0.13 -> 0.16 → https://git.io/fjaUK
zupo has joined #nixos
jgt has joined #nixos
<tA_> update on fonts, i notice that fc-match tewi is defaulting to the bold version, which I think is my problem, is there any way to change the entries fc-match returns?
zupo has quit [Client Quit]
<tA_> also noticed that the derivation is converting the bdf to pcf and only placing them, should I grab the bdfs too?
jgt has quit [Ping timeout: 258 seconds]
Arahael has joined #nixos
<tA_> ok figured it out, needed a fontconfig block with the bitmap options enabled
PyroLagus has quit [Quit: ZNC / WeeChat]
PyroLagus has joined #nixos
m0rphism has quit [Ping timeout: 258 seconds]
Zer000 has quit [Quit: Leaving]
karetsu has joined #nixos
<karetsu> what would be the declarative way to specify which ispell language to use as default?
<karetsu> nixos.wiki coming up blank
Lears has joined #nixos
[Leary] has quit [Read error: No route to host]
<ldlework> Does anyone know how to setup, using the NixOS module, a Nginx virtual-host which acts as a reverse proxy to some other webserver running on the machine?
<Guanin> ldlework have a look at the third sample setup: https://nixos.wiki/wiki/Nginx#Sample_setups
<{^_^}> Channel nixos-19.03-small advanced to https://github.com/NixOS/nixpkgs/commit/5e6f48c64fc (from 5 hours ago, history: https://channels.nix.gsc.io/nixos-19.03-small)
<Guanin> It uses a custom "proxy" function which uses proxyPass
<Guanin> But in theory, you could just do something like virtualHosts."example.com".locations."/".proxyPass = "http://localhost:1234/";
* DigitalKiwi uses extraConfig
<ldlework> woah, nice thanks
<Guanin> DigitalKiwi the third config example there was added by me :) But I got that proxy function in some example config somewhere else, mostly added that one the hardened TLS config and HSTS preloading
psy3497 has joined #nixos
<ldlework> thank you again
G0ld3nChi1d has joined #nixos
psy3497 has quit [Client Quit]
<Guanin> ldlework If you did not know about it so far, you might want to have a look at https://nixos.org/nixos/options.html#services.nginx
vidbina has joined #nixos
<Guanin> That list is a great way to discover options for the services you want to configure, and they all provide documentation (and if it is not sufficient, it links to the *.nix file in the nixpkgs repo, where you can read the source and learn what the option will do)
ambro718 has quit [Ping timeout: 245 seconds]
jgt has joined #nixos
daGrevis has joined #nixos
<ldlework> When using NixOps, if I extend an EBS volume size, how can I get NixOS to realize it?
ericsagnes has joined #nixos
<ldlework> maybe just a reboot
ldlework has quit [Quit: co'o ro do]
jgt has quit [Ping timeout: 258 seconds]
ldlework has joined #nixos
daGrevis has quit [Remote host closed the connection]
karetsu has quit [Quit: WeeChat 2.4]
daGrevis has joined #nixos
G0ld3nChi1d has quit [Ping timeout: 252 seconds]
Makaveli7 has joined #nixos
<zacts> when in doubt reboot, right? :-P
o1lo01ol1o has joined #nixos
<{^_^}> [nixpkgs] @Ekleog closed pull request #32688 → liquibase-3.5.3 (update) adding PostgreSQL support → https://git.io/vbwaw
o1lo01ol1o has quit [Ping timeout: 248 seconds]
daGrevis has quit [Quit: daGrevis]
<ldlework> it worked :)
<{^_^}> [nixpkgs] @jtojnar merged pull request #62413 → flatpak-builder: 1.0.6 -> 1.0.7 → https://git.io/fjEcy
<{^_^}> [nixpkgs] @jtojnar pushed 3 commits to master: https://git.io/fjaT4
daGrevis has joined #nixos
day|flip has joined #nixos
__monty__ has quit [Quit: leaving]
mbrgm_ has joined #nixos
mbrgm has quit [Ping timeout: 252 seconds]
mbrgm_ is now known as mbrgm
o1lo01ol1o has joined #nixos
juliusdeane has joined #nixos
daGrevis has quit [Remote host closed the connection]
<juliusdeane> How can I configure the lightdm greeter (e.g. changing the background img) on nixos?
daGrevis has joined #nixos
Matthieu_ has joined #nixos
[Leary] has joined #nixos
Lears has quit [Read error: No route to host]
<pie__> juliusdeane, your mileage may vary with user stuff
<pie__> the general pointed to thing in that direction is home-manager but i havent actually gotten around to really looking at it myself, so more YMMV
<Guanin> pie__ I'd say lightdm is one step before home-manager is relevant. juliusdeane you can set the lightdm gtk greeter theme with services.xserver.displayManager.lightdm.greeters.gtk.theme - and if you find a way to set the background from lightdm-gtk-greeter.conf (look into the manpage) you can use services.xserver.displayManager.lightdm.greeters.gtk.extraConfig to write arbitrary stuff into that file ;)
<pie__> Guanin, ah ok
<pie__> neat
acarrico has quit [Ping timeout: 272 seconds]
<Guanin> lightdm typically just provides a login prompt, so it is not run as normal user and it does not really make sense to try to use home-manager to manage lightdm :)
o1lo01ol1o has quit [Ping timeout: 272 seconds]
<juliusdeane> Guanin thnx
<Guanin> juliusdeane it looks like you can just add a [greeter] section with background=/path/to/image inside the extra config to change the background image
<juliusdeane> The problem with that is that I can't really find where the conf file is
<juliusdeane> I've found some read-only ones on /run/current-system but there doesn't appear to be a global one
<zacts> I thought that Nix was implemented in Haskell, but the source looks like C++.
<juliusdeane> At least not in /etc/
<Guanin> It is somewhere inside /nix/store, but the proper way to add stuff to the lightdm-gtk-greeter.conf is through the option added to configuration.nix (or a different file that is imported)
Makaveli7 has quit [Quit: WeeChat 2.5]
<zacts> regardless, NixOS is working well for me so far.