sphalerite changed the topic of #nixos to: NixOS stable: 19.03 \o/ https://discourse.nixos.org/t/nixos-19-03-release/2652 || https://nixos.org || Latest NixOS: https://nixos.org/nixos/download.html || Latest Nix: https://nixos.org/nix/download.html || Logs: https://logs.nix.samueldr.com/nixos/ || #nixos-dev, #nix-darwin, #nixos-aarch64, #nixos-chat, #nixcon ... nixcon videos: https://tinyurl.com/nixcon2018
jluttine has quit [Ping timeout: 272 seconds]
<aoeu> the single user guide in the nix manual requires me to create /nix which I can't do.
<ivan> aoeu: you don't have root?
<aoeu> correct.
<ashkitten> clever: what should i use for the configuration.nix?
<PyroLagus> aoeu: do you have unprivileged user namespaces at least?
polman has joined #nixos
<clever> ashkitten: you can probably just use a normal nixos-generate-config, and make sure to enable ssh
sindrip has joined #nixos
<clever> ivan: basically, once you have nix installed in the rescue environment, you can use this to copy to /mnt/nix/store on a remote machine, over ssh
<aoeu> PyroLagus: yep each user owns their own nfs folder which is mounted at /users/home or whatever macos has
m0rphism has quit [Ping timeout: 268 seconds]
lovesegfault has joined #nixos
<clever> ivan: the main benefit over your tar idea, is that it can deal with a nix store already existing there, and do an incremental copy, and merge things in, if that happens to be needed
<clever> ivan: and just being able to skip creating a tar
<ivan> aoeu: there's a thing that might work, I haven't tested https://github.com/NixOS/nix/issues/324#issuecomment-223354236
<ivan> you can also have nix rebuild everything in another nix store path
<sindrip> How do I enable nodejs support for neovim? I'm not quite sure how to override it (see: https://github.com/NixOS/nixpkgs/blob/master/pkgs/applications/editors/neovim/wrapper.nix )
<clever> aoeu: are you on linux or mac?
<aoeu> ivan: i'll try the first, thanks
<aoeu> clever: macos
<clever> aoeu: nix-user-chroot is linux only
<aoeu> oh
addfjhsd has joined #nixos
<clever> aoeu: as are most of the good solutions i was going to mention, lol
<ashkitten> clever: error: attribute 'kexec_tarball' in selection path 'config.system.build.kexec_tarball' not found
<clever> aoeu: this is an old hack i did to see how hard it could be, and it might work for you
<aoeu> yeah macos is fucked
<clever> aoeu: but you need another mac to build it
polmaan has quit [Excess Flood]
rycwo_ has quit [Quit: ZNC 1.7.1 - https://znc.in]
<aoeu> clever: could I build it in a vm with gcc targeting macos and scp it out?
<clever> ashkitten: did you include the correct configuration.nix in the -I flag?
rycwo has joined #nixos
<clever> aoeu: ive never seen a cross-compiler that can target darwin
<ivan> clever: interesting hacks, thanks
polman has quit [Ping timeout: 244 seconds]
o1lo01ol1o has joined #nixos
<ashkitten> clever: i specified the generated configuration.nix
<clever> ashkitten: ah, you only generate one after booting into the kexec image
<clever> ashkitten: you need to use the configuration.nix in the kexec dir, when making the tarball
polmaan has joined #nixos
drakonis_ has quit [Ping timeout: 272 seconds]
<ashkitten> clever: how do i generate the kexec image? i'm confused
<{^_^}> [nixpkgs] @BadDecisionsAlex closed pull request #63504 → python3Packages.django-filter: init at 2.1.0 → https://git.io/fjVsV
<clever> ashkitten: just run the exact nix-build command it shows, in the kexec directory, with the configuration.nix that is in that dir
<clever> ashkitten: after you clone my repo
<ashkitten> clever: oh the repo
<ashkitten> for some reason i didnt realize it wasn't standalone instructions
kim0 has joined #nixos
goibhniu1 has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @BadDecisionsAlex closed pull request #63502 → python3Packages.django-crispy-forms: init at 1.7.2 → https://git.io/fjVsB
fusion809 has joined #nixos
<ashkitten> i wonder if i do this from the rescue netboot image without installing another os first if it'll keep asking me to install an os
jgt has joined #nixos
<clever> ashkitten: it may be scanning the drive to see if its bootable
<{^_^}> Channel nixos-19.03 advanced to https://github.com/NixOS/nixpkgs/commit/30a82bba734 (from 14 hours ago, history: https://channels.nix.gsc.io/nixos-19.03)
o1lo01ol1o has quit [Remote host closed the connection]
<ashkitten> clever: possibly! we shall see
polmaan has quit [Excess Flood]
<clever> ashkitten: i recently discovered, that you can `exit` when at the grub command prompt, and the bios will treat that as the drive being non-bootable
<ashkitten> i'd like to hopefully get this done today so i can have my mastodon instance back up and such
<ashkitten> huh
<clever> ashkitten: and it will then try the next device in your boot order
<{^_^}> [nixpkgs] @BadDecisionsAlex opened pull request #63545 → pythonPackages.{hiredis,aioredis,channels_redis,django-crispy-forms,django-filter}: init; Added baddecisionsalex to main… → https://git.io/fjVV5
<ashkitten> i'm using kimsufi, i hope that's the same as the other ovh dedi hosts
o1lo01ol1o has joined #nixos
<clever> ashkitten: ive got a soyoustart machine, but ive yet to migrate it to nixos
jgt has quit [Ping timeout: 252 seconds]
* monokrome throws tomatoes at xrandr
<ashkitten> i looked at soyoustart but everything there was out of my price range and i don't actually have any concrete plans for what i want to do with the thing, i ended up getting the $30/month one on kimsufi because it was the only one available with redundant disks in canada
<{^_^}> [nixpkgs] @marsam merged pull request #63412 → ocamlPackages.merlin: 3.3.0 -> 3.3.1 → https://git.io/fja7j
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/fjVVF
<ashkitten> not that i particularly needed a canadian machine, i guess
polmaan has joined #nixos
<ashkitten> i'm not exactly doing anything latency-sensitive
<clever> ashkitten: what about keeping it out of trumps reach? lol
mexisme_ has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @marsam merged pull request #63461 → wgetpaste: 2.28 -> 2.29 → https://git.io/fjVUm
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/fjVVb
<ashkitten> clever: what about?
<clever> ashkitten: keeping the server out of america
drakonis_ has joined #nixos
<ashkitten> clever: i wouldn't say canada is exactly within his grasp
<{^_^}> [nixpkgs] @marsam merged pull request #63453 → vault: 1.1.2 -> 1.1.3 → https://git.io/fjVf7
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/fjVVA
polman has joined #nixos
drakonis has quit [Ping timeout: 252 seconds]
<ashkitten> clever: several things in the generated tarball point to store paths, btw
<ashkitten> i'm copying them over manually i suppose
o1lo01ol1o has quit [Remote host closed the connection]
<ashkitten> oh wait
<clever> ashkitten: only the tar itself has to be copied, it contains everything it needs
<ashkitten> i see, i was supposed to untar it in the root
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/fjVVp
o1lo01ol1o has joined #nixos
<clever> yeah
<{^_^}> [nixpkgs] @marsam merged pull request #63464 → wxSVG: 1.5.17 -> 1.5.18 → https://git.io/fjVUo
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/fjVwe
ericsagnes has quit [Ping timeout: 268 seconds]
XMatrix has joined #nixos
polman has quit [Ping timeout: 244 seconds]
kvda has joined #nixos
<ashkitten> clever: it wants a password
<clever> ashkitten: oh right
<ashkitten> oh, i was supposed to edit the configuration.nix
<clever> ashkitten: you can also put an ssh public key in /ssh_pubkey before you run kexec_nixos
<clever> ashkitten: and it will copy that to /root/.ssh/authorized_keys as it boots
mac10688 has quit [Ping timeout: 245 seconds]
<ashkitten> ah
thc202 has quit [Ping timeout: 250 seconds]
<clever> ashkitten: adding it to configuration.nix just saves a step if you want to use the image many times
lambda-11235 has quit [Ping timeout: 245 seconds]
<ashkitten> i guess i have to reboot then heh
<clever> ashkitten: also
<clever> ashkitten: it will reboot itself every hour, 5 minutes after the hour starts
<psque> If I add a bunch of drvs as indirect roots, is there a way to make their actual output also GC roots?
<clever> ashkitten: so even if you lacked the console controls from OVH, you can still recover!
<ashkitten> hm
<clever> ashkitten: which reminds me, once you do get in, systemctl stop autoreboot.timer
<ashkitten> ye
<{^_^}> [nixpkgs] @marsam merged pull request #63471 → xsecurelock: 1.3.1 -> 1.4.0 → https://git.io/fjVTM
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/fjVwf
Drakonis__ has joined #nixos
<clever> ashkitten: but even if you do forget, its using a delayed shutdown, which alerts to every console, and you can `shutdown -c` to cancel it, 5 minute warning period
<ashkitten> thank you
endformationage has quit [Ping timeout: 268 seconds]
o1lo01ol1o has quit [Remote host closed the connection]
ris has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @marsam merged pull request #63441 → sysstat: 12.1.4 -> 12.1.5 → https://git.io/fjajp
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/fjVwk
<samueldr> on a kimsufi machine, I used qemu-kvm+vnc (over ssh) by passing it the main drive to setup nixos, from the recovery OS, worked just fine
<samueldr> just a tip, in case it ends up being usefu
<samueldr> useful*
aoeu has left #nixos [#nixos]
dansho has joined #nixos
ericsagnes has joined #nixos
justanotheruser has quit [Ping timeout: 248 seconds]
Drakonis__ has quit [Ping timeout: 245 seconds]
polmaan has quit [Excess Flood]
polmaan has joined #nixos
sindrip has quit [Quit: Page closed]
polman has joined #nixos
psy3497 has joined #nixos
freeman42x has quit [Ping timeout: 258 seconds]
Synthetica has quit [Quit: Connection closed for inactivity]
<ashkitten> hmm, should i do zfs on this?
<clever> ashkitten: i do zfs on all of my machines
o1lo01ol1o has joined #nixos
<clever> ashkitten: you may also want to read `cat /run/current-system/sw/bin/justdoit`
<ashkitten> can i make the disks bootable if i do zfs
acarrico has quit [Ping timeout: 268 seconds]
<clever> ashkitten: thats exactly what justdoit does, but its likely not configured for your disk layout
<ashkitten> clever: neat
<ashkitten> hmm
<clever> ashkitten: it adds an array of nixos options, which you could set in the configuration.nix before making the tar
<{^_^}> [nixpkgs] @aanderse merged pull request #62978 → amp: init at 2019.06.11 → https://git.io/fjg2Q
<{^_^}> [nixpkgs] @aanderse pushed 2 commits to master: https://git.io/fjVw4
<clever> but it doesnt setup mirror or raidz, which i think you wanted
ajs124 has quit [Quit: Gateway shutdown]
<ashkitten> i only have 2 hard disks and can't really dedicate anything to boot and swap and such
<clever> ashkitten: you only need a ext4 /boot/ partition
<clever> ashkitten: what i typically do, is something like 1.5gig of swap + 500mb of /boot, on one disk
<clever> ashkitten: and then 2gig of swap on the other disk
<ashkitten> hmm
<ashkitten> fair enough
<clever> so the amount of non-zfs stuff, totals to the same, and the zfs partitions are of equal size
<clever> but you may want more swap, and/or boot
<ashkitten> 500 megs should be enough for anyone!
<ashkitten> *extremely 90s techbro voice*
<clever> ashkitten: this puts the entire nixos installer in /boot/ and adds a grub entry for it
<clever> ashkitten: it uses the exact same type of kernel+initrd your booting with kexec
<clever> so its just as fat
<clever> would your tar fit into a 500mb /boot/ ?
ajs124 has joined #nixos
<ashkitten> clever: on my desktop i have a 4 gig /boot because i was planning on having several recovery isos i could loop-mount in grub and boot if needed
<ashkitten> never got around to doing that
<clever> ashkitten: ah, this works even without loop-mount
<ashkitten> but the rest is less than 100mb
<clever> ashkitten: the entire rootfs is a single file inside the initrd
<ashkitten> anyways idk what im doing exactly
<ashkitten> what should i do to get this system off the ground to start
<clever> ashkitten: youll mostly want to read the generated justdoit script, and use it as a guide on how to install nixos with zfs
jgt has joined #nixos
<clever> ashkitten: there is also https://nixos.wiki/wiki/NixOS_on_ZFS
jluttine has joined #nixos
<clever> ashkitten: and `man zpool`, look for the mirror option under create
ddellacosta has quit [Ping timeout: 246 seconds]
jgt has quit [Ping timeout: 258 seconds]
mexisme_ has joined #nixos
adamantium has quit [Remote host closed the connection]
adamantium has joined #nixos
<adamantium> clever: can i use your rescue_boot.nix with systemd-boot
<{^_^}> [nixpkgs] @Shados opened pull request #63547 → luaPackages.luadbi-mysql: Fix linking issue → https://git.io/fjVw0
<clever> adamantium: not sure, you would need to figure out how to add a custom kernel+initrd pair to the boot menu
<ashkitten> i forget, need to figure out recommended options for a new zpool
<clever> ashkitten: main one is to find the block or io size for your disk, fdisk -l /dev/sda should show it
selfsymmetric-mu has joined #nixos
<ashkitten> clever: alright, i feel like there were more especially for linux hosts
<adamantium> k
<adamantium> argh
<clever> ashkitten: ashift is about the only one i ever set
<ashkitten> okay
drakonis has joined #nixos
selfsymmetric-mu has left #nixos ["gone to the land of dead hiccups and extinguished light bulbs"]
psque has quit [Ping timeout: 268 seconds]
<Shados> ashkitten: compression=lz4, xattr=sa, acltype=posixacl, optionally atime=off (or relatime=on otherwise). Build the pool, then use fio to benchmark various use-cases. Then repeat that for a whole range of ashift and recordsize values, analyse the results, and pick something that fits your workload :p. The reported physical sector size usually corresponds to the best ashift, but not always. Especially on flash devices.
<Shados> But yeah, those are dataset options aside from ashift
drakonis1 has joined #nixos
<clever> Shados: oh, xattr=sa looks nice
<Shados> Yeah. It is.
drakonis_ has quit [Ping timeout: 250 seconds]
<adamantium> normalization=formD
<adamantium> ashift=12
<adamantium> i set those with the before mentioned.
<{^_^}> [nixpkgs] @jonringer opened pull request #63548 → pythonPackages.imgaug: mark as broken → https://git.io/fjVw2
<clever> Shados: i dont really use acl's though
<adamantium> clever: we need it because systemd https://github.com/NixOS/nixpkgs/issues/16954
XMatrix has quit [Read error: Connection reset by peer]
<clever> adamantium: ah, i just assumed that was due to not setting systemd to let users own their own log files
<Shados> clever: Applies to *all* xattrs though. I don't make much use of posix acls either, but I do use xattrs for various things.
<clever> Shados: the only xattr i believe i'm using is /var/empty
XMatrix has joined #nixos
<{^_^}> [nixpkgs] @marsam merged pull request #63524 → rclone: 1.47.0 -> 1.48.0 → https://git.io/fjV8i
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/fjVwV
<Shados> I think you do get a potential perf loss in cases where your xattrs on a file are >64K total, due to indirection, but if you have a use-case where that is common I assume you know what you are doing (or you really, really don't and nothing can save you)
lovesegfault has quit [Ping timeout: 252 seconds]
XMatrix has quit [Read error: Connection reset by peer]
<Shados> adamantium: Huh. Didn't know systemd used acls for that. Never ran into the problem because I was already configuring my pools with posixacl from before I used NixOS...
justanotheruser has joined #nixos
<clever> i always have a `sudo -i` open, and switch to that tab in screen if i get any permission errors
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<adamantium> Shados: yes, lol. One time IIRC I was looking at journalctl and noticed some weird errors. So after that I googled, found that bug, and always just turned on posixacl for my pools and never looked again
<clever> Shados: `Consider setting dnodesize to auto if the dataset uses the xattr=sa property setting and the workload makes heavy use of extended attributes.`
fusion809 has quit [Remote host closed the connection]
<adamantium> clever: do you use kexec with zfs?
fusion809 has joined #nixos
<clever> adamantium: i mostly use kexec on systems that are about to be wiped, and then use zfs within the kexec image, as i format the disk
growpotkin has quit [Remote host closed the connection]
<adamantium> I was just trying to imagine a zfs server that never needed to be "rebooted"
<clever> adamantium: ah, i mostly just use `kexec -e`, which triggers an improper shutdown of the current os
<clever> adamantium: i believe you can also `systemctl kexec` to do a clean shutdown, and then execute at the end
<ashkitten> hmm
<clever> but ive not tested it much, and that relies on you already having systemd on the host
<ashkitten> i feel like i don't need swap, but someone will probably tell me i'll be sorry without it
trevorriles has joined #nixos
<clever> ashkitten: i have 64gig of swap on my desktop, and am currently using 49gig of it.....
<ashkitten> yeah but will 2 gigs of swap really help in that case
<adamantium> I have been swapless for over a year with my zfs workstations
<adamantium> if it was a server, i'd do it for good measure, though .. :)
<ashkitten> idk!
<ashkitten> also this is a disk based system soooo
<ashkitten> anyways, who wants to name this server
<jackdk> "steve"
<Shados> clever: Interesting, although I'm certain I don't qualify for "heavy use" haha
<clever> ashkitten: aha, the "memory footprint" according to chrome's task manager, is not the RSS usage!
<clever> the pid managing a single instance of slack, is only using 156mb of ram, and 2gig of swap, but chrome claims its using 2.2gig of "memory"
<clever> chrome also says that its using 2gig of JS memory!
<Shados> ashkitten: you can run OK w/o swap. TBH having swap causes more issues than not having it causes, in my experience.
<clever> and simply hitting refresh makes it drop off so much i cant find it now
kvda has joined #nixos
<{^_^}> [nixpkgs] @marsam merged pull request #63242 → sd: 0.5.0 -> 0.6.2 → https://git.io/fjaWc
<clever> 46gig of swap now in use!
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/fjVwF
<Shados> clever: ...so slack has a leak? Or something that shouldn't be a leak, but effectively is because chrome doesn't reclaim that memory until something like a page change?
<clever> the weirdest part, is that the 2 slacks i use the least, where using the most ram
<clever> and the most active slack, isnt even visible in the first page of the memory usage
rprije has joined #nixos
<clever> Shados: i think slack keeps the scrollback history loaded, ive noticed in a free slack, that my desktop can see back going weeks, but my laptop cant even seen a single msg, due to the free msg cut-off
<Church-> Huh this the web app or?
<clever> Church-: the web app
<Church-> I've never had a prob with the non-electron client
<Church-> Huh...
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jgt has joined #nixos
jgt has quit [Ping timeout: 258 seconds]
<addfjhsd> Hi, I'm using nixops. Is there a way to set up my /var directory (I need to send/recieve email) in my nix file?
<ashkitten> sure wish i had a serial console view in the kimsufi dashboard...
<samueldr> (though not that hard to do) I don't think we have a script that, given a derivation, lists all derivations it depends on, including build, and all metadata, right?
<samueldr> the main scenario being license compliance or security overview
justanotheruser has quit [Quit: WeeChat 2.4]
<samueldr> not sure that's it
<samueldr> though it may be that I don't understand it
<clever> samueldr: that, plus the perl script it names, will find the url of nearly every fetchurl call, and then upload copies to tarballs.nixos.org
<samueldr> right, I don't care about tarballs, just listing all metadata for dependencies for a given derivation
<samueldr> though that's still a nice thing
<clever> samueldr: its using nix-instantiate --json to dump the entire expr tree
<clever> but i dont think its following the dep tree, but rather, just doing every single thing under pkgs
<samueldr> right
<samueldr> though yeah, doesn'T look too far off
<ashkitten> i shouldve used qemu to test my configuration before rebooting
<clever> ashkitten: you can save time by mounting the existing fs, once your back in the kexec image
<clever> ashkitten: and further nixos-install's will be faster, since it should be incremental, based on what you changed
<ashkitten> clever: wdym mounting the existing fs
<clever> ashkitten: if you did an install, but it fails to boot, you can just go back into kexec, and mount the FS's back at /mnt/
<clever> then adjust configuration.nix and nixos-install again
<ashkitten> clever: yeah
<ashkitten> it failed to boot and i don't know why so i'm gonna test with qemu
wfranzini has quit [Remote host closed the connection]
wfranzini has joined #nixos
<clever> ashkitten: if you pastebin configuration.nix and hardware-configuration.nix, i can also take a glance
<ashkitten> clever: sure, but i need to get back into the kexec image first
kim0 has quit [Quit: Connection closed for inactivity]
<ashkitten> sadly i don't have anywhere persistent to put the tarball so i have to upload it each time...
<clever> ashkitten: /boot is ext4, and the rescue system should support that
kvda has joined #nixos
<clever> ashkitten: just make sure to umount it before you kexec
addfjhsd has quit [Quit: Page closed]
sdfsdf has joined #nixos
<PyroLagus> seriously though. why do linux and darwin share nixpkgs unstable, lol
sdfsdf has quit [Client Quit]
<clever> ashkitten: getting late here, send the pastebin in a PM and i can look over it in ~9-10 hours
trevorriles has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @thefloweringash opened pull request #63549 → sensu-go: 5.9.0 -> 5.10.0 → https://git.io/fjVrk
<{^_^}> [nixpkgs] @marsam merged pull request #63341 → python37Packages.aiorpcx: 0.17.0 -> 0.18.3 → https://git.io/fjaKM
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/fjVrI
glowpelt has quit [Quit: Rebooting...]
fusion809 has quit [Remote host closed the connection]
glowpelt has joined #nixos
<samueldr> PyroLagus: you can use nixos-unstable on non-nixos linux distros too
<samueldr> during the last year or so, it's generally been faster to update
<PyroLagus> oh
<PyroLagus> cool, thanks!
endformationage has joined #nixos
justanotheruser has joined #nixos
xkapastel has quit [Quit: Connection closed for inactivity]
Ariakenom has joined #nixos
<{^_^}> [nixpkgs] @marsam merged pull request #62519 → python37Packages.cfgv: 1.6.0 -> 2.0.0 → https://git.io/fjEaF
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/fjVrG
<{^_^}> [nixpkgs] @marsam merged pull request #63360 → python37Packages.fs: 2.4.5 -> 2.4.7 → https://git.io/fjaXL
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/fjVrZ
<{^_^}> [nixpkgs] @marsam merged pull request #63347 → python37Packages.astropy: 3.1.2 -> 3.2 → https://git.io/fja6h
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/fjVrn
<{^_^}> [nixpkgs] @marsam merged pull request #63345 → python37Packages.astropy-helpers: 3.1.1 -> 3.2.1 → https://git.io/fja6D
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/fjVrc
<{^_^}> [nixpkgs] @marsam merged pull request #63145 → odyssey: 2019-03-12 -> 1.0rc → https://git.io/fj2dJ
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/fjVr8
monotux has joined #nixos
Supersonic has quit [Disconnected by services]
Supersonic112 has joined #nixos
Supersonic112 is now known as Supersonic
mthst has quit [Quit: the bouncer died]
mthst has joined #nixos
jasongrossman has quit [Ping timeout: 246 seconds]
domogled has joined #nixos
<{^_^}> [nixpkgs] @ryantm merged pull request #63329 → pdns-recursor: 4.1.13 -> 4.1.14 → https://git.io/fjawg
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/fjVry
fusion809 has joined #nixos
Guanin has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @ryantm merged pull request #63214 → avocode: 3.8.0 -> 3.8.1 → https://git.io/fjaO2
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/fjVrS
cyraxjoe has joined #nixos
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
drakonis1 has quit [Quit: WeeChat 2.5]
kvda has joined #nixos
cyraxjoe has quit [Quit: No Ping reply in 180 seconds.]
cyraxjoe has joined #nixos
kvda has quit [Client Quit]
drakonis1 has joined #nixos
Ariakenom has quit [Read error: Connection reset by peer]
jgt has joined #nixos
domogled has quit [Quit: domogled]
domogled has joined #nixos
jgt has quit [Ping timeout: 252 seconds]
sb0 has quit [Quit: Leaving]
domogled has quit [Ping timeout: 268 seconds]
jasongrossman has joined #nixos
<{^_^}> [nixpkgs] @evanjs opened pull request #63550 → gitkraken: 5.0.4 -> 6.0.0 → https://git.io/fjVrj
dansho has quit [Remote host closed the connection]
dansho has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
Rusty1 has joined #nixos
<{^_^}> [nixpkgs] @Steell opened pull request #63551 → roon-server: init at 100600401 → https://git.io/fjVoJ
zgrep has joined #nixos
mexisme_ has quit [Ping timeout: 245 seconds]
wfranzini has quit [Remote host closed the connection]
wfranzini has joined #nixos
o1lo01ol1o has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/b40e84736bb (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
o1lo01ol1o has quit [Ping timeout: 245 seconds]
<ldlework> i have `config.nixpkgs.config.allowUnfree = true;` in my config, yet i can't `nix-env -i vscode`
<tilpner> ,-A
<tilpner> ldlework: Use -iA nixpkgs.vscode or -iA nixos.vscode
yili has joined #nixos
<yili> hey all
<yili> are there any rand functions in the default nixos packages?
<yili> specifically, i'd like to be able to generate random strings
<simpson> yili: For what purpose? Usually I need something password-like, so I'd reach for something like apg.
<yili> that's exactly what i need
<yili> for cases where i've got a frontend/backend that need a shared password...i don't want to store the password in my nix files (which are checked in to version control)
<yili> i don't actually _care_ what the password is
<yili> so the ideal solution seems to be: generate a random password at build time and embed it in the configs where necessary
<simpson> Aha, fun. That sounds workable.
<yili> but i don't see any random functions in nix :/
<yili> i can understand why, it kind of runs against the idea of repeatable builts for most uses
<simpson> Could you pass in the password as an argument with --arg or --argstr?
<yili> but in this specific case it doesn't seem to me like it would hurt, and it would help (because i could check my nix code in with no worries)
<yili> ooh, i didn't know about that...that might work
<ldlework> tilpner: that gives me the same error about unfree... when i add it to my system.environmentPackages or my home.packages i get a new generation but no vscode... it's like it doesn't even download it
Yakulu has joined #nixos
[Leary] has joined #nixos
Lears has quit [Ping timeout: 245 seconds]
<ashkitten> i'm trying to test my nixos install by booting it through qemu since kimsufi doesn't give me any video output monitor or whatever, but the only output i'm getting over qemu serial is "Booting from Hard Disk..." and then "GRUB" and then it seems to not do anything more
ajirx has joined #nixos
<ldlework> oh god
<ldlework> the binary is called "code"
<adamantium> lol
jgt has joined #nixos
Rusty1 has quit [Quit: Konversation terminated!]
<zacts> lol
fusion809 has quit [Remote host closed the connection]
orivej has joined #nixos
jgt has quit [Ping timeout: 252 seconds]
endformationage has quit [Ping timeout: 246 seconds]
wfranzini has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
orivej has quit [Ping timeout: 268 seconds]
<tilpner> ldlework: Use cd $(nix-build --no-out-link '<nixpkgs>' -A foo) to inspect the output of a package
<clacke_movim> samueldr: nixos-unstable has a smaller gate set of packages than nixpkgs-unstable?
<tilpner> clacke_movim: Not necessarily smaller, but different
bgamari_ has quit [Ping timeout: 252 seconds]
<tilpner> clacke_movim: nixpkgs-unstable is the only officially supported Darwin channel AFAIK, so it needs to block on Darwin failures, while nixos-unstable doesn't care about those
<clacke_movim> Ah, makes sense
<ldlework> i'm pretty sure i will never get a .NET Core development environment working on nixos
<mdash> ldlework: why so pessimistic
<clacke_movim> Different criteria, and maybe neither is a subset of the other
<ldlework> well i try every few months, that seems optimistic
<mdash> never is a long time
<clacke_movim> And then there's also the -small channels
<ldlework> 'in time before i completely give up'
<zacts> ldlework: I got vscode working
o1lo01ol1o has quit [Ping timeout: 268 seconds]
<ldlework> zacts: that's easy -- i was just running the wrong binary
<zacts> I did it via nix-env
<zacts> ok
<clacke_movim> When reactOS started I was pretty sure they would never be a working alternative to Windows
<ldlework> now compile C# over .NET core
<ldlework> using VSCode
<zacts> ok
<ldlework> /home/ldlework/.vscode/extensions/ms-vscode.csharp-1.20.0/.omnisharp/1.32.20/run: line 27: /home/ldlework/.vscode/extensions/ms-vscode.csharp-1.20.0/.omnisharp/1.32.20/bin/mono: No such file or directory
<zacts> looks like VSCode supports Haskell which is neat
<zacts> anyway
<clacke_movim> 20 years later I have realized that a century from now, reactOS will be the onlu working Windows. :-D
<{^_^}> [nixpkgs] @doronbehar closed pull request #63523 → luarocks: 3.0.4 -> 3.1.3 → https://git.io/fjV8c
<ldlework> zacts: does VSCode support haskell in the places that nixos puts it though
<zacts> ldlework: don't know quite yet
<zacts> I'll try it out
<zacts> I have to go to bed soon though.
<ldlework> i'm just gonna use my windows machine
<clacke_movim> ldlework: I would have expected vscode to be the kind of thing that would run reasonably well under wine?
<ldlework> the problem is not using vscode, but .net core tooling through it, or at all really
<clacke_movim> Not that native (whatever that means, as we're talking a CLR IDE written in JS and HTML) isn't preferable
<ldlework> id just compile in docker but the whole point is that sweet sweet intellisense
<clacke_movim> Ah, I guess VSCode that thinks it is running in Windows would like to use MS csc rather than mono. And that would be less surprising if it has wine issues.
<ldlework> sick of using my windows gaming machine for dev tho hehe
<clacke_movim> Yeah, it's always nice to be able to use a professional OS rather than a gaming platform ;-)
mexisme_ has joined #nixos
<ldlework> i suspect more professionals use windows than nixos but that's neither here nor there
sdfs has joined #nixos
sdfs has quit [Client Quit]
hmpffff has joined #nixos
<ldlework> kuznero[m]: have you gotten .net core development working for you on NixOS?
<{^_^}> [nixpkgs] @doronbehar opened pull request #63552 → Add Go package pdfcpu → https://git.io/fjVoB
<kuznero[m]> ldlework: I switched away from dotnet quite long time ago. But it was working then if I remember right.
<ldlework> urg
<ldlework> thanks
<{^_^}> [nixpkgs] @rhendric opened pull request #63553 → lib/modules: add mkUnset, mkOverrideUnset → https://git.io/fjVoR
stranger___ has joined #nixos
vmandela has joined #nixos
mexisme_ has quit [Ping timeout: 248 seconds]
<{^_^}> [nixpkgs] @jacobgreenleaf opened pull request #63554 → keybase: add git-remote-keybase to build → https://git.io/fjVoE
hmpffff has quit [Quit: nchrrrr…]
jgt has joined #nixos
oida has quit [Ping timeout: 256 seconds]
palo1 has joined #nixos
<ldlework> Oh I got closer:
<ldlework> [warn]: OmniSharp.MSBuild.ProjectManager
<ldlework> Failed to load project file '/home/ldlework/src/CSharpTest/CSharpTest.csproj'.
<ldlework> /home/ldlework/src/CSharpTest/CSharpTest.csproj(1,1)
<ldlework> Microsoft.Build.Exceptions.InvalidProjectFileException: The imported project "/nix/store/hq229p9rjhssracwbmc7wvipnj2mz5xz-mono-5.16.0.220/lib/mono/xbuild/15.0/Microsoft.Common.props" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk. /nix/store/bkrkm7fia7f3vfjk7j9hplag9r7l4bp9-dotnet-sdk-2.2.103/sdk/2.2.103/Sdks/Microsoft.NET.Sdk/Sdk/Sdk.props
jgt has quit [Ping timeout: 258 seconds]
<ldlework> doh
<{^_^}> [nixpkgs] @vcunat opened pull request #63555 → gnumeric: try fixing darwin build by upstream patch → https://git.io/fjVo2
palo has quit [Ping timeout: 248 seconds]
palo1 is now known as palo
mexisme_ has joined #nixos
mexisme_ has quit [Ping timeout: 245 seconds]
<ldlework> hmm i updated to the latest mono and the same issue
<ldlework> missing Microsoft.Common.props
vmandela has quit [Quit: Leaving]
<ldlework> rizary: you around?
vmandela has joined #nixos
jbgi_ has joined #nixos
bgamari has joined #nixos
ambro718 has joined #nixos
hoijui has joined #nixos
MichaelRaskin has quit [Ping timeout: 258 seconds]
<ldlework> Well. I'm seemingly able to compile C# apps from the command-line. Same problem above though using Omnisharp though. I even installed the Omnisharp-rosyln from nixpkgs
hyper_ch has quit [Read error: Connection reset by peer]
drakonis1 has quit [Quit: WeeChat 2.5]
mkoenig has quit [Ping timeout: 248 seconds]
mkoenig has joined #nixos
Yakulu has left #nixos ["Disconnected: Replaced by new connection"]
Yakulu has joined #nixos
<ldlework> Well... Omnisharp wont load my project due to the above error, but it seems like it presses ahead and just loads each file individually. I'm not sure how well that will work, but by configuring a custom build-task to use the nix dotnet command it seems I have some Intellisense and the ability to compile and run.
<{^_^}> [nixpkgs] @allowthere closed pull request #63485 → caddy: 0.11.4 -> 1.0.0 → https://git.io/fjVq5
<{^_^}> [nixpkgs] @allowthere reopened pull request #63485 → caddy: 0.11.4 -> 1.0.0 → https://git.io/fjVq5
Anton-Latukha has joined #nixos
<balsoft[m]> Hello!
<balsoft[m]> Thank you gchristensen!
<balsoft[m]> Now all of the stuff is downloading just fine!
alp has joined #nixos
xelxebar has quit [Remote host closed the connection]
xelxebar has joined #nixos
hoijui has quit [Ping timeout: 252 seconds]
hoijui has joined #nixos
jgt has joined #nixos
jgt has quit [Ping timeout: 252 seconds]
wfranzini has joined #nixos
Yakulu has left #nixos ["Disconnected: Replaced by new connection"]
Yakulu has joined #nixos
hyper_ch2 has joined #nixos
<ldlework> holy crap
cfricke has joined #nixos
<ldlework> i just got ASP.NET Core Razor language server working
<jasongrossman> Well done!
<{^_^}> [nixpkgs] @7c6f434c merged pull request #63256 → givaro: 4.1.0 -> 4.1.1 → https://git.io/fja81
<{^_^}> [nixpkgs] @7c6f434c pushed 2 commits to master: https://git.io/fjVKO
<{^_^}> [nixpkgs] @7c6f434c merged pull request #63060 → gtk3: re-enable demos → https://git.io/fj2YF
<{^_^}> [nixpkgs] @7c6f434c pushed 2 commits to staging: https://git.io/fjVKG
asheshambasta_m has joined #nixos
ambro718 has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @vcunat pushed 2 commits to master: https://git.io/fjVKz
hyper_ch has joined #nixos
Xal has quit [Ping timeout: 245 seconds]
johanot has joined #nixos
<{^_^}> [nixpkgs] @vcunat merged pull request #63547 → luaPackages.luadbi-mysql: Fix linking issue → https://git.io/fjVw0
Xal has joined #nixos
__monty__ has joined #nixos
__monty__ has joined #nixos
__monty__ has quit [Changing host]
Jackneill has joined #nixos
MichaelRaskin has joined #nixos
turion has joined #nixos
hamishmack has quit [Excess Flood]
asheshambasta_m has quit [Ping timeout: 258 seconds]
hmpffff has joined #nixos
<{^_^}> [nixpkgs] @basvandijk merged pull request #63521 → cargo-graph: init at 0.2.0-d895af1 → https://git.io/fjVlG
<{^_^}> [nixpkgs] @basvandijk pushed 2 commits to master: https://git.io/fjVKP
<{^_^}> [nixpkgs] @basvandijk opened pull request #63556 → Backport "cargo-graph: init at 0.2.0-d895af1" to 19.03 → https://git.io/fjVKM
turion has quit [Ping timeout: 258 seconds]
jgt has joined #nixos
<{^_^}> [nixpkgs] @vbgl merged pull request #63057 → ocamlPackages.bistro: init at 0.4.0 → https://git.io/fj2Ym
<{^_^}> [nixpkgs] @vbgl pushed to master « ocamlPackages.bistro: init at 0.4.0 »: https://git.io/fjVK9
<{^_^}> [nixpkgs] @vbgl merged pull request #63446 → ocamlPackages.mdx: init at 1.4.0; ocamlPackages.printbox: init at 0.2 → https://git.io/fjVeE
<{^_^}> [nixpkgs] @vbgl pushed 2 commits to master: https://git.io/fjVKH
<johanot> how does wrapPythonPackages "know" which dependencies to include on path for the wrapped program? Is that "just" what's on $PYTHONPATH in the build env?
leothrix has joined #nixos
<johanot> wrapPythonPrograms*
<{^_^}> [nixpkgs] @Izorkin opened pull request #63557 → libssh2: 1.8.2 -> 1.9.0 → https://git.io/fjVKA
stranger___ has quit [Quit: Connection closed for inactivity]
ericsagnes has quit [Ping timeout: 258 seconds]
<gchristensen> balsoft[m]: yay :)
ilmu has joined #nixos
grumble is now known as blockchain
veske has joined #nixos
ericsagnes has joined #nixos
<ashkitten> how can i get a virtual serial terminal to attach qemu to? i tried just giving it another pty which works for output but the shell running in said pty still captures input so idk how to get like, a character device with no shell running basically
pbb has joined #nixos
pie__ has quit [Ping timeout: 258 seconds]
linarcx has joined #nixos
<ashkitten> i think i can use socat to create a pair of pty devices and attach qemu to one end and screen to the other?
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/2f6023bf8a5 (from 5 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<{^_^}> [nixpkgs] @IvanMalison opened pull request #63558 → Set taffybar version for now → https://git.io/fjV6g
<cocreature> Is there an easy way to get a newer version of the macos SDK on nixos 19.03? It still seems to use 10.10 whereas I need a newer version. It looks like unstable has 10.12 which should be new enough but the patches seem to have fairly wide-reaching implications so I’m not sure how realistic a backport is
jasongrossman has quit [Remote host closed the connection]
hoijui has quit [Quit: Leaving]
<ashkitten> i see
<ashkitten> `socat pty,raw,echo=0 pty,raw,echo=0`
<ashkitten> creates 2 linked pty devices that i can connect each end to the appropriate program
thc202 has joined #nixos
Shoubit has joined #nixos
Shoubit has quit [Client Quit]
Shoubit has joined #nixos
<Izorkin> Shados: found new error in prosody, please help to fix error - error work packages LuaExpat
adamantium has quit [Ping timeout: 252 seconds]
m0rphism has joined #nixos
<ldlework> huh. rider "just works" for like.. everything .net
ajirx has quit [Remote host closed the connection]
Synthetica has joined #nixos
nikivi has joined #nixos
turion has joined #nixos
Tucky has joined #nixos
sigmundv has joined #nixos
jfroche has joined #nixos
<zacts> can I copy over downloaded nix packages to another computer?
<wucke13> When running a build command in a nix-shell, the compiler fails with "impure path `/home/wucke13/... used in link". I guess, the nix-shell is setting something, which alters the compilers behaviour. What could it be?
<johanot> zacts: nix copy <store-path> --to ssh://remote-machine
<wucke13> (This happens both with gcc and clang
<wucke13> )
<zacts> johanot: thanks
<jfroche> is it me or nixos.org dns (ns.udag.org ns.udag.net ns.udag.de) are down ?
vidbina has joined #nixos
<{^_^}> [nixpkgs] @lsix merged pull request #63367 → pythonPackages.django_2_1: 2.1.8 -> 2.1.9 → https://git.io/fja1e
<{^_^}> [nixpkgs] @lsix pushed 2 commits to master: https://git.io/fjV6x
<MichaelRaskin> Hm, it looks more like non-uniform reachability problem
turion has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @lsix merged pull request #63366 → pythonPackages.django: 1.11.20 -> 1.11.21 → https://git.io/fjaXN
<{^_^}> [nixpkgs] @lsix pushed 2 commits to master: https://git.io/fjV6h
<tilpner> Hmm, nixos.org is unreachable for me too
<tilpner> Though that might be related to lack of ipv6 on the resolving machine
<{^_^}> [nixpkgs] @zimbatm merged pull request #63485 → caddy: 0.11.4 -> 1.0.0 → https://git.io/fjVq5
<johanot> tilpner: works for me
<{^_^}> [nixpkgs] @zimbatm pushed 3 commits to master: https://git.io/fjViv
<tilpner> network unreachable resolving 'nixos.org/A/IN': 2a00:a8e0:1::10#53
<tilpner> network unreachable resolving 'nixos.org/AAAA/IN': 2a00:a8e0:1::10#53
<Taneb> I've been having trouble in the office as well
<tilpner> So, uhh, anyone have a module to enable ipv6 on hetzner auction boxes?
<{^_^}> [nixpkgs] @lsix pushed 3 commits to release-19.03: https://git.io/fjViU
jasongrossman has joined #nixos
Makaveli7 has joined #nixos
<etu> tilpner: this works for me on their cloud boxes: https://github.com/etu/nixconfig/blob/master/hosts/vps05/networking.nix
ajirx has joined #nixos
<tilpner> I'm not sure if these new bind errors are better or worse than the previous ones :/
<tilpner> Thanks for the gist though!
pie__ has joined #nixos
pie__ has quit [Remote host closed the connection]
clacke_movim has left #nixos [#nixos]
Makaveli7 has quit [Quit: WeeChat 2.5]
mexisme_ has joined #nixos
<{^_^}> [nixpkgs] @Mic92 opened pull request #63559 → radare2: 3.5.0 -> 3.5.1 → https://git.io/fjViV
Makaveli7 has joined #nixos
clacke_movim has joined #nixos
johanot has quit [Quit: WeeChat 2.4]
johanot has joined #nixos
<johanot> hmm. google dns still remembers nixos.org, but uniteddomains seems pretty down :/
vidbina has quit [Ping timeout: 272 seconds]
<hyper_ch2> nixos.org? that domain truly exists?
<johanot> doesn't look like it atm :(
<etu> Works from here, and I can look it up when asking the NS directly
<johanot> etu: which server do you ask?
<MichaelRaskin> Same for me with dig +trace
<etu> dig A nixos.org @ns.udag.de
ubert has joined #nixos
<MichaelRaskin> ns.udag.org replies to me
<etu> .org and .net was fine as well
<MichaelRaskin> Works both from Germany and from Russia
<tilpner> dig: couldn't get address for 'ns.udag.de': failure
<tilpner> dig A nixos.org @185.61.8.10 works though
<tilpner> So (at least for me) it's udag, not nixos
<johanot> tilpner: times out here. with the IP as well
<tilpner> Huh
<tilpner> Then my issue is probably unrelated and just had inconvenient timing
<tilpner> (Nah, I have no idea)
<johanot> this world map is pretty fun: https://dnschecker.org/#A/nixos.org
<tilpner> And this map has an entirely different result: https://tx0.co/qyv
<Izorkin> etu: checked pr #63156 ?
<tilpner> I'll just... wait ._.
<johanot> well just tried a bunch of my own domains and they're all green. look like there is at least some kind of network issue at udag.de
cfricke has quit [Quit: WeeChat 2.5]
<etu> Izorkin: Nope, working
<Izorkin> ок
hmpffff has quit [Quit: nchrrrr…]
ericsagnes has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @FRidh pushed to master « python: acoustics: 0.2.0.post2 -> 0.2.1 »: https://git.io/fjVPL
cjpbirkbeck has quit [Quit: Quitting now.]
sb0 has joined #nixos
ericsagnes has joined #nixos
ajirx has quit [Remote host closed the connection]
ajirx has joined #nixos
ThatDocsLady has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #63559 → radare2: 3.5.0 -> 3.5.1 → https://git.io/fjViV
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fjVPa
mariel__ has joined #nixos
mariel__ has quit [Client Quit]
jbgi_ has quit [Ping timeout: 244 seconds]
jbgi_ has joined #nixos
is_null has joined #nixos
ajirx has quit [Ping timeout: 245 seconds]
st4ll1 has joined #nixos
karetsu has joined #nixos
<{^_^}> [nixpkgs] @marsam merged pull request #63313 → nsd: 4.1.27 -> 4.2.0 → https://git.io/fjauh
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/fjVP7
equivrel has joined #nixos
<johanot> about the issues resolving nixos.org: https://twitter.com/uniteddomains/status/1141652739681923074
<{^_^}> [nixpkgs] @marsam merged pull request #63297 → mergerfs: 2.27.1 -> 2.28.1 → https://git.io/fja0P
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/fjVPN
__monty__ has quit [Quit: Updating.]
ajirx has joined #nixos
__monty__ has joined #nixos
<gchristensen> johanot: is it not resolving properly? :o
<gchristensen> oh dear
<gchristensen> okay, paging the relevant people.
__monty__ has quit [Client Quit]
thblt has left #nixos ["ERC (IRC client for Emacs 26.2)"]
__monty__ has joined #nixos
<{^_^}> [nixpkgs] @marsam merged pull request #63289 → linuxConsoleTools: 1.6.0 -> 1.6.1 → https://git.io/fjaRQ
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/fjVPj
<johanot> gchristensen: no it isn't :( from my desk in Denmark and from my hetzner machines in Germany at least.
<{^_^}> [rfcs] @edolstra pushed to master « "accepted" directory -> "rfcs" directory (#48) »: https://git.io/fjVXv
<{^_^}> [rfcs] @edolstra merged pull request #48 → "accepted" directory -> "rfcs" directory → https://git.io/fjVRR
<gchristensen> weird, they all work from here
jbgi_ has quit [Ping timeout: 245 seconds]
<Taneb> gchristensen: it seems to be a problem with some DNSs. I've had to "fix" the issue in the office by making nixos.org resolve through a different DNS server
<johanot> yeah, did the same.
<gchristensen> people where it is down: where are you? and, what is your upstream DNS server's IP?
<gchristensen> I don't think we can actually do anything, since DNS takes a long time to switch to a different provider
<gchristensen> so I think the only thing we can do would be protect from a "next time"
<betaboon_> translation of that twitter post regarding uniteddomains: "There are disruptions on several ISPs and there is a DDoS-attack on parts of our infrastructure. Therefore several services are not reachable from some networks. we are working on a solution. we apologize for limited reachability"
<jasongrossman[m]> Thanks for the translation.
<betaboon_> gchristensen: https://dnsmap.io/#A/nixos.org
<gchristensen> <3 betaboon_
xkapastel has joined #nixos
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/fjVXI
<{^_^}> [nixpkgs] @marsam merged pull request #63284 → libsolv: 0.7.4 -> 0.7.5 → https://git.io/fjaRC
gratto has quit [Ping timeout: 248 seconds]
<{^_^}> [nixpkgs] @marsam merged pull request #63272 → ipset: 7.1 -> 7.2 → https://git.io/fjaB4
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/fjVXq
karetsu has quit [Quit: WeeChat 2.4]
karetsu has joined #nixos
<Izorkin> hoe to fix this error - warning: unable to download 'https://cache.nixos.org/576rsr131ifcr3qzapyhd7n6q5wkjnv9.narinfo': Couldn't connect to server (7); retrying in 264 ms ?
ajirx has quit [Ping timeout: 258 seconds]
nikivi has quit [Quit: Free ZNC ~ Powered by LunarBNC: https://LunarBNC.net]
Wharncliffe has joined #nixos
nikivi has joined #nixos
<jasongrossman> Izorkin: That could be because parts of the DNS currently can't resolve nixos.org. Should be fixed soon.
<Izorkin> ok, thanks
<{^_^}> [nixpkgs] @timokau opened pull request #63560 → sage: fix threejs r105 → https://git.io/fjVX0
<{^_^}> [nixpkgs] @marsam merged pull request #63268 → i2pd: 2.25.0 -> 2.26.0 → https://git.io/fja4h
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/fjVXu
ericsagnes has quit [Ping timeout: 252 seconds]
sb0 has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @timokau opened pull request #63561 → Sage threejs r105 19.03 → https://git.io/fjVXV
<nh2[m]> palo: yes, I was thinking of doing it your way first, but echoing nix's exit code might be more useful to the user than showing just 1
<{^_^}> [nixpkgs] @marsam merged pull request #63323 → openvdb: 6.0.0 -> 6.1.0 → https://git.io/fjaaE
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/fjVXo
<{^_^}> [nixpkgs] @marsam merged pull request #63318 → offlineimap: 7.2.3 -> 7.2.4 → https://git.io/fja2t
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/fjVXK
psy3497 has quit [Ping timeout: 272 seconds]
mexisme_ has quit [Ping timeout: 258 seconds]
<{^_^}> [nixpkgs] @marsam merged pull request #63317 → ocamlPackages.ppxfind: 1.2 -> 1.3 → https://git.io/fjagp
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/fjVXi
<{^_^}> [nixpkgs] @marsam merged pull request #63254 → git-secret: 0.2.5 -> 0.2.6 → https://git.io/fja8w
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/fjVXP
jbgi_ has joined #nixos
orivej has joined #nixos
ajirx has joined #nixos
<{^_^}> [nixpkgs] @ari-becker opened pull request #63562 → kops: 1.11.1->1.12.1 → https://git.io/fjVXy
<palo> nh2[m]: true, I will merge it before sunday. github is just a CDN for me, you will see the pull-request merged, when I do a new release, which I'm intending to do this weekend.
<{^_^}> [nixpkgs] @marsam merged pull request #63252 → gallery-dl: 1.8.5 -> 1.8.6 → https://git.io/fja8O
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/fjVXH
ericsagnes has joined #nixos
<nh2[m]> palo: awesome! terranix is super useful for me btw, I've already infrastructure-as-code'd a lot of our stuff yesterday night because of it :)
ajirx has quit [Ping timeout: 245 seconds]
<palo> nh2[m]: sweet! that is good to hear
<betaboon> still have to get around to try terranix :)
<palo> nh2[m]: do you use terraform 0.12 ?
<nh2[m]> palo: yes
<palo> betaboon: I'm creating theses examples to make the start easier.
<palo> nh2[m]: kewl I'm still on 0.11.x but when it works on 0.12 than they just changed their hcl parser :D
<nh2[m]> betaboon: it is ultra easy if you know terraform, just "better" syntax where you can use `map` and stuff
ericsagnes has quit [Ping timeout: 268 seconds]
<palo> yeah it's meant for people who know terraform and felt the pain of hcl
cfricke has joined #nixos
<palo> (and know the nix language)
<betaboon> I'm currently using nixops. at some point i will have to experiment with terraform and therefore try terranix :)
<nh2[m]> palo: the examples need one that reminds you to escape the dollar $ when you want terraform string interpolation instead of nix variables
<palo> betaboon: sure, no rush. btw terraform is not only to create machines. It is an "API provisioner", for example to configure your github account.
<karetsu> as a lay-person, what are the big differences between them? My work are moving toward this kind of deployment type (not that I have any say in it, not my job)
<nh2[m]> betaboon: I am also using nixops, and plan to continue to do so. I use terranix for the stuff that nixops can't manage, like Route53 health checks, CloudWatch alarms, StatusCake tests and so on
<palo> nh2[m]: I wanted to put that in the readme.
<palo> but I see I have no task about this topic, .... created
__monty__ has quit [Quit: Restarting irssi to check locale issues.]
__monty__ has joined #nixos
<palo> karetsu: hcl and terranix generate json, which is interpreted by terraform. (this is not entirly true, but helps to compare them). And hcl is nothing more than a convenient json generator, while terranix can use the nixos module system.
<karetsu> and these json would be interpreted in the same kind of way nixops would read the nix version?
<palo> nh2[m]: btw in terranix there is no possiblity to use "terraform-modules" Do you think that is needed?
ajirx has joined #nixos
<palo> karetsu: I don't know how nixops is doing stuff under the hood, but I guess they generated json instead of hcl, iff they are using terraform in the background.
<nh2[m]> so far they aren't using terraform
<nh2[m]> palo: what does that mean concretely? I thought the 'statuscake' provider I'm using was a "terraform-module"
gratto has joined #nixos
johanot has quit [Quit: WeeChat 2.4]
<palo> nh2[m]: that means that you can't do things like `module.my-awesome-module.source = "git://github.com/..."`
ericsagnes has joined #nixos
<palo> but of course you can use the nixos module system.
Neo-- has joined #nixos
<nh2[m]> palo: why is that, is module+source not supported in terraform's JSON language? Or do you mean you can't point it at a nix file?
<palo> I think I will put the terraform-modules in there. sometimes situations are crazy and dirty hacks are not a good thing. (for example you could do that module stuff in a hcl file in the same folder, but this is not nice)
<palo> nh2[m]: I did not put it in there, because I had not time so far (it needs to be tested and all)
<palo> I will do this in the next release (most likely on sunday)
justanotheruser has quit [Ping timeout: 248 seconds]
<nh2[m]> palo: still don't understand, doesn't it 1:1 translate the nix to json in that case?
silver has joined #nixos
gratto has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @nh2 merged pull request #54398 → gstreamer-1.16.0 → https://git.io/fhzf7
<{^_^}> [nixpkgs] @nh2 pushed 4 commits to master: https://git.io/fjV1Z
<palo> I guess so, but I did not test it yet. I guess back than I tried to autogenerate all providers and this one was to complicated and than I just forgotit.
gratto has joined #nixos
<{^_^}> [nixpkgs] @markuskowa merged pull request #63113 → initial vdr plugin xineliboutput-2.1.0 → https://git.io/fj2VK
<{^_^}> [nixpkgs] @markuskowa pushed 3 commits to master: https://git.io/fjV1c
ajirx has quit [Ping timeout: 272 seconds]
<palo> They started to document JSON first in the 0.12 release
<mpickering> Cachix seems to be doing a lot of retrying on my travis build. Have I configured the CACHIX_SIGNING_KEY incorrectly?
<mpickering> For example - pushing (retry #1) /nix/store/gfixr3r74xqrb29qh2xksc5dc2fxzm7q-bootstrap-stage3-stdenv-linux.drv
justanotheruser has joined #nixos
<__monty__> I seem to remember there is a command to find out the recursive closure of a derivation but I no longer remember it. Ring any bells?
<roberth> mpickering: retries can be a symptom of network problems. Does it succeed after the retries?
<mpickering> no
<mpickering> Should there be an error is the signing key isn't present?
<mpickering> roberth: I set it via the UI and now it works
<mpickering> I suspect that travis only reads the first `secure` variable in a .travis config
<roberth> mpickering: missing keys are detected, but it seems that we don't detect a wrong signing key. Issue: https://github.com/cachix/cachix/issues/96
blockchain is now known as grumble
orivej has quit [Ping timeout: 245 seconds]
<mpickering> roberth: I think it is working now. I had `global: secure: ...; secure: ...` rather than `global: - secure:...; - secure:...`
<mpickering> Notice the `-`
<mpickering> The first time I did have the wrong signing key though
Wharncliffe has quit [Ping timeout: 246 seconds]
<{^_^}> [rfcs] @zimbatm pushed 0 commits to accepted: https://git.io/fjV1D
<roberth> mpickering: yaml is an amazing format...
<roberth> I've added wrong key detection to the issue. That should be improved
<{^_^}> [nixpkgs] @NeQuissimus pushed to master « vivaldi: 2.5.1525.48-1 -> 2.6.1566.40-1 »: https://git.io/fjV15
rprije has quit [Ping timeout: 268 seconds]
kim0 has joined #nixos
fendor has joined #nixos
HappyEnt has joined #nixos
ajirx has joined #nixos
karetsu has quit [Quit: WeeChat 2.4]
<__monty__> mpickering: I think there's wide-scale DDoS going on on EU ISPs.
<{^_^}> [nixpkgs] @Profpatsch closed pull request #63451 → Bazel 0.27.0 → https://git.io/fjVvp
jbgi_ has quit [Ping timeout: 245 seconds]
qqlq has joined #nixos
vmandela has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @markuskowa merged pull request #63474 → zotero: 5.0.66 -> 5.0.67 → https://git.io/fjVk4
<{^_^}> [nixpkgs] @markuskowa pushed 2 commits to master: https://git.io/fjVMn
<{^_^}> [nixpkgs] @markuskowa pushed 2 commits to master: https://git.io/fjVMC
<{^_^}> [nixpkgs] @markuskowa merged pull request #63475 → zlog: 1.2.12 -> 1.2.14 → https://git.io/fjVkR
<{^_^}> [nixpkgs] @markuskowa merged pull request #63262 → gromacs: 2019.2 -> 2019.3 → https://git.io/fja4l
<{^_^}> [nixpkgs] @markuskowa pushed 2 commits to master: https://git.io/fjVMB
cfricke has quit [Quit: WeeChat 2.5]
<{^_^}> [nixpkgs] @xrelkd opened pull request #63565 → cargo-bloat: 0.7.0 -> 0.7.1 → https://git.io/fjVMP
MmeQuignon has joined #nixos
nDuff has joined #nixos
fnords has joined #nixos
trevorriles has joined #nixos
andreas303 has joined #nixos
ThatDocsLady has quit [Quit: Leaving]
ThatDocsLady has joined #nixos
bgamari has quit [Ping timeout: 244 seconds]
bgamari has joined #nixos
andreas303 has quit [Remote host closed the connection]
civodul has joined #nixos
<{^_^}> [nix] @backuitist opened pull request #2963 → Nix uses the CPP SDK, not Java → https://git.io/fjVDZ
<{^_^}> [nixpkgs] @timokau merged pull request #63560 → sage: fix threejs r105 → https://git.io/fjVX0
<{^_^}> [nixpkgs] @timokau pushed 3 commits to master: https://git.io/fjVDC
<{^_^}> [nixpkgs] @timokau merged pull request #63561 → sage: fix threejs r105 [19.03] → https://git.io/fjVXV
<{^_^}> [nixpkgs] @timokau pushed 3 commits to release-19.03: https://git.io/fjVDW
alex`` has quit [Ping timeout: 272 seconds]
trevorriles has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
madjar has joined #nixos
alex`` has joined #nixos
bgamari has quit [Quit: ZNC 1.7.2 - https://znc.in]
<Shados> Izorkin: I've responded to your luaexpat comment on the gh issue
inquisitiv3 has quit [Ping timeout: 248 seconds]
o1lo01ol1o has joined #nixos
bgamari has joined #nixos
st4ll1 has quit [Ping timeout: 246 seconds]
acarrico has joined #nixos
andreas303 has joined #nixos
trevorriles has joined #nixos
<{^_^}> Channel nixos-19.03-small advanced to https://github.com/NixOS/nixpkgs/commit/cf82fcd3ae6 (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-19.03-small)
BoipiSigre has joined #nixos
jbgi_ has joined #nixos
ericsagnes has quit [Ping timeout: 258 seconds]
<BoipiSigre> Hello
<alex``> how to install sdk?
<gchristensen> dtz: I don't suppose you're available to PM for a few minutes?
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/98a3818692f (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
fnords has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @Shados opened pull request #63566 → luaPackages.luaexpat: Downgrade to fix prosody issue and match typical distros → https://git.io/fjVDy
fnords has joined #nixos
<{^_^}> [nixpkgs] @knl opened pull request #63567 → (backport) fswatch: Enable FSEvents API on Darwin → https://git.io/fjVDS
<infinisil> alex``: SDK = software development kit, there's about a million SDK's out there, you gotta be a bit more specific
gratto has quit [Ping timeout: 245 seconds]
<alex``> infinisil: I want to install kscript https://github.com/holgerbrandl/kscript#installation
<alex``> they they it requires skdman
<alex``> to have the sdk command
HappyEnt has quit [Ping timeout: 245 seconds]
HappyEnt has joined #nixos
gratto has joined #nixos
mmlb has quit [Ping timeout: 245 seconds]
kisik21 has joined #nixos
<kisik21> Ok so... I want to build my Java program with nix. I'm using nix to wrap gradle, but... dependencies. Normally gradle downloads dependencies from the internet, which is really useful. However, the nix environment is fully sandboxed. How can I provide dependencies to gradle in the nix way?
<kisik21> Suggestions to replace gradle with something else are accepted too :3
inquisitiv3 has joined #nixos
ericsagnes has joined #nixos
<Taneb> kisik21: I don't know much about Java but have you read https://nixos.org/nixpkgs/manual/#sec-language-java ?
<kisik21> Taneb: I did. It doesn't touch that topic.
<kisik21> I actually set my Nix build file using that manual. And when I used no dependencies it worked fairly well :3
andi- has quit [Quit: WeeChat 2.5]
<Taneb> Ah, I'm sorry I can't help beyond that
<kisik21> It's ok, not everyone is a Java person :3
<kisik21> I'm personally more of a Python coder
<kisik21> and Python support in Nixpkgs is awesome
<__monty__> ,ifd
<{^_^}> import-from-derivation (IFD) is when you evaluate nix from a derivation result, for example `import (pkgs.writeText "n" "1 + 1")` will evaluate to 2. This is sometimes problematic because it requires evaluating some, building some, and then evaluating the build result.
dansho has quit [Quit: Leaving]
fusion809 has joined #nixos
Ariakenom has joined #nixos
andi- has joined #nixos
inquisitiv3 has quit [Remote host closed the connection]
inquisitiv3 has joined #nixos
xkapastel has quit [Quit: Connection closed for inactivity]
domogled has joined #nixos
knupfer has joined #nixos
IRCsum has joined #nixos
alp has quit [Ping timeout: 258 seconds]
<{^_^}> [nix] @edolstra merged pull request #2963 → Nix uses the CPP SDK, not Java → https://git.io/fjVDZ
<{^_^}> [nix] @edolstra pushed 2 commits to master: https://git.io/fjVy3
<Izorkin> Please check PR #63355
<{^_^}> https://github.com/NixOS/nixpkgs/pull/63355 (by Izorkin, 2 days ago, open): mariadb: 10.3.15 -> 10.3.16
<gchristensen> Izorkin++
<{^_^}> Izorkin's karma got increased to 2
ajirx has quit [Remote host closed the connection]
HappyEnt has quit [Ping timeout: 244 seconds]
<{^_^}> [nixpkgs] @Shados opened pull request #63569 → luaPackages.bit32: Tiny patch to fix a LuaJIT-incompatible declaration → https://git.io/fjVyG
Okinan has joined #nixos
<{^_^}> Channel nixos-19.03-small advanced to https://github.com/NixOS/nixpkgs/commit/774d39092e7 (from 60 minutes ago, history: https://channels.nix.gsc.io/nixos-19.03-small)
Okinan has quit [Changing host]
Okinan has joined #nixos
BoipiSigre has quit [Ping timeout: 268 seconds]
nDuff has quit [Read error: Connection reset by peer]
Makaveli7 has quit [Quit: WeeChat 2.5]
<{^_^}> [nixpkgs] @Shados opened pull request #63570 → luajitPackages: Improve derivation names → https://git.io/fjVy5
ThatDocsLady has quit [Quit: Leaving]
jasongrossman has quit [Ping timeout: 245 seconds]
BoipiSigre has joined #nixos
knupfer has quit [Remote host closed the connection]
<Okinan> Hello, so uh, I have a potentially huge refactor and rebuild of nixpkgs due to a potential vulnerability with fetchFromGitHub, not really sure what's the best way to approach this, could some of the devs here look at nixpkgs/issues/63564?
civodul has quit [Ping timeout: 258 seconds]
<simpson> Okinan: What's your actual threat model? Who is attacking, and what would they do?
ThatDocsLady has joined #nixos
rauno has joined #nixos
<MichaelRaskin> Let's make bot provide a summary… #63564
<{^_^}> https://github.com/NixOS/nixpkgs/issues/63564 (by Chiiruno, 2 hours ago, open): Archive fetched by fetchFromGitHub is unpacked regardless of hash check
<clever> Okinan: one problem i can see, is that you must unpack the zip, to check the hash, so you dont know if the hash is valid or not until after its unpacked
<Okinan> My threat model isn't really relevant, but my ideas for this would be MITM and hacked cdn/website serving infected files
<clever> Okinan: but this unpacking happens inside a nix sandbox, so it cant do much else
<clever> Okinan: and if the hash is wrong, nix wont register the output as valid, so no other nix builds will ever make use of it
<Okinan> Does that still apply with the stuff like meltdown or the various ryzenfall exploits? Remember, it would be unzip or tar or gzip potentially being exploited.
<clever> Okinan: that same argument applies to curl itself and the entire ssl/tls layer
<simpson> Okinan: Well, let's be concrete, since AFAIK fetchFromGitHub can only fetch from GH. The idea, then, is that somebody MITMs or hacks GH?
<clever> simpson: nix disables CA checking when fetching, because it assumes the hash of the output is enough
<Okinan> Unlikely, probably not even currently plausible, but very possible.
<simpson> Okinan: Hm, wouldn't those be bugs in unzip then?
<clever> simpson: so if you are in the right place on the network, you can mitm fetchFromGitHub
<Okinan> Yes, but there's no reason to leave a glaring vulnerability or defective behavior unfixed either.
<simpson> clever: That is a curious choice to make; were "encrypt everything" and "let's encrypt" not sufficient memes in this case? It seems strange to deliberately *avoid* doing TLS. But yeah, that's not as big of a deal as it could be.
<MichaelRaskin> clever: wasn't the CA-check behaviour eventually changed?
<clever> simpson: i think its more that we dont care about hiding what we download and ensuring the server is authentic, because we validate the result directly
<clever> MichaelRaskin: *looks*
<simpson> Okinan: What's the glaring vuln? Corrupted ZIP plus vuln in unzip leads to...? File system overuse? Nix sandbox break?
<simpson> clever: Sure. The big reason to use TLS anyway is for the herd-immunity effects; our traffic is drops in the ocean of packets.
<Okinan> Anyway, to clarify, the issue is that the archive is being opened by a program before ensuring the hash is correct, and that archive might have a zero day in it that is loaded through potentially buggy code in the program that's unpacking it.
knupfer has joined #nixos
<simpson> Okinan: Do you have a PoC for this? This really *really* sounds unzip-oriented.
<clever> MichaelRaskin: line 18 results in it ignoring all ssl errors
<MichaelRaskin> I would bet that curl (that has to do TLS even if it doesn't check CA — or if it does, BGP attacks on LE _are_ feasible) is a larger problem than unzip
<LnL> unpacking happens in a sandboxed and unprivileged process
jD91mZM2 has joined #nixos
<Okinan> Please define PoC for me, I'm not aware of the meaning.
<MichaelRaskin> clever: I remember trying to push for fixing that
d10n-work has joined #nixos
<clever> Okinan: the hash is over the result of unpacking, so you cant verify the hash until after you unpack
<Okinan> Yes, however you github offers other options for source.
<simpson> Okinan: A "proof of concept", a chunk of code which demonstrates the vuln.
<Okinan> So the idea is to have github get a tar.gz or so instead of zip, verify the hash, then open
<Okinan> No, I don't.
<MichaelRaskin> You cannot verify hash because GtiHub cannot do deterministic archives
<Okinan> I think that only applies for zips, see https://github.com/NixOS/nixpkgs/issues/63564#issuecomment-504021208
<MichaelRaskin> I think there were problems with tarballs, too
<simpson> I had thought that the same GH backend system produced tarballs and zipballs.
psyanticy has joined #nixos
<LnL> fetchzip works for all archives, just has a bit of a confusing name
<clever> simpson: github can produce both, but i dont think it does it deterministicly
<clever> simpson: so we must hash after unpacking
<simpson> FWIW .gz headers can be zip-bombed as well, creating as much as 1GiB of garbage, IIUC, although I can't find a demonstration of the attack.
rauno has quit [Ping timeout: 252 seconds]
<clever> and the problem remains, if the unpacked gets exploited
<clever> simpson: http itself supports gzip encoding, so i could gz bomb you over a simple index.html
<simpson> clever: Sure. But that's not a big deal, still, because unpacker bugs aren't necessarily security compromises.
<clever> the Content-Encoding: header
<simpson> Ha, nice.
<MichaelRaskin> As for outright exploits, given that unpacking changes _very_ slowly, and actual fetching is _forced_ to use new an relatively little-tested code …
<clever> nginx can also be configured to serve pre-gz'd content, and they claim its gzip'd, so the client decodes
<clever> and the server saves cpu cycles
<simpson> Oh, wait, you said "unpacked", not "unpacker". Like, if somebody slipstreams a vuln into the code being downloaded? *That* is guarded against by Nix-level hashes.
<clever> simpson: i'm saying, if an exploit against unzip is inserted into the stream, you can exploit the nix builder, before the hash is validated
<clever> simpson: and i already have working examples of getting a reverse shell from a fixed-output derivation
<simpson> clever: Sure, but I'm suggesting that that be treated as a (critical, CVE-worthy) bug in unzip.
ThatDocsLady has quit [Quit: Leaving]
Ariakenom has quit [Quit: Leaving]
<clever> simpson: yeah, i would also just fix unzip, rather then break fetchFromGithub globally
<simpson> Okinan: This is why threat modelling is relevant. Are there other parts of your concern that we haven't covered yet?
IRCsum has quit [Remote host closed the connection]
<Okinan> My concern is that unverified data is being loaded and transformed through any undecompressor program.
IRCsum has joined #nixos
<clever> Okinan: the only way to prevent that, is to convince github to make the zip's deterministic
BoipiSigre has quit [Quit: Konversation terminated!]
srid63908 has quit [Read error: Connection reset by peer]
srid63908 has joined #nixos
<mpickering> Does anyone use `language: nix` on travis? The performance is terrible for me. It takes 20x longer than on my local machine
<MichaelRaskin> Okinan: does the fact that unverified data is processed by curl in the process of loading not concern you more?
<clever> mpickering: i believe travis will automatically switch from containers to full VM's based on certain flags you set
<clever> mpickering: and full VM's perform worse
<Okinan> That might be a fight worth fighting, but for now, if we absolutely can't find a way to get deterministic zips/tarballs from github, perhaps we need to remove getting releases/archives from fetchGitHub, and instead only fetch the git and compile every time.
<clever> mpickering: that can even happen if you put sudo anywhere in your script, and dont change any flags
<clever> Okinan: pkgs.fetchgit had the exact same problem
<clever> Okinan: your cloning the entire git repo, and then getting the dir at a given rev
<clever> Okinan: what if git has an exploit?
<Okinan> AFAIK, fetchgit checks the sha256 before doing anything with it.
<mpickering> clever: I though they removed the sudo keyword
<clever> Okinan: nope, it checks the hash after unpacking everything
<MichaelRaskin> Okinan: sha256 of _what_?
veske has quit [Ping timeout: 248 seconds]
<clever> mpickering: this is different from the sudo flag, this is just a string search of sudo in your script!
<clever> mpickering: it will silently enable sudo support if it thinks your trying to use it
<Okinan> That's a good point, I haven't looked at fetchgit.
<MichaelRaskin> Git fetching is not deterministic as a whole
xok has joined #nixos
<xok> hello all...
<Okinan> hi
<xok> in my configuration for nixops I want to use a boolean value...
ilmu has quit [Ping timeout: 245 seconds]
<xok> I don't have problem passing the variable...
<xok> I just don't know how to catch it...
domogled has quit [Quit: domogled]
<clever> mpickering: and i discovered this, because the container and vm are different versions of ubuntu, and that broke nixops
<xok> I've got something like this: 98 enableACME = ${cfg.enableSSL};
<MichaelRaskin> Okinan: the only safe way to fetch is unencrypted HTTP/FTP (or Gopher?) — old enough and simple enough to be implemented correctly and never touched without reason
<xok> and the $cfg variable is declared like this: 4 cfg = config.services.webapp;
<Okinan> Anyway, so from what I can gather, the internet is a giant zeroday just waiting.
<xok> can anyone help me figure out how to use boolean variables?...
<arianvp> xok: could you post a full example?
<arianvp> did you define an option for the enableSSL variable?
<xok> the strings can be used with quotes : "${cfg.variable}" works...
<arianvp> like, post it on gist.github.com
<MichaelRaskin> Okinan: please read about BGP. It is not even zero day waiting to happen, it is a huge vulnerability being exploited in a well-known way that is not fixed
<mpickering> clever: You don't happen to know if circle CI has similar issues?
<mpickering> I tried removing the sudos now
<Okinan> I haven't read this, thanks for telling me about it.
<clever> mpickering: ive been using buildkite lately and it works great
<arianvp> oh xok
<xok> arianvp: here it is: https://clbin.com/YSIPP
<arianvp> just do this : enableACME = cfg.enableSSL;
<arianvp> instead of with ${} around it
<xok> oh, that's awesome...
<mpickering> clever: Thanks I will try that
<xok> thanks a lot...
<Okinan> Anyway, should I close the issue, or does anyone have any ideas on how to remedy this, if possible?
<mpickering> Is there native nix support or is it container based?
<arianvp> ${} only works inside strings
<arianvp> it's string interpolation syntax
<clever> and with keys
<clever> > let key = "foo"; in { ${key} = 42; }
<{^_^}> { foo = 42; }
<xok> arianvp: thank you very much, it worked like a charm... 8-)
<arianvp> clever: lol TIL
<arianvp> I always write "${key}" = blah
<arianvp> It also works in accessor syntax right? like blah.${lol}
<clever> > let key = "foo"; set.foo = 42; in set.${key}
<{^_^}> 42
adfaure has joined #nixos
WizBright has quit [Ping timeout: 248 seconds]
WizBright has joined #nixos
<adfaure> Hello, I am trying to understand the differences between packages and derivations. The first nix pill states that the difference is subtle without describing it :) Does someone has a clear definition please?
<__monty__> adfaure: Not afaik. The term "package" isn't really a thing in nixpkgs.
<xok> arianvp: can you help with lists too?..
<xok> arianvp: imagine I have to pass virtual hosts to the web service which should be set up separately...
<xok> imagine I've pased them as: vhosts = [ "one" "two" "three" "four" ];
<xok> like this...
<__monty__> adfaure: You could say every name at the top-level of nixpkgs is a "package" but that doesn't always work.
<xok> how do I catch each of these and do certain operations on it?.
<clever> xok: a map function probably
xok has quit [Read error: Connection reset by peer]
xok has joined #nixos
<xok> arianvp: I am sorry, i got disconnected...
<clever> xok: a map function probably
<xok> clever: probably, but how do I use it?..
<clever> > map (v: { key = v; }) [ "a" "b" "c" ]
<{^_^}> [ <CODE> <CODE> <CODE> ]
<clever> > :p map (v: { key = v; }) [ "a" "b" "c" ]
<{^_^}> [ { key = "a"; } { key = "b"; } { key = "c"; } ]
<xok> where can I find documentation for programming in Nix?...
<clever> xok: the nix manual
<xok> where all the functions are listed?..
<clever> xok: the nix manual
<clever> thats the nixos manual
<clever> xok: https://nixos.org/nix/manual/index.html is the nix manual
<xok> clever: Thank you!..
<{^_^}> [nixpkgs] @volth opened pull request #63572 → buildPerlPackage: name -> (pname, version) → https://git.io/fjV9m
<adfaure> __monty__: I am not sure to fully undertand. What I undertand it is safe to use `derivation` rather than `package`?
<clever> adfaure: i would say the 2 terms are interchangable
clacke_movim has left #nixos [#nixos]
<{^_^}> [nixpkgs] @markuskowa merged pull request #63409 → singularity: 3.0.1 -> 3.2.1 → https://git.io/fjaQF
<{^_^}> [nixpkgs] @markuskowa pushed 2 commits to master: https://git.io/fjV9Z
knupfer has quit [Ping timeout: 252 seconds]
hyper_ch2 has quit [Quit: Page closed]
endformationage has joined #nixos
ilmu has joined #nixos
gspia has quit [Quit: Leaving]
clacke_movim has joined #nixos
jeregrine has joined #nixos
alp has joined #nixos
<{^_^}> [nixpkgs] @abbradar opened pull request #63574 → openjfx11: init at 11.0.3+1 → https://git.io/fjV9P
<{^_^}> [nixpkgs] @layus opened pull request #63575 → dafny: 2.1.0 -> 2.3.0 → https://git.io/fjV91
linarcx has quit [Quit: WeeChat 2.5]
qubasa has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
inquisitiv3 has quit [Remote host closed the connection]
xkapastel has joined #nixos
<fendor> ,locate pcre
<{^_^}> Found in packages: psol, clisp, php.dev, pcre.doc, clisp-tip, php71.dev, php73.dev, kodestudio, factor-lang, php-unit.dev, php-embed.dev, php71-unit.dev, php73-unit.dev, php71-embed.dev, php73-embed.dev, ocamlPackages.re, ocamlPackages.ocaml_pcre, python37Packages.tensorflow, python27Packages.tensorflowWithoutCuda
<__monty__> adfaure: A derivation could build an entire development environment for example. It's hard to call that a "package". Similarly, a derivation could build an internal project dependency, hard to call that a "package" either.
<fendor> ,locate libpcre.so
<{^_^}> Found in packages: pcre, pcre16, pcre-cpp, scilab-bin
<adfaure> __monty__: Ok, thank you. So in short, a derivation is a build process for something, could be a package, a set of packages, a file etc
<__monty__> adfaure: Basically, yes. AFAIUI at least.
<adfaure> __monty__: Thank you !
<fendor> i am trying to build a derivation that depends on libpcre. I tried it with buildInputs = [pcre]. Do I have to modify the LD_LIBRARY_PATH?
st4ll1 has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
jfroche has quit [Ping timeout: 246 seconds]
erasmas has joined #nixos
<mpickering> CircleCI performance is similarly as bad as travis - https://circleci.com/gh/mpickering/eventlog2html/8
<mpickering> This takes <1 minute locally. Does docker make file system access much more expensive or something?
<__monty__> Maybe SSD v. spinning rust?
<infinisil> fendor: What's the error?
<__monty__> That's a *lot* slower though.
<fendor> infinisil, the build tool, cabal, cant find libpcre.so
ardumont has quit [Ping timeout: 252 seconds]
Tucky has quit [Ping timeout: 244 seconds]
knupfer has joined #nixos
lovesegfault has joined #nixos
<{^_^}> [nixpkgs] @Ma27 merged pull request #63363 → python37Packages.google-i18n-address: 2.3.4 -> 2.3.5 → https://git.io/fjaXV
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/fjVH0
<mpickering> __monty__: I can't believe anyone builds anything with nix on circleCI if it's this slow :P
o1lo01ol1o has joined #nixos
<__monty__> I agree it seems excessive. Don't have experience with nix on CI though.
romildo has joined #nixos
<infinisil> fendor: How do you specify buildInputs?
romildo has left #nixos [#nixos]
<fendor> infinisil, https://pastebin.com/k5VhwCdr
<fendor> infinisil, the buildNativeInputs is a recent addition
romildo has joined #nixos
<fendor> i tried it with pcre in buildInputs, but it is the same error message
<infinisil> fendor: Try adding pkgconfig maybe
alex`` has quit [Ping timeout: 248 seconds]
<{^_^}> [nixpkgs] @Ma27 merged pull request #63269 → ibus-engines.typing-booster-unwrapped: 2.6.1 -> 2.6.2 → https://git.io/fjaBT
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/fjVHV
<fendor> infinisil, still no difference
<infinisil> fendor: You aren't in a doubly-nested nix-shell, right?
<fendor> infinisil, no, I am not, printenv | rg SHLVL yields 2, which is fine because I am using fish
<infinisil> Hm.. where does the cabal come from?
ardumont has joined #nixos
alex`` has joined #nixos
<infinisil> And the full error might be helpful
<fendor> cabal installed via nix
<fendor> current shell.nix: https://hastebin.com/iduyolebew.bash
o1lo01ol1o has quit [Remote host closed the connection]
travelion6 has joined #nixos
nimblepoultry_ has joined #nixos
mkaito- has joined #nixos
metalrain_ has joined #nixos
CodeKiwi has joined #nixos
tokudan_ has joined #nixos
pjan_ has joined #nixos
DigitalKiwi has quit [Disconnected by services]
CodeKiwi is now known as DigitalKiwi
lopsided98_ has joined #nixos
Forkk_ has joined #nixos
ajp_ has joined #nixos
shad_ has joined #nixos
<infinisil> One last idea I have is to strace the command to see where it's looking for libpcre.so
THFKA4_ has joined #nixos
<infinisil> Something like `strace -f -e trace=file -o trace.log cabal ...`
aramiscd_ has joined #nixos
risson_ has joined #nixos
ma27_ has joined #nixos
orivej has joined #nixos
wfranzini has quit [Remote host closed the connection]
adfaure has quit [Quit: Page closed]
<fendor> infinisil, that is like 11000 lines of traces... and a lot of libs find a libpcre.so
yastero_ has joined #nixos
abcrawf_ has joined #nixos
<fendor> this seems interesting though: https://hastebin.com/licijaxadi.pl
krkini has joined #nixos
abcrawf has quit [*.net *.split]
{^_^} has quit [*.net *.split]
tokudan has quit [*.net *.split]
nimblepoultry has quit [*.net *.split]
metalrain has quit [*.net *.split]
ajp has quit [*.net *.split]
meck has quit [*.net *.split]
Cale has quit [*.net *.split]
kini has quit [*.net *.split]
DerGuteMoritz has quit [*.net *.split]
tg has quit [*.net *.split]
THFKA4 has quit [*.net *.split]
risson has quit [*.net *.split]
lopsided98 has quit [*.net *.split]
pjan has quit [*.net *.split]
aramiscd has quit [*.net *.split]
travelion has quit [*.net *.split]
yastero has quit [*.net *.split]
ma27 has quit [*.net *.split]
Forkk has quit [*.net *.split]
mkaito has quit [*.net *.split]
MayeulC_backup has quit [*.net *.split]
zaphar_ps[m] has quit [*.net *.split]
shad has quit [*.net *.split]
nimblepoultry_ is now known as nimblepoultry
metalrain_ is now known as metalrain
mkaito- is now known as mkaito
mkaito has joined #nixos
mkaito has quit [Changing host]
tg has joined #nixos
ilmu has quit [Ping timeout: 257 seconds]
ambro718 has joined #nixos
sigmundv has quit [Ping timeout: 248 seconds]
ilmu has joined #nixos
c00w has joined #nixos
<romildo> wxGTK31.override { withGtk2 = false; withWebKit = true; }; gives an error, while a similar override for wxGT30 works? Is that a bug?
v0|d has joined #nixos
<romildo> error: anonymous function at /alt/nixpkgs/pkgs/development/libraries/wxwidgets/3.1/default.nix:1:1 called with unexpected argument 'withGtk2', at /alt/nixpkgs/lib/customisation.nix:69:12
DerGuteMoritz has joined #nixos
zaphar_ps[m] has joined #nixos
Cale has joined #nixos
MayeulC_backup has joined #nixos
meck has joined #nixos
linarcx has joined #nixos
ubert has quit [Quit: Leaving]
m0rphism has quit [Quit: WeeChat 2.4]
m0rphism has joined #nixos
erasmas has quit [Quit: Lost terminal]
erasmas has joined #nixos
o1lo01ol1o has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
knupfer has quit [Remote host closed the connection]
knupfer has joined #nixos
<ashkitten> clever: me @ kimsufi: hey i just want the dashboard to stop prompting me to install an os after i already have one its just not a templated os // them: hello, you can only install an os through our templates but if you get an ovh dedi you get a kvm to mount isos with
<ashkitten> that's... not what i asked
<clever> ashkitten: lol
<clever> ashkitten: tell them that its already installed and to shut up, lol
<clever> ashkitten: that reminds me, a few years ago at another datacenter, i was looking for an old server
<clever> ashkitten: i had the ip, but couldnt remember if it had been terminated, or was on a 2nd account
<clever> ashkitten: so i asked the via a support ticket
<clever> the answer, is that for privacy reasons, they cant tell me what the ip is connected to
<clever> however
<clever> without telling me anything, they also rebooted every machine in my account, thinking it was connectivity problems and they where doing me a favor :P
<ashkitten> wow
<mdash> how helpful
orivej has quit [Ping timeout: 245 seconds]
<clever> at the same datacenter, i had tried to install nixos in a vm, but the vm and baremetal machines had differing network setup, so bricked the guest
<clever> when getting errors from them, i got back a screenshot of virtualbox running on windows, lol
<ashkitten> pff
<clever> so, i just whipped up a virtualbox disk image, with the fixes done, and sent them the whole disk image!
<ashkitten> ahahaha
<clever> after they installed it, they asked for the root pw, so they could login and fix /etc/networking/interfaces to match my static ip
<ashkitten> what no
<clever> then they realized, its already got the right ip....
<clever> i was one step ahead of them :P
<clever> also, its nixos, and the interfaces file doesnt do anything
<ashkitten> this is why i wish i could have my own hardware
romildo has quit [Quit: Leaving]
<ashkitten> alas, i don't have the money to buy a server better than what i could get from them
<ashkitten> and it'd be $69.69 a month to rack it with my friend, which i don't want to do if i could get a decent server for half that with kimsufi
<ivan> OVH did a motherboard swap on my soyoustart because I panicked my kernel with a buggy IO scheduler
<ivan> then had to swap it again because they grabbed that one from their bad motherboard pile
<PyroLagus> ashkitten: that's an oddly specific price
<ashkitten> PyroLagus: that's the price she set
<PyroLagus> lol
<ashkitten> it's double nice
<clever> ashkitten: every time i go to speedtest.net, damn
<clever> ashkitten: the needle on the guage just pegs, lol
<ashkitten> clever: i have 250 down but only 15 up ;-;
<clever> it reads from 0-100, it just slams into the end, and reads 500
<clever> ashkitten: https://beta.speedtest.net/result/8353169397 is my current speed.....
<ashkitten> im so jealous
<ashkitten> the fastest upload speed we could get rn is 30mbps if we paid for gigabit
<ashkitten> i used to have fiber........
<clever> ashkitten: fiber here
jbgi_ has quit [Ping timeout: 268 seconds]
<ashkitten> didnt even have a gigabit plan but having 100/100 was pretty fucking great
<ar> that's from my laptop on wifi
<ashkitten> comcast plz upgrade ur infra
<clever> ar: only on g band here, so my laptop would be <56mbit
<ar> but that's kind of cheating, as i'm at the hackerspace and we're our own isp ;)
<clever> ar: lol
<ar> (AS204880)
<ar> that's after plugging in a random ethernet cable that was on a table: https://www.speedtest.net/result/8353178393.png
<ashkitten> whyyy
* clever weeps
<ashkitten> this is bullying
<clever> my laptop is getting 18mbps down
<ar> also, if anyone's coming to CCCamp, https://bgp.wtf/cccamp19
<clever> which reminds me, hostapd
<clever> https://nixos.org/nixos/options.html#hostapd i really need to get around to this...
<ashkitten> my laptop gets that too but it's because it's an old atheros card
<clever> ashkitten: in my case, its the router thats to blame
<ashkitten> ah
<clever> ashkitten: the router my isp provides, doesnt allow wifi to ever talk to wired machines
<ashkitten> GROSS
<ashkitten> what
<ashkitten> how do you survive ;-;
<clever> ashkitten: by using an old g band d-link router, with its dhcp disabled
<clever> but that doesnt have n band speeds
<ashkitten> x.x
<clever> ashkitten: maybe we should move all this spam to #nixos-chat ?
<ashkitten> yeah
<PyroLagus> that's a real channel?
<clever> PyroLagus: yes
xok has quit [Read error: Connection reset by peer]
ilikeheaps has joined #nixos
xok has joined #nixos
xok has left #nixos [#nixos]
fendor has quit [Quit: Leaving]
cjpbirkbeck has joined #nixos
FRidh has joined #nixos
trevorriles has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Jackneill has quit [Remote host closed the connection]
jgt has quit [Ping timeout: 252 seconds]
Neo-- has quit [Ping timeout: 250 seconds]
freeman42x has joined #nixos
asheshambasta_m has joined #nixos
hmpffff has joined #nixos
Mateon2 has joined #nixos
Mateon1 has quit [Ping timeout: 268 seconds]
Mateon2 is now known as Mateon1
zachk has joined #nixos
swflint has quit [Ping timeout: 252 seconds]
jgt has joined #nixos
jgt has quit [Ping timeout: 252 seconds]
linarcx has quit [Ping timeout: 258 seconds]
hyper_ch has quit [Quit: ZNC 1.7.3 - https://znc.in]
linarcx has joined #nixos
ashkitten has quit [Quit: WeeChat 2.4]
trevorriles has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
ashkitten has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
ashkitten has quit [Client Quit]
<aminechikhaoui> Hey, I'm seeing a weird behavior where the result partition of cryptsetup luksFormat is interpreted as an "atari" partition and thus the mkfs.* call after that fails
<aminechikhaoui> some report similar issues in the internet where blkid can wrongly parse random data as "atari"
<aminechikhaoui> did anyone see similar issues ?
<clever> aminechikhaoui: there is wipefs to erase known signatures, and you can also just dd /dev/zero into the device to wipe it fully
hyper_ch has joined #nixos
<aminechikhaoui> clever: yeah I was using nixops's auto-luks so it breaks deployments, I guess I can use formatOptions = "-f" but it's a weird issue
<clever> aminechikhaoui: ahh
madjar has quit [Quit: Connection closed for inactivity]
<aminechikhaoui> clever I want to understand the issue a bit tho', do you think luksFormat generates random data that somehow matched a signature of an "atari" partition
<clever> aminechikhaoui: i believe luksformat just sets up the header, with a random encryption key, and your passphrase
<clever> aminechikhaoui: and it then tries to decrypt whatever was already on the disk, using that key
<clever> so the existing data, turns into random garbage after you decrypt it with the "wrong" key
<aminechikhaoui> oh, that makes a bit more sense
Okinan has quit [Quit: Konversation terminated!]
hyper_ch has quit [Quit: ZNC 1.7.3 - https://znc.in]
asheshambasta_m has quit [Quit: Leaving.]
gratto has quit [Read error: Connection reset by peer]
gratto has joined #nixos
Okinan has joined #nixos
Okinan has quit [Changing host]
Okinan has joined #nixos
Okinan has quit [Client Quit]
Okinan has joined #nixos
hyper_ch has joined #nixos
ashkitten has joined #nixos
hyper_ch has quit [Client Quit]
dsx has quit [Quit: dsx]
gratto has quit [Read error: Connection reset by peer]
gratto has joined #nixos
aminechikhaoui has joined #nixos
hyper_ch has joined #nixos
dsx has joined #nixos
ashkitte1 has joined #nixos
ashkitte1 has quit [Client Quit]
ashkitte1 has joined #nixos
gratto has quit [Ping timeout: 268 seconds]
ashkitte1 has quit [Client Quit]
asheshambasta_m has joined #nixos
aminechikhaoui has quit [Quit: The Lounge - https://thelounge.github.io]
hyper_ch has quit [Read error: Connection reset by peer]
aminechikhaoui has joined #nixos
ris has joined #nixos
Guest64 has joined #nixos
Guest64 has left #nixos [#nixos]
hyper_ch has joined #nixos
tokudan_ has quit [Quit: ZNC 1.7.3 - https://znc.in]
tokudan has joined #nixos
jgt has joined #nixos
johanot has joined #nixos
aminechikhaoui has quit [Quit: The Lounge - https://thelounge.github.io]
aminechikhaoui has joined #nixos
jgt has quit [Ping timeout: 252 seconds]
hyper_ch has quit [Quit: ZNC 1.7.3 - https://znc.in]
o1lo01ol1o has joined #nixos
hyper_ch has joined #nixos
mexisme_ has joined #nixos
<hyper_ch> gchristensen: still here?
<qyliss> Where's {^_^} gone?
Shoubit has quit [Ping timeout: 258 seconds]
gkaf has joined #nixos
<clever> 2019-06-20 13:03:18 -!- Netsplit *.net <-> *.split quits: {^_^}
<clever> qyliss: the server it was on died
gkaf has quit [Remote host closed the connection]
<hyper_ch> can't you just zfs send / recv the dead server?
gratto has joined #nixos
<clever> hyper_ch: the irc server, not client
<clever> hyper_ch: the initial failure was on freenode's end
<hyper_ch> clever: and they don't use zfs? oO :)
<clever> hyper_ch: the secondary failure is likely that the irc client doesnt reconnect right
fendor has joined #nixos
mexisme_ has quit [Ping timeout: 268 seconds]
psque has joined #nixos
<psque> Which commands pay attention to `keep-outputs`? If `nix-store --gc --print-dead` says an output is dead, will the actual garbage collector collect it?
fenedor has joined #nixos
jbgi_ has joined #nixos
fendor has quit [Quit: Leaving]
mexisme_ has joined #nixos
zacts has quit [Quit: WeeChat 1.9.1]
DRW_ has joined #nixos
<DRW_> I'd like to install ghcjs (a Haskell complier). I can find it like this: 'nix-env -f '<nixpkgs>' -qaP -A haskell.compiler' but I can't figure out the syntax to install it. Can anyone provide the correct syntax?
zacts has joined #nixos
asheshambasta_m has quit [Quit: Leaving.]
xkapastel has quit [Quit: Connection closed for inactivity]
pointfourone has joined #nixos
<psque> DRW_: `nix-env --install` should work
pointfourone has quit [Client Quit]
jgt has joined #nixos
<DRW_> psque: 'nix-env --install haskell.compiler.ghcjs' -> error: selector 'haskell.compiler.ghcjs' matches no derivations
krbtgt has joined #nixos
<psque> try `nixpkgs.haskell.compiler.ghcjs`?
linarcx has quit [Ping timeout: 268 seconds]
jgt has quit [Ping timeout: 276 seconds]
ashkitten has quit [Quit: WeeChat 2.5]
ashkitten has joined #nixos
eof_ has quit [Quit: eof_]
eof has joined #nixos
psyanticy has quit [Quit: Connection closed for inactivity]
shibboleth has joined #nixos
romildo has joined #nixos
cjpbirkbeck has quit [Quit: Quitting now.]
FRidh has quit [Quit: Konversation terminated!]
shibboleth has quit [Remote host closed the connection]
waleee-cl has joined #nixos
jgt has joined #nixos
<romildo> I am packaging CodeLite IDE. Its source code has many FHS hard coded paths for optional components. For instance, it can handle several terminals (like xterm, gnome-terminal, mate-terminal, konsole, etc.) and the FHS path to the executable is hard coded (/usr/bin/gnome-terminal, for instance). How to handle this in nixpkgs?
eph^ has quit [Ping timeout: 245 seconds]
v88m has quit [Ping timeout: 246 seconds]
<romildo> If they were not optional, I would change it to something like ${gnome3.gnome-terminal}/bin/gnome-terminal. But that would mandate a dependency on gnome3.gnome-terminal.
lovesegfault has quit [Ping timeout: 252 seconds]
equivrel has quit [Remote host closed the connection]
<ivan> romildo: you could remove the /usr/bin part
equivrel has joined #nixos
<ivan> assuming it's in a thing where PATH lookup works
jbgi_ has quit [Ping timeout: 268 seconds]
lsyoyom has quit [Ping timeout: 248 seconds]
<adisbladis> romildo: Have you considered buildFHSUserEnv ?
trevorriles has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<ashkitten> i need to tunnel a local port to a remote server automatically. how do people usually do that? i was thinking of just setting up a systemd service with `autossh -R` and a passwordless ssh key that gets me auth for an unprivileged user, but i figured i'd ask if anyone has suggestions
<qyliss> wireguard?
<clever> ashkitten: have you considered a vpn? either toxvpn or wireguard
<ashkitten> hmm
<ashkitten> no i had not
<ashkitten> let me look into how to set that up, then
<qyliss> the nixos.wiki page on wireguard is pretty good
<romildo> adisbladis, with buildFHSUserEnv the dependencies with FHS hard coded paths still need to be specified, and wouldn't be optional, right? It would just alleviate the need of patching the source code.
<adisbladis> romildo: Yes exactly.
ilmu has quit [Ping timeout: 250 seconds]
<adisbladis> romildo: Though you should probably report that upstream.. That can't be correct behaviour regardless of distro/os.
psque has quit [Ping timeout: 268 seconds]
zupo has joined #nixos
xkapastel has joined #nixos
srid63908 has quit [Quit: The Lounge - https://thelounge.chat]
srid63908 has joined #nixos
ambro718 has quit [Quit: Konversation terminated!]
lsyoyom has joined #nixos
qubasa has joined #nixos
__monty__ has quit [Ping timeout: 246 seconds]
ddellacosta has joined #nixos
jbgi_ has joined #nixos
chrisq2 has joined #nixos
MmeQuignon has quit [Ping timeout: 268 seconds]
<chrisq2> Hopefully a quick question, what is the Nix database responsible for? What is it's purpose?
<MichaelRaskin> It keeps track of what paths are actually valid, and what are their dependency relations
<chrisq2> MichaelRaskin: Makes sense thanks!
orivej has joined #nixos
<ashkitten> ok, rad
<ashkitten> i got wireguard working
<ashkitten> for some reason tho, if i do nc -l on the server it doesn't receive from my desktop... works the other way tho
<clever> ashkitten: the existing nixos firewall still comes into play
__monty__ has joined #nixos
<ashkitten> oh
<ashkitten> ohh got it
<ashkitten> i don't have a firewall on my desktop
<clever> ashkitten: but you can also just allow the wireguard interface to do whatever it wants
<clever> so the fw is effectively off on that side
<ashkitten> yeah
<ashkitten> okay cool
<ashkitten> ok, works
<ashkitten> neat
<ashkitten> this is cool
sigmundv has joined #nixos
lsyoyom has quit [Ping timeout: 246 seconds]
jbaum98 has joined #nixos
alex`` has quit [Ping timeout: 246 seconds]
<jbaum98> is anyone else having trouble with cache.nixos.org?
johanot has quit [Quit: WeeChat 2.4]
DRW_ has quit [Quit: Page closed]
<MichaelRaskin> What, the DNS issue still hasn't settled?
madjar has joined #nixos
alex`` has joined #nixos
<jbaum98> Maybe, I'm getting this message:
<jbaum98> warning: unable to download 'https://cache.nixos.org/b4i63gj1znpn23laqw2nd4x8yzswna6r.narinfo': SSL peer certificate or SSH remote key was not OK (60)
<qyliss> does, say, curl -I https://example.com work?
<jbaum98> yup, it does
<clever> jbaum98: can you pastebin the output of `openssl s_client -connect cache.nixos.org:443` ?
srid63908 has quit [Read error: Connection reset by peer]
nbardiuk has joined #nixos
srid63908 has joined #nixos
sigmundv has quit [Ping timeout: 245 seconds]
<jbaum98> It runs, hangs, and then I hit CTL-D and it prints DONE https://usercontent.irccloud-cdn.com/file/uyLTEudz/nix-ssl.log
lsyoyom has joined #nixos
<clever> jbaum98: identical ssl cert to what i get
<jbaum98> clever: so it's probably something wrong with my setup
gratto has quit [Read error: Connection reset by peer]
<edef> joepie91: did you ever end up figuring out how to use steam-run with stuff that uses pango?
gratto has joined #nixos
<joepie91> oof
<joepie91> uh
<joepie91> I'm... not sure
<joepie91> I don't think so?
<joepie91> I think I ended up just looking for screenshots of the installer and clicking vaguely correct-looking buttons
<edef> oh no
<kisik21> How to get a first element of a list in Nix? For example, first key in user's openssh.authorizedKeys.keys list
<qyliss> lib.elemAt
<kisik21> qyliss: thanks :3
<kisik21> qyliss++
<kisik21> ugh that doesn't work that way anymore?
<qyliss> the bot died
jbgi_ has quit [Ping timeout: 245 seconds]
lsyoyom has quit [Ping timeout: 245 seconds]
<MichaelRaskin> I think I have already seen infinisil restart the bot today
<infinisil> Oh is it dead again, damnit
<infinisil> Wait no it's running on my end
<infinisil> Pinging gchristensen, it's on your side
ilmu has joined #nixos
<MichaelRaskin> We need RAUB — Redundant Army of Unmonitored Bots
o1lo01ol1o has quit [Remote host closed the connection]
<MichaelRaskin> The bots form a queue, and the n-th bot reacts if something is left unhandled in 3n seconds
<infinisil> Hehe nice idea
<MichaelRaskin> And synchronise the state by monitoring each other's replies
<MichaelRaskin> (which would be depressingly better than Uber did putting their system on a Volvo with a preexisting limited but more reliable safety system)
o1lo01ol1o has joined #nixos
<DigitalKiwi> when the bots fail they kill pedestrians?
<MichaelRaskin> In this design only if _all_ bots fail at once a failure happens, though!
o1lo01ol1o has quit [Remote host closed the connection]
<DigitalKiwi> like a netsplit?
<MichaelRaskin> If the net breaks, the bot army gets to handle both halves
<DigitalKiwi> i guess you just have to make sure they join different hosts
<MichaelRaskin> That's true.
o1lo01ol1o has joined #nixos
<MichaelRaskin> But you probably want them to run in different datacenters (not sharing a single operator) for true redundancy anyway, which improves the chances.
ashkitten has quit [Quit: WeeChat 2.5]
yili has quit [Remote host closed the connection]
lsyoyom has joined #nixos
<MichaelRaskin> (now I imagined a redundant mirror of the channel itself with bots sitting in a channel on a different network and gossipping about the messages they noticed in the main channel; kind of an oral mythology)
qqlq has quit [Quit: ZNC 1.7.3 - https://znc.in]
ashkitten has joined #nixos
qqlq has joined #nixos
<clever> MichaelRaskin: lol
romildo has quit [Quit: Leaving]
<jbaum98> clever: a restart fixed the problem, lol. not sure what was going on there but thanks for your help
layus has quit [Ping timeout: 252 seconds]
layus has joined #nixos
<clever> jbaum98: thats weird
qqlq has quit [Quit: ZNC 1.7.3 - https://znc.in]
srl295 has joined #nixos
Guanin has joined #nixos
drakonis1 has joined #nixos
erasmas has quit [Quit: leaving]
silver has quit [Ping timeout: 245 seconds]
{^_^} has joined #nixos
MmeQuignon has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
<chrisq2> I tried to deploy to a Nixos machine, I then by accident ran a `nixos-rebuild switch` in the machine... I'm running into the https://nix-cookbook.readthedocs.io/en/latest/faq.html#how-do-i-fix-error-current-nix-store-schema-is-version-10-but-i-only-support-7 error... But regarding the solution to that, I'm not sure which nix-store path I'm meant to reference?
<chrisq2> Tried to deploy using Nixops* ^.
lovesegfault has joined #nixos
<infinisil> chrisq2: Some of us use a nixos config like this on nixops machines to prevent this: https://github.com/Infinisil/system/blob/master/deploy/default.nix#L5-L15
<infinisil> And I'm setting it a few lines further down with `nix.nixPath = [ "nixos-config=${nixosConfig}" ];`
alp has quit [Ping timeout: 258 seconds]
Anton-Latukha has quit [Quit: Leaving.]
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fjVNN
<zachk> I am working through nix pills , on section 7.2 I declare -xp
<zachk> then echo foo > $out and it supposed to make a a builder.sh but I am getting this instead: -bash: $out: ambiguous redirect . what am I doing wrong?
ilmu has quit [Ping timeout: 258 seconds]
<chrisq2> infinisil: Well that solves one problem, cool. Do you think it's salvageable?
ericsagnes has quit [Ping timeout: 252 seconds]
<infinisil> chrisq2: So the current Nix you're having on the machine is the old one?
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to release-19.03: https://git.io/fjVAe
<chrisq2> infinisil: Honestly have no idea, I tried to check the version but that fails with the error too. But it's odd as it's freshly installed a day ago? The only thing I thing might have been the cause is the `stateVersion` being set to an old 16.?? version.
<chrisq2> And that 16.?? stateVersion was set on the remote machine.
<infinisil> chrisq2: Nah stateVersion doesn't have anything to do with that (the name is confusing)
<infinisil> chrisq2: So you should have a list of generations in /nix/var/nix/profiles/system-*
<infinisil> And one of those should be the one from nixos-rebuilding
<infinisil> And in there you should find a working nix version, under a path like /nix/var/nix/profiles/system-1234-link/sw/bin/nix-store
__monty__ has quit [Quit: leaving]
<chrisq2> infinisil: Will give that a go.
zacts has quit [Quit: WeeChat 1.9.1]
<kisik21> Any ways to have a location directive in nginx config that will apply to ALL server blocks? I need it for ACME stuff
<clever> kisik21: what is it doing?
<clever> kisik21: the acme stuff is in a map function, that applies to every virtualhost
ericsagnes has joined #nixos
v88m has joined #nixos
<kisik21> clever: oh, so the ACME challenge webroot is set up automatically? great :3
<clever> kisik21: when you set enableACME = true; yep
<kisik21> great! How can I test stuff without forwarding ports on my router via VM? how does it all react if it can't get real certificates, does everything stop or will it continue on with self-signed shims?
<clever> kisik21: it will be stuck with the self-signed example.com certs until lets encrypt can access it, via the domain it claims to be
<kisik21> Just what I need. Thanks :3
<kisik21> because if I understand correctly, it's self-signed in dev, real certs in prod
<clever> kisik21: there is a seperate option for that
knupfer has quit [Ping timeout: 264 seconds]
<kisik21> Staging env still requires ACME challenge, which isn't acceptable because the VM is not available from outside the local network
<kisik21> or from outside my notebook at all
<clever> kisik21: one min
<clever> kisik21: i just disable acme when testing things on a local machine
<kisik21> I need to test if the ACME redirect works correctly for everything :3 because that machine configuration is needed to be set-and-forget
<kisik21> I want to deploy it once and not bother with fixing it
<kisik21> so it needs to work on the first try when I do it in prod
<kisik21> and I know it sounds impossible
chrisq2 has quit [Quit: Lost terminal]
hmpffff has quit [Quit: nchrrrr…]
<clever> kisik21: you would need to have a second domain for testing purposes then, that fully works
<{^_^}> Channel nixos-19.03-small advanced to https://github.com/NixOS/nixpkgs/commit/f1a3fa1909d (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-19.03-small)
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<zachk> kisik21, you could try ssh tunneling using http://serveo.net/
m0rphism has quit [Ping timeout: 244 seconds]
<clever> zachk: neat
<zachk> :) it does timeout and I have had some people unable to access it from work where it worked fine for me though
rprije has joined #nixos
realrokka has joined #nixos
<gchristensen> ,botsnack
<{^_^}> Oh thanks, have a cookie yourself
<{^_^}> [nixpkgs] @risicle opened pull request #63594 → samba: 4.10.4 -> 4.10.5 (security fix) → https://git.io/fjVA8
o1lo01ol1o has joined #nixos
fenedor has quit [Read error: Connection reset by peer]
o1lo01ol1o has quit [Ping timeout: 245 seconds]
v88m has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @marsam merged pull request #63336 → prometheus-cpp: 0.6.0 -> 0.7.0 → https://git.io/fjao7
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/fjVAa
<{^_^}> [nixpkgs] @marsam merged pull request #63343 → buildah: 1.8.3 -> 1.9.0 → https://git.io/fja6v
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/fjVAr
jluttine has quit [Ping timeout: 245 seconds]
krbtgt has quit [Changing host]
krbtgt has joined #nixos
madjar has quit [Quit: Connection closed for inactivity]
kim0 has quit [Quit: Connection closed for inactivity]
<{^_^}> [nixpkgs] @marsam merged pull request #63549 → sensu-go: 5.9.0 -> 5.10.0 → https://git.io/fjVrk
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/fjVA5
jgt has quit [Ping timeout: 258 seconds]
jluttine has joined #nixos
mbrgm_ has joined #nixos
stepcut has quit [Remote host closed the connection]
mbrgm has quit [Ping timeout: 252 seconds]
mbrgm_ is now known as mbrgm
<{^_^}> [nixpkgs] @marsam merged pull request #63185 → shadowsocks-libev: 3.2.5 -> 3.3.0 → https://git.io/fjaLO
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/fjVAd
<{^_^}> [nixpkgs] @romildo opened pull request #63595 → wxGTK31: 3.1.0 -> 3.1.2; use a real derivation → https://git.io/fjVAb
<{^_^}> [nixpkgs] @layus opened pull request #63596 → fetchers: use a meaningful name → https://git.io/fjVAh
zachk has quit [Quit: Leaving]
orivej has quit [Ping timeout: 244 seconds]
zfnmxt has quit [Quit: _]
orivej has joined #nixos