worldofpeace changed the topic of #nixos to: NixOS stable: 19.09 \o/ https://discourse.nixos.org/t/nixos-19-09-release/4306/2 || https://nixos.org || Latest NixOS: https://nixos.org/nixos/download.html || Latest Nix: https://nixos.org/nix/download.html || Logs: https://logs.nix.samueldr.com/nixos/ || #nixos-dev, #nix-darwin, #nixos-aarch64, #nixos-chat, #nixcon ... nixcon videos: https://tinyurl.com/nixcon2018 || For best support,
<{^_^}> [nixpkgs] @risicle opened pull request #73010 → [r19.03] opencv3: 3.4.5 -> 3.4.8, addressing CVE-2019-14491, CVE-2019-14492 & CVE-2019-15939 → https://git.io/JeVvA
karetsu has quit [Quit: WeeChat 2.6]
thc202 has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @marsam merged pull request #72892 → grpc: 1.24.3 -> 1.25.0 → https://git.io/JeaCX
<{^_^}> [nixpkgs] @marsam pushed 3 commits to master: https://git.io/JeVfv
lukash_ is now known as lukash_|away
CMCDragonkai has joined #nixos
sam_d has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @marsam merged pull request #72866 → dive: 0.8.0 -> 0.9.0 → https://git.io/JeatV
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JeVfT
jgt has quit [Ping timeout: 245 seconds]
mexisme has joined #nixos
sam_d has joined #nixos
leotaku has quit [Quit: ZNC 1.7.4 - https://znc.in]
gxt has quit [Ping timeout: 260 seconds]
leotaku has joined #nixos
kleschenko has joined #nixos
boxscape has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @marsam opened pull request #73012 → vault: 1.2.3 -> 1.2.4 → https://git.io/JeVfl
sigmundv has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @aanderse merged pull request #72978 → twmn: Use QT's makeDerivation → https://git.io/JeaQ7
<{^_^}> [nixpkgs] @aanderse pushed 2 commits to master: https://git.io/JeVfR
mexisme has quit [Quit: WeeChat 2.6]
m0rphism has quit [Ping timeout: 268 seconds]
chloekek has quit [Ping timeout: 252 seconds]
hlolli has quit [Quit: Leaving]
wildtrees has quit [Quit: Leaving]
jgt has joined #nixos
<{^_^}> [nixpkgs] @Ericson2314 pushed 8 commits to bash-no-undef-vars: https://git.io/JeVfg
<nh2[m]> is there a graph of number of opened nixpkgs PRs over time somewhere?
Okinan has quit [Quit: Konversation terminated!]
jgt has quit [Ping timeout: 264 seconds]
lovesegfault has quit [Ping timeout: 264 seconds]
lovesegfault has joined #nixos
Okinan has joined #nixos
shah^ has quit [Ping timeout: 268 seconds]
shah^ has joined #nixos
shah^ has quit [Max SendQ exceeded]
shah^ has joined #nixos
shah^ has quit [Max SendQ exceeded]
shah^ has joined #nixos
shah^ has quit [Max SendQ exceeded]
shah^ has joined #nixos
shah^ has quit [Max SendQ exceeded]
shah^ has joined #nixos
shah^ has quit [Max SendQ exceeded]
shah^ has joined #nixos
shah^ has quit [Max SendQ exceeded]
shah^ has joined #nixos
shah^ has quit [Max SendQ exceeded]
shah^ has joined #nixos
shah^ has quit [Max SendQ exceeded]
shah^ has joined #nixos
shah^ has quit [Max SendQ exceeded]
shah^ has joined #nixos
shah^ has quit [Max SendQ exceeded]
kleschenko has quit [Ping timeout: 240 seconds]
shah^ has joined #nixos
shah^ has quit [Max SendQ exceeded]
shah^ has joined #nixos
shah^ has quit [Max SendQ exceeded]
shah^ has joined #nixos
shah^ has quit [Max SendQ exceeded]
shah^ has joined #nixos
shah^ has quit [Max SendQ exceeded]
shah^ has joined #nixos
shah^ has quit [Max SendQ exceeded]
shah^ has joined #nixos
shah^ has quit [Max SendQ exceeded]
Rusty1 has joined #nixos
mexisme has joined #nixos
mbrgm_ has joined #nixos
<CMCDragonkai> What's the easiest way to enable DNS over TLS when using `networking.networkmanager` and the dns is set to "dnsmasq"?
<CMCDragonkai> And I wonder if it would be good to have a setting that abstracts such a thing.
mbrgm has quit [Ping timeout: 268 seconds]
mbrgm_ is now known as mbrgm
amir has quit [Read error: Connection reset by peer]
amir has joined #nixos
oida has quit [Ping timeout: 260 seconds]
oida has joined #nixos
alexherbo235 has quit [Quit: The Lounge - https://thelounge.chat]
jluttine has quit [Ping timeout: 265 seconds]
soju has joined #nixos
jluttine has joined #nixos
abathur has joined #nixos
slack1256 has joined #nixos
<inkbottle> What is libstdc++.so.6?
<inkbottle> shouldn't that be in the environment with nix-shell?
<inkbottle> how would I fix that?
jluttine has quit [Ping timeout: 240 seconds]
<inkbottle> stdenv.cc.cc.lib...
soju__ has quit []
<{^_^}> [nixpkgs] @aanderse merged pull request #72966 → dolphinEmuMaster: 5.0-10879 -> 5.0-11109 → https://git.io/Jea1L
<{^_^}> [nixpkgs] @aanderse pushed 2 commits to master: https://git.io/JeVJv
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/JeVJL
LysergicDreams has quit [Ping timeout: 240 seconds]
qubasa has joined #nixos
<inkbottle> completely fail to understand what is stdenv.cc.cc.lib and where I find it
jgt has joined #nixos
LysergicDreams has joined #nixos
<clever> inkbottle: are you patching a prebuilt binary or compiling something?
qubasa_ has quit [Ping timeout: 276 seconds]
justanotheruser has quit [Read error: Connection reset by peer]
jgt has quit [Ping timeout: 245 seconds]
<inkbottle> clever: [npm install bs-platform] seems there is a prebuild binary about which ldd ./vendor/ninja/snapshot/ninja.linux says libstdc++.so.6 => not found (https://paste.debian.net/1115182/)
<inkbottle> maybe the problem comes from there
<inkbottle> (the error is far from being so clear when doing npn install bs-platform though)
slack1256 has quit [Remote host closed the connection]
slack1256 has joined #nixos
<{^_^}> [nixpkgs] @xrelkd opened pull request #73013 → go-ethereum: 1.9.6 -> 1.9.7 → https://git.io/JeVJG
<clever> inkbottle: you need to patchelf the binary
<inkbottle> that's what I was thinking
<clever> inkbottle: /home/clever/apps/nixpkgs/pkgs/games/oilrush/default.nix: patchelf --set-rpath ${stdenv.cc.cc.lib}/lib64:${makeLibraryPath [ stdenv.cc.cc libX11 libXext libXinerama libXrandr ]}\
<clever> something like that
<clever> examples are all over nixpkgs
<inkbottle> yes, I've been reading that one
<inkbottle> still have to figure out how to do it in my very case...
o1lo01ol1o has joined #nixos
jluttine has joined #nixos
<{^_^}> [nixpkgs] @Ptival opened pull request #73014 → coqPackages.coq-ext-lib: 0.10.1 -> 0.10.3 → https://git.io/JeVJz
halfbit has quit [Ping timeout: 268 seconds]
domogled has joined #nixos
<{^_^}> [nixpkgs] @yrashk opened pull request #73015 → framac: 19.0 -> 19.1 → https://git.io/JeVJg
<Miyu-saki> inkbottle: Is there a way to build the binary yourself?
<rotaerk> heh, I googled "nixos optane" and got this in the top results: https://logs.nix.samueldr.com/nixos/2019-05-05
<rotaerk> my new laptop has a 30GB optane memory thing, and I'm not sure what I should do with it >_>
growpotkin has joined #nixos
<Miyu-saki> rotaerk: Swap!;2u:D
<Miyu-saki> s/;2u/ /
<Miyu-saki> I should really fix my <s-SPC>
<rotaerk> put a 30 GB swap partition on there?
<rotaerk> would that only really be used if my memory consumption exceeded my RAM?
<Miyu-saki> Fair.
<Miyu-saki> rotaerk: ZFS?
<rotaerk> in theory it could be used as a cache
<rotaerk> yeah ZFS could do it
<cransom> l2arc would ok on that.
<rotaerk> though ... ZFS was kind of a pain when I last used it
<Miyu-saki> The only problem is that L2ARC is not persistent.
<Miyu-saki> It'd be cool if ZFS supports tiered storage though.
<clever> the L2ARC is basically swap dedicated to zfs
<Miyu-saki> OTOH, I think tiered storage is against ZFS's philosophy.
<Miyu-saki> I wonder, does ZFS's immutability mean that a write instruction should only correspond to one physical write?
<clever> Miyu-saki: from what ive heard, multiple writes get batched into a single transaction
<Miyu-saki> Hm.
<clever> Miyu-saki: and there can be 2? outstanding transactions at once
<Miyu-saki> Right. Yeah. I was just thinking about persistent L2ARC rn.
<Miyu-saki> Well
<Miyu-saki> s/persistent L2ARC/tiered storage/
<rotaerk> is optane memory "just another drive" from the perspective of linux, or is there some magic going on there
<rotaerk> i.e. should I leave it alone and it'll automagically be used somehow
<rotaerk> or should I put a partition on it
<Miyu-saki> If ZFS were to adapt tiered storage, that'd mean they'd need to have some kind of intra-pool migration system, which... I'm not sure.
<clever> rotaerk: optane is just an nvme block device, as far as linux is concerned
<clever> rotaerk: but on windows, they have silly rules like you must use a certain cpu, and it takes a dozen hours to re-configure your ntfs to use it
<clever> i think the cpu rules, are to ensure you can afford the overhead, and then have no reason to complain and give optane a bad name
<rotaerk> I do plan to dual boot with windows ... if I put a linux partition on it, is windows gonna stomp on it?
<cransom> is bcachefs a thing yet?
<clever> and the dozen hours thing, is because ntfs isnt designed to use an l2arc
<clever> rotaerk: i think windows will just ignore it (like any other disk) until you start playing with the intel optane utils
<rotaerk> I see
<Miyu-saki> rotaerk: Oh yeah. Talking about swap. I heard that swap can actually be beneficial even if your memory usage is like ~80% of your total. The TL;DR being RAM in swap means more memory for disk cache.
<clever> ]$ grep Cached /proc/meminfo
<clever> SwapCached: 1092588 kB
<clever> this is saying, that i have ~1gig of data in both ram and swap (the same data)
<clever> so if i do need a gig of ram, its already in swap, and linux can just instantly drop those pages
<Miyu-saki> clever: Ouya. I bought a laptop.
<Miyu-saki> It has only 8G of RAM tho.
<clever> and the way linux keeps track of things, is that it flags that 1gig of ram as "read only"
<clever> and if somebody tries to write to it, linux just discards the copy in swap, flags the ram as r/w, and retries the operation
jedai42 has joined #nixos
<clever> Miyu-saki: all of my primary systems have 32gig of ram, i just cant work on less, lol
jb55 has quit [Remote host closed the connection]
<Miyu-saki> Yeah. I wanted to have at least a 1050 for games.
<Miyu-saki> While still being in the ultrabook-y territory.
<Miyu-saki> Good news is that the RAM is upgradeable. Bad news is that it's one slot, at 16G.
<rotaerk> I suppose I'll just put a swap on the octane... at least until I come up with a better idea
<rotaerk> the laptop only has 16 GB of RAM anyway, so I'm bound to go over sometimes
<Miyu-saki> Wait hold up. I just realized something.
<Miyu-saki> Back of the envelope calculations
<Miyu-saki> i9-990k has a maximum Vcore of 1.52V[1]. Its TDP is 95W.
<Miyu-saki> [2]
<Miyu-saki> Does that mean is has 60A going through it? I think I'm wrong now lmao
<clever> Miyu-saki: 62.5 amps according to my math
<clever> Miyu-saki: i too was surprised, when my cpu literally went off the charts in amps, lol
<clever> model name : AMD FX(tm)-8350 Eight-Core Processor
<clever> Miyu-saki: my motherboard has a util to monitor voltage and amps from another pc, over usb
<clever> and the amps graph, literally goes off the top of the chart
<clever> you cant zoom out enough to see how many amps the cpu pulls
o1lo01ol1o has quit [Remote host closed the connection]
<Miyu-saki> Yikes
<Miyu-saki> Those are scary-ass numbers.
<clever> but comparing the voltage, and the TDP of the cpu, it really should be off the charts
<clever> the software just sucks, and doesnt expect such a beefy cpu :P
<Miyu-saki> I feel like that needs to be put into perspective. How the heck do the pins not melt from that
lawlesseel has quit [Remote host closed the connection]
<clever> the motherboard i have is a bit special, in that the os on the mobo doesnt have to support such tools
<clever> you can inspect it from a remote (windows only, ugh) machine, over usb
jedai42 has quit [Ping timeout: 265 seconds]
<rotaerk> actually, I think the octane is like RAM; not persistent
<rotaerk> so I shouldn't try to give it a swap partition
<Miyu-saki> Huh, TIL, fusing amperes are much higher than I thought. https://www.powerstream.com/wire-fusing-currents.htm
<clever> Miyu-saki: your more likely to melt the insulation, before you melt the copper
<clever> and when the insulation melts, the wires can touch eachother, and short out
aminechikhaoui has quit [Quit: The Lounge - https://thelounge.github.io]
aminechikhaoui has joined #nixos
<leo___> clever: what do you work with? .-.
<leo___> My current PC has about 6gb
<clever> leo___: mostly software, but i do dabble in electronics and eletrical sometimes
<clever> leo___: 32gig of ram in my main desktop
<leo___> xd
<leo___> geez man
<Miyu-saki> clever: Also, another piece of interesting information: 1.5V/60A = 0.025 ohms
* samueldr flashes the 64GiB workstation
<clever> leo___: to make you feel worse, my router has 8gig of ECC ram :P
<leo___> xd
<leo___> My router sucks.
<Miyu-saki> I'm guessing that's just a natural result of havinga lot of transistors in parallel tho.
<leo___> Free one my brazilian isp supplies
<leo___> Used to dabble in a 32gb PC too
<leo___> But then I thought to myself "gotta learn to work on fewer resources"
<Miyu-saki> clever: Is there commercially available CAM?
<clever> Miyu-saki: CAM?
<Miyu-saki> Content-addressable memory. I think it's not needed though.
<clever> Miyu-saki: havent heard of any
<Miyu-saki> For IPv4, you can just use the first 4G as a CAM.
jgt has joined #nixos
dckc has quit [Ping timeout: 240 seconds]
jgt has quit [Ping timeout: 264 seconds]
NoctisLa1 has joined #nixos
o1lo01ol1o has joined #nixos
NoctisLabs has quit [Ping timeout: 246 seconds]
dckc has joined #nixos
kleschenko has joined #nixos
<CMCDragonkai> Is there a way to install the NVIDIA video drivers without enabling xserver?
waleee-cl has quit [Quit: Connection closed for inactivity]
<CMCDragonkai> `xserver.enable = false;` and `xserver.videoDerivers = [ "nvidia" ];`?
<clever> CMCDragonkai: hardware.opengl.enable = true;
<CMCDragonkai> so i need all 3?
<clever> CMCDragonkai: i think so
nixos_user has joined #nixos
<clever> yeah
drakonis has joined #nixos
<nixos_user> so I had my thinkpad's motherboard replaced due to hw failure. Upon getting it back, my HDD refuses to boot. I can mount / and /boot manually on the rescue disk, and my data appears intact, but I can't get it to reinstall grub
<clever> nixos_user: how did you try to reinstall grub?
domogled has quit [Ping timeout: 240 seconds]
<nixos_user> I get "read_file '/proc/self/mountinfo' - open: No such file or directory at /nix/store/y7w5...-install-grub.pl line 113."
<clever> nixos_user: if your using a nixos rescue image, you can use nixos-enter to automate the chroot
<clever> nixos_user: also, make sure the boot.loader.grub.device is pointing to the right disk
<nixos_user> my config had boot.loader.grub.device = "nodev"
<clever> nixos_user: efi or legacy?
<nixos_user> efi
<clever> ah
<nixos_user> I have an encrypted lvm as my root
<clever> nixos_user: what does `efibootmgr -v` print out?
<nixos_user> it's not installed
<clever> nixos_user: then install it
slack1256 has quit [Remote host closed the connection]
<nixos_user> nixos-enter worked, but wifi doesn't appear to be working on it
slack1256 has joined #nixos
<clever> nixos_user: you need to fix the dns in /etc/resolv.conf, check the file outside the chroot, then edit it inside
<clever> nixos_user: you can also run `/nix/var/nix/profiles/system/bin/switch-to-configuration boot` inside the chroot to fix the bootloadr
domogled has joined #nixos
<{^_^}> [nixpkgs] @nixos-channel-bot pushed commit from @vcunat to nixos-19.03 « expat: fetch the patch from "my private mirror" »: https://git.io/JeapI
<nixos_user> I ran switch-to-configuration boot and it said it updated Grub 2 and appeared to complete succesfully, but upon reboot I still see nothing. I disabled BIOS secure boot and enabled CSM but still nothing
<clever> nixos_user: you probablt want to disable the CSM
<{^_^}> [nixpkgs] @nixos-channel-bot pushed commit from @rnhmjoj to nixpkgs-19.09-darwin « antimony: 2018-10-20 -> 2019-10-30 »: https://git.io/JeVvL
felixfoertsch23 has joined #nixos
felixfoertsch has quit [Ping timeout: 246 seconds]
<nixos_user> that didn't fix it
laudecay has joined #nixos
<clever> nixos_user: what does efibootmgr -v output, without nixos-enter
lovesegfault has quit [Ping timeout: 264 seconds]
<{^_^}> Channel nixos-19.03 advanced to https://github.com/NixOS/nixpkgs/commit/9c9a249b013 (from 7 hours ago, history: https://channels.nix.gsc.io/nixos-19.03)
<{^_^}> Channel nixpkgs-19.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/0d39ec23b62 (from 4 hours ago, history: https://channels.nix.gsc.io/nixpkgs-19.09-darwin)
<nixos_user> clever - lots of stuff - it has bootcurrent, a bootorder list and a bunch of entries for all of the boot options. the one I'm guessing I care about is Boot001A* NVMe0 VenMsg(bc78..,001c1...)
<clever> nixos_user: can you pastebin it all?
<nixos_user> I have to get networking up first
kleschenko has quit [Ping timeout: 265 seconds]
<nixos_user> just a moment, I've had weird issues w/ nixos's wifi options on this laptop. hard-coding the ssid in the configuration.nix was the only thing that used to work for my home network even though networkmanager worked fine when I'm away from home
jgt has joined #nixos
<nixos_user> got it
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
nixos_user2 has joined #nixos
<NoctisLa1> I ran a nix update and shortly after my steam updated to the latest beta, it won't start anymore. Error: Missing libva.so.2
kvda has joined #nixos
<NoctisLa1> Anyone know if this is because of the Nix update or the Steam update?
<drakonis> beta version
<drakonis> you should leave the beta version for now
<drakonis> delete /home/$USER/.steam/steam/package/beta
<clever> nixos_user: and if you run blkid on the efi system partition, what does it print out?
<drakonis> run steam and it will download the current version
ris has quit [Ping timeout: 240 seconds]
jgt has quit [Ping timeout: 252 seconds]
kvda has quit [Client Quit]
xkapastel has joined #nixos
<NoctisLa1> That works, thanks for the great info @drakonis
<drakonis> the derivation should be fixed soonish
<drakonis> hmm
<nixos_user2> clever: https://pastebin.com/MtYC0JPF
kvda has joined #nixos
<clever> nixos_user2: i need the part uuid, which blkid outputs, lsblk shows the wrong uuid
<nixos_user2> [nixos@nixos:~]$ sudo blkid /dev/nvme0n1p1 /dev/nvme0n1p1: SEC_TYPE="msdos" UUID="29BC-137B" TYPE="vfat" PARTLABEL="EFI system partition" PARTUUID="dc01f4ad-4985-4c70-901d-5699dbf2cce6"
<clever> thats it
kvda has quit [Client Quit]
<clever> nixos_user2: thats listed in efibootmgr, as `windows boot manager`, lol
<clever> nixos_user2: does `EFI\Microsoft\Boot\bootmgfw.efi` exist on nvme0n1p1 ?
<nixos_user> nope
<nixos_user> just EFI\NixOS-boot
<clever> nixos_user: if you use nixos-enter, does efibootmgr -v still report data?
<nixos_user> efibootmgr isn't installed in the nixos-enter environment, and when I try to nix-env -iA nixos.efibootmgr I get an error "cloning builder process: Operation not permitted"
<clever> nixos_user: try nix-build '<nixpkgs>' -A efibootmgr instead
<nixos_user2> clever: that worked, https://pastebin.com/7MiH66DE
<clever> nixos_user2: did you have canTouchEfiVariables enabled in configuration.nix?
<clever> nixos_user2: until efibootmgr shows the right path for boot0000, there is no point in trying a reboot
<nixos_user> yes
<clever> nixos_user: try doing `NIXOS_INSTALL_BOOTLOADER=1 /nix/var/nix/profiles/system/bin/switch-to-configuration boot`
<nixos_user2> clever: it's not cleat that that worked: https://pastebin.com/GDLd9Lh5
<clever> nixos_user2: it added nixos-boot at boot0001
<nixos_user> oh yeah, should I try rebooting?
<clever> nixos_user: 0001 is also first in your boot order
<clever> nixos_user: so it should just work now
<nixos_user> thanks!
<nixos_user> w00t! it's working, thanks!
ajs124 has quit [Quit: Gateway shutdown]
aw has quit [Quit: Quitting.]
spacefrogg has quit [Quit: Gone.]
aw has joined #nixos
spacefrogg has joined #nixos
greizgh has quit [Quit: greizgh]
mumuluxi has quit [Quit: ZNC 1.7.4 - https://znc.in]
wucke13 has quit [Quit: ZNC 1.7.4 - https://znc.in]
greizgh has joined #nixos
nixos_user2 has quit [Ping timeout: 260 seconds]
qubasa has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
nixos_user has quit [Remote host closed the connection]
kvda has joined #nixos
andi- has quit [Remote host closed the connection]
mumuluxi has joined #nixos
qubasa has joined #nixos
wucke13 has joined #nixos
kvda has quit [Quit: Textual IRC Client: www.textualapp.com]
andi- has joined #nixos
<{^_^}> [nixpkgs] @peterhoeg opened pull request #73016 → podman: 1.6.2 -> 1.6.3 → https://git.io/JeVUr
ddellacosta has quit [Ping timeout: 240 seconds]
lopsided98_ has quit [Quit: Disconnected]
fusion809 has joined #nixos
lopsided98 has joined #nixos
endformationage has quit [Ping timeout: 268 seconds]
lovesegfault has joined #nixos
captn3m0 has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @nixos-channel-bot pushed 4 commits to nixos-19.09-small: https://git.io/JeVUy
<{^_^}> Channel nixos-19.09-small advanced to https://github.com/NixOS/nixpkgs/commit/8b5194ff167 (from 6 hours ago, history: https://channels.nix.gsc.io/nixos-19.09-small)
<inkbottle> nix-shell -p nodejs python; npm install bs-platform; have sometimes succeeded, sometimes not, with odds for fail much higher
<inkbottle> I did not do very fancy things
<inkbottle> sometimes I had nodejs in configuraton.nix, sometimes not, and that's about it
<inkbottle> And all that on a stretch of a few hours
<{^_^}> [nixpkgs] @worldofpeace merged pull request #73004 → ssh-agent: fix syntax problem from #71139 → https://git.io/Jeaj1
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/JeVU7
jgt has joined #nixos
orivej has quit [Ping timeout: 252 seconds]
palo has quit [Quit: WeeChat 2.6]
palo has joined #nixos
jgt has quit [Ping timeout: 264 seconds]
LysergicDreams has quit [Ping timeout: 265 seconds]
Lysergic1reams has joined #nixos
<{^_^}> [nixpkgs] @peterhoeg opened pull request #73017 → haproxy: 1.9.8 -> 2.0.8 → https://git.io/JeVUN
<CMCDragonkai> what's the best way to check if something is null, and use it with `lib.optionalAttrs`?
<CMCDragonkai> `options.bootDevice == null`?
lopsided98 has quit [Quit: Disconnected]
Yaniel has quit [Ping timeout: 246 seconds]
lopsided98 has joined #nixos
drakonis has quit [Ping timeout: 264 seconds]
<leo___> CMCDragonkai: Yeah, `config.bootDevice == null`.
Supersonic112 has joined #nixos
Supersonic has quit [Disconnected by services]
Supersonic112 is now known as Supersonic
mexisme has quit [Ping timeout: 240 seconds]
Yaniel has joined #nixos
<rotaerk> darn, think I wiped whatever my laptop came with that would allow me to restore windows >_>
<rotaerk> I kept the "recovery" partition, but I think that just had some tools in it or something, not the actual OS data
<{^_^}> [nixpkgs] @veprbl merged pull request #71419 → texlive: 2018 -> 2019, poppler: 0.74.0 -> 0.81.0 → https://git.io/JeB1R
<{^_^}> [nixpkgs] @veprbl pushed 5 commits to master: https://git.io/JeVTt
<rotaerk> ah nm; it's there... but the recovery proccess still fails. whatever; maybe I'll just buy it separately so I don't have to worry about a special partition
<clever> rotaerk: you can download the windows install iso from the microsoft site
<rotaerk> I don't know if they actually provided an actual key with it
<rotaerk> though, maybe; lemme look for that, and I'll consider that option
bvdw has quit [Read error: Connection reset by peer]
bvdw has joined #nixos
<{^_^}> [nixpkgs] @nixos-channel-bot pushed commit from @rnhmjoj to nixos-19.09-small « antimony: 2018-10-20 -> 2019-10-30 »: https://git.io/JeVvL
<{^_^}> Channel nixos-19.09-small advanced to https://github.com/NixOS/nixpkgs/commit/0d39ec23b62 (from 6 hours ago, history: https://channels.nix.gsc.io/nixos-19.09-small)
<samueldr> rotaerk: unlikely they provided a key, but assuming a laptop, you won't need one
<samueldr> there's a section in the ACPI tables (iirc, or another bios-ey table) where the OEM will have put your key
<rotaerk> I'm actually talking to an HP rep and he said he'll fetch me the OEM key
jgt has joined #nixos
<leo___> is the fileSystems configuration optional?
<samueldr> it'll need at least a "/" IIRC, unless built with `isContainer`, or something like that
<leo___> Hm
<leo___> With NixOps it's also necessary?
<leo___> is it*
<clever> leo___: depends on the backend, most backends provide it for you
<leo___> backend? hm?
<clever> aws, packet, heznet...
<leo___> Oh!
<leo___> You don't use it.
<leo___> "local" backend provides it?
<clever> there is no local backend
lovesegfault has quit [Ping timeout: 276 seconds]
<leo___> Deploying to a NixOS machine
<leo___> This backend.
<clever> leo___: if your deploying to an existing nixos install, your using the none backend, which requires that you specify all of the fileSystems and boot stuff yourself
jgt has quit [Ping timeout: 276 seconds]
<leo___> Got it. :s
leo___ has left #nixos [#nixos]
kleschenko has joined #nixos
felixfoertsch23 has quit [Quit: ZNC 1.7.3 - https://znc.in]
felixfoertsch has joined #nixos
Acou_Bass has quit [Ping timeout: 240 seconds]
<CMCDragonkai> is there a way to get the revision hash from `pkgs` or `lib`?
<CMCDragonkai> and not `lib.version`, cause that has the `19.09` as well ?
<clever> 127 version = release + versionSuffix;
<clever> 130 release = lib.strings.fileContents ../.version;
<clever> 140 versionSuffix =
<clever> 141 let suffixFile = ../.version-suffix;
<CMCDragonkai> oh it comes from a file
<clever> yeah, when the channel tarball is put together, those files get added
<CMCDragonkai> i mean i got `import <nixpkgs> {}`
<CMCDragonkai> is there a way to access those directly?
<clever> > lib.trivial.versionSuffix
<CMCDragonkai> from the pkgs attribute?
<{^_^}> "pre-git"
<clever> pkgs.path + ".version-suffix
<clever> > pkgs.path + "/.version-suffix"
<{^_^}> /var/lib/nixbot/nixpkgs/master/repo/.version-suffix
Acou_Bass has joined #nixos
<CMCDragonkai> what about the revision?
<clever> its just a string within the file
<clever> [clever@amd-nixos:~/apps/nixpkgs/lib]$ cat ~/.nix-defexpr/channels_root/nixos/.version-suffix
<clever> pre196201.07d4df59626
<CMCDragonkai> so i have to extract itout?
<clever> yeah
<CMCDragonkai> let me check in the strings.nix
<CMCDragonkai> otherwise reach for regex/
mexisme has joined #nixos
laudecay has quit [Ping timeout: 240 seconds]
<CMCDragonkai> lib.removePrefix ".git." lib.trivial.versionSuffix
<CMCDragonkai> trhat works
maxdevjs has joined #nixos
Lysergic1reams is now known as LysergicDreams
maxdevjs has quit [Quit: Leaving]
domogled has quit [Quit: domogled]
oida has quit [Remote host closed the connection]
oida has joined #nixos
kleschenko has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @nixos-channel-bot pushed 151 commits to nixos-unstable-small: https://git.io/JeVTN
Rusty1 has quit [Quit: Konversation terminated!]
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/e5e374ebcc0 (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
jedai42 has joined #nixos
laudecay has joined #nixos
zupo has joined #nixos
mexisme has quit [Ping timeout: 240 seconds]
knupfer has joined #nixos
jgt has joined #nixos
Thra11 has quit [Ping timeout: 268 seconds]
jgt has quit [Ping timeout: 264 seconds]
lorimer has quit [Read error: Connection reset by peer]
knupfer has quit [Ping timeout: 264 seconds]
kenran has joined #nixos
<colemickens> I hate editting all-packages.nix
<colemickens> It's stressful.
abathur has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @colemickens opened pull request #73019 → cglm: init at 0.6.0 → https://git.io/JeVkt
bastion-tester has quit [Ping timeout: 240 seconds]
trinityhex has joined #nixos
glasserc has quit [Ping timeout: 268 seconds]
Thra11 has joined #nixos
<{^_^}> [nixpkgs] @lodi opened pull request #73020 → libco-canonical: fix pkgconfig includedir → https://git.io/JeVkm
LysergicDreams has quit [Ping timeout: 246 seconds]
glasserc has joined #nixos
bastion-tester has joined #nixos
laudecay has quit [Ping timeout: 276 seconds]
laudecay has joined #nixos
mexisme has joined #nixos
LysergicDreams has joined #nixos
palo1 has joined #nixos
mexisme has quit [Ping timeout: 246 seconds]
<bdju> how can I disable dhcpcd from starting on its own? it seems to screw up networkmanager so I keep stopping it
palo has quit [Ping timeout: 265 seconds]
palo1 is now known as palo
kenran_ has joined #nixos
<bdju> I think I found it. networking.dhcpcd.enable
jgt has joined #nixos
kenran has quit [Ping timeout: 240 seconds]
Ariakenom has joined #nixos
jgt has quit [Ping timeout: 276 seconds]
ardumont has quit [Ping timeout: 264 seconds]
<{^_^}> #72916 (by jtojnar, 1 day ago, merged): nixos/networkmanager: fix merging options
<infinisil> it's a bug, will be fixed in the next channel update probably
<bdju> oh nice. thank you for telling me. I feel less crazy now
<Miyu-saki> Just had a thought.
<Miyu-saki> Nothing in nix-env specifically disallows a library search path when you `nix-env -i`
LysergicDreams has quit [Ping timeout: 276 seconds]
<DigitalKiwi> networking.dhcpcd.enable = false;
laudecay has quit [Ping timeout: 276 seconds]
LysergicDreams has joined #nixos
<DigitalKiwi> there was also https://github.com/NixOS/nixpkgs/pull/71365
<{^_^}> #71365 (by samhug, 2 weeks ago, merged): dhcpcd: 8.0.6 -> 8.1.1
<srhb> fpletz: (or anyone else who knows:) Testing out the networkd stuff and I'm wondering why I end up with situations where I have eg. `networks.foo.matchConfig.Name = "foo";` defined in two modules, which appears to be a problem during the merge because of the unit type restrictions -- is this really necessary? Usually I'd expect two strs to merge just fine as long as they are equal. I'm probably
<srhb> missing some systemd specifics here?
<srhb> ... clarification: I'm wondering why it's a *problem* -- not why I have the definition in two modules ;-)
jgt has joined #nixos
ardumont has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
zupo has joined #nixos
jgt has quit [Ping timeout: 246 seconds]
jgt has joined #nixos
<{^_^}> [nixpkgs] @nixos-channel-bot pushed 27 commits to nixos-19.09: https://git.io/JeVIU
laudecay has joined #nixos
rauno has joined #nixos
<{^_^}> Channel nixos-19.09 advanced to https://github.com/NixOS/nixpkgs/commit/d628521d0b7 (from 11 hours ago, history: https://channels.nix.gsc.io/nixos-19.09)
ajs124 has joined #nixos
<{^_^}> [nixpkgs] @offlinehacker merged pull request #73012 → vault: 1.2.3 -> 1.2.4 → https://git.io/JeVfl
<{^_^}> [nixpkgs] @offlinehacker pushed 2 commits to master: https://git.io/JeVIL
mexisme has joined #nixos
laudecay has quit [Ping timeout: 268 seconds]
mexisme has quit [Ping timeout: 252 seconds]
philr has joined #nixos
Acou_Bass has quit [Quit: ZNC 1.7.4 - https://znc.in]
Acou_Bass has joined #nixos
<{^_^}> [nixpkgs] @basvandijk pushed 2 commits to release-19.09: https://git.io/JeVIn
<{^_^}> [nixpkgs] @basvandijk merged pull request #72993 → [r19.09] opencv3: 3.4.7 -> 3.4.8, addressing CVE-2019-14491, CVE-2019-14492 & CVE-2019-15939 → https://git.io/JeaA7
<{^_^}> [nixpkgs] @basvandijk merged pull request #73010 → [r19.03] opencv3: 3.4.5 -> 3.4.8, addressing CVE-2019-14491, CVE-2019-14492 & CVE-2019-15939 → https://git.io/JeVvA
<{^_^}> [nixpkgs] @basvandijk pushed 2 commits to release-19.03: https://git.io/JeVIc
kleschenko has joined #nixos
Ariakenom_ has joined #nixos
m0rphism has joined #nixos
<{^_^}> [nixpkgs] @basvandijk closed pull request #72955 → [19.09] opencv3: 3.4.7 -> 3.4.8, addressing CVE-2019-14491, CVE-2019-14492 & CVE-2019-15939 → https://git.io/JearC
<{^_^}> [nixpkgs] @Infinisil opened pull request #73024 → nixos/systemd: Allow unit options to have multiple equal defs → https://git.io/JeVIg
<infinisil> srhb: Nope, this can work :) ^^
Heirlung has quit [Quit: ZNC - http://znc.in]
Heirlung has joined #nixos
kleschenko has quit [Ping timeout: 276 seconds]
rauno has quit [Remote host closed the connection]
o1lo01ol1o has quit [Ping timeout: 276 seconds]
lsix has joined #nixos
rauno has joined #nixos
<{^_^}> [nixpkgs] @jonringer opened pull request #73025 → rust-bindgen: 0.51.0 -> 0.51.1 → https://git.io/JeVIM
drewr has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @jonringer opened pull request #73026 → pythonPackages.isort: fix tests → https://git.io/JeVIH
<{^_^}> [nixpkgs] @colemickens opened pull request #73027 → (staging) libxkbcommon: 0.8.4 -> 0.9.1 → https://git.io/JeVI7
LysergicDreams has quit [Ping timeout: 268 seconds]
leshudin has joined #nixos
leshudin has left #nixos [#nixos]
leshudin has joined #nixos
Fare has joined #nixos
leshudin has left #nixos [#nixos]
jgeerds_ has joined #nixos
<colemickens> hm, I've got a weird linker error I'm running into: https://gist.github.com/012775adec268c49e25ca0aaeb86c08f
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
LysergicDreams has joined #nixos
kleschenko has joined #nixos
growpotkin has quit [Quit: ZNC 1.7.5 - https://znc.in]
mexisme has joined #nixos
<ivan> how do I make xfce4-settings-manager not blank on 19.09? it does not output any warnings or errors
<Fare> How do I debug this? When I use nixos-rebuild switch (I'm not on a Mac), NixOS tries (and fails) to download trying https://support.apple.com/downloads/DL1877/en_US/osxupd10.11.5.dmg
<Fare> Looks like I should set facetimehd.enable = false;
<colemickens> trying http://ftp.math.utah.edu/pub/tex/historic/systems/texlive/2018/tlnet-final/archive/appendix.tar.xz is failing a hecksum error when trying to build a quick one off gnome shell session. :s
jgeerds_ has quit [Ping timeout: 264 seconds]
<Fare> ... except I already disable facetimehd, yet somehow NixOS tries to install its firmware.
<colemickens> heh, I filed a bug for that.
<colemickens> just remove the line where you enble all firmware
<{^_^}> #71952 (by colemickens, 2 weeks ago, open): facetimehd-firmware can't be built: url for osxupd10.11.5.dmg returns 404
Ninlives has joined #nixos
<colemickens> I think offlinehacker fixed it.
mexisme has quit [Ping timeout: 264 seconds]
<Ninlives> Hi everyone, does anyone has the experience of using ccache to compile linux kernel in nixos?
infinee has quit [Quit: WeeChat 2.3]
<Ninlives> I enabled `programs.ccache.enable = true; programs.ccache.packageNames = [ "linux_5_3" ];` and the compilation failed with `Compiler lacks asm-goto support.`
<Fare> colemickens, thanks!
<Fare> Ninlives, which compiler version is your ccache using?
lukash_|away is now known as lukash_
<Ninlives> Hi Fare, how do I check it? `ccacheStdenv.cc` says it's a `ccache-link`
<Ninlives> I think these option replaced the `stdenv` by `ccacheStdenv` for the `linxu_5_3` package
<{^_^}> [nixpkgs] @arianvp opened pull request #73028 → wire-desktop: Add arianvp to maintainer list → https://git.io/JeVLn
<Fare> Ninlives, sorry I really don't know. gcc -V tells the version—what happens with ccache -V ?
<Ninlives> Fare, I looked through the definition of `ccache-link`, if my understanding is correct, is `gcc-8.3.0` wrapped with `ccache-3.4.1`
<Fare> I get this warning: [/etc/tmpfiles.d/var.conf:19] Duplicate line for path "/var/cache", ignoring.
<Fare> Ninlives, and what version does Linux expect?
<Ninlives> I have no idea but I believe the kernel used to be able to compile with `gcc-8.3.0` but without ccache
wolfshappen has quit [Ping timeout: 240 seconds]
cfricke has joined #nixos
Okinan has quit [Quit: Konversation terminated!]
Makaveli7 has joined #nixos
wolfshappen has joined #nixos
<{^_^}> [nixpkgs] @peterhoeg merged pull request #65971 → zoneminder: fix nginx config → https://git.io/fjH6B
<{^_^}> [nixpkgs] @peterhoeg pushed 2 commits to master: https://git.io/JeVLu
exfalso has joined #nixos
joshuagl has joined #nixos
zupo has joined #nixos
<{^_^}> [nixpkgs] @srghma opened pull request #73030 → hubstaff: 1.5.0 -> 1.5.2 → https://git.io/JeVLb
slack1256 has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @manveru opened pull request #73031 → crystal: 0.30.1 -> 0.31.1 → https://git.io/JeVtf
<ivan> (also I found out why xfce4-settings-manager was blank - it relies on XDG_DATA_DIRS to find its things)
ng0 has joined #nixos
<manveru> ivan++
<{^_^}> ivan's karma got increased to 8
<{^_^}> [nix] @zimbatm opened pull request #3211 → gitignore /precompiled-headers.h.gch → https://git.io/JeVtm
cosimone has joined #nixos
Makaveli7 has quit [Quit: WeeChat 2.6]
Ninlives has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @vbgl merged pull request #73006 → coqPackages.paco: 1.2.8 -> 4.0.0 → https://git.io/JeVvt
<{^_^}> [nixpkgs] @vbgl pushed commit from @Ptival to master « coqPackages.paco: 1.2.8 -> 4.0.0 »: https://git.io/JeVtO
<{^_^}> [nixpkgs] @vbgl merged pull request #73014 → coqPackages.coq-ext-lib: 0.10.1 -> 0.10.3 → https://git.io/JeVJz
<{^_^}> [nixpkgs] @vbgl pushed commit from @Ptival to master « coqPackages.coq-ext-lib: 0.10.1 -> 0.10.3 »: https://git.io/JeVt3
cfricke has quit [Quit: WeeChat 2.6]
orivej has joined #nixos
psyanticy has joined #nixos
<exfalso> Is there a way to hook the nixops configuration switch? I'm using Nomad to do scheduling across machines, and would like to auto-apply jobs that have been modified. This is an idempotent action and should be safe, but it is strictly speaking impure. Is there a way to do this similar to how systemd services are reloaded?
xelxebar has quit [Ping timeout: 260 seconds]
xelxebar has joined #nixos
thc202 has joined #nixos
<wedens[m]> exfalso: system.activationScripts
<{^_^}> [nixpkgs] @marijanp opened pull request #73032 → nixos/tests: improve get_unit_info expressiveness on failure → https://git.io/JeVtz
cosimone has quit [Quit: Terminated!]
shyim has quit [Quit: shyim]
<{^_^}> [nixpkgs] @andir merged pull request #73008 → sqlite: fixing cve patch name → https://git.io/JeVv8
cosimone has joined #nixos
<{^_^}> [nixpkgs] @andir pushed 2 commits to staging-19.09: https://git.io/JeVtw
shyim has joined #nixos
kleschenko has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @andir merged pull request #73002 → sqlite-replication: fix build + CVE-2019-16168 → https://git.io/JeajC
<{^_^}> [nixpkgs] @andir pushed 2 commits to release-19.09: https://git.io/JeVtr
kleschenko has joined #nixos
h0m1 has joined #nixos
Kritnich5 has joined #nixos
<{^_^}> [nixpkgs] @andir pushed 43 commits to staging-19.09: https://git.io/JeVtX
Kritnich has quit [Quit: Bye bye.]
Kritnich5 is now known as Kritnich
<{^_^}> [nixpkgs] @nixos-channel-bot pushed 7 commits to nixos-unstable-small: https://git.io/JeVtD
<{^_^}> [nixpkgs] @andir merged pull request #73009 → [r19.03] qemu: add patches for CVE-2019-13164 & CVE-2019-14378 → https://git.io/JeVv7
<{^_^}> [nixpkgs] @andir pushed 2 commits to release-19.03: https://git.io/JeVtS
<deni> for haskellPackages, how do I find out which compiler version are available? the default one seems to be ghc864 right now
<deni> well for the 19.09 channel anyway
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/6fa62dbefd4 (from 5 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
xelxebar has quit [Remote host closed the connection]
h0m1 has quit [Quit: WeeChat 2.6]
xelxebar has joined #nixos
h0m1 has joined #nixos
h0m1 has quit [Client Quit]
h0m1 has joined #nixos
<deni> like I see the files configuration-ghc-8.x.x.nix in the nixpkgs repo....so I now which branches are currently present but I can't seem to find the last x (the minor version) there...so that when I override the compiler version it doesn't say "unknown argument" when I type ghc802 or something
sigmundv has joined #nixos
<{^_^}> [nixpkgs] @Mic92 opened pull request #73033 → test-driver: add mypy support → https://git.io/JeVtx
<kriztw> deni: the compilers are in nixpkgs.haskell.compiler, not haskellPackages
cosimone has quit [Quit: Terminated!]
xd1le has joined #nixos
h0m1 has quit [Quit: WeeChat 2.6]
h0m1 has joined #nixos
alexherbo2 has joined #nixos
fling_ has joined #nixos
Kritnich has quit [Quit: The Lounge - https://thelounge.chat]
Chiliparrot has joined #nixos
Kritnich has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #73032 → nixos/tests: improve get_unit_info expressiveness on failure → https://git.io/JeVtz
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/JeVqT
fling has quit [Ping timeout: 240 seconds]
fling_ is now known as fling
Kritnich has quit [Remote host closed the connection]
Kritnich has joined #nixos
iyzsong has joined #nixos
Orbstheorem has joined #nixos
Izorkin has quit [Quit: ZNC 1.7.5 - https://znc.in]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @kampka opened pull request #73035 → kops_1_14: 1.14.0 -> 1.14.1 → https://git.io/JeVqO
<chreekat_> I never remember that fact
<chreekat_> I'm also not certain it's adequately explained anywhere
Izorkin has joined #nixos
kenran_ has quit [Ping timeout: 240 seconds]
Izorkin has quit [Quit: ZNC 1.7.5 - https://znc.in]
prusnak has quit [Quit: leaving]
Izorkin has joined #nixos
bvdw has quit [Read error: Connection reset by peer]
bvdw has joined #nixos
Izorkin has quit [Client Quit]
Izorkin has joined #nixos
zupo has joined #nixos
kenran has joined #nixos
<{^_^}> [nixpkgs] @nixos-channel-bot pushed 2 commits to nixos-19.03-small: https://git.io/JeVIc
<{^_^}> [nixpkgs] @marius851000 opened pull request #73036 → faudio: 19.10 -> 19.11 → https://git.io/JeVqM
melling has quit [Quit: WeeChat 2.6]
kenran has quit [Ping timeout: 265 seconds]
<{^_^}> Channel nixos-19.03-small advanced to https://github.com/NixOS/nixpkgs/commit/de1c582f3d5 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-19.03-small)
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<deni> kriztw: thanks!
talqu has joined #nixos
<{^_^}> [nixpkgs] @Yumasi opened pull request #73037 → boxfort: unstable-2019-09-19 -> unstable-2019-10-09 → https://git.io/JeVq7
<{^_^}> [nixpkgs] @nixos-channel-bot pushed 2 commits to nixos-19.09-small: https://git.io/JeVIn
Fare has quit [Ping timeout: 240 seconds]
<talqu> Hi, i wanted to try this package `nix-shell -p haskellPackages.postgrest` and i've seen for the first time a message that the package is broken. There is suggestion in the error message to allowBroken, but what do people do in these cases? Is there no easy way to run this package until it is fixed?
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
codezero has quit [Ping timeout: 240 seconds]
<{^_^}> Channel nixos-19.09-small advanced to https://github.com/NixOS/nixpkgs/commit/8f333cc9e83 (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-19.09-small)
sterni has quit [Ping timeout: 244 seconds]
cocreature has quit [Ping timeout: 264 seconds]
<exfalso> wedens[m]: ah just saw your answer, thanks!!
<exfalso> wedens[m]++
<{^_^}> wedens[m]'s karma got increased to 3
amir has quit [Quit: Have to disappear. Read you later guys!]
ng0 has quit [Quit: Alexa, when is the end of world?]
<tilpner> talqu: Exactly that, try with allowBroken. May need to fix the package though, it was probably marked broken for a good reason
talqu has quit [Ping timeout: 250 seconds]
codezero has joined #nixos
silver has joined #nixos
cocreature has joined #nixos
<{^_^}> [nixpkgs] @nixos-channel-bot pushed 2 commits to nixpkgs-19.03-darwin: https://git.io/JeVIc
sterni has joined #nixos
<emilsp> anyone know if 19.04 has patches for https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-17666 ?
<{^_^}> Channel nixpkgs-19.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/de1c582f3d5 (from 4 hours ago, history: https://channels.nix.gsc.io/nixpkgs-19.03-darwin)
<adisbladis> emilsp: Probably not as 19.03 (I guess you mean 19.03) is unsupported.
amir has joined #nixos
<emilsp> adisbladis: you are absolutely correct. And I guess I was asking for 19.09. Skimmed github PRs and issues and found nothing.
sigmundv has quit [Remote host closed the connection]
<adisbladis> emilsp: github issues are not always the best source for this kind of information
<adisbladis> Check https://broken.sh and/or vulnix
<emilsp> I'd expect a patch to be applied by merging a PR.
<{^_^}> [nixpkgs] @Azulinho closed pull request #72893 → gripgen: init at 0.8 → https://git.io/JealO
<emilsp> But yeah, seems like it's _broken_ https://broken.sh/issues/CVE-2019-17666
<emilsp> I was not aware of broken.sh. Since when did this become a thing? Where's the soource to make it send mails to a mailing list?
<ddima> doesn't look patched and upstream only has it in v5.4-rc6 it seems. we should probably open an issue for that.
sigmundv has joined #nixos
<adisbladis> emilsp: It looks like 19.09 have all the latest kernel releases.
<adisbladis> At least on master
<adisbladis> emilsp: It's been a thing for at least a few months to a year I think, but it's WIP (by andi- )
<adisbladis> Looks like broken.sh hasn't run the checks in a while
<emilsp> cool!
<adisbladis> I just made sure that all kernels listed here are on the 19.09 branch https://www.kernel.org/
<bdju> anyone have a home.nix with emacs stuff I can look at? I'm wondering if I already have emacs in home.packages if I still need the enable line for the extra programs.emacs block. and if not, which line should I have
<andi-> emilsp: I added a GitHub link to it a few days ago. I'll check on it later why it hasn't updated.
<{^_^}> [nixpkgs] @filalex77 opened pull request #73038 → epr: init at 2.3.0b → https://git.io/JeVmz
Chiliparrot has joined #nixos
<adisbladis> bdju: Not really, programs.emacs is a convenience wrapper for using emacsWithPackages
<adisbladis> So if you have it in your home.packages that's fine too
<bdju> so then I just skip the enable = true part of the example?
vidbina_ has joined #nixos
<adisbladis> Yep
<bdju> cool
<adisbladis> bdju: home-manager also has an emacs service if you want to use emacsclient, though thats optional
<bdju> is there a way to search "epkgs" or should I be searching package names in emacs?
<adisbladis> bdju: You can look through the emacsPackages set
<bdju> I might use emacsclient later on. haven't done so before. I have used spacemacs a lot, but I want to make my own config now
<bdju> adisbladis: where do I find that?
<emilsp> andi-: do you have the source for broken.sh?
<adisbladis> bdju: You can look at it in the nix repl :) `nix repl '<nixpkgs>'` and then tab your way through the emacsPackages attribute
<adisbladis> bdju: We auto index all of elpa/org/melpa in nixpkgs, so 99% of the time you'll find the names are exactly the same as upstream package names
<bdju> thanks, this is neat!
<emilsp> andi-: yay, thanks.
<adisbladis> bdju: Also, (shameless plug) we have an overlay that updates more frequently than nixpkgs: https://github.com/nix-community/emacs-overlay and #nixo-emacs is a thing
<adisbladis> #nixos-emacs ^
<adisbladis> With the overlay you're behind melpa by at most a few hours
<bdju> hm I don't think I'm seeing evil using the repl method. just evilvte and evilwm
kenran has joined #nixos
<adisbladis> bdju: It's just called `evil`
<adisbladis> bdju: Hmm, are you on 19.03?
<bdju> I'm on unstable. 20.x I think
<adisbladis> Try this: nix-instantiate '<nixpkgs>' -A emacsPackages.evil
<bdju> works, I think. outputs a nix store derivation thing
<adisbladis> Ahh :)
<adisbladis> I get the confusion now
<adisbladis> nix repl '<nixpkgs>'
<adisbladis> Then you do `emacsPackages.<tab>`
<adisbladis> You were just looking through top-level nixpkgs :)
<bdju> that's what I was doing I believe
<{^_^}> [nixpkgs] @nixos-channel-bot pushed 242 commits to nixpkgs-unstable: https://git.io/JeVm6
<bdju> oh, not quite, I put a space after emacsPackages and then hit tab
<adisbladis> Right :) That explains things
<bdju> thanks
philr has quit [Ping timeout: 250 seconds]
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/561b40dacbf (from 5 days ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
jedai42 has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @fpletz merged pull request #73000 → ncmpc: 0.35 -> 0.36 → https://git.io/Jeapi
<{^_^}> [nixpkgs] @fpletz pushed 2 commits to master: https://git.io/JeVmX
<{^_^}> [nixpkgs] @taku0 opened pull request #73039 → rust: keep multiple version → https://git.io/JeVmQ
<{^_^}> [nixpkgs] @adisbladis merged pull request #73013 → go-ethereum: 1.9.6 -> 1.9.7 → https://git.io/JeVJG
<{^_^}> [nixpkgs] @adisbladis pushed 2 commits to master: https://git.io/JeVmN
<{^_^}> [nixpkgs] @marius851000 opened pull request #73040 → gnash: fix compilation with libgif 5.2 → https://git.io/JeVmx
xd1le has quit [Quit: leaving]
<{^_^}> [nixpkgs] @smaret opened pull request #73041 → gildas: 20191001_a -> 20191101_a → https://git.io/JeVYJ
vidbina_ has quit [Ping timeout: 250 seconds]
gxt has joined #nixos
bastion-tester has quit [Quit: ZNC 1.7.4 - https://znc.in]
Jackneill has quit [Ping timeout: 240 seconds]
andymandias has quit [Quit: ZNC 1.7.4 - https://znc.in]
bastion-tester has joined #nixos
andymandias has joined #nixos
<{^_^}> [nixpkgs] @primeos pushed 2 commits to master: https://git.io/JeVYg
<{^_^}> [nixpkgs] @MtP76 opened pull request #73042 → spotifyd: 0.2.19 -> 0.2.20 (mpris enabled) → https://git.io/JeVYP
Jackneill has joined #nixos
the-kenny has quit [Ping timeout: 240 seconds]
the-kenny has joined #nixos
<{^_^}> [nixpkgs] @nlewo opened pull request #73043 → open-policy-agent: init at 0.9.2 → https://git.io/JeVY7
<{^_^}> [nixpkgs] @filalex77 opened pull request #73044 → fselect: init at 0.6.6 → https://git.io/JeVY5
wolke has quit [Quit: ZNC 1.7.5 - https://znc.in]
<{^_^}> [nixpkgs] @nlewo merged pull request #73035 → kops_1_14: 1.14.0 -> 1.14.1 → https://git.io/JeVqO
<{^_^}> [nixpkgs] @nlewo pushed 2 commits to master: https://git.io/JeVYb
cosimone has joined #nixos
wolke has joined #nixos
mananamenos has joined #nixos
vidbina_ has joined #nixos
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
kleschenko has quit [Ping timeout: 264 seconds]
<deni> Found a useful line from the docs: nix-env -f "<nixpkgs>" -qaP -A haskell.compiler this lets me query which compiler version are available and is exactly what I was looking for
<mananamenos> Hi, I have these two files postgrest.nix and shell.nix https://pastebin.com/yDambbYF. I found postgrest.nix expression in the issues comment, it is way to build this package. However i dont know how to expose the binary `postgrest` once the shell is loaded.
lorimer has joined #nixos
<infinisil> deni: Or alternatively, `nix-shell -p haskell.compiler.<TAB>`
JonReed has joined #nixos
<{^_^}> [nixpkgs] @vcunat pushed 7 commits to release-19.09: https://git.io/JeVOO
<JonReed> Is there a CLI utility to manually generate a `.nar` from a directory? I.e. `tar` but for `.nar` archives.
<tilpner> JonReed: Try nix-store --dump
<tilpner> --restore to unpack
<JonReed> tilpner: Will it work for a directory that is outside `/nix/store`?
<tilpner> Yes
<JonReed> tilpner: That's great. Thanks!
<{^_^}> [nixpkgs] @fpletz pushed 2 commits to release-19.09: https://git.io/JeVOB
wolke has quit [Quit: ZNC 1.7.5 - https://znc.in]
wolke has joined #nixos
<{^_^}> [nixpkgs] @nico202 opened pull request #73045 → python-modules/neurotools: remove → https://git.io/JeVOa
<{^_^}> [nixpkgs] @edolstra merged pull request #73039 → rust: keep multiple version → https://git.io/JeVmQ
<{^_^}> [nixpkgs] @edolstra pushed 2 commits to master: https://git.io/JeVOX
<ddima> mananamenos: what do you mean by expose? make available to the rest of the system? In the shell itself its just automatically added to your path, which you can check with `which postgrest`.
hoijui has joined #nixos
o1lo01ol1o has joined #nixos
<{^_^}> [nix] @edolstra pushed 3 commits to flakes: https://git.io/JeVO7
<{^_^}> [nixpkgs] @flokli merged pull request #72897 → nixos/cassandra: Port test to python → https://git.io/Jea81
<{^_^}> [nixpkgs] @flokli pushed 2 commits to master: https://git.io/JeVOx
<{^_^}> [hydra] @edolstra pushed to flake « Update flake.lock »: https://git.io/JeVOp
iyzsong has quit [Quit: ZNC 1.7.1 - https://znc.in]
civodul has joined #nixos
<{^_^}> [nixpkgs] @adisbladis merged pull request #73045 → python-modules/neurotools: remove → https://git.io/JeVOa
<{^_^}> [nixpkgs] @adisbladis pushed 2 commits to master: https://git.io/JeV3T
idf has joined #nixos
jgt has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @flokli merged pull request #72935 → Port tests to Python → https://git.io/JeV3O
<{^_^}> [nixpkgs] @flokli pushed 12 commits to master: https://git.io/JeV33
Chiliparrot has joined #nixos
<{^_^}> [nixpkgs] @domenkozar merged pull request #72208 → Vscode extensions → https://git.io/JeuV1
<{^_^}> [nixpkgs] @domenkozar pushed 6 commits to master: https://git.io/JeV3z
Fare has joined #nixos
drakonis has joined #nixos
<{^_^}> [nixpkgs] @domenkozar pushed to master « vscode: 1.39.2 -> 1.40.0 »: https://git.io/JeVse
<{^_^}> [nixpkgs] @curiousleo opened pull request #73046 → nixos/tests: correct arguments to get_unit_info → https://git.io/JeVsT
<sshow> I have force-pushed to a git branch I am referencing as a source. How do I clear the cache so Nix pulls in the branch name over again?
<sshow> when I am building a package ^
<{^_^}> [nix] @edolstra pushed to master « Move editorFor srom libutil to nix »: https://git.io/JeVsq
<{^_^}> [nixpkgs] @gotcha opened pull request #73047 → Vimelette → https://git.io/JeVsY
orivej has quit [Ping timeout: 240 seconds]
kleschenko has joined #nixos
<{^_^}> [nixpkgs] @evanjs opened pull request #73048 → gitkraken: 6.3.0 -> 6.3.1 → https://git.io/JeVsc
<exarkun> sshow: "oops"
<exarkun> sshow: you could screw around with nix-store but really just change your expression to use a revision instead of a branch name
<exarkun> sshow: you don't want to leave traps like that lying around for future builders of your derivation
<sshow> exarkun: yeah. I can see how that is a solution, but it would be nice to know. This is a work-flow for testing out branches before merging into master :)
<globin> We have 200999 commits on master!
<exarkun> sshow: The workflow w/ revisions is easier. nix-prefetch-git[hub] will even write out the expression for you (see --nix).
<exarkun> sshow: sshow But `nix-store --delete` lets you take specific things out of the store
<ikwildrpepper> globin: wow, that is going fast
<exarkun> sshow: as long as they're not used by something
<ikwildrpepper> weren't we at 200000 just a few days/weeks ago?
ddellacosta has joined #nixos
<exarkun> sshow: your stale git checkout might be used by your last build. if so, delete `result` and maybe that will help.
<adisbladis> ikwildrpepper: The commit rate is insane
<ikwildrpepper> nov 1st
vika_nezrimaya has joined #nixos
<adisbladis> May you live in interesting times
jgt has joined #nixos
<{^_^}> [nixpkgs] @nixos-channel-bot pushed 2 commits to nixpkgs-19.03-darwin: https://git.io/JeVtS
<{^_^}> [nixpkgs] @flokli merged pull request #72894 → gitlab: 12.4.1 -> 12.4.2 → https://git.io/Jealr
<{^_^}> [nixpkgs] @flokli pushed 4 commits to master: https://git.io/JeVsu
<{^_^}> Channel nixpkgs-19.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/78e1f59812b (from 4 hours ago, history: https://channels.nix.gsc.io/nixpkgs-19.03-darwin)
<{^_^}> [nix] @edolstra pushed 2 commits to flakes: https://git.io/JeVsg
<etu> adisbladis: I'm impressed that we actually manage to update the channels :)
<etu> adisbladis: With all things going in all the time
<{^_^}> [nixpkgs] @flokli pushed 3 commits to release-19.09: https://git.io/JeVsa
jgt has quit [Ping timeout: 246 seconds]
<barrucadu> Is anyone familiar with the `services.kubernetes.roles` magic stuff? I'm struggling to get a node talking to a master. I'm getting lots of forbidden errors, but I'm using `nixos-kubernetes-node-join` and have a pretty basic `configuration.nix`. Would someone be able to have a look at my config?
wild_willy has joined #nixos
endformationage has joined #nixos
gekketinus- has joined #nixos
halfbit has joined #nixos
mexisme has joined #nixos
<wild_willy> Hi everyone, does anyone know how to update a version of Hackage package in NixOs/Nixpkgs definitions?
mexisme has quit [Ping timeout: 250 seconds]
<Taneb> wild_willy: are you trying to get this back into nixpkgs, or just use it locally?
<wild_willy> To fix a broken package
<wild_willy> namely dotenv
cinimod has joined #nixos
<Taneb> Ah! Have a look in nixpkgs/pkgs/development/haskell-modules
<wild_willy> The problem was that one of the test files was not included in the tarball
<Taneb> Especially "configuration-common.nix" and "configuration-nix.nix"
<cinimod> I am trying to use pymc3 via nixpkgs
<infinisil> wild_willy: If it builds just fine you can remove it from the list of broken packages in configuration-hackage2nix.yaml
<infinisil> wild_willy: And then make a PR with that change to the haskell-updates branch
<das_j> hm, how can I override kernel build parameters?
<cinimod> nix-shell --pure -I nixpkgs=https://github.com/NixOS/nixpkgs/archive/19.09.tar.gz -p 'python37.withPackages(ps: with ps; [ numpy pymc3 ])'
<cinimod>
<das_j> like a lot of them, I'd like to build a tiny kernel for my VMs
vidbina_ has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @flokli opened pull request #73049 → nixos/redis: fix merging → https://git.io/JeVsD
<wild_willy> The thing is that a new version is going to be released in Hackage that fixes the problem, when does the hackage-packages.nix gets updated?
<infinisil> wild_willy: That happens regularly on the haskell-updates branch, which occasionally gets merged into master
<cinimod> It seems pymc3 needs some headers which are not available
<wild_willy> When it happens the script check again that the package can be build and removes it from the broken list?
<infinisil> wild_willy: I think that's manual for now
<infinisil> Oh and it seems that dotenv is in stackage
<infinisil> And the hackage2nix script that generates our haskell packages prefers stackage versions over hackage ones
<wild_willy> interesting
<cinimod> What is the nix equivalent of sudo apt-get install python3.7-dev?
<infinisil> wild_willy: Oh however, it seems that dotenv gets overridden to be 0.8.0.2 in configuration-hackage2nix.yaml
<infinisil> So you can probably change that version number there, remove it from broken packages and make a PR with that to haskell-updates
<wild_willy> For example, If I put answer version, It will work
zupo has joined #nixos
exfalso has quit [Ping timeout: 268 seconds]
<wild_willy> Because the reason the tests were failing came from an error upstream
<{^_^}> [hydra] @edolstra pushed to flake « Update flake.lock »: https://git.io/JeVsd
<infinisil> Yeah, what I described above should work
<infinisil> You can also run hackage2nix yourself to check that it actually builds after that, see https://github.com/NixOS/cabal2nix/tree/master/hackage2nix
<wild_willy> Ok will try it
<wild_willy> But I have to wait until the new version is pushed
<infinisil> Oh, so it's a PR?
<infinisil> Ah just not uploaded to hackage probably?
<wild_willy> Yeah but in the GitHub repository
<infinisil> I see, I'd bug them to push it to hackage, then do the steps above :)
<wild_willy> Yeah don't worry
<wild_willy> I will do it
<wild_willy> Thanks for the help
<infinisil> :)
chreekat_ has quit [Quit: quitting]
johnny101 has joined #nixos
wild_willy has left #nixos [#nixos]
mananamenos has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @taku0 opened pull request #73050 → firefox: use rustc 1.38.0 → https://git.io/JeVGL
Fare has quit [Ping timeout: 264 seconds]
gekketinus- has quit [Quit: Leaving]
hoijui has quit [Ping timeout: 250 seconds]
<exarkun> cinimod: There is no direct equivalent. What are you hoping to accomplish?
<cinimod> exarkun: pymc3 gives me runtime errors as it can't find some header files
<exarkun> cinimod: Seems weird that pymc3 wants header files at runtime
<cinimod> I think it compiles things on the fly
<exarkun> is pymc3 in nixpkgs or did you package it?
hoijui has joined #nixos
<cinimod> It is in nixpkgs
logzet has joined #nixos
cosimone has quit [Remote host closed the connection]
<cinimod> nix-shell --pure -I nixpkgs=https://github.com/NixOS/nixpkgs/archive/19.09.tar.gz -p 'python37.withPackages(ps: with ps; [ numpy pymc3 ])'
* exarkun tries
<sshow> exarkun: thanks for the help
Ariakenom_ has quit [Quit: WeeChat 2.6]
hoijui has quit [Client Quit]
Mark__ has quit [Quit: Textual IRC Client: www.textualapp.com]
jgt has joined #nixos
<{^_^}> [nixpkgs] @nixos-channel-bot pushed 2 commits to nixos-19.09-small: https://git.io/JeVtr
jb55 has joined #nixos
<{^_^}> Channel nixos-19.09-small advanced to https://github.com/NixOS/nixpkgs/commit/d9a83d34c8d (from 5 hours ago, history: https://channels.nix.gsc.io/nixos-19.09-small)
jgt has quit [Ping timeout: 252 seconds]
<cinimod> exarkun: I raised an issue: https://github.com/NixOS/nixpkgs/issues/73051
<{^_^}> #73051 (by idontgetoutmuch, 20 minutes ago, open): pymc3 does not run under nixos
<{^_^}> [nix] @edolstra merged pull request #3211 → gitignore /precompiled-headers.h.gch → https://git.io/JeVtm
<{^_^}> [nix] @edolstra pushed 2 commits to master: https://git.io/JeVG5
<{^_^}> [nixpkgs] @edolstra merged pull request #73050 → firefox: use rustc 1.38.0 → https://git.io/JeVGL
<{^_^}> [nixpkgs] @edolstra pushed 2 commits to master: https://git.io/JeVGd
kleschenko has quit [Remote host closed the connection]
kleschenko has joined #nixos
alexherbo2 has quit [Quit: The Lounge - https://thelounge.chat]
taylorm has joined #nixos
alexherbo2 has joined #nixos
<{^_^}> [nixpkgs] @zimbatm merged pull request #73048 → gitkraken: 6.3.0 -> 6.3.1 → https://git.io/JeVsc
<{^_^}> [nixpkgs] @zimbatm pushed commit from @evanjs to master « gitkraken: 6.3.0 -> 6.3.1 (#73048) »: https://git.io/JeVZJ
<{^_^}> [nixpkgs] @zimbatm merged pull request #73047 → vimPlugins.vimelette: init at 2019-05-02 → https://git.io/JeVsY
<{^_^}> [nixpkgs] @zimbatm pushed 3 commits to master: https://git.io/JeVZI
<exarkun> cinimod: I reproduced, fwiw
<{^_^}> [nixpkgs] @hedning opened pull request #73052 → webkitgtk: 2.26.1 -> 2.26.2 → https://git.io/JeVZL
kleschenko has quit [Read error: Connection reset by peer]
<bsima> how do i get ssh access to a running nixos vm? I did the QEMU_NET_OPTS to forward port 2222 to 22 but my ssh command just hangs
slack1256 has joined #nixos
<myme> What options do I have if I'd like to try to switch to another binutils? I'm running into a symbol issue discussed in e.g. this gist: https://gist.github.com/ivan-aksamentov/71e6d01abf78d569f698502c4e69e249 - So I'd like to try and see if using 2.30 or 2.32 is any better.
<exarkun> cinimod: It looks like the python derivation itself contains the header files so pymc3 probably needs python in its propagatedBuildInputs
<{^_^}> [nixpkgs] @nixos-channel-bot pushed 8 commits to nixos-unstable-small: https://git.io/JeVZZ
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
kleschenko has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/438a0cd40b2 (from 5 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<exarkun> Trying this now: nix-shell --pure -I nixpkgs=https://github.com/NixOS/nixpkgs/archive/19.09.tar.gz -p 'python37.withPackages(ps: with ps; [ numpy (pymc3.overrideAttrs (old: { propagatedBuildInputs = old.propagatedBuildInputs ++ [ python37 ]; })) ])'
<exarkun> lots to download though
<clever> bsima: what args are you using to ssh?
<bsima> clever: ssh -vvvv -p 2222 root@localhost
<evanjs> Sooo does anybody know why `cargo test` might succeed in a nix-shell session (genericBuild) but fail with `nix build`? Trying the former with `--pure` right now...
<clever> bsima: is ssh enabled in the guest?
jgt has joined #nixos
dansho has joined #nixos
<evanjs> context -- #68279
<{^_^}> https://github.com/NixOS/nixpkgs/pull/68279 (by teto, 8 weeks ago, open): nushell: init at 0.2.0
<clever> evanjs: it might be peeking in $HOME
<exarkun> myme: I suppose you would add an overlay that replaces nixpkgs.binutils with the one you want to try? and then compile a /lot/ of stuff.
<bsima> clever: yeah, sshd is loaded and active
<exarkun> myme: alternatively maybe you could jam your different binutils into just the expression for the software you care about but that might involve more changes specific to the expression you're changing
<bsima> (i set a temporary root passwd)
<evanjs> clever: Yeah, the same thing was happening with #70917, I think
<{^_^}> https://github.com/NixOS/nixpkgs/pull/70917 (by sondr3, 4 weeks ago, open): cargo-edit: 0.3.3 -> 0.4.0
<clever> bsima: if you tcpdump the ethernet if inside qemu, does it show traffic on port 22?
<{^_^}> [nixpkgs] @zimbatm merged pull request #73024 → nixos/systemd: Allow unit options to have multiple equal defs → https://git.io/JeVIg
<{^_^}> [nixpkgs] @zimbatm pushed commit from @Infinisil to master « nixos/systemd: Allow unit options to have multiple equal defs (#73024) »: https://git.io/JeVZE
o1lo01ol1o has quit [Remote host closed the connection]
<evanjs> One fails to read config files and the other gets permission denied (13) so yeah I think it's in that vein. Tried using RUST_BACKTRACE=1 to get a better picture of what it's trying to do
<{^_^}> [nixpkgs] @kwohlfahrt opened pull request #73053 → python3Packages.black: 19.03b0 -> 19.10b0 → https://git.io/JeVZ2
jgt has quit [Ping timeout: 245 seconds]
<myme> exarkun: I was hoping for a "jam"-based option ;) This is just for a dev/shell env building $work project.
<exarkun> cinimod: Looks like more than just that change is required.
<bsima> clever: uh, i think none of the networking is configured properly... since i can't seem to talk to the outside world or bringup the interface
<cinimod> exarkun: I concur but I don't know what other changes are required
<exarkun> cinimod: I'm not sure what though. If I had looked at the error more carefully maybe I would have noticed it is not missing a header file, it is tripping over purity enforcement in the nixpkgs build toolchain.
<clever> bsima: what QEMU_NET_OPTS did you set?
<exarkun> Maybe someone else has a clue what to do with a package that fails at runtime with an error like:
<exarkun> Exception: Compilation failed (return status=1): impure path `/run/user/1000/ccR1D5oP.o' used in link. collect2: error: ld returned 1 exit status.
<bsima> clever: just like the manual said "QEMU_NET_OPTS="hostfwd=tcp::2222-:22" ./result/bin/run-my-vm"
slack1256 has quit [Remote host closed the connection]
<clever> bsima: that should work...., does any interface exist in the guest?
<{^_^}> [nixpkgs] @wakira opened pull request #73055 → audacity: use gtk version passed through wxwidgets → https://git.io/JeVZX
waleee-cl has joined #nixos
<bsima> clever: yeah there's ens3
<bsima> also cool vm test, i need something like that
ckauhaus has joined #nixos
<{^_^}> [nixpkgs] @nixos-channel-bot pushed 2 commits to nixos-19.03-small: https://git.io/JeVtS
jlmeeker has joined #nixos
cinimod` has joined #nixos
<jlmeeker> Anyone hit a bug recently where building sqlite lqrx7rrg1yznj106hyabbzzlr1bwnswx-sqlite-3.27.2+replication3.drv fails? This is currently blocking lxd updates.
Fare has joined #nixos
cinimod has quit [Ping timeout: 240 seconds]
<jlmeeker> I'm wondering if this is a problem with my build cache (if that's a thing) or if it is a problem with the package
<{^_^}> Channel nixos-19.03-small advanced to https://github.com/NixOS/nixpkgs/commit/78e1f59812b (from 6 hours ago, history: https://channels.nix.gsc.io/nixos-19.03-small)
idf has quit [Ping timeout: 268 seconds]
johnnywho has joined #nixos
<johnnywho> I want to specify dependencies of a nix-shell for development environment
<johnnywho> I use mkShell
<johnnywho> however, I find myself specifying a lot of times stuff like python37Packages.pkg1, python37Packages.pkg2 and so on
<johnnywho> how can I not repeat this?
<{^_^}> [nixpkgs] @nixos-channel-bot pushed 9 commits to nixos-19.09-small: https://git.io/JeVZF
<{^_^}> Channel nixos-19.09-small advanced to https://github.com/NixOS/nixpkgs/commit/bcbb7ec52da (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-19.09-small)
<Shoubit> johnnywho, specifically "python37Packages"? You can use `with python37Packages; [ pkg1 pkg2 ]`
<{^_^}> [nixpkgs] @flokli opened pull request #73056 → nixos/pppd: port test to python → https://git.io/JeVZA
<johnnywho> I have some more packages but most are python related
<{^_^}> [nixpkgs] @nixos-channel-bot pushed 4 commits to nixpkgs-19.09-darwin: https://git.io/JeVZx
<Shoubit> johnnywho, if I understand correctly you just don't want to keep writing "python37Packages" all the time, then `with` will help.
<Shoubit> Otherwise, have a look at projects like pypi2nix and equivalent, that can take a `requirements.txt` and generate Nixpkg derivations
jgt has joined #nixos
<{^_^}> [nixpkgs] @flokli opened pull request #73057 → nixos/smokeping: port test to python → https://git.io/JeVne
kenran has quit [Ping timeout: 240 seconds]
<{^_^}> Channel nixpkgs-19.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/d9a83d34c8d (from 6 hours ago, history: https://channels.nix.gsc.io/nixpkgs-19.09-darwin)
<evanjs> clever: *checks trace output of tests* oh look, it tries to find stuff in $XDG_CONFIG_HOME/nushell >_>
<evanjs> Now how do we handle these...
kleschenko has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @layus opened pull request #73058 → electron: libappindicator-gtk3 for tray icons → https://git.io/JeVnJ
cinimod` has quit [Ping timeout: 265 seconds]
jgt has quit [Ping timeout: 264 seconds]
JonReed has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @flokli opened pull request #73059 → nixos/tinydns: port test to python → https://git.io/JeVnT
<{^_^}> [nixpkgs] @flokli opened pull request #73060 → nixos/powerdns: port test to python → https://git.io/JeVnI
mananamenos has joined #nixos
drakonis has quit [Quit: WeeChat 2.6]
Guest84 has joined #nixos
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/JeVnq
Guest84 has quit [Ping timeout: 250 seconds]
erasmas has joined #nixos
<lordcirth_> exarkun, do they build for you?
<exarkun> lordcirth_: At some point in history, sure.
<exarkun> How do I set `allowBroken = true` for a single nix-shell invocation so I can at least see what is broken?
<lordcirth_> Perhaps I don't understand your question. Presumably they are being marked broken because they are broken
<lordcirth_> Good question
<exarkun> It seems like including details about how they are broken, at least in the commit, would make sense.
<lordcirth_> Yes, more detail would be good
<exarkun> If not, then why leave them in the tree at all. Just delete them if they are broken and no one even cares enough to file a bug report.
<deni> when I run `nix-env -f "<nixpkgs>" -qaP -A haskell.packages.ghc864` in the folder where I have `nix/sources.nix` generated by `niv` is it using those pinned nixpkgs or the ones from my system (that nix-channel --list shows) ?
<exarkun> I guess I'll just copy the file I care about right now and delete `broken = true` and see what happens
<lordcirth_> exarkun, "broken" is intended for them to be fixed, not just removed forever
<lordcirth_> Deleting them and re-adding them would add a lot of churn
<exarkun> Marking them as broken and leaving them broken forever adds a lot of bloat. :)
<exarkun> It is pretty widely accepted that the cost of fixing software bugs increases as the age of the bug increases
<Shoubit> deni, by "it" you mean nix-env? nix-env will use whatever is in $NIX_PATH I think. If you want it to use `nix/sources.nix` I believe you can use `nix-env -f nix/sources.nix` but I haven't looked into this so I can't say with certainty.
kleschenko has joined #nixos
<exarkun> I use one of these packages and I didn't even see it was marked as broken in tree until over a month after it was marked so
<exarkun> doesn't bode well for the bug ever being fixed
cinimod` has joined #nixos
<jlmeeker> Anyone hit a bug recently where building sqlite lqrx7rrg1yznj106hyabbzzlr1bwnswx-sqlite-3.27.2+replication3.drv fails? This is currently blocking lxd updates. https://pastebin.com/ns8FMUCX
jgt has joined #nixos
<{^_^}> [nixpkgs] @andir merged pull request #72006 → thunderbird, thunderbird-bin: 68.1.1 -> 68.2.2 [Critical security fixes] → https://git.io/JeEZ5
<{^_^}> [nixpkgs] @andir pushed 7 commits to master: https://git.io/JeVnG
ardumont has quit [Ping timeout: 245 seconds]
<{^_^}> #72992 (by otwieracz, 21 hours ago, open): Problem when rebuilding sqlite from `release-19.09`
<jlmeeker> lordcirth: thanks... I was digging and hadn't come across that one yet. Thanks!
ardumont has joined #nixos
cinimod` has quit [Ping timeout: 245 seconds]
o1lo01ol1o has joined #nixos
<{^_^}> [nixpkgs] @Izorkin opened pull request #73061 → Revert "samba: fix autostart service" → https://git.io/JeVn0
<jlmeeker> okay, now a newbie question.... with regards to that sqlite bug... it appears to have been merged into NixOS:release-19.09 (which I'm using).. but after a "nix-channel --update" by build still fails. What am I missing?
<inkbottle> If anyone has succeeded in using bucklescript/bs-platform I'd really like to hear about it (reasonml to js compiler)
taylorm has quit [Remote host closed the connection]
cinimod` has joined #nixos
<deni> Shoubit: I tried that but I get an error saying attribute 'haskell' in selection path 'haskell.packages.ghc864' not found
<{^_^}> [nixpkgs] @Izorkin opened pull request #73062 → curl: 7.66.0 -> 7.67.0 → https://git.io/JeVnu
<{^_^}> [nix] @LnL7 opened pull request #3212 → [WIP] install: configure and bootstrap synthetic.conf on darwin → https://git.io/JeVnz
<ddima> jlmeeker: the channel is not up to date yet; https://nixos.org/channels/nixos-19.09
<ddima> if you mean sqlite-replication.
jb55 has quit [Remote host closed the connection]
Fare has quit [Ping timeout: 245 seconds]
bvdw has quit [Read error: Connection reset by peer]
jb55 has joined #nixos
bvdw has joined #nixos
<red[m]> So my PR to put something into the stable branch was accepted and merged. To get it into master, do I need to submit another PR or does it just automatically happen?
<red[m]> (as a more general question - are there docs on how the various branch workflows work?)
<clever> red[m]: once staging is confirmed to not break everything, somebody usually merges it into master
growpotkin has joined #nixos
<Yaniel> AFAIK most PRs are just done directly to master?
<clever> yeah
<Taneb> Yaniel: yes, but not ones that cause large-scale rebuilds
<Yaniel> and sometimes I see [backport] PRs to the other branches
<Taneb> Backport PRs are generally to the latest stable branch
<red[m]> Yaniel: yah - but because the package I touched touches a lot of downstream packages I was asking to plonk it there
<Yaniel> right
<Yaniel> "somebody usually" sounds awfully vague though :D
<red[m]> clever: I guess I'm mainly asking because it looks like builds and tests in hydra have stalled on stable - so kinda curious how it gets tested and then picked up
<{^_^}> [nixpkgs] @minijackson opened pull request #73063 → shiori: update modSha256, update test to python, do more tests → https://git.io/JeVny
<{^_^}> [nixpkgs] @thoughtpolice merged pull request #73015 → framac: 19.0 -> 19.1 → https://git.io/JeVJg
<{^_^}> [nixpkgs] @thoughtpolice pushed commit from @yrashk to master « framac: 19.0 -> 19.1 »: https://git.io/JeVnH
<{^_^}> [nixpkgs] @c0bw3b merged pull request #70941 → hsqldb: 1.8.0 -> 2.5.0 → https://git.io/Jel33
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to master: https://git.io/JeVn7
<marius851000[m]> I want to test nix flake, and I set nix.package = pkgs.nixFlakes; in my configuration.nix. I rebuild the system, and now, nix flake is installed (nix --help list the flake subcommand), but I can't run any subcommand of nix (like nix flake, but also nix optimise-store. It say me "error: experimental Nix feature 'nix-command' is disabled". It worked before I changed the package (I left the default value before).
lukash_ is now known as lukash_|away
johnnywho has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @minijackson opened pull request #73064 → jellyfin: update to 10.4.1, port test to python → https://git.io/JeVnp
<segfault[m]> whats the best way to build a machnine which has a given folder structure and some basic test files? I thought about somehting like initialScript = "mkdir foo /; echo bar > foor/foobar" in my configuration.nix
kleschenko has quit [Ping timeout: 268 seconds]
<lordcirth_> segfault[m], like, creating a VM, or what?
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage2nix: disable builds that break evaluation on Hydra »: https://git.io/JeVcv
Kritnich has quit [Quit: Bye bye.]
<segfault[m]> I want to create a contianer, which has some folders and files
Kritnich has joined #nixos
<{^_^}> [nixpkgs] @nixos-channel-bot pushed 12 commits to nixpkgs-19.09-darwin: https://git.io/JeVcf
<{^_^}> [nixpkgs] @peti merged pull request #72882 → haskellPackages.purescript: get this building again → https://git.io/JeanE
<{^_^}> [nixpkgs] @peti pushed 4 commits to haskell-updates: https://git.io/JeVcU
Izorkin has quit [Ping timeout: 265 seconds]
knupfer has joined #nixos
boxscape has joined #nixos
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/JeVcI
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/JeVcL
Synthetica has quit [Quit: Connection closed for inactivity]
<{^_^}> Channel nixpkgs-19.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/23af4044501 (from 3 hours ago, history: https://channels.nix.gsc.io/nixpkgs-19.09-darwin)
<{^_^}> [nixpkgs] @c0bw3b merged pull request #71531 → perlPackages.MojoRedis: init at 3.24 → https://git.io/JeR3z
Izorkin has joined #nixos
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to master: https://git.io/JeVcY
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to release-19.09: https://git.io/JeVc3
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « all-cabal-hashes: update to Hackage at 2019-11-08T16:49:51Z »: https://git.io/JeVcs
idf has joined #nixos
jlv has joined #nixos
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « git-annex: update sha256 hash for new version 7.20191106 »: https://git.io/JeVcG
cinimod` has quit [Remote host closed the connection]
cinimod` has joined #nixos
joshuagl has quit [Quit: Textual IRC Client: www.textualapp.com]
<jlv> Can I declaratively configure a directory in configuration.nix? In particular, I'm looking at Section 3.8 of the NixOps manual, and would like the necessary configuration of /var/lib/libvirt/images to be in my system configuration.
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
Izorkin has quit [Ping timeout: 264 seconds]
Fare has joined #nixos
<adisbladis> jlv: You can create it in an activationScript, but generally that kind of thing should be created by the module system if something requires it.
<{^_^}> [nixpkgs] @peti pushed 3 commits to haskell-updates: https://git.io/JeVcW
jlmeeker has quit [Ping timeout: 240 seconds]
<jlv> adisbladis: Maybe `virtualization.libvirtd` should configure that directory when it is enabled. For now, I'll see about an activationScript :)
h0m1 has quit [Quit: WeeChat 2.6]
<setthemfree[m]> Hi everyone. I think the auto-update mechanism got confused about the mu package - https://github.com/NixOS/nixpkgs/commit/53a536c69869e68b1101518a84cf89e3d91e25bc#diff-f81cbda21ba7241e1d80f4a525063557
<{^_^}> [nixpkgs] @rtimush opened pull request #73065 → cfn-lint: propagate setuptools → https://git.io/JeVc4
<setthemfree[m]> The latest release is 1.2 https://github.com/djcb/mu/releases
h0m1 has joined #nixos
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « haskell-polysemy-plugin: drop obsolete patches »: https://git.io/JeVcB
<setthemfree[m]> The 1.3 tags are development releases
<setthemfree[m]> What approach should I take to fix this?
civodul has quit [Quit: ERC (IRC client for Emacs 26.3)]
shibboleth has joined #nixos
<adisbladis> setthemfree[m]: Make a PR reverting that commit, also cc ryantm in your pull request so he can have a look how to avoid this in the future.
<setthemfree[m]> adisbladis: thanks
<setthemfree[m]> Also reporting this on repology.org (the source of the version info in the commit)
<{^_^}> [nixpkgs] @peti pushed 19 commits to haskell-updates: https://git.io/JeVcE
<{^_^}> [nixpkgs] @worldofpeace merged pull request #73046 → nixos/tests: correct arguments to get_unit_info → https://git.io/JeVsT
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/JeVcg
<{^_^}> [nixpkgs] @nixos-channel-bot pushed 37 commits to nixos-unstable-small: https://git.io/JeVcV
<{^_^}> [nixpkgs] @peti pushed 15 commits to haskell-updates: https://git.io/JeVco
logzet has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
<{^_^}> [nixpkgs] @worldofpeace merged pull request #73028 → wire-desktop: Add arianvp to maintainer list → https://git.io/JeVLn
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/JeVcK
hoijui has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/a2429cffa34 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
knupfer has quit [Ping timeout: 264 seconds]
spacetato has joined #nixos
cosimone has joined #nixos
dingenskirchen has joined #nixos
cosimone has quit [Client Quit]
cosimone has joined #nixos
Izorkin has joined #nixos
mexisme has joined #nixos
<spacetato> is there some way of knowing when nixos-unstable is planned to be updated (a PR or otherwise)?
<{^_^}> [nixpkgs] @peti pushed 16 commits to haskell-updates: https://git.io/JeVcM
<{^_^}> [nixpkgs] @peti pushed 16 commits to master: https://git.io/JeVcy
<waleee-cl> spacetato: it steps forward automatically when the tests for that channel are passed
cinimod` has quit [Ping timeout: 265 seconds]
<waleee-cl> (* as far as I have seen and observed at least)
LysergicDreams has quit [Ping timeout: 268 seconds]
<spacetato> waleee-cl: thank you! so when a trunk-combined build passes I should expect nixos-unstable to be updated?
<waleee-cl> ,howoldis spacetato
<waleee-cl> it has some links to the hydra jobsets if I remember correctly
<spacetato> yes, found those
<spacetato> so when the associated jobset passes it is deployed automatically?
mexisme has quit [Ping timeout: 246 seconds]
<spacetato> ah there's a description on the site
<spacetato> "The nixos.org server has a cronjob for which nixos-channel-scripts are executed and poll for the newest jobset that satisfies the above two conditions and trigger a channel update"
Izorkin has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @rasendubi pushed 2 commits to master: https://git.io/JeVcb
<{^_^}> [nixpkgs] @rasendubi merged pull request #73036 → faudio: 19.10 -> 19.11 → https://git.io/JeVqM
halfbit has quit [Ping timeout: 240 seconds]
Izorkin has joined #nixos
LysergicDreams has joined #nixos
<{^_^}> [nixpkgs] @nixos-channel-bot pushed 3 commits to nixos-19.09-small: https://git.io/JeVsa
<{^_^}> Channel nixos-19.09-small advanced to https://github.com/NixOS/nixpkgs/commit/23af4044501 (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-19.09-small)
ambro718 has joined #nixos
<{^_^}> [nixpkgs] @srghma opened pull request #73066 → dhall: 1.24.0 -> 1.27.0 → https://git.io/JeVCk
<exarkun> is cache.nixos.org having a bad day or something
Izorkin has quit [Ping timeout: 246 seconds]
Izorkin has joined #nixos
jlmeeker has joined #nixos
<mananamenos> hi, https://pastebin.com/gdzs242X. Now when i try to postgres://bla:bla@localhost:5433/postgres, it fails with connection refused.
<{^_^}> [nixpkgs] @yurkobb opened pull request #73067 → Fix mu version from unreleased to stable (revert to 1.2) → https://git.io/JeVCm
<samueldr> exarkun: could be regional to you, anything particular you're seeing?
<samueldr> it's backed by fastly, so it's likely most people won't see the same issues
<samueldr> (if issues there are)
<mananamenos> sorry, i've figured it out it already. Had to connect via unix socket
<exarkun> a bunch of downloads timed out and then a bunch more went at barely a trickle
pie_ has quit [Ping timeout: 268 seconds]
<exarkun> after about 45 minutes I now have the 37 MiB of deps I needed
<samueldr> I personally won't know what to make of it, but there's this page to gather debug data
<samueldr> though it needs content blockers to be configured to load the right stuff
<exarkun> hm that's a handy page to know about I guess
<exarkun> thanks
Izorkin has quit [Quit: ZNC 1.7.5 - https://znc.in]
MichaelRaskin has joined #nixos
cinimod` has joined #nixos
cosimone has quit [Quit: Terminated!]
lsix has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @Ericson2314 pushed 14 commits to bash-no-undef-vars: https://git.io/JeVCn
domogled has joined #nixos
Kritnich has quit [Read error: Connection reset by peer]
* exarkun wonders again how to get python development mode working
rauno has quit [Ping timeout: 245 seconds]
Kritnich has joined #nixos
hoijui has quit [Ping timeout: 246 seconds]
Okinan has joined #nixos
<{^_^}> [nixpkgs] @klntsky opened pull request #73068 → picat: 1.9 -> 2.7 → https://git.io/JeVCC
ris has joined #nixos
wildtrees has joined #nixos
<{^_^}> [nixpkgs] @Pamplemousse opened pull request #73069 → python3Packages.crypto-commons: init at unstable-2019-11-08 → https://git.io/JeVCR
<{^_^}> [nixpkgs] @vbgl opened pull request #73070 → gnumeric: 1.12.45 → 1.12.46; goffice: 0.10.45 → 0.10.46 → https://git.io/JeVC2
<Yaniel> rip, steam is suddenly completely broken
<Yaniel> it wants a 32bit libva.so
__Myst___ has joined #nixos
<clever> Yaniel: i saw a solution in this channel already, blow away a beta dir
__Myst__ has quit [Ping timeout: 268 seconds]
<Yaniel> mm right, it did happen right after steam updated itself and I do have the client beta enabled
shibboleth has quit [Quit: shibboleth]
cinimod` has quit [Ping timeout: 240 seconds]
nornagon7 has joined #nixos
<{^_^}> [nixpkgs] @Ericson2314 pushed 762 commits to bash-no-undef-vars: https://git.io/JeVC6
siiky has quit [Quit: leaving]
siiky has joined #nixos
nornagon has quit [Ping timeout: 250 seconds]
Thra11 has quit [Ping timeout: 250 seconds]
jlmeeker has quit [Ping timeout: 252 seconds]
vika_nezrimaya has quit [Ping timeout: 265 seconds]
jedai42 has joined #nixos
Fare has quit [Ping timeout: 245 seconds]
chamo[m] has joined #nixos
tokudan has quit [Quit: Dunno.]
attocell[m] has left #nixos ["User left"]
jb55 has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @nixos-channel-bot pushed 2 commits to nixos-19.09-small: https://git.io/JeVc3
Izorkin has joined #nixos
<{^_^}> Channel nixos-19.09-small advanced to https://github.com/NixOS/nixpkgs/commit/f0746048716 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-19.09-small)
tokudan has joined #nixos
Chiliparrot has joined #nixos
jlmeeker has joined #nixos
Thra11 has joined #nixos
davidak has joined #nixos
<davidak> are the nixos tests also intended for applications or only for nixos modules? there is for example chromium and fish, but mostly modules
<davidak> i want to add tests for my cli application packages
<gchristensen> they're mostly for modules, and very very important programs
<clever> davidak: for cli apps, its usually simpler to just put it into the derivation, as a checkPhase
<gchristensen> they have a very high cost to run
kenran has joined #nixos
<clever> i think the only reason things like chromium are in a nixos test, is because it needs X11 to test
<clever> so chromium itself isnt a module, but it relies on a module to start
<davidak> i see
<davidak> i noticed that one command in the test VM takes 120 seconds to finish where it takes less than 1 second on my system...
<davidak> clever, is there an example for tests in the derivations?
knupfer has joined #nixos
Izorkin_ has joined #nixos
Izorkin has quit [Ping timeout: 240 seconds]
Izorkin_ is now known as Izorkin
halfbit has joined #nixos
Izorkin has quit [Client Quit]
pie_ has joined #nixos
<clever> davidak: does /dev/kvm exist on your machine?
Izorkin has joined #nixos
bsima has quit [Quit: ZNC 1.7.4 - https://znc.in]
<{^_^}> [nixpkgs] @nixos-channel-bot pushed 2 commits to nixpkgs-19.09-darwin: https://git.io/JeVc3
CMCDragonkai has quit [Quit: Connection closed for inactivity]
bsima has joined #nixos
<davidak> clever, yes
<clever> davidak: not sure why its so slow then, but usually better to do the test in the derivation, without qemu
<davidak> yes, that makes sense
Fare has joined #nixos
<davidak> i'll create an issue to document it in nixpkgs doc
<mananamenos> where from do i get my 'theUidOfYourUser' https://nixos.wiki/wiki/NTFS?
<clever> mananamenos: run `id`
<mananamenos> thanks
<mananamenos> can put this to my configuration.nix too?
<davidak> clever, eny idea how to test programs that connect to the intenet like `tldr --update`
<{^_^}> Channel nixpkgs-19.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/f0746048716 (from 2 hours ago, history: https://channels.nix.gsc.io/nixpkgs-19.09-darwin)
<clever> davidak: the internet is disabled during all testing
<{^_^}> [nixpkgs] @LnL7 pushed 3 commits to master: https://git.io/JeVW4
<{^_^}> [nixpkgs] @LnL7 merged pull request #71318 → openconnect: Add darwin support → https://git.io/JeBeA
orivej has joined #nixos
chamo[m] has left #nixos ["User left"]
<davidak> clever, so the answer ist "we can't test such cases"? that would be bad :/
hoijui has joined #nixos
<davidak> we could add an integration test phase that optionally has network access
<gchristensen> we can't actually
<davidak> but yeah that would add state to the test situation
hoijui has quit [Client Quit]
<clever> davidak: what exactly is it fetching from the internet? could you fake it with an nginx server and /etc/hosts?
<davidak> i think it clones a git repo or download some archive
mananamenos has quit [Ping timeout: 240 seconds]
<davidak> with that method it would need a nixos module test, but i think that's too costly for such a small program just a few people use
<davidak> but good to know
zupo has joined #nixos
virus_dave has joined #nixos
spacetato has quit [Quit: Lost terminal]
psyanticy has quit [Quit: Connection closed for inactivity]
idf has quit [Ping timeout: 245 seconds]
kenran has quit [Ping timeout: 240 seconds]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Fare has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @matthewbauer merged pull request #73020 → libco-canonical: fix pkgconfig includedir → https://git.io/JeVkm
jlmeeker has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/JeVW7
jlmeeker has joined #nixos
jlmeeker has quit [Read error: Connection reset by peer]
jlmeeker_ has joined #nixos
<{^_^}> [nixpkgs] @benley opened pull request #73071 → [19.09] melpa-packages: 2019-10-25 → https://git.io/JeVWp
dansho has quit [Quit: Leaving]
<{^_^}> [nix] @singron opened pull request #3213 → Replace $TMPDIR with $TEST_ROOT in tests/fetchurl.sh → https://git.io/JeVlU
domogled has quit [Remote host closed the connection]
gxt has quit [Ping timeout: 260 seconds]
zupo has joined #nixos
<{^_^}> [nix] @singron opened pull request #3214 → Switch to std::uncaught_exceptions → https://git.io/JeVls
<eyJhb> Any easy way to fix YouCOmpleteMe for vim? Getting this error '2019-11-08 20:33:00,348 - ERROR - ycm_core library compiled for Python 3 but loaded in Python 2.' ?
<clever> eyJhb: one sec
<eyJhb> I have been missing it for a month or so
<clever> 48 let g:ycm_server_python_interpreter='${pkgs.python3.interpreter}'
<clever> eyJhb: you need to add this to the vimrc
<eyJhb> Ehm...
<red[m]> we don't have a bot here that responds to "seen" requests do we? (ie: "JoeBlow was last seen active on this channel 2 hours ago")
<eyJhb> But that implies my vimrc is controlled by NixOS, right?
<clever> eyJhb: the problem, is that the ycm stuff in vim, tries to run `python /path/to/ycmd`, but looks up the python path in a number of places
<gchristensen> red[m]: I don't think so
<clever> eyJhb: and all of that is pointless, because ycmd already had a #!/nix/store/foo/bin/python on it
<clever> eyJhb: youll need to build a python3 then, put its link somewhere predictable, and put its path into the vimrc
<clever> eyJhb: nix-build '<nixpkgs>' -A python3 -o ~/python3-root, for ex
<eyJhb> Can't I just change vim to use Python3 instead?
<eyJhb> Everything else on my system uses python3 anyways
<red[m]> Okay thanks, I was hoping to see if zimbatm_ (IRC) / zimbatm has been active recently
<clever> eyJhb: its already using python3
<clever> eyJhb: the problem is that the vim script, is looking in places like /usr/bin to find a python binary, to run ycmd
<clever> eyJhb: and its ignoring the fact that ycmd already had a #! that did the right thing
Izorkin has quit [Quit: ZNC 1.7.5 - https://znc.in]
<eyJhb> What.. That seems like a weird behaviour...
<clever> eyJhb: its probably designed for lesser OS's that dont use #!'s as heavily
Izorkin has joined #nixos
<eyJhb> Isn't there anything we can do about it?
fusion809 has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @cko opened pull request #73072 → treewide: add missing descriptions & homepages → https://git.io/JeVlR
<clever> eyJhb: a: tell ycmd to explicitly use python3 (but its still ignoring the #!)
<clever> eyJhb: b: patch ycm to obey the #!
<{^_^}> [nixpkgs] @Ericson2314 merged pull request #72812 → cc-wrapper, bintools-wrapper: Remove now unneeded `set {+,-}u` → https://git.io/Je2D3
<{^_^}> [nixpkgs] @Ericson2314 pushed 19 commits to staging: https://git.io/JeVlE
<{^_^}> [nixpkgs] @Ericson2314 pushed 0 commits to bash-no-undef-vars: https://git.io/JeVlu
<{^_^}> [nixpkgs] @Ericson2314 pushed 0 commits to bash-no-undef-vars: https://git.io/JeVlz
asymmetric has quit [Changing host]
asymmetric has joined #nixos
<KarelWDingeldey[> Does anyone know how long NixOS releases get security fixes?
<clever> KarelWDingeldey[: there is a month of overlap when a new release comes out, then the old release stops getting updates
<KarelWDingeldey[> Currently 19.09 is the latest release. Does 19.03 still get updates?
<gchristensen> KarelWDingeldey[: I believe it stops receiving updates tomorrow or so
<eyJhb> clever: should I point it directly to my bin/python3.7?
<eyJhb> Because I get errors...
<clever> eyJhb: probably
<gchristensen> KarelWDingeldey[: it receives 1mo of updates after the 6mo release comes out
<eyJhb> Nothing wants to work :(
dckc has quit [Ping timeout: 276 seconds]
Izorkin has quit [Client Quit]
lovesegfault has joined #nixos
<eyJhb> `RuntimeError: Path in 'g:ycm_server_python_interpreter' option does not point to a valid Python 2.7 or 3.5+.`
<LnL> I don't really use ycm anymore but perhaps our interpreter patch doesn't work anymore?
<eyJhb> `let g:ycm_server_python_interpreter='/home/eyjhb/tmp/python3/bin/python3.7'`, which is direct bin
<eyJhb> LnL: me neither, bust mostly because it doesn't work :p
<eyJhb> but*
<KarelWDingeldey[> <clever "Karel W. Dingeldey: there is a m"> That's a little tight, but fair enough. After all NixOS is a great system. I've never had so little trouble with upgrades, even on Debian.
<{^_^}> [nixpkgs] @Ericson2314 pushed 168 commits to structured-attrs: https://git.io/JeVlw
<eyJhb> LnL: but is that in 19.09?
<clever> LnL: i havent noticed that actually working, and the problem is more that its trying to use an interpreter, when there was already a working #!
<{^_^}> [nixpkgs] @Ericson2314 pushed 0 commits to bash-no-undef-vars: https://git.io/JeVlu
<LnL> it's been in there for a couple of years, but of something renamed it might have silently broken
<eyJhb> I think my vimrc is broken in general
<eyJhb> As I use both vimrc locally with plug, and the nixos conf
<clever> eyJhb: https://github.com/cleverca22/nixos-configs/blob/master/vim.nix#L16 is how i manage things, but the ycm fix is absent
<LnL> the wrap python stuff that was added to vim_configurable also comes to mind, but I think that's not enabled by default
<clever> and the vim fix
<LnL> clever: that's a different variable
<clever> LnL: oh, i see now
<clever> LnL: so if the string in the overrides.nix is updated, it should work once more
Izorkin has joined #nixos
<LnL> updated or added, but yeah I don't remember but added it for a similar reason
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace merged pull request #72998 → gnome3.geary: add patch for longer client test timeout → https://git.io/Jeaxp
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/JeVlD
gkmngrgn has joined #nixos
dckc has joined #nixos
ckauhaus has quit [Quit: WeeChat 2.6]
<{^_^}> [nixpkgs] @risicle opened pull request #73073 → [r19.03] opencv4: add patches for CVE-2019-14491, CVE-2019-14492, CVE-2019-14493 & CVE-2019-15939 → https://git.io/JeVl7
<{^_^}> [nixpkgs] @worldofpeace merged pull request #73056 → nixos/pppd: port test to python → https://git.io/JeVZA
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/JeVl5
<{^_^}> [nixpkgs] @worldofpeace merged pull request #73057 → nixos/smokeping: port test to python → https://git.io/JeVne
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/JeVld
<{^_^}> [nixpkgs] @worldofpeace merged pull request #73060 → nixos/powerdns: port test to python → https://git.io/JeVnI
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/JeVlb
Fare has joined #nixos
tokudan has quit [Quit: Dunno.]
knupfer has quit [Quit: knupfer]
tokudan has joined #nixos
Hasan has joined #nixos
knupfer has joined #nixos
knupfer has quit [Client Quit]
<nurelin> Hello, can I set the NIX_DEBUG variable from the command-line when executing nix-build ?
<red[m]> oh hang on
<red[m]> did google calendar hide the timezone from me?
o1lo01ol1o has quit [Remote host closed the connection]
<LnL> sure, if you update the expression or override the drv
idf has joined #nixos
<{^_^}> [nixpkgs] @ingenieroariel opened pull request #73074 → python3Packages.apache-airflow 1.10.5 → https://git.io/JeV8f
<{^_^}> [nixpkgs] @Ptival opened pull request #73075 → coqPackages.InteractionTrees: init at 1.0.0 → https://git.io/JeV8J
<srid> Could someone point me to their config of running containers declaratively, with wireguard tunnelling all traffic to some server (acting as vpn), and then launching google-chrome from the container, using the local X display?
leotaku has quit [Ping timeout: 268 seconds]
kleschenko has joined #nixos
<nurelin> Lnl: thanks, I realized that I could use nix-shell to load the derivation and then set NIX_DEBUG
knupfer has joined #nixos
Hasan is now known as hasanzia
knupfer has quit [Ping timeout: 246 seconds]
lovesegfault has quit [Ping timeout: 276 seconds]
o1lo01ol1o has joined #nixos
<{^_^}> [nixpkgs] @flokli merged pull request #73049 → nixos/redis: fix merging → https://git.io/JeVsD
kleschenko has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @flokli pushed 2 commits to master: https://git.io/JeV8m
<{^_^}> [nixpkgs] @flokli pushed to release-19.09 « nixos/redis: fix merging »: https://git.io/JeV8O
noudle has quit []
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<jackdk> srid: I haven't done anything with containers so I can't help, but you may have more success isolating subproblems and asking for help with those
<srid> Basically, I'd like to run VPN. But limited in scope only to a single process of the web browser (Google Chrome). I already use Wireguard, and have a remote peer, so I'd like to use that as my VPN server.
<{^_^}> [nixpkgs] @ryantm merged pull request #73067 → Fix mu version from unreleased to stable (revert to 1.2) → https://git.io/JeVCm
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/JeV8l
<{^_^}> [nixpkgs] @nixos-channel-bot pushed 43 commits to nixos-unstable-small: https://git.io/JeV88
chloekek has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/8a7b4ccd1fb (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
hasanzia has quit [Quit: Textual IRC Client: www.textualapp.com]
philr has joined #nixos
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
o1lo01ol1o has quit [Remote host closed the connection]
mexisme has joined #nixos
o1lo01ol1o has joined #nixos
lovesegfault has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
tput has joined #nixos
silver has quit [Quit: rakede]
o1lo01ol1o has joined #nixos
sweep has joined #nixos
sweep has quit [Changing host]
sweep has joined #nixos
sweep is now known as genesis
mexisme has quit [Ping timeout: 276 seconds]
tput has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @risicle opened pull request #73078 → [r19.03] varnish6: add patch for CVE-2019-15892 → https://git.io/JeV8j
Chiliparrot has joined #nixos
kuznero has joined #nixos
<kuznero> Hi All!
<lordcirth_> kuznero, hi
<kuznero> When creating a package and adding some files that have strings to be interpolated by nix, e.g. `${networkmanager}/bin/nmcli`, how do I make sure that when adding a file to a package it also interpolates these things in them?
acarrico has quit [Remote host closed the connection]
<kuznero> In string literals that works out of the box, but it would be nice to be able to do this explicitly on file's content too
<{^_^}> [nixpkgs] @flokli merged pull request #73063 → shiori: update modSha256, update test to python, do more tests → https://git.io/JeVny
<{^_^}> [nixpkgs] @flokli pushed 4 commits to master: https://git.io/JeV4k
karetsu has joined #nixos
ambro718 has quit [Quit: Konversation terminated!]
acarrico has joined #nixos
<kuznero> Like buildins... readfile... and interpolate ?
idf has quit [Ping timeout: 240 seconds]
<karetsu> whenever I click on an 'unlock' button in gnome-control-center I get a dbus permissions error: https://gist.github.com/karetsu/e4acb4e7e159943303f47dea6f5c9a75
<karetsu> I can't see where in my permissions this is the case: https://github.com/karetsu/nixOS-configuration/ because the user aloysius is in wheel, it just seems dbus isn't picking up the groups?
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
<kuznero> What `builtins.tryEval` is doing? Will it interpolate in the string?
<kuznero> Where is it defined?
o1lo01ol1o has quit [Ping timeout: 268 seconds]
asymmetric has quit [Ping timeout: 240 seconds]
Fare has quit [Ping timeout: 250 seconds]
kunstruktur has joined #nixos
mexisme has joined #nixos
Thra11 has quit [Ping timeout: 268 seconds]
<infinisil> > builtins.tryEval (throw "error")
<{^_^}> { success = false; value = false; }
<infinisil> > builtins.tryEval "some non-throwing value"
<{^_^}> { success = true; value = "some non-throwing value"; }
<infinisil> kuznero: ^
Kritnich has quit [Quit: Bye bye.]
<kuznero> hm, interesting, let me try that in `nix repl` :)
Kritnich has joined #nixos
cptchaos83 has quit [Ping timeout: 268 seconds]
cptchaos83 has joined #nixos
<kuznero> infinisil, it seems that I don't understand how to take advantage of it: https://pastebin.com/sXYBM2uF
<infinisil> kuznero: No idea what you're expecting?
<infinisil> Oh, if you want the file to be interpreted as Nix you need to `import ./test`
seanparsons has quit [Quit: ZNC 1.7.3 - https://znc.in]
<infinisil> tryEval can't be used for that
<{^_^}> [nixpkgs] @Pamplemousse opened pull request #73079 → python3Packages.distances: init at 1.5.0 → https://git.io/JeV4g
<kuznero> There you go :) it was that simple
<kuznero> Thanks!
<infinisil> :)
seanparsons has joined #nixos
gorillarip has quit [K-Lined]
<{^_^}> [nixpkgs] @flokli opened pull request #73080 → nixos/samba: use tmpfiles, port test to python → https://git.io/JeV4K
<kuznero> Still gives an error... moment will update the pastebin
abathur has joined #nixos
Thra11 has joined #nixos
<kuznero> infinisil, my goal is to have dependencies defined outside of what I try to import
<red[m]> So - I'm trying to be useful and review incoming PRs. Can someone tell me - is this kind of review I left useful to you?
<{^_^}> #73078 (by risicle, 34 minutes ago, open): [r19.03] varnish6: add patch for CVE-2019-15892
<infinisil> kuznero: Do you *really* want to do that?
<kuznero> Such that ./test content by itself is not valid. Maybe I can builtins.readFile, then construct a new file and then import that one with defined dependencies... but that is too verbose
<infinisil> Because you can, but it's not nice
seanparsons has quit [Quit: ZNC 1.7.4 - https://znc.in]
Fare has joined #nixos
<kuznero> Agree, the alternative is to keep the content in the nix file directly interpolating in-place. But a lot of bash inside nix is also ugly
<infinisil> kuznero: Why not pass an argument?
<kuznero> / it is bash for my own `scripts` package this time
seanparsons has joined #nixos
<infinisil> kuznero: Okay so the way to import files with an additional scope is `builtins.scopedImport { x = "foo"; } ./test`
<kuznero> infinisil, super! trying it out now!
<infinisil> But this wouldn't be allowed in any reasonable codebase
<kuznero> But it keeps things pretty cleanly separated as opposed to keeping alien format inside nix files as string literals, right?
<clever> kuznero: why not make test a nix function?
<clever> kuznero: { x }: "....${x}..." and then just `import ./test { x = "foo"; }`
<infinisil> kuznero: Usually you'd do a find-and-replace on the file to substitute variables used in it
jboy has quit [Remote host closed the connection]
<kuznero> clever, that will mean keeping a lot of bash inside nix, which is what I don't like
<infinisil> The substituteAll function in nixpkgs does that
<Thra11> If an overlay using overrideAttrs needs to make a minor modification to an attribute (such as postFixup or whatever) which consists of a lengthy shell script, is there any sane alternative to just repeating the whole script with the necessary changes?
<clever> kuznero: then maybe you want pkgs.substituteAll
<clever> its both a bash function and a nix function, they basically do the same thing
<infinisil> Thra11: Hehe yes, you can use `postFixup = builtins.replaceStrings ["thing to change"] ["replacement"] postFixup`
<kuznero> clever, hm now that I think about it... maybe you and infinisil both right... since bash has similar syntax and I will not benefit from having it done the way I described. ok, will try to wrap those as nix files with functions accepting arguments required
<kuznero> clever, infinisil, though function is also not ideal as in this particular case bash will have similar syntax, e.g. ${PATH} that nix will try to interpolate but will likely fail.
<{^_^}> [nixpkgs] @nixos-channel-bot pushed 9 commits to nixos-19.09: https://git.io/JeV4D
<kuznero> Those native bash ones should be escaped then, right?
<clever> ,escape'' kuznero
<{^_^}> kuznero: '' two single quotes: ''' bash curly bois: ''${} newline: ''\n tab: ''\t any character x: ''\x ''
<infinisil> kuznero: You can also use a bash script like normal, then as previously mentioned use substituteAll to substitute "@foo@" sequences with the nix interpolation for foo
<infinisil> This is what I'd do
<clever> nixos-rebuild is such a script
<kuznero> infinisil, that seems the best, so `pkgs.substituteAll`
hasan has joined #nixos
<Thra11> infinisil: Cool. Thanks
hasan is now known as hasanzia
<{^_^}> Channel nixos-19.09 advanced to https://github.com/NixOS/nixpkgs/commit/d9a83d34c8d (from 13 hours ago, history: https://channels.nix.gsc.io/nixos-19.09)
<clever> kuznero: this will replace @nix@, and a few other things, within nixos-rebuild.sh
jlmeeker_ has quit [Read error: Connection reset by peer]
jlmeeker has joined #nixos
<kuznero> clever, in this code I do not understand what is it exactly that calls out to `substituteAll`?
hasanzia has quit [Client Quit]
<kuznero> clever, see that now
<kuznero> sorry
asymmetric has joined #nixos
<red[m]> Can someone tell me if I did this review correctly please? https://github.com/NixOS/nixpkgs/pull/73078 - I'm going to try and assist in chewing through the PR mountain.
<{^_^}> #73078 (by risicle, 52 minutes ago, open): [r19.03] varnish6: add patch for CVE-2019-15892
<kuznero> Where is `pkgs.substituteAll` defined in the codebase?
<red[m]> (but want to make sure I'm chewing properly before I start working my way though)
<kuznero> It feels weird that it operates on a record set
<clever> > builtins.unsafeGetAttrPos "substituteAll" pkgs
<{^_^}> { column = 3; file = "/var/lib/nixbot/nixpkgs/master/repo/pkgs/top-level/all-packages.nix"; line = 423; }
hasan has joined #nixos
<clever> kuznero: line 423 of all-packages.nix
bvdw has quit [Read error: Connection reset by peer]
bvdw has joined #nixos
hasan has quit [Client Quit]
<kuznero> clever, thanks, but I really have trouble understanding it: https://github.com/NixOS/nixpkgs/blob/master/pkgs/build-support/substitute/substitute-all.sh
virus_dave has quit [Quit: virus_dave]
<clever> kuznero: all it does is run the bash substituteAll on the src and target paths
<clever> kuznero: which will replace any @foo@ with the value of ${foo}
<kuznero> Basically, that is a derivation that does the magic solely on the src field of the record set?
chloekek has quit [Ping timeout: 240 seconds]
<infinisil> red[m]: Looking good, thanks!
<{^_^}> [nixpkgs] @Infinisil merged pull request #73078 → [r19.03] varnish6: add patch for CVE-2019-15892 → https://git.io/JeV8j
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to release-19.03: https://git.io/JeV4p
<clever> kuznero: any attributes you passed to pkgs.substituteAll, will be in the env during that bash substituteAll
jboy has joined #nixos
karetsu has quit [Quit: WeeChat 2.6]
<red[m]> infinisil: I'm sure I'll screw up at some point, but I'll see how many I can chew through a day. If I can even just save you guys time by collecting the references it saves you guys time.
<kuznero> clever, that makes more sense now, thanks. But if I want this to work I will need to construct a rec with src field read from my sh.file with @key@ in it, right?
<clever> kuznero: yeah
<kuznero> trying it out now... but from the API design perspective that pkgs.substituteAll sounds strange if it only to act on src field. It is not clear from the name of the function for sure. Why was it done this way?
* kuznero is not trying to blame, but understand... ;)
<clever> kuznero: it will copy from src to $out, and return that $out
mikky has joined #nixos
<mikky> hey, is there an equivalent for 'nix-env -u --leq' for systemPackages?
<clever> mikky: systemPackages will always install whatever is the current version in your channel, and it updates all of them at once
<clever> mikky: if you want a new version, update the channel, and then nixos-rebuild
<{^_^}> [nixpkgs] @Infinisil merged pull request #71576 → nixos/dnsdist: Add CAP_NET_BIND_SERVICE to AmbientCapabilities → https://git.io/JeR4K
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to master: https://git.io/JeVBJ
vika_nezrimaya has joined #nixos
<kuznero> clever, here is my confusion: https://pastebin.com/LA2tWEMf
<kuznero> Btw, do we have a Slack channel for NixOS by any chance?
<clever> kuznero: src must be the path to a file, not a string
<kuznero> Ah, I see now, thanks!
<kuznero> Sorry, for stupid questions...
tmaekawa has joined #nixos
<infinisil> A slack channel for NixOS? Blasphemy!
Hindsight44 has joined #nixos
<kuznero> :D
<kuznero> This way I could pitch it better at my new workplace
<Hindsight44> hey guys, in the config, can you split a long command into multiple lines like with \ in bash? I tried it but it didn't seem to work, at least the program I'm trying to run says it's missing parameters
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
slack1256 has joined #nixos
shah^ has joined #nixos
<waleee-cl> Hindsight44: Are you by chance listing your environment.systemPackages?
<infinisil> kuznero: Yeah no I haven't seen any mention of a slack channel ever. There is a freenode bridge to this channel in matrix though, and there's also a matrix-exclusive nix channel
<clever> Hindsight44: nix ignores any whitespace outside of a string, so you can just shove newlines anywhere you want
<Hindsight44> waleee-cl: I'm writing a systemd service and wanted to split the ExecStart command because it's so long for one line
<kuznero> infinisil, I see, and what comes first matrix or irc?
<clever> Hindsight44: you can also use .script instead of .serviceConfig.ExecStart
<infinisil> kuznero: Not sure what you mean. But the answer is probably irc
<clever> Hindsight44: .script is a full bash script, and can be multiple lines and use normal \ from bash
<kuznero> infinisil, I mean that irc is mirrored to matrix and not the other way around
<clever> Hindsight44: https://nixos.org/nixos/options.html#<name>.script the 2nd one
<Hindsight44> clever: ok that will work for me, thanks
<infinisil> kuznero: Ah yeah
<clever> Hindsight44: best to use ''strings'' with that, so the indenting gets cleaned up
<infinisil> kuznero: With Matrix they're going for being able to use all other chat services through matrix bridges
<kuznero> infinisil, are there any slick matrix clients out there?
<infinisil> So there's bridges from whatsapp, slack, telegram, ... to matrix
UndefinedIsNotAF has joined #nixos
<infinisil> The best desktop client is unfortunately the web one (via browser or electron)
<infinisil> Oh and there's a weechat plugin for matrix
boxscape has quit [Ping timeout: 276 seconds]
<red[m]> I am a confirmed matrix user
<infinisil> This is getting offtopic though, let's continue in #nixos-chat if there's more
<kuznero> infinisil, yep, thanks
<eyJhb> clever: did you write anything after I wrote "nothing works"?
<eyJhb> I completely lost power..
<infinisil> ,logs eyJhb
<eyJhb> infinisil: ah. Semi tipsy NixOS configuration is going to be great, at 00.26
<mikky> clever: thanks, makes more sense now
<kuznero> is `awk` part of the `pkgs.coreutils`?
<{^_^}> [nixpkgs] @LnL7 opened pull request #73081 → vim-youcompleteme: fix python interpreter → https://git.io/JeVBw
<{^_^}> #73081 (by LnL7, 29 seconds ago, open): vim-youcompleteme: fix python interpreter
<{^_^}> [nixpkgs] @pasqui23 opened pull request #73082 → Loginless → https://git.io/JeVBr
<mikky> how do I reference /nix/store/libxml2-dev path in a build? ${pkgs.libxml2} points to /nix/store/libxml2-bin. Theres a hardcoded '-I/usr/include/libxml2' and I want to replace it with the correct include path
<clever> [clever@amd-nixos:~]$ realpath /run/current-system/sw/bin/awk
<infinisil> kuznero: See for yourself: ls $(nix-build --no-out-link '<nixpkgs>' -A coreutils)/bin/awk
<clever> /nix/store/99xkqxwnarz307385dv7yafdhzszyfk6-gawk-5.0.1/bin/gawk
<clever> kuznero: ^^
crabemis[m] has joined #nixos
<kuznero> infinisil, super, thanks!
<clever> mikky: ${libxml2.dev}
<mikky> clever: that simple? :) also, not ${pkgs.libxml2.dev} ?
<clever> mikky: depends on if libxml2 is in scope or not already
<mikky> clever: fair enough
<mikky> thx
<{^_^}> [nixpkgs] @c0bw3b merged pull request #72971 → ruplacer: init at 0.4.1 → https://git.io/JeaSD
<{^_^}> [nixpkgs] @c0bw3b pushed 3 commits to master: https://git.io/JeVBo
<clever> LnL: the pr also changes racerd at the same time?
erasmas has quit [Quit: leaving]
<LnL> seems like the recent rust update broke it
<eyJhb> LnL: thanks :) I should probably change to use NixOS for my vimrc...
<eyJhb> My vim seems somewhat borked after the forced shutdown...
<{^_^}> [nixpkgs] @lopsided98 opened pull request #73083 → llvm_9: disable failing tests on 32-bit ARM → https://git.io/JeVBX
<mikky> clever: I don't understand the logic behind this though. I've read many docs around but I'm not sure I came around this. Where should I start to look?
<eyJhb> For some reason, my lightline/statusbar is broken now
<clever> mikky: multiple output derivations
<mikky> clever: ah, that sounds a little familiar. thanks again :)
kuznero[m] has joined #nixos
<LnL> mikky: it's described a little bit here https://nixos.org/nixpkgs/manual/#chap-multiple-output
kuznero has quit [Quit: Leaving]
sigmundv has quit [Ping timeout: 268 seconds]
drakonis has joined #nixos
<mikky> LnL: a familiar concept indeed, it just didn't hit me. thanks, I'll go through it
<LnL> buildInputs will figure out the correct paths for /bin /include, etc. automatically but when you reference paths in the expression you can sometimes run into it
mexisme has quit [Ping timeout: 246 seconds]
<LnL> eg. lib.makeSearchPathOutput "dev" "include" [ libxml2 ] will do the right thing
jlmeeker has quit [Ping timeout: 240 seconds]
mexisme has joined #nixos
Fare has quit [Ping timeout: 240 seconds]
<kuznero[m]> clever: infinisil: thanks (from Riot-Desktop now)
<eyJhb> Having a really hard time getting vim to work/getting NixOS to rebuild
jgt has quit [Ping timeout: 276 seconds]
<slack1256> eyJhb: It's vim not opening files or is nixos not rebuilding?
<slack1256> Those two don't seem realted.
<eyJhb> Any ideas why this doesn'' want to work? https://pastebin.com/RHvrq7Yh
<eyJhb> Not recompiling
<eyJhb> error: The option value `environment.systemPackages.[definition 5-entry 64]' in `/etc/nixos/configuration.nix' is not of type `package'.
<clever> eyJhb: line 2 of the paste, that is a list containing a function and a set
<clever> eyJhb: you want to wrap it with ()'s
<{^_^}> [nixpkgs] @jonringer merged pull request #72059 → buildbot: 2.4.1 -> 2.5.0 → https://git.io/JeEHD
<{^_^}> [nixpkgs] @jonringer pushed commit from @lopsided98 to master « buildbot: 2.4.1 -> 2.5.0 »: https://git.io/JeVBb
<eyJhb> Thanks clever , I did that "outside" of the with pkgs; which didn't work. Didn't think about it after I put it back in
<eyJhb> Considering pulling it out from my main config, into a module or something
jb55 has joined #nixos
kunstruktur has quit [Quit: WeeChat 2.6]
<eyJhb> clever: https://pastebin.com/qRBgiEpe `error: value is a string while a set was expected, at /nix/store/n2n93r99l63c3a57h1hswsbzmi4ddmmv-nixos-19.09/nixos/pkgs/misc/vim-plugins/vim-utils.nix:221:59`
<eyJhb> Can't see what I am doing wrong from the examples at https://nixos.wiki/wiki/Vim#Using_Vim-Plug_as_manager
<eyJhb> Nvm, I can now