worldofpeace changed the topic of #nixos to: NixOS stable: 19.09 \o/ https://discourse.nixos.org/t/nixos-19-09-release/4306/2 || https://nixos.org || Latest NixOS: https://nixos.org/nixos/download.html || Latest Nix: https://nixos.org/nix/download.html || Logs: https://logs.nix.samueldr.com/nixos/ || #nixos-dev, #nix-darwin, #nixos-aarch64, #nixos-chat, #nixcon ... nixcon videos: https://tinyurl.com/nixcon2018 || For best support,
<clever> and when 64bit windows got populate, computers had proper virtualization extensions, so the cheat wasnt needed anymore
<elvishjerricco> But I couldn't remember if WSL2 is some crazy cpu hack or if its just virtualized
<clever> popular*
<clever> kexec is just a slight change to colinux, perform a hostile-takeover, dont give it back :P
<clever> then you dont have to co-operate over resources!
<notgne2> also I'm amused by colinux, I had never heard of it but ended up trying to make something similar a few months ago in windows 10
<zeta_0> clever: so now, am i good to go, i don't need to do anything else?
<notgne2> I was using a Linux VM for well... everything (WSL has awful support), and the CPU tax was too high
<notgne2> so I tried to do some awful hacks
<clever> zeta_0: i think so, try using ssh to connect to something, gpg should ask for a pw once
<notgne2> in the end I realized that I wasn't actually using Windows for anything
<clever> notgne2: shortly before i got into nixos, i was looking into xen and gpu passthru, so i could boot windows, with full gfx performance, and then kill it when i didnt need it anymore
<clever> notgne2: i managed to just barely get it working, but accidentally made the disk only 4gig in size, so there was no room to install any games! lol
<notgne2> I have a Windows VM I can pass my GPU through to that I used for VR until a few weeks ago when Steam fixed the bug on Linux
<clever> notgne2: and after increasing the size, i never got it to work again
<notgne2> it is actually one of the reasons I switched to NixOS
<clever> notgne2: also, the gpu passthru required 100% banning linux from touching the gpu, not even the text mode console
<notgne2> keeping track of all the driver fuckery required on Ubuntu was essentially impossible
<notgne2> on NixOS I think I have 5 lines of Nix config that makes the VM always work
<elvishjerricco> clever: Yea I got that working a while ago. It's... not pretty, but it's fun
<clever> notgne2: so from an end-user viewpoint, the machine just hangs immediately after grub tries to execute the kernel
<clever> notgne2: all control must be done over ssh!
<zeta_0> clever: cool, i'm going to rebuild switch, reboot
<clever> notgne2: also, if windows touches the gpu even once, you must reboot the entire host before windows can use it again
zeta_0 has quit [Quit: rebuilding]
<notgne2> well for me I had a secondary gfx card to deal with that issue
<clever> notgne2: so, while i can run both at once, dual-boot would be simpler and have the same stability, lol
<notgne2> I know some people have somehow managed to find a way to swap the same gfx card between windows VM and Linux but I never understood it
<clever> notgne2: i was able to swap it, at boot time
<elvishjerricco> notgne2: I've seen that "looking glass" thing before, where you give Windows its own GPU, but render its output on the Linux desktop
<clever> notgne2: there was some kernel params to forcibly allocate the driver to the pci backend in xen, so the framebuffer never touched it
<elvishjerricco> requires two GPUs though
<elvishjerricco> one for each OS
<notgne2> I mean without rebooting, someone has a script that works on Nvidia at least, where you can just close the VM and have Linux take back the GPU
tbenst has joined #nixos
<notgne2> which is amusing becuase Nvidia almost always never works for fun stuff
<clever> notgne2: that requires clearing the state in the gpu and basically soft-resetting the card
<notgne2> elvishjerricco: I tried that once but never got the client to pick it up
<clever> notgne2: ive heard of per-slot reset lines, but my motherboard doesnt support it
<clever> notgne2: it may also vary wildly from card to card, how easily linux can undo state within the gpu
<clever> notgne2: if you can somehow save and restore the gpu state (or just reboot the card), then you can play hot-potato with it all you want
<elvishjerricco> Hm... With this ISO that only has "copytoram" in grub (theoretically; no monitor to verify), I still see /dev/sda1 mounted at /iso
<clever> notgne2: you could even hotplug it between the 2 OS's, and just hit a magic button to switch to the other machine
<clever> elvishjerricco: and if you try to `umount /iso` ?
<elvishjerricco> clever: I suspect it'll fail, since `/iso/nix-store.squashfs` is mounted on `/nix/.ro-store`, but I can try it
<notgne2> clever: I think the main reason I never tried it was the fact you had to directly call qemu, wheras I had everything set up in libvirt
<clever> elvishjerricco: you can also `cat /proc/cmdline` to see the args it used at boot
<evanjs> figured out the gtk app secrets thing. Needed gnome-keyring installed. Not sure if the hm option worked but the system-wide option certainly did
<notgne2> hopefully I won't have a use for GPU passthrough again anyway lol
<elvishjerricco> Ah, yea , no `copytoram` in the `/proc/cmdline`
<elvishjerricco> strange
<clever> notgne2: i was using xen at the time, which has commands to hot-add/remove pci devices, and config files to add them on bootup
zeta_0 has joined #nixos
<zeta_0> clever: thanks for the help
<zeta_0> clever++
<{^_^}> clever's karma got increased to 277
<clever> zeta_0: yep
reactormonk has quit [Ping timeout: 276 seconds]
<clever> notgne2: also, weirdly, the gpu is the only card that gave me trouble
<clever> notgne2: i had zero issues playing hot-potato with usb cards, trading it back&forth at runtime, without rebooting either os
pistache has quit [Ping timeout: 246 seconds]
<notgne2> oh that very unexpectendly worked ootb for me too
<EdLin> clever: that could be the reset bug of AMD GPUs, they cannot be passed through multiple times.
<notgne2> my wife had no working PC at the time so I kinda "borrowed" her monitors (both graphically and the USB hub) for the VM, and one day was very confused when I had random characters being typed on my computer
<clever> EdLin: in my case, if linux did any text mode console activity, the card was "spent" and windows refused to work
<notgne2> turns out the VM ended up shutting itself off for some reason, and the USBs were given back to Linux
<EdLin> clever: that's initing the card, that'll happen on any GPU.
<clever> EdLin: but what is grub doing differently, that it doesnt screw things up?
<EdLin> clever: "text mode" for Linux does do a modset etc, even if you're not using a framebuffer
<clever> EdLin: thats what i was guessing, it switches to high-res graphical mode, and renders the fonts in software
<clever> EdLin: rather then using old dos mode text consoles
<EdLin> yup, on nvidia cards, nouveau frame-buffer is the default for many of them. also, amdgpu might have something similar.
<EdLin> many distros*
<clever> EdLin: even if i blacklisted the drivers for the card, it still did it
<{^_^}> [nixpkgs] @marsam opened pull request #75538 → pythonPackages.send2trash: fix hash → https://git.io/JeHec
<clever> that was likely the legacy vesa mode drivers at fault
erasmas has quit [Quit: leaving]
<EdLin> clever: you need to attach it to vfio drivers to keep it from being inited by anything.
<clever> exactly what i did
<clever> there was a kernel param to allocate it to the xen pci backend
<clever> which prevents any other driver from claiming the card
<EdLin> I'm not too familiar with Xen, I usually use KVM for stuff like this.
<clever> [root@amd-nixos:~]# modinfo xen-pciback
<notgne2> I've used this silly module to make it work on a few machines
<clever> [root@amd-nixos:~]# modinfo xen-pcifront
<clever> EdLin: i cant remember exactly which one, but one is used on the host, and the other on the guest, and they talk over a xen channel, to agree on what to forward and how
<clever> and on the host side, you bind one to the gpu, so nothing else can use it
<elvishjerricco> notgne2: That's basically what my config amounts to
<elvishjerricco> but yours is cleaner since it's a module :P
<EdLin> notgne2: yup, I do something like that (with other distros) for KVM/QEMU.
<clever> notgne2: but that also fires a lot later into the boot process, and would have the init issues i had, requiring some way to reboot the gpu
<EdLin> I am going to probably do it with nix as soon as I get a replacement host card.
<{^_^}> [nixpkgs] @marsam merged pull request #75491 → hugo: 0.60.1 -> 0.61.0 → https://git.io/Je9XX
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JeHeB
<EdLin> my 750ti died....
<EdLin> at least it wasn't my 1070 that died tho.
<EdLin> lol
<clever> steam and proton suppot have been great on nixos, so i havent had as big of a need to redo all of that
acarrico has joined #nixos
<EdLin> clever: how do you run Steam, with flatpak?
<clever> i can only think of 3 games that dont work at all
<elvishjerricco> clever: The only other thing I needed to avoid the issues in the earlier parts of boot was `video=efifb:off`
<clever> and 1 which used to work, but has since broken (due to an update)
<clever> EdLin: just pkgs.steam in systemPackages
<notgne2> I still can't figure out running LoL
<notgne2> I don't even play LoL but my brother in law uses NixOS and that's the one game he can't get working
<clever> elvishjerricco: ah, that would likely prevent the init issues i had also
<clever> space engineers and elite dangerous just fail for weird or unknown reasons
<elvishjerricco> clever: I also have `options kvm ignore_msrs=1`, but I'm not sure if I needed it
<clever> stationeers used to work perfectly, but they updated the unity engine, and now the mouse goes nuts every time you left click
<clever> and the game is heavily mouse-look + click based
<clever> so it "runs" perfectly, but your aim is thrown off every time you try to interact :P
<EdLin> notgne2: I see you have a 1070 also... :P (Same PCIe IDs as mine.)
<notgne2> AoE2HD and AoE2 """Definitive Edition""" have the same issue of infinitely scrolling to the top left unless you unbind the arrow keys
<notgne2> EdLin: 1080 actually
<EdLin> hm
<EdLin> weird
<notgne2> I got it cheap and now I can't run Wayland :(
<EdLin> yeah, wayland works better on AMD
<clever> notgne2: that reminds me of weird infinite scroll issues i had on windows
<EdLin> Want to get an AMD card for my host, for other reasons.
<clever> in certain games (like skyrim), if you roll the mouse wheel, it just scrolls infinitely
<clever> making the menu's imposible to navigate
<clever> BUT!, it only happens if you dont have any mouse plugged in when you launch the game
<EdLin> notgne2: oh, mine was 1b81...
<clever> so, how am i rolling the wheel, without a wheel? :P
<EdLin> yours is 1b80
<EdLin> so not the same...
<EdLin> same sound device tho
<clever> i was using synergy to forward the mouse from linux
<EdLin> so it'd be tricky if you used both a 1070 and 1080 I guess.
<EdLin> there's a way to do it I'm sure, because it can be done with identical cards too.
<EdLin> clever: that's wheely strange.
<notgne2> yeah my module is just slight tweaks on top of a suggested config from some forum somewhere iirc, it worked for what I needed it for then SteamVR with Nvidia suddenly stopped crashing on GNU/Linux so I swapped my GPUs around
<clever> EdLin: i was also using a teensy uC at the time, programmed to act as a 2 button usb keyboard, so i could pause and rewind vlc easily
<clever> EdLin: but, the firmware was fairly flexible, and claimed to also be a usb mouse, which eliminated the bugs
<notgne2> unfortunately right as the crashing was fixed, this issue came up https://github.com/NixOS/nixpkgs/issues/71554
<{^_^}> #71554 (by Flameslicer, 7 weeks ago, open): SteamVR fails to load into games
<notgne2> but thankfully there's 2 simple workarounds
<clever> EdLin: so i just left it plugged in 24/7, lol
MmeQuignon has joined #nixos
<clever> EdLin: then one day when my dad was cleaning up, he moved it from the other side of the room, and i had to plug it back in, but i omitted the active usb extension (a 1 port hub) since i didnt really need it on the other side of the room anymore
<{^_^}> [nixpkgs] @jonringer merged pull request #75538 → pythonPackages.send2trash: fix hash → https://git.io/JeHec
<{^_^}> [nixpkgs] @jonringer pushed commit from @marsam to master « pythonPackages.send2trash: fix hash »: https://git.io/JeHeV
<clever> EdLin: *boom*, bluescreen, instantly
thc202 has quit [Ping timeout: 250 seconds]
ng0 has quit [Quit: Alexa, when is the end of world?]
<{^_^}> [nixpkgs] @marsam merged pull request #75530 → starship: 0.28.0 -> 0.29.0 → https://git.io/Je9pp
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JeHer
<notgne2> I wonder if it's possible to make an ESP32 fake an XBox controller and connect to my Steam Controller
lambda-11235 has joined #nixos
<{^_^}> [nixpkgs] @Gabriel439 opened pull request #75539 → Add `pkgs.lib.renderOptions` → https://git.io/JeHeo
<clever> that is the only time i have ever been able to diagnose and fix a bluescreen
<notgne2> that'd save all the annoying issues with sc-controller and make it very cross platform
<clever> i cant remember which tool, but it gave a backtrace, with driver names and addresses
<clever> and that led to a driver involved in phone charging, lol
<zeta_0> clever: i sent you a message
alexherbo22 has joined #nixos
pistache has joined #nixos
pistache is now known as Guest45360
alexherbo2 has quit [Ping timeout: 246 seconds]
MmeQuignon has quit [Quit: WeeChat 2.6]
noudle has quit []
wennefer0 has joined #nixos
wennefer0 has joined #nixos
MmeQuignon has joined #nixos
mbrgm_ has joined #nixos
MmeQuignon has quit [Client Quit]
mbrgm has quit [Ping timeout: 250 seconds]
mbrgm_ is now known as mbrgm
wennefer0 has quit [Remote host closed the connection]
alexherbo22 has quit [Ping timeout: 240 seconds]
<rizary_> if I have a function called `getFromGit` which contains
<rizary_> `{}: self: { hackGet = p: self.fetchFromGitHub (builtins.fromJSON (builtins.readFile (p + "/github.json"))); }`
<colemickens> Does nixos-install really need configuration.nix at a given location, evne if I've overriden it with NIX_PATH?
<rizary_> and attempt to call some repo which contain `defaul.nix` like this: https://github.com/hasktorch/hasktorch/blob/master/default.nix
<{^_^}> [nixpkgs] @veprbl merged pull request #73988 → python3Packages.arviz: init at 0.5.1 → https://git.io/JeiXX
<{^_^}> [nixpkgs] @veprbl pushed commit from @OmnipotentEntity to master « python3Packages.arviz: init at 0.5.1 (#73988) »: https://git.io/JeHex
<rizary_> I always get error `attempt to call something which is not a function bu a set`
<clever> rizary_: fetchFromGitHub returns a derivation, which is both a set and a string (the path to the thing)
<rizary_> my attempt is `libtorch-ffi-src = pkgs.callPackage (hackGet deps/hasktorch) {};`
<clever> rizary_: you must then import that, to get the contents of its default.nix
<clever> ah, callPackage will import for you
<rizary_> `torch = libtorch-ffi-test.libtorch-ffi_cpu`
<clever> rizary_: what do you get if you eval `hackGet deps/hasktorch` in a `nix repl` ?
waleee-cl has quit [Quit: Connection closed for inactivity]
<rizary_> how do I do that? I haven't use `nix repl` for project >,<
<rizary_> ah wait a minute
<clever> rizary_: in this case, `nix repl '<nixpkgs>'` and then just eval `hackGet = p: self.fetchFromGitHub (builtins.fromJSON (builtins.readFile (p + "/github.json")))` and `hackGet deps/hasktorch`
jluttine has quit [Ping timeout: 276 seconds]
mexisme has joined #nixos
talvdav has joined #nixos
thomashoneyman has joined #nixos
<rizary_> clever: `<<derivation /nix/store....-source.drv>>`
<clever> rizary_: now try `import (hackGet deps/hasktorch)` ?
hmpffff has joined #nixos
<rizary_> so the package that I want: `libtorch-ffi_cpu = <<derivation /nix/store...-source.drv>>>
<clever> rizary_: what does `import (hackGet deps/hasktorch)` return?
lambda-11235 has quit [Read error: Connection reset by peer]
<clever> rizary_: its a set, so you want `(import (hackGet deps/hasktorch)).libtorch-ffi_cpu``
<clever> rizary_: and for the way your currently loading it, you want callPackages, with an s
<clever> rizary_: inherit (pkgs.callPackages (hackGet deps/hasktorch) {}) libtorch-ffi-src;
<rizary_> i see...
<clever> rizary_: callPackages deals with the fact that it returns a set of many packages, and then inherit lets you pull a few ones out, at your choosing
lambda-11235 has joined #nixos
<rizary_> til about `callPackages` thank you. Btw, so is it because how hasktorch structure it's nix that I have to do `import`? or because my `hackGet` function?
hmpffff has quit [Quit: nchrrrr…]
<clever> rizary_: neither, its because it returns a set of packages
<clever> rizary_: so when you did `libtorch-ffi-src = pkgs.callPackage (hackGet deps/hasktorch) {};`, that means libtorch-ffi-src is a set, not a single package
<clever> rizary_: and you needed to do libtorch-ffi-src.libtorch-ffi-src
<rizary_> I see...
<clever> the difference between callPackage and callPackages, is where .override lands
<clever> with callPackage, you would have had to do (libtorch-ffi-src.override {...}).libtorch-ffi-src
<clever> but callPackages moves it, letting you do libtorch-ffi-src.libtorch-ffi-src.override
<clever> which then makes it safe for you to ditch the outer libtorch-ffi-src. via inherit
<rizary_> because I can do `self.callCabal2nix "libtorch-ffi" libtorch-ffi-src`, so I think it's just a single package.
<rizary_> noted.
<clever> rizary_: the default.nix returns a set, containing all of those attrs
<rizary_> I see.. thank you. I'll try it.
wildtrees has quit [Quit: Leaving]
smatting has quit [Ping timeout: 268 seconds]
mexisme has quit [Ping timeout: 240 seconds]
mexisme has joined #nixos
Rusty1 has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @marsam opened pull request #75541 → gitAndTools.lab: 0.16.0 -> 0.17.0 → https://git.io/JeHvS
selfsymmetric-mu has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @KimBurgess opened pull request #75542 → ameba: 0.10.1 -> 0.11.0 → https://git.io/JeHv9
<{^_^}> [nixpkgs] @marsam opened pull request #75543 → tfsec: 0.12.2 -> 0.13.0 → https://git.io/JeHvQ
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/JeHv7
slack1256 has joined #nixos
lambda-11235 has quit [Read error: Connection reset by peer]
mexisme has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @marsam opened pull request #75544 → terraform: 0.12.17 -> 0.12.18 → https://git.io/JeHvx
lambda-11235 has joined #nixos
selfsymmetric-mu has joined #nixos
Rusty1 has joined #nixos
silver has quit [Read error: Connection reset by peer]
judson has quit [Ping timeout: 268 seconds]
tobiasBora has quit [Quit: WeeChat 2.4]
zeta_0 has quit [Quit: rcirc on GNU Emacs 26.3]
<{^_^}> [nixpkgs] @KimBurgess opened pull request #75545 → crystal: 0.31.1 -> 0.32.0 → https://git.io/JeHfW
drakonis has joined #nixos
EdLin has quit [Quit: WeeChat 2.6]
selfsymmetric-mu has quit [Ping timeout: 276 seconds]
boxscape has quit [Remote host closed the connection]
selfsymmetric-mu has joined #nixos
<thomashoneyman> I've got a project which fails to deploy using NixOps 1.7 (in the 19.09 channel) but is fine using the master branch of NixOps.
<thomashoneyman> It's a tiny monorepo
<thomashoneyman> I'd like to write an overlay which changes NixOps from 1.7 to a particular commit.
<thomashoneyman> I'm not yet comfortable with overlays, though. Anyone know of a link other than the manual about overlays which might cover a situation like this?
slack1256 has quit [Remote host closed the connection]
<thomashoneyman> I may be able to get away with something like (self: super: { nixops = fetchFromGitHub ...})
talvdav has quit [Quit: Konversation terminated!]
<thomashoneyman> which i'm trying right now
<infinisil> thomashoneyman: That would override nixops to be the source of it directly, without it being compiled to a package
<infinisil> thomashoneyman: Maybe just nixopsUnstable is recent enough for you
<infinisil> > nixopsUnstable.name
<{^_^}> "nixops-1.7pre2764_932bf43"
<infinisil> > nixops.name
<{^_^}> "nixops-1.7"
<infinisil> > stable.nixopsUnstable.name
<{^_^}> "nixops-1.7pre2764_932bf43"
thomasho1eyman has joined #nixos
thomasho1eyman has quit [Client Quit]
thomasho1eyman has joined #nixos
<thomasho1eyman> sorry, laptop died right as i was typing
dbmikus has quit [Ping timeout: 265 seconds]
thomashoneyman has quit [Ping timeout: 250 seconds]
dansho has quit [Quit: Leaving]
jluttine has joined #nixos
levdub has quit [Ping timeout: 240 seconds]
felixfoertsch23 has joined #nixos
felixfoertsch has quit [Ping timeout: 245 seconds]
h0m1 has quit [Ping timeout: 276 seconds]
h0m1 has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/aa3fcec6dee (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
lambda-11235 has quit [Read error: Connection reset by peer]
<thomasho1eyman> forgive me if this isn't enough information to be useful
<{^_^}> [nixpkgs] @flokli merged pull request #74260 → virtualbox: 6.0.12 -> 6.0.14 → https://git.io/JePdJ
<{^_^}> [nixpkgs] @flokli pushed 4 commits to master: https://git.io/JeHJx
<thomasho1eyman> i have a tiny Haskell project I'm deploying with NixOps (using nixosUnstable has been fine)
<thomasho1eyman> the project is built on my system, a NixOS laptop
<thomasho1eyman> then the closure is copied to the target machine(s)
<thomasho1eyman> however, when I observe what's being copied over I see things like `ghc-8.6.5`
lambda-11235 has joined #nixos
qubasa_ has joined #nixos
<thomasho1eyman> given that ghc-8.6.5 is surely a build time only dependency, shouldn't it be omitted?
<infinisil> thomasho1eyman: The fact that it is getting copied over means something is pulling it with it
lambda-11235 has quit [Client Quit]
<infinisil> thomasho1eyman: You can use `nix why-depends /nix/store/foo.. /nix/store/bar..` to find out why `foo` depends on `bar`
<thomasho1eyman> thanks, that's a good tip
qubasa has quit [Ping timeout: 250 seconds]
PyroLagus has quit [Ping timeout: 252 seconds]
PyroLagus has joined #nixos
kaokao has joined #nixos
felixfoertsch has joined #nixos
felixfoertsch23 has quit [Ping timeout: 276 seconds]
mexisme has joined #nixos
kaokao has quit [Ping timeout: 276 seconds]
mexisme has quit [Ping timeout: 250 seconds]
fusion809 has quit [Remote host closed the connection]
lambda-11235 has joined #nixos
<thomasho1eyman> i have a shell.nix file in the root of this Haskell project with the following contents:
<thomasho1eyman> ((import ../../release.nix).my-project {}).env
<thomasho1eyman> i'd like to have a shell with all the packages from "my-project" *and also* the ghcid package
tobiasBora has joined #nixos
<tobiasBora> Hello,
<clever> thomasho1eyman: .env.overrideAttrs (old: { buildInputs = [ ghcid ] + old.buildInputs; })
<clever> thomasho1eyman: ive done basically that in the past, to just jam a ghcid into the existing .env shell
* clever heads off to bed
<tobiasBora> I just changed on my raspberry pi the channel to point to nixos-19.09... But when I upgrade, it seems to compile the linux kernel!
<tobiasBora> why?
<thomasho1eyman> oh, perfect, thank you!
<samueldr> linuxPackages_latest currently doesn't build on aarch64
<samueldr> tobiasBora: I thelepathically assume you're using _latest
<tobiasBora> samueldr: yes, on RPI 3B+ it was needed. It's not needed anymore?
<samueldr> it's likely still required for best results
<samueldr> though I think no one looked into actually fixing the issue
<samueldr> there's a workaround in disabling the AEGIS something SIMD something option in the kernel
<tobiasBora> hum... But I'm not sure to understand then why with unstable I don't have any issues with the kernel? It's fixed on unstable but not on stable?
<{^_^}> [nixpkgs] @averelld opened pull request #75546 → jd-gui: 1.4.0 -> 1.6.5 → https://git.io/JeHTG
<samueldr> I uh, maybe am assuming too much?
* samueldr checks
<samueldr> it might also be that the fix wasn't backported
mexisme has joined #nixos
tobiasBora has quit [Quit: WeeChat 2.6]
<samueldr> hm, the build is apparently successful now, great! though I don't know why it is not cached
thomasho1eyman has quit [Quit: Lost terminal]
LLED2_3 has joined #nixos
tobiasBora has joined #nixos
<{^_^}> [nixpkgs] @matthuszagh opened pull request #75547 → pythonPackages.sympy: add antlr4 dep → https://git.io/JeHTV
<tobiasBora> samueldr: (last message I saw is "might alos be that the fix wasn't backported) => Ok, maybe I should fill a bug report or something. But for now I first want to recover a working system. I'd need to rollback to generation 143, but when I do "nixos-rebuild switch --rollback 143" it fails.
<tobiasBora> What's the good way to proceed?
LLED2_2 has quit [Ping timeout: 265 seconds]
<samueldr> the build works now, though I don't have an insight as to why it wouldn't be cached really
<samueldr> other than that the channel is not waiting for the full aarch64 build before advanging
<samueldr> advancing*
<tobiasBora> ok cool thanks! But I'm curious, how come stable could advance before to a commit that cannot even compile a kernel?
<samueldr> not all kernels have the same importance
<tobiasBora> oh ok I see
<tobiasBora> and any idea to rollback quickly?
<samueldr> aarch64 is a best effort right now, and there are issues with making it fully supported right now :/
<samueldr> rollback to?
<tobiasBora> (doing the rollback one by one will take ages as I did a lot's a switches)
mexisme has quit [Ping timeout: 268 seconds]
tbenst_ has quit [Remote host closed the connection]
<tobiasBora> samueldr: I'd like to rollback to generation 143, but don't know how to do it in one step (for now I do 150 -> 149 -> ... but it's inefficient)
<samueldr> ah, hmm, no, don't really know, never had to deal much with generations, strangely (and luckily?) enough
<tobiasBora> oh really? Ok, I'll do the long way then...
<tobiasBora> Thanks for the help!
<tobiasBora> Hum, I tried nix-env -G 143 --profile /nix/var/nix/profiles/system and the generation changed, but not sure the services restarted. If I restart them manually it should be enough?
lambda-11235 has quit [Read error: Connection reset by peer]
tobiasBora has quit [Quit: WeeChat 2.6]
lambda-11235 has joined #nixos
matthuszagh has joined #nixos
mexisme has joined #nixos
o1lo01ol1o has joined #nixos
<matthuszagh> hello. is there any easy configuration option to specify a directory containing patches for nixpkgs itself?
<matthuszagh> actually, this page seems to have the answer: https://nixos.wiki/wiki/FAQ/Pinning_Nixpkgs
tbenst has quit [Quit: Leaving]
willghatch has quit [Quit: Lost terminal]
levdub has joined #nixos
Supersonic112 has joined #nixos
Supersonic has quit [Disconnected by services]
Supersonic112 is now known as Supersonic
spacefrogg has quit [Quit: Gone.]
aw has quit [Quit: Quitting.]
aw has joined #nixos
spacefrogg has joined #nixos
<{^_^}> [nixpkgs] @ehmry merged pull request #75475 → argo: 2.4.1 -> 2.4.3 → https://git.io/Je9ag
<{^_^}> [nixpkgs] @ehmry pushed commit from @groodt to master « argo: 2.4.1 -> 2.4.3 »: https://git.io/JeHkv
<{^_^}> [nixpkgs] @CMCDragonkai opened pull request #75548 → step-ca: init at 0.13.3 → https://git.io/JeHkJ
<{^_^}> [nixpkgs] @ehmry merged pull request #75543 → tfsec: 0.12.2 -> 0.13.0 → https://git.io/JeHvQ
<{^_^}> [nixpkgs] @ehmry pushed commit from @marsam to master « tfsec: 0.12.2 -> 0.13.0 »: https://git.io/JeHkT
mexisme_ has joined #nixos
mexisme has quit [Ping timeout: 268 seconds]
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
<{^_^}> [nixpkgs] @matthuszagh closed pull request #75547 → pythonPackages.sympy: add antlr4 dep → https://git.io/JeHTV
<{^_^}> [nixpkgs] @matthuszagh opened pull request #75549 → pythonPackages.sympy: add antlr4 dep → https://git.io/JeHk8
<elvishjerricco> `cannot open connection to remote store 'ssh-ng://will@host': unexpected end-of-file` wut
growpotkin has quit [Quit: ZNC 1.7.5 - https://znc.in]
<elvishjerricco> I can do `ssh will@host nix-store --help` without issue
growpotkin has joined #nixos
domogled has joined #nixos
drakonis has quit [Quit: WeeChat 2.6]
bvdw has quit [Read error: Connection reset by peer]
bvdw has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
dbmikus has joined #nixos
mexisme_ has quit [Ping timeout: 276 seconds]
mexisme_ has joined #nixos
klys has joined #nixos
cyphase has quit [Ping timeout: 245 seconds]
domogled has quit [Quit: domogled]
domogled1 has joined #nixos
matthuszagh has left #nixos ["ERC (IRC client for Emacs 27.0.50)"]
domogled1 is now known as domogled
lovesegfault has joined #nixos
dbmikus has quit [Ping timeout: 265 seconds]
endformationage has quit [Ping timeout: 265 seconds]
growpotkin has quit [Quit: ZNC 1.7.5 - https://znc.in]
cyphase has joined #nixos
mexisme_ has quit [Ping timeout: 252 seconds]
mexisme_ has joined #nixos
[Leary] has joined #nixos
Lears has quit [Read error: Connection reset by peer]
Rusty1 has quit [Quit: Konversation terminated!]
alexherbo22 has joined #nixos
o1lo01ol1o has joined #nixos
o1lo01ol1o has quit [Ping timeout: 250 seconds]
noonien has quit [Quit: Connection closed for inactivity]
ixxie has joined #nixos
bahamas has joined #nixos
lovesegfault has quit [Quit: WeeChat 2.6]
ixxie has quit [Ping timeout: 276 seconds]
lovesegfault has joined #nixos
zupo has joined #nixos
viric has quit [Read error: Connection reset by peer]
viric_ has joined #nixos
PyroLagus has quit [Ping timeout: 250 seconds]
<lovesegfault> worldofpeace: Ping me when you're around :)
PyroLagus has joined #nixos
gyroninja has quit [Ping timeout: 265 seconds]
<DigitalKiwi> hopefully they have a round TUIT
<ivan> has anyone ever seen btrfs lose a small percentage of directory entries for files in a large directory?
PyroLagus has quit [Ping timeout: 250 seconds]
<ivan> I can't find any other reason I'd lose a small percentage of files like this
gyroninja has joined #nixos
<DigitalKiwi> data loss with btrfs? nope, never happened
<ivan> I guess the only other thing that may have gone wrong is rsync hash tables
<ivan> the inode table I mean
<ivan> that seems less likely though
<DigitalKiwi> other people have had data loss with btrfs (far too often imo), but not me, personally, because i don't use it ;)
<ivan> I wish I didn't blkdiscard the other btrfs I just copied this from
knupfer has joined #nixos
palo1 has joined #nixos
alexherbo22 is now known as alexherbo2
<ivan> I guess I should try to repro this with cp, rsync, or btrfs
palo has quit [Ping timeout: 240 seconds]
palo1 is now known as palo
PyroLagus has joined #nixos
selfsymmetric-mu has quit [Ping timeout: 250 seconds]
<alexherbo2> infinisil it works thanks
<alexherbo2> I had to add gcr to the dependencies
hyper_ch2 has joined #nixos
<alexherbo2> do you think I can replace the release with hash for upstream?
<alexherbo2> last release is 2017 and the javascript is old
marek_ has joined #nixos
<alexherbo2> infinisil (how can I get the sha256 in fetchgit?)
<alexherbo2> you told me tofu but I didn’t get it
<DigitalKiwi> use a bogus (valid sha256 though) hash and when it tells you "got this, expected this" switch what you had (what it expected) with what it got (the actual computation)
<DigitalKiwi> I usually just overwrite the first part of the sha256 with a bunch of zeros
gxt has quit [Ping timeout: 260 seconds]
PyroLagus has quit [Ping timeout: 252 seconds]
rauno has joined #nixos
zupo has quit [Quit: Textual IRC Client: www.textualapp.com]
marek_ has quit [Ping timeout: 250 seconds]
cfricke has joined #nixos
marek_ has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/481a00f3b11 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
ng0 has joined #nixos
<notgne2> is there any way to run puppeteer in a Nix build script
zupo has joined #nixos
lopsided98 has quit [Ping timeout: 265 seconds]
smatting has joined #nixos
lopsided98 has joined #nixos
<notgne2> (with the sandbox enabled that is)
<{^_^}> [nixpkgs] @vcunat pushed commit from @LnL7 to staging-next « darwin.CF: fix retry condition (close PR #75528) »: https://git.io/JeHLn
<{^_^}> [nixpkgs] @vcunat closed pull request #75528 → darwin.CF: fix retry condition → https://git.io/Je9pf
<colemickens> Problem: nixpkgs-mozilla uses the wrapper from nixpkgs. But nixpkgs has recently purged the "name" attribute argument that the wrapper used to take.
<worldofpeace> lovesegfault: I'm currently waiting for andir's review, and that's "just because".
PyroLagus has joined #nixos
<lovesegfault> worldofpeace: Fair enough, I'll ping andi on work slack :)
<colemickens> I don't think that's getting back ported to 19.09, so how does the nixpkgs-mozilla overlay remain compatible with nixos-19.09 and nixos-unstable simultaneously?
<colemickens> I guess they can copy wrapper.nix into the overlay itself.
<colemickens> Can you write Nix that calls a function with different args based on what it takes? (I guess that is how callPackage works to some extent)
<alexherbo2> DigitalKiwi where do I see the sha256 part?
<DigitalKiwi> when you build it'll say
phreedom has quit [Remote host closed the connection]
phreedom has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
EdLin has joined #nixos
<EdLin> how do I set up dual boot in an EFI system that's using systemd-boot?
ng0 has quit [Quit: Alexa, when is the end of world?]
<colemickens> firefox's wrapper.nix is exported via top-level as wrapFirefox but it's a call to makeOverridable
<colemickens> it seems that prevents me from calling bultins.functionArgs on wrapFirefox, preventing me from fixing this. Is there a way to undo makeOverridable? I'm not getting it from the source
hyper_ch2 has quit [Remote host closed the connection]
cfricke has quit [Quit: WeeChat 2.6]
hyper_ch2 has joined #nixos
levdub has quit [Quit: The Lounge - https://thelounge.chat]
xkapastel has joined #nixos
noneucat has quit [Quit: WeeChat 2.6]
ftzm has joined #nixos
Jackneill has joined #nixos
knupfer has quit [Ping timeout: 250 seconds]
mudrii[m] has joined #nixos
zupo has joined #nixos
<{^_^}> [nixpkgs] @Lassulus merged pull request #75486 → gnunet: 0.11.6 -> 0.11.8 → https://git.io/Je9KP
<{^_^}> [nixpkgs] @Lassulus pushed commit from @wamserma to master « gnunet: 0.11.6 -> 0.11.8 »: https://git.io/JeHt5
mexisme_ has quit [Ping timeout: 276 seconds]
shabius_ has quit [Ping timeout: 276 seconds]
leothrix has quit [Quit: ZNC 1.7.5 - https://znc.in]
smatting has quit [Ping timeout: 250 seconds]
leothrix has joined #nixos
Ralith_ has quit [Remote host closed the connection]
Ralith_ has joined #nixos
hmpffff has joined #nixos
leothrix has quit [Ping timeout: 240 seconds]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @saschagrunert opened pull request #75552 → kubernetes: v1.16.3 -> v1.16.4 → https://git.io/JeHth
xwvvvvwx has quit [Quit: ZNC 1.7.5 - https://znc.in]
xwvvvvwx has joined #nixos
cyris212 has quit [Ping timeout: 250 seconds]
Tucky has joined #nixos
gxt has joined #nixos
civodul has joined #nixos
lambda-11235 has quit [Quit: Bye]
vandenoever has joined #nixos
fendor has joined #nixos
<vandenoever> what do nixos people use for monitoring of servers and services? I'm looking at munin, nagios, zabbix but they're not trivial to set up.
<vandenoever> e.g. there is no service for the zabbix server
shabius has joined #nixos
<vandenoever> nagios has no common plugins installed and munin does not come with enabled plugins either
palo has quit [Quit: WeeChat 2.6]
EdLin has quit [Quit: WeeChat 2.6]
palo has joined #nixos
<immae> vandenoever: I use naemon (a nagios fork) and I created my own module to configure it
<immae> (it’s shareable if you want but maybe not usable directly)
jgt2 has quit [Ping timeout: 276 seconds]
chloekek has joined #nixos
judson__ has joined #nixos
<vandenoever> immae: i'd like to go for something mainstream, preferably something that works from nixpkgs with just configuration
<vandenoever> immae: any reason you chose naemon over icinga?
judson_ has quit [Ping timeout: 265 seconds]
zupo has joined #nixos
sigmundv has joined #nixos
<immae> vandenoever: I’ve been using naemon for years and I wrote my own plugin system (and now nixos configuration), I’m very happy with it and what it can do, so why change?
<immae> (I started with naemon way before knowing nix existed :p )
<vandenoever> immae: so you configure naemon via configuration.nix?
<immae> yes
<vandenoever> immae: for server and agents?
m0rphism has joined #nixos
knupfer has joined #nixos
<immae> vandenoever: I don’t have a "server and agents" organisation, each machine has his local checks that sends updates to a main monitoring machine (it is still not on nixos, WIP) that agregates everything. And for that update sending I rewrote the nrdp protocol into an easier script (that also generates https://status.immae.eu :p )
leothrix has joined #nixos
<{^_^}> [nixpkgs] @FRidh pushed 75 commits to python-unstable: https://git.io/JeHqa
magthe has joined #nixos
<immae> (not everything is "published" yet, but it’s shareable with a little work to remove sensitive values in the meantime)
nwspk has quit [Quit: nwspk]
leothrix has quit [Ping timeout: 245 seconds]
<vandenoever> immae: nice overview
nwspk has joined #nixos
<vandenoever> "each machine has his local checks that sends updates to a main monitoring machine" sounds like server and agents to me
<immae> ah maybe
<immae> for me server-agent is a situation like: main server connects to agent to make his check
Ralith_ has quit [Remote host closed the connection]
Ralith_ has joined #nixos
<immae> In my case, server is passive and waits for the agent to contact him with update
<immae> (and to avoid a situation where the agent is down, the server cries if he didn’t get news for a too long time)
knupfer has quit [Ping timeout: 265 seconds]
werner291 has joined #nixos
fenedor has joined #nixos
sigmundv has quit [Remote host closed the connection]
kahiru has joined #nixos
sigmundv has joined #nixos
jgt2 has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
fendor has quit [Ping timeout: 252 seconds]
leothrix has joined #nixos
<vandenoever> immae: saves a lot of traffic that way
<immae> vandenoever: which way? as far as traffic is concerned, both way are rather equivalent no?
ThatDocsLady_ has joined #nixos
__Sander__ has joined #nixos
leothrix has quit [Ping timeout: 246 seconds]
<immae> vandenoever: anyway, it’s quite out of scope of #nixos, we can discuss it in private if you’re interested in using my infrastructure on your side (it’s still not published but it will be at some point to some open licence, as usual for my work), don’t hesitate to contact me.
lordcirth_ has joined #nixos
lordcirth has quit [Ping timeout: 250 seconds]
<vandenoever> immae: sending a batch of data is more efficient than sending lots of data requests from the server
thc202 has joined #nixos
<vandenoever> immae: i'm going to look further for a mature solution first
<{^_^}> [nixpkgs] @vcunat pushed to master « knot-dns: 2.9.1 -> 2.9.2 (bugfixes) »: https://git.io/JeHmE
<immae> vandenoever: alright, enjoy! (NB: I did some research on my side before chosing naemon, but it was years ago, hopefully it improved a bit since then. And also we may not have the same requirements :p )
smatting has joined #nixos
<vandenoever> immae: i see that collectd uses the same model as your naemon
<vandenoever> immae: my main requirement is to know if everything is ok
<immae> me too :p (I have a button that becomes red on my tmux whenever there is an issue, in addition to alert e-mails)
<{^_^}> [nixpkgs] @andir merged pull request #75529 → [r19.09] glibc: add patch for CVE-2019-19126 → https://git.io/Je9pw
joshuagl has joined #nixos
<{^_^}> [nixpkgs] @andir pushed 2 commits to staging-19.09: https://git.io/JeHm2
<symphorien> oAr
noogie has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @andir pushed 57 commits to staging-19.09: https://git.io/JeHmw
<{^_^}> [nixpkgs] @fgaz opened pull request #75553 → drawpile: 2.1.14 -> 2.1.15 → https://git.io/JeHmK
cosimone has joined #nixos
drewc has quit [Ping timeout: 265 seconds]
drewc has joined #nixos
sudoforge has quit [Ping timeout: 268 seconds]
noogie has joined #nixos
marek_ has quit [Quit: Lost terminal]
leothrix has joined #nixos
user19293 has quit [Remote host closed the connection]
Ariakenom has joined #nixos
<{^_^}> [nixpkgs] @marsam merged pull request #75544 → terraform: 0.12.17 -> 0.12.18 → https://git.io/JeHvx
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JeHmF
leotaku has quit [Ping timeout: 268 seconds]
leotaku_ has joined #nixos
sudoforge has joined #nixos
leothrix has quit [Ping timeout: 268 seconds]
leotaku_ has quit [Ping timeout: 276 seconds]
werner291 has quit [Remote host closed the connection]
cyris212 has joined #nixos
xkapastel has quit [Quit: Connection closed for inactivity]
fenedor has quit [Read error: Connection reset by peer]
hyper_ch2 has quit [Remote host closed the connection]
leothrix has joined #nixos
leotaku has joined #nixos
hyper_ch2 has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace merged pull request #75328 → thunderbird: rewrite (68.2.2 -> 68.3.0) → https://git.io/JeSup
<{^_^}> [nixpkgs] @worldofpeace pushed 3 commits to master: https://git.io/JeHYz
leothrix has quit [Ping timeout: 252 seconds]
<vandenoever> in my configuration.nix, i can write a literal path (/nix/store/r0jm...-munin-2.0.49/lib/plugins/swap) but not "${pkgs.munin.out}"/lib/plugins/swap
<vandenoever> it says the string 'r0jm3bck3zfxrrq4hynfjhrvmlh8d0k6-munin-2.0.49' is not allowed to refer to a store path
<symphorien> is in the name= argument of a derivation ?
<vandenoever> now i'm wondering what is the difference between the literal path and the one constructed with "${pkgs.munin.out}"
<vandenoever> symphorien: it's used like that by the service, but that's not how i write it
<symphorien> try "${pkgs.munin.out}/lib/plugins/swap"
<vandenoever> i just provide an array
<vandenoever> symphorien: the string 'swap' is not allowed to refer to a store path
<symphorien> then you can use builtins.unsafeDiscardStringContext
<symphorien> to discard the fact that this string depends on munin
<symphorien> as for a name it does not make sense
<symphorien> but maybe the module should not do that at all
<vandenoever> symphorien: is there a way to cast the string to a path, or construct a path with pkgs.munin.out
<vandenoever> pkgs.munin.out is a path itself
<symphorien> (sorry, afk)
<notgne2> ./ + "string" works iirc
<notgne2> I mean /.
<notgne2> > error: a string that refers to a store path cannot be appended to a path, at (string):1:1
<{^_^}> error: syntax error, unexpected ',', expecting ')', at (string):271:73
<notgne2> though this may not work for your purposes
<vandenoever> yntax error, unexpected '/'
<vandenoever> but /hello is fine
<vandenoever> (except that it does not exist)
<notgne2> > /. + "${builtins.unsafeDiscardStringContext pkgs.hello.out}"
<{^_^}> /nix/store/lhahwg6im9p4g38wkbsahvslkvbs0cij-hello-2.10
iyzsong has joined #nixos
vandenoever has quit [Read error: Connection reset by peer]
vandenoever has joined #nixos
vandenoever has joined #nixos
leothrix has joined #nixos
psyanticy has joined #nixos
<vandenoever> notgne2: syntax error, unexpected '+'
<vandenoever> > [ /. + "${builtins.unsafeDiscardStringContext pkgs.hello.out}"]
jgt2 has quit [Read error: Connection reset by peer]
<{^_^}> error: syntax error, unexpected '+', at (string):271:6
<notgne2> try wrapping it in ()
rembo10 has quit [Quit: ZNC 1.7.5 - https://znc.in]
<notgne2> otherwise it might treat /. as it's own element, then be confused
<vandenoever> notgne2: yes, that works
jgt2 has joined #nixos
<{^_^}> [nixpkgs] @andir merged pull request #75374 → [19.09] nftables: build documentation → https://git.io/JeS9p
<{^_^}> [nixpkgs] @andir pushed 2 commits to release-19.09: https://git.io/JeHYA
<vandenoever> i can probably use a map to clean that up (i need this for many values)
leothrix has quit [Ping timeout: 250 seconds]
infinee has quit [Ping timeout: 240 seconds]
<Mic92> FRidh: samueldr: Could you approve or decline shepherding on this RFC? https://github.com/NixOS/rfcs/pull/32#issuecomment-553872076
rembo10 has joined #nixos
jgt2 has quit [Ping timeout: 265 seconds]
jgt2 has joined #nixos
ThatDocsLady_ has quit [Read error: Connection reset by peer]
__monty__ has joined #nixos
bahamas has quit [Ping timeout: 252 seconds]
bahamas has joined #nixos
cosimone has quit [Quit: Terminated!]
<Jarva[m]> Hey, I followed the instructions for bluetooth setup on the wiki page and I get a warning that hardware.bluetooth.extraConfig is deprecated and I should use hardware.bluetooth.config, is there any syntax change to this? I can't see the option on https://nixos.org/nixos/options.html#bluetooth either
jgt2 has quit [Ping timeout: 245 seconds]
jgt2 has joined #nixos
fendor has joined #nixos
tmaekawa has joined #nixos
<Shoubit> Jarva[m], is this unstable? Docs aren't likely to be up-to-date with unstable, so I'd suggest reading the derivation itself: https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/services/hardware/bluetooth.nix which mentions /etc/bluetooth/main.conf and is part of bluez
bvdw has quit [Read error: Connection reset by peer]
bvdw has joined #nixos
magthe has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @worldofpeace opened pull request #75555 → libgpod: drop python2 → https://git.io/JeHOu
fusion809 has joined #nixos
leothrix has joined #nixos
leothrix has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @andir merged pull request #75155 → libofx: 0.9.14 -> 0.9.15, addressing CVE-2019-9656 → https://git.io/JeyH1
<{^_^}> [nixpkgs] @andir pushed 3 commits to master: https://git.io/JeHOP
tmaekawa has quit [Quit: tmaekawa]
bahamas has quit [Ping timeout: 240 seconds]
magthe has joined #nixos
abc59 has joined #nixos
<Taneb> Is there a way to allow only import from derivations that have been explicitly marked as such in some way? We're using IFD a fair bit at work but it's also happening accidentally and it's hard to track down exactly where
abc59 has left #nixos [#nixos]
ng0 has joined #nixos
<{^_^}> [nixpkgs] @peterhoeg opened pull request #75556 → fuse-overlayfs: 0.7 -> 0.7.2 → https://git.io/JeH3f
ThatDocsLady has joined #nixos
hyper_ch2 has quit [Remote host closed the connection]
orivej has joined #nixos
<{^_^}> [nixpkgs] @peterhoeg closed pull request #74206 → elisa: 0.4.2 -> 19.11.80 → https://git.io/JePoH
iyzsong has quit [Quit: ZNC 1.7.1 - https://znc.in]
jgt2 has quit [Ping timeout: 276 seconds]
jgt2 has joined #nixos
jgt2 has quit [Read error: Connection reset by peer]
jgt2 has joined #nixos
lukash_|away is now known as lukash_
leothrix has joined #nixos
bahamas has joined #nixos
jakobrs has joined #nixos
jakobrs has quit [Client Quit]
<{^_^}> [nixpkgs] @marsam merged pull request #75296 → osl: 1.10.7 -> 1.10.8 → https://git.io/JeSCW
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JeH3a
hyper_ch2 has joined #nixos
leothrix has quit [Ping timeout: 252 seconds]
jakobrs has joined #nixos
lsix has joined #nixos
<jakobrs> Umm
<jakobrs> I think I've broken nixos-rebuild
<fuzen> I'm getting screen tearing on NixOS (i3 + compton) that I didn't get on arch. Anyone know what might be causing it? I enabled vsync in compton's settings and added nvidia to videoDrivers
ftzm has quit [Quit: WeeChat 1.9.1]
<worldofpeace> fuzen: which channel?
<fuzen> unstable
jakobrs has left #nixos [#nixos]
erictapen has joined #nixos
tilpner has quit [Read error: Connection reset by peer]
tilpner has joined #nixos
magthe has quit [Ping timeout: 250 seconds]
jgt2 has quit [Ping timeout: 268 seconds]
fendor has quit [Ping timeout: 240 seconds]
Guest45360 is now known as pistache
magthe has joined #nixos
Neo-- has joined #nixos
magthe has quit [Ping timeout: 250 seconds]
magthe has joined #nixos
tpham has joined #nixos
tpham has quit [Remote host closed the connection]
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/f7e5482e55a (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<{^_^}> [nixpkgs] @NeQuissimus pushed to master « oh-my-zsh: GitHub repo moved »: https://git.io/JeHsr
bahamas has quit [Ping timeout: 252 seconds]
leothrix has joined #nixos
leothrix has quit [Ping timeout: 265 seconds]
magthe has quit [Ping timeout: 252 seconds]
Fuzen[m] has joined #nixos
<{^_^}> [nixpkgs] @marsam opened pull request #75557 → chezmoi: 1.7.5 -> 1.7.7 → https://git.io/JeHsj
leothrix has joined #nixos
Rusty1 has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace opened pull request #75558 → nixos/lightdm-greeters/pantheon: show manual login card → https://git.io/JeHGI
leothrix has quit [Ping timeout: 250 seconds]
magthe has joined #nixos
bahamas has joined #nixos
<{^_^}> [nixpkgs] @marsam opened pull request #75559 → brakeman: 4.7.1 -> 4.7.2 → https://git.io/JeHGC
<{^_^}> [nixpkgs] @marsam merged pull request #75541 → gitAndTools.lab: 0.16.0 -> 0.17.0 → https://git.io/JeHvS
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JeHGE
hmpffff has quit [Quit: nchrrrr…]
<{^_^}> [nixpkgs] @marsam merged pull request #75483 → conmon: v2.0.4 -> v2.0.6 → https://git.io/Je9oK
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JeHGS
<{^_^}> [nixpkgs] @cawilliamson opened pull request #75560 → teensyduino: add missing dependencies for teensy-loader → https://git.io/JeHG9
<{^_^}> [nixpkgs] @worldofpeace closed pull request #75525 → [Draft] teams: init at 1.2.00.32451 → https://git.io/Je9Am
<{^_^}> [nixpkgs] @marsam merged pull request #75512 → prusa-slicer: 2.1.0 -> 2.1.1 → https://git.io/Je99n
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JeHG7
magthe has quit [Ping timeout: 250 seconds]
pbb has quit [Ping timeout: 252 seconds]
pbb has joined #nixos
<{^_^}> [nixpkgs] @kwohlfahrt opened pull request #75561 → quartus: init at 19.1.0.670 → https://git.io/JeHZv
leothrix has joined #nixos
<{^_^}> [nixpkgs] @marsam merged pull request #75419 → jazzy: 0.12.0 -> 0.13.0 → https://git.io/Je9UN
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JeHZt
leothrix has quit [Ping timeout: 268 seconds]
<{^_^}> Channel nixos-19.09-small advanced to https://github.com/NixOS/nixpkgs/commit/a365ce3eb33 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-19.09-small)
fendor has joined #nixos
MmeQuignon has joined #nixos
mcfrank has joined #nixos
zarel_ is now known as zarel
leothrix has joined #nixos
leothrix has quit [Ping timeout: 265 seconds]
erictapen has quit [Ping timeout: 276 seconds]
zarel has quit [Quit: ZNC 1.7.4 - https://znc.in]
zarel has joined #nixos
<{^_^}> [nixpkgs] @domenkozar pushed to master « nixpart: ignore useNixUdev as it's now required by hetzner »: https://git.io/JeHnY
drakonis has joined #nixos
<{^_^}> [nix] @edolstra pushed to flakes « Temporarily revert to using 'tar' until we have gzip support »: https://git.io/JeHnl
roconnor has joined #nixos
<{^_^}> [nixpkgs] @corngood opened pull request #75562 → Http egg cve fix → https://git.io/JeHnu
<roconnor> Hi. This might be a dumb question, but how would I go about building a personal C project against glibc 2.28? Or is linking against different versions of glibc not a thing?
stolyaroleh has joined #nixos
<clever> roconnor: simplest is to just find a version of nixpkgs that is that old
stolyaroleh has left #nixos [#nixos]
stolyaroleh has joined #nixos
philr has quit [Ping timeout: 276 seconds]
leothrix has joined #nixos
zupo has joined #nixos
o1lo01ol1o has joined #nixos
vandenoever has quit [Read error: Connection reset by peer]
vandenoever has joined #nixos
vandenoever has joined #nixos
vandenoever has quit [Changing host]
<roconnor> The latest nixpkgs seems to have glibc 2.27 as far as I can tell.
<roconnor> That said I'll looking to try glibc 2.28 or later.
zupo has quit [Client Quit]
<clever> roconnor: ah, then you may want to just edit nixpkgs
<clever> > pkgs.glibc.meta.position
<{^_^}> "/var/lib/nixbot/nixpkgs/master/repo/pkgs/development/libraries/glibc/default.nix:143"
<clever> roconnor: git clone nixpkgs, then edit the above file and change the version and sha256
<roconnor> yikes. okay.
bahamas has quit [Ping timeout: 276 seconds]
leothrix has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @andir opened pull request #75563 → Cleanup buildRustCrate expression → https://git.io/JeHnP
ddellaco1 has joined #nixos
<{^_^}> [nixpkgs] @filalex77 opened pull request #75564 → docker-slim: init at 1.26.1 → https://git.io/JeHnd
leothrix has joined #nixos
rauno has quit [Ping timeout: 245 seconds]
zupo has joined #nixos
<{^_^}> [nix] @Profpatsch opened pull request #3265 → libstore/ssh: Improve error message on failing `execvp` → https://git.io/JeHnA
leothrix has quit [Ping timeout: 268 seconds]
o1lo01ol1o has quit [Remote host closed the connection]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
zupo has joined #nixos
leothrix has joined #nixos
<{^_^}> [nixpkgs] @adisbladis pushed 2 commits to release-19.09: https://git.io/JeHcs
zupo has quit [Client Quit]
<Christian[m]3> can someone point me to when and how `meta.tests` are executed, if at all?
leothrix has quit [Ping timeout: 268 seconds]
zupo has joined #nixos
zupo has quit [Client Quit]
waleee-cl has joined #nixos
MmeQuignon has quit [Ping timeout: 250 seconds]
bahamas has joined #nixos
MmeQuignon has joined #nixos
<deni> what's the correct way to install "ca-certificates" which nix?
<deni> I can't seem to find what the package would be called...if there is any
leothrix has joined #nixos
<gchristensen> cacerts
<{^_^}> [nixpkgs] @andir merged pull request #68459 → nixos/nat: create nixos-nat-{pre,post,out} in ip6tables too → https://git.io/JemYH
<{^_^}> [nixpkgs] @andir pushed 2 commits to master: https://git.io/JeHcK
<averell> (no s)
bahamas has quit [Ping timeout: 276 seconds]
<deni> gchristensen: nix-env -qa --description "cacerts" doesn't seem to find that package
<gchristensen> > pkgs.cacert
<{^_^}> "<derivation /nix/store/djqh0qnx2da30h0v721v0a1lnrw2kn4c-nss-cacert-3.47.1.drv>"
o1lo01ol1o has joined #nixos
<deni> gchristensen: I see. Then I'm not using the nix-env command correctly :(
leothrix has quit [Ping timeout: 268 seconds]
ng0_ has joined #nixos
<gchristensen> pretty weird that you can't find it with nix-env
<deni> gchristensen:I'm not on nixos
<exarkun> When using `srcs` how are the unpacked directory names chosen? I have two sources and one (fetchFromGitHub) gets the name "source" and the other gets a name based on its url (fetchgit). Do the fetchers assign the name?
<exarkun> deni: What command are you actually running?
<deni> gchristensen: I'm trying to bake cacerts into a docker image I'm building with dockerTools
ng0 has quit [Disconnected by services]
ng0_ is now known as ng0
<deni> gchristensen: nix-env -qa cacerts
<deni> ah.....extra S
<averell> it's just cacert. no s.
<deni> I feel silly :D thanks!
<deni> I'm wondering why my regex search didn't find it though ... I tried nix-env -qa "ca*"
<deni> nope... nix-env -qa cacert (without S) does not work either
sigmundv has quit [Ping timeout: 265 seconds]
<deni> however...using it in my docker builds via pkgs.cacert works fine
<deni> I guess somethings up on my host system... but the project channel (pinned) and the host channel are the same at the moment
<deni> weird
<deni> is there a web interface where I can query packages?
<{^_^}> [nixpkgs] @xwvvvvwx opened pull request #75565 → wireguard-tools: 0.0.20191127 -> 0.0.20191212 → https://git.io/JeHcx
<averell> and there is alse "nix search cacert"
hyper_ch2 has quit [Remote host closed the connection]
<averell> (and nix-env -qa --description "nss-cacert"
<ddima> deni: I think you are possibly getting confused with 'package attribute'-names vs actual derivation names. It's exposed as 'pkgs.cacert' but it's name is actually 'nss-cacert', so a nix-env search without some wildcards won't surface that. as averell pointed out, nix search is a bit nicer that way.
magthe has joined #nixos
endformationage has joined #nixos
viric_ is now known as viric
<exarkun> Where is mkDerivation implemented?
<Gopal-M> suppose I want to know which package the binary `fusermount` comes from, how would I go about doing that?
<exarkun> Gopal-M: Having installed it already, or without having it installed?
<Gopal-M> have installed it already
<Gopal-M> but I'd like to know boht
sigmundv has joined #nixos
<Gopal-M> * but I'd like to know both ways
<exarkun> hm fusermount is tricky because it's a setuid wrapper
<exarkun> nto sure
<exarkun> not
gxt has quit [Ping timeout: 260 seconds]
<{^_^}> Channel nixpkgs-19.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/7b71b506e21 (from 39 minutes ago, history: https://channels.nix.gsc.io/nixpkgs-19.09-darwin)
ddellaco1 has quit [Ping timeout: 268 seconds]
sudoforge has quit [Ping timeout: 268 seconds]
<ddima> exarkun: depends on which "environment" (depending on ecosystem, it might be overwritten), but for general stdenv in https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/make-derivation.nix#L21
__monty__ has quit [Quit: leaving]
<exarkun> ddima: thanks
<exarkun> (that is the one I was looking for)
<{^_^}> [nixpkgs] @aanderse merged pull request #75505 → teams: init at 1.2.00.32451 → https://git.io/Je9MS
<{^_^}> [nixpkgs] @aanderse pushed 2 commits to master: https://git.io/JeHCr
ddellaco1 has joined #nixos
<exarkun> or at least I thought it was ... why doesn't it take a `src` argument
* exarkun goes back to the manual
jjakob has quit [Ping timeout: 245 seconds]
bahamas has joined #nixos
amanjeev has quit [Quit: ZNC 1.7.4+deb7 - https://znc.in]
leothrix has joined #nixos
bahamas has quit [Ping timeout: 246 seconds]
<deni> ddima: averell thanks! This clears it up
<exarkun> I guess src and srcs pass through to derivation
oida has quit [Quit: byez]
sigmundv has quit [Ping timeout: 240 seconds]
<atlas_> I'm getting:
<atlas_> warning: warning: unable to download 'https://nixos.org/channels/nixpkgs-unstable': SSL peer certificate or SSH remote key was not OK (60)
leothrix has quit [Ping timeout: 246 seconds]
<atlas_> when I try to nix-channel --update
magthe has quit [Ping timeout: 276 seconds]
<atlas_> the SSL certificate should be valid and I shouldn't have an SSH remote key anyway
stolyaroleh has quit [Remote host closed the connection]
jumper149 has joined #nixos
<{^_^}> [nixpkgs] @WilliButz merged pull request #75256 → matrix-appservice-slack: 1.0.1 -> 1.0.2 → https://git.io/JeSqo
<{^_^}> [nixpkgs] @WilliButz pushed 2 commits to master: https://git.io/JeHWu
bahamas has joined #nixos
<{^_^}> [nixpkgs] @vcunat pushed commit from @lovesegfault to release-19.09 « thunderbird: 68.2.2 -> 68.3.0 ("high" security) »: https://git.io/JeHWX
sigmundv has joined #nixos
<Shoubit> Gopal-M, nix-locate 'bin/fusermount' -- is that what you're looking for? nix-locate is part of the nix-index package.
ThatDocsLady has quit [Remote host closed the connection]
ThatDocsLady has joined #nixos
Ariakenom has quit [Quit: WeeChat 2.6]
<infinisil> Gopal-M: I think maybe you just want `which fusermount`, which gives me /run/wrappers/bin/fusermount
<{^_^}> [nixpkgs] @WilliButz merged pull request #75492 → nixos/tests/gitea: test basic git workflow → https://git.io/Je9X5
<{^_^}> [nixpkgs] @WilliButz pushed 3 commits to master: https://git.io/JeHWd
bahamas has quit [Quit: leaving]
<{^_^}> [nixpkgs] @Profpatsch opened pull request #75566 → Add rubyMinimal → https://git.io/JeHlf
vandenoever has quit [Read error: Connection reset by peer]
vandenoever has joined #nixos
vandenoever has joined #nixos
vandenoever has quit [Changing host]
Mic92 has quit [Quit: WeeChat 2.6]
sudoforge has joined #nixos
leothrix has joined #nixos
psyanticy has quit [Quit: Connection closed for inactivity]
drakonis has quit [Quit: WeeChat 2.6]
Mic92 has joined #nixos
leothrix has quit [Ping timeout: 265 seconds]
Mic92 has quit [Client Quit]
Mic92 has joined #nixos
Stefan53 has joined #nixos
<Stefan53> hello everybody ... quick question from my side:
zupo has joined #nixos
<{^_^}> [nixpkgs] @duijf opened pull request #75567 → hivemind: 1.0.4 -> 1.0.6 → https://git.io/JeHlX
<Stefan53> I recently found a script that enabled me to install nix on catalina
<Stefan53> I cant find it any more
<Stefan53> anybody has the link handy?
<Stefan53> thanks!!
elay12 has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/c49ca3e5056 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
Stefan53 has quit [Remote host closed the connection]
jjakob has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
MmeQuignon has quit [Ping timeout: 250 seconds]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jumper149 has quit [Quit: WeeChat 2.6]
MmeQuignon has joined #nixos
<{^_^}> infinisil: I'll pass that on to Stefan53
Neo-- has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @thoughtpolice merged pull request #75279 → boolector: add patch for CVE-2019-7560 → https://git.io/JeSGg
<{^_^}> [nixpkgs] @thoughtpolice pushed 2 commits to master: https://git.io/JeH8v
drakonis has joined #nixos
leothrix has joined #nixos
ddellaco1 has quit [Ping timeout: 246 seconds]
elay12 has quit [Remote host closed the connection]
ddellaco1 has joined #nixos
leothrix has quit [Ping timeout: 268 seconds]
erictapen has joined #nixos
jjakob has quit [Ping timeout: 252 seconds]
jjakob has joined #nixos
chloekek has quit [Quit: WeeChat 2.6]
thomashoneyman has joined #nixos
zupo has joined #nixos
rardiol has quit [Ping timeout: 268 seconds]
domogled1 has joined #nixos
domogled has quit [Read error: Connection reset by peer]
domogled1 is now known as domogled
sigmundv has quit [Ping timeout: 276 seconds]
<{^_^}> [nixpkgs] @andir merged pull request #74518 → chirp: modernize the expression by using buildPythonApplication → https://git.io/Je1ek
<{^_^}> [nixpkgs] @andir pushed 2 commits to master: https://git.io/JeH8W
webdavis[m] has joined #nixos
drakonis has quit [Ping timeout: 276 seconds]
rardiol has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ThatDocsLady has quit [Quit: Leaving]
growpotkin has joined #nixos
__Sander__ has quit [Quit: Konversation terminated!]
zupo has joined #nixos
<{^_^}> Channel nixos-19.09-small advanced to https://github.com/NixOS/nixpkgs/commit/7b71b506e21 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-19.09-small)
leothrix has joined #nixos
knupfer has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<erictapen> hello, could anyone point me to how the bot {^_^} sends these automated notifications on IRC?
<erictapen> I wonder how easy it would be to build a monitor for channel updates, thats why I'm asking.
smatting has quit [Ping timeout: 268 seconds]
alexherbo2 has quit [Quit: The Lounge - https://thelounge.chat]
leothrix has quit [Ping timeout: 246 seconds]
alexherbo2 has joined #nixos
<samueldr> those endpoints are not usable as random third parties (IIRC)
fresheyeball has quit [Quit: WeeChat 2.6]
<samueldr> though, if all you need is some way to get a list of recent channel updates, there is this https://channels.nix.gsc.io/
<erictapen> dminuoso: thanks!
<{^_^}> [nixpkgs] @manveru closed pull request #72975 → Init pghero → https://git.io/JeaHL
<erictapen> samueldr: yeah, that seems to be right
<erictapen> samueldr: that gsc page is exactly what I'm looking for, thanks
<erictapen> dminuoso++
<{^_^}> dminuoso's karma got increased to 1
<erictapen> samueldr++
<{^_^}> samueldr's karma got increased to 141
<erictapen> ^^
erasmas has joined #nixos
drakonis has joined #nixos
<{^_^}> [nixpkgs] @manveru opened pull request #75568 → crystal: 0.31.0 -> 0.32.0 → https://git.io/JeH4O
bvdw has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @benley merged pull request #75249 → latte-dock: 0.8.9 -> 0.9.5 → https://git.io/JeSLH
<{^_^}> [nixpkgs] @benley pushed commit from @r-ryantm to master « latte-dock: 0.8.9 -> 0.9.5 (#75249) »: https://git.io/JeH4W
fendor has quit [Remote host closed the connection]
bvdw has joined #nixos
<{^_^}> [nixpkgs] @veprbl opened pull request #75569 → root: 6.12.06 -> 6.18.04 → https://git.io/JeH40
webdavis[m] is now known as webdavis
erictapen has quit [Ping timeout: 268 seconds]
chloekek has joined #nixos
erictapen has joined #nixos
Ariakenom has joined #nixos
fresheyeball has joined #nixos
<fresheyeball> gchristensen: any chance I can get another big box for this?
zupo has joined #nixos
devalot has quit [Quit: ZNC - http://znc.in]
boxscape has joined #nixos
civodul has quit [Quit: ERC (IRC client for Emacs 26.3)]
lsix has quit [Quit: WeeChat 2.6]
leothrix has joined #nixos
xwvvvvwx has quit [Quit: ZNC 1.7.5 - https://znc.in]
xwvvvvwx has joined #nixos
<Izorkin> Mic92: aanderse
<Izorkin> Mic92: aanderse: flokli: please recheck PR #56255
<{^_^}> https://github.com/NixOS/nixpkgs/pull/56255 (by Izorkin, 41 weeks ago, open): nginx: do not run anything as root
<Izorkin> updated
devalot has joined #nixos
sudoforge has quit [Ping timeout: 240 seconds]
leothrix has quit [Ping timeout: 268 seconds]
alexherbo21 has joined #nixos
alexherbo2 has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @manveru closed pull request #75568 → crystal: 0.31.1 -> 0.32.0 → https://git.io/JeH4O
o1lo01ol1o has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
drainful has quit [Quit: ZNC 1.7.5 - https://znc.in]
drainful has joined #nixos
dbmikus has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
o1lo01ol1o has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
drainful has quit [Client Quit]
drainful has joined #nixos
vld has joined #nixos
Laarlf has joined #nixos
zeta_0 has joined #nixos
<vld> Hi! I'm interested in upgrading awscli in nixkgs and wonder what is the best way to generate the hash for the pypi package? I tested nix-prefetch-url with the current version from the pkgs and it generated a different hash.
drakonis has quit [Ping timeout: 245 seconds]
<Laarlf> hello, is there an option to change the wordpress language? in the setup it gets skipped and in the settings there is only english (us) available. the needed folder is read-only as far as i can see
<infinisil> vld: I usually just change a single character of the previous hash, let nix build the package and fail and emit the correct one, then copy that into the code
shibboleth has joined #nixos
<vld> infinisil: cool I could do that! Thank you!
judson has joined #nixos
drakonis has joined #nixos
<{^_^}> [nix] @edolstra closed pull request #3154 → Link directly to local libraries → https://git.io/Je4ul
drainful has quit [Quit: ZNC 1.7.5 - https://znc.in]
xwvvvvwx has quit [Quit: ZNC 1.7.5 - https://znc.in]
xwvvvvwx has joined #nixos
drainful has joined #nixos
<thomashoneyman> I have a tool which generates a Nix file (kind of like cabal2nix), which I then import into another Nix expression and use
<thomashoneyman> for example, on the command line: $ spago2nix
<thomashoneyman> this generates a file, spago-packages.nix
<thomashoneyman> which i then import into the build expression
<thomashoneyman> let spagoPkgs = import spago-packages.nix { inherit pkgs };
<thomashoneyman> i'd like for the build to just run this on my behalf
leothrix has joined #nixos
<thomashoneyman> something like let spagoPkgs = import (run 'spago2nix') { inherit pkgs }
<thomashoneyman> anyone aware of an example in the wild that does something like this? generate a file and then import the result?
<infinisil> thomashoneyman: You can do that by making spago2nix work as a nix build
<infinisil> `runSpago2Nix = pkgs.runCommand "foo" {} "spago2nix > $out"`
<thomashoneyman> oh, i totally forgot about runCommand
<thomashoneyman> thanks!
<infinisil> Then `import (runSpago2Nix) {}` uses IFD to import it
<infinisil> ,IFD
<{^_^}> import-from-derivation (IFD) is when you evaluate nix from a derivation result, for example `import (pkgs.writeText "n" "1 + 1")` will evaluate to 2. This is sometimes problematic because it requires evaluating some, building some, and then evaluating the build result. It has been described as "such a nice footgun."
<infinisil> So this doesn't work when spago2nix needs access to the internet, and it's also not allowed in nixpkgs
scasc has joined #nixos
lovesegfault has quit [Ping timeout: 252 seconds]
leothrix has quit [Ping timeout: 265 seconds]
jakobrs has joined #nixos
<thomashoneyman> Ah, well, spago2nix *does* need access to the internet
<thomashoneyman> So too do things like `fetchFromGitHub` though
noudle has joined #nixos
jakobrs has quit [Remote host closed the connection]
<infinisil> thomashoneyman: Ah yeah, but this only works if the output is fully deterministic, so that you can give it a sha256 beforehand
<infinisil> These are known as fixed-output derivations
cosimone has joined #nixos
MinceR_ has joined #nixos
rardiol has quit [Ping timeout: 268 seconds]
<infinisil> Oftentimes that doesn't work for such tools however
<thomashoneyman> I'm essentially trying to replicate callCabal2Nix, which is quite nice in that updating a dependency in the cabal file -> proper output without manually running cabal2nix
<thomashoneyman> thank you for the notes
<thomashoneyman> I still don't have a great handle on what's technically allowable in say a buildPhase
rardiol has joined #nixos
<thomashoneyman> the situation i'm trying to avoid is building the project having forgotten to run say cabal2nix in advance
MinceR has quit [Ping timeout: 240 seconds]
<thomashoneyman> but it's not a serious issue.
leothrix has joined #nixos
<infinisil> thomashoneyman: cabal2nix doesn't need any access to the internet, it pretty much just translates the syntax of a cabal file into a nix file
<infinisil> What does your program do?
<thomashoneyman> Ah, I see that cabal2nix can accept a sha256
<thomashoneyman> as if the file is not available locally cabal2nix can call it remotely
<thomashoneyman> so that's back to what fetchFromGitHub does
<thomashoneyman> i'm just setting up a small haskell + purescript monorepo as a test
<infinisil> Oh didn't even know about that
alexherbo21 has quit [Quit: The Lounge - https://thelounge.chat]
<thomashoneyman> yea, so cabal2nix can download source over the network and then generate the nix file (which is what spago2nix does)
<thomashoneyman> but it accepts a --sha256 flag which makes it deterministic again
<vld> so now I'm trying to build moified package for the update I'm doing, however when I run `nix-build -A botocore` in the report root, I'm getting `error: attribute 'botocore' in selection path 'botocore' not found`. `nix-env -f . -iA botocore` in the folder with the package fails with `error: cannot auto-call a function that has an argument without a default value ('buildPythonPackage')`. What am I missing?
leothrix has quit [Ping timeout: 268 seconds]
MmeQuignon has quit [Quit: WeeChat 2.6]
<thomashoneyman> infinisil: i'd like to support the same workflow as callCabal2nix, which relies on haskellSrc2nix, which itself calls cabal2nix with a sha256 here
<thomashoneyman> oh shoot i linked a fork
<infinisil> vld: You need to go to the nixpkgs root
<thomashoneyman> that's what i meant to link
Laarlf has quit [Remote host closed the connection]
<betawaffle> gchristensen: i think i'm gonna try zfs on this apu2e4. is this still what i should be following? https://nixos.wiki/wiki/NixOS_on_ZFS#How_to_install_NixOS_on_a_ZFS_root_filesystem
<vld> infinisil: I tried running the both commands in the root as well. My naive guess is that I need to provide python version somehow as if I search for the package via `nix-env -qaP | grep botocore` I see entries like python3.7-botocore-1.13.2
<gchristensen> aoesunthoaenuth you've hit my cryptonite
<gchristensen> betawaffle: -O atime=off
<gchristensen> oops
<infinisil> vld: Oh, it's a python package, so it's `python3.pkgs.botocore` in the nixpkgs root
<gchristensen> betawaffle: -O atime=off -O compression=lz4 -O xattr=sa -O acltype=posixacl are pretty much mandatory imo
<betawaffle> yeah, i was gonna use all those
<infinisil> vld: `nix-build -A python3.pkgs.botocore`
<gchristensen> great
<betawaffle> they seem like no-brainers
<infinisil> gchristensen: Why explicitly lz4?
<gchristensen> you basically install it on ZFS like you wouldany other OS
<infinisil> I think just compression=on is good
<betawaffle> the sgdisk stuff fells like voodoo to me. trying to read the man page now
<gchristensen> the only key important bit of "mountpoint=legacy"
<gchristensen> yeah don't worry about that, just partition like normal
drainful has quit [Quit: ZNC 1.7.5 - https://znc.in]
<betawaffle> i'm not an experienced partitioner, that's my problem
<vld> infinisil: yes, sorry I sould have mentioned it. It is one of dependencies of awscli. Thank you very much. It worked!
drainful has joined #nixos
<infinisil> And lz4 is the default anyways
<gchristensen> infinisil: probably fine to just do =on unless you care to explicitly avoid lzjb
<betawaffle> gchristensen: what's the difference between mountpoint=legacy and mountpoint=none?
<gchristensen> I think mountpoint=none basically makes it unmountable
<gchristensen> not sure
<betawaffle> oh, ok that makes sense
<{^_^}> Channel nixos-19.09-small advanced to https://github.com/NixOS/nixpkgs/commit/71b278c26f2 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-19.09-small)
<betawaffle> is it possible to partition this to support both UEFI and BIOS?
MinceR_ is now known as MinceR
<gchristensen> not sure, maybe? :)
<infinisil> betawaffle: Yeah, if gpt, create an initial bios partition and an efi partition after that
<infinisil> But I wouldn't do that if it's not needed
selfsymmetric-pa has joined #nixos
<betawaffle> well, the device i'm installing this on is coreboot-based
<infinisil> (at least I think that's how it's done)
<betawaffle> and i want to actually play with coreboot too
<betawaffle> i think it's got seabios by default
<betawaffle> infinisil: what's the downside other than wasting some space?
<infinisil> No real downside I think, just getting rid of legacy stuff
<thomashoneyman> i'm still failing to see how callCabal2nix could actually be fully deterministic (where the sha256 comes from, i suppose)
<betawaffle> oh, you mean i shouldn't try to support bios?
<Gopal-M> how do I refer to wrappers in a nixos configuration? like how I can ${pkgs.rclone}
<thomashoneyman> in a fresh clone of my project there is no cache
<Gopal-M> if I had to refer to fusermount
<betawaffle> i think i have to right now, since it's not UEFI by default
<betawaffle> i'd need a custom build of coreboot
<thomashoneyman> so callCabal2nix is just looking at the .cabal file and then must be getting the sources of the dependencies over the network
cosimone has quit [Ping timeout: 245 seconds]
cosimone_ has joined #nixos
<thomashoneyman> ultimately it produces a derivation in the store which includes a copy of my source code, including the .cabal file, as an inputSrc
<thomashoneyman> oh -- the --sha256 is of _my_ source code, not of the cabal dependencies
<infinisil> thomashoneyman: Ah, actually it seems like the sha256 isn't used to fetch the source, but it's just set in the final nix file
<infinisil> See the example in the readme of cabal2nix
<{^_^}> [nixpkgs] @c0bw3b merged pull request #75087 → edbrowse: 3.7.4 -> 3.7.6 → https://git.io/Jey38
<{^_^}> [nixpkgs] @c0bw3b pushed commit from @equirosa to master « edbrowse: 3.7.4 -> 3.7.6 (#75087) »: https://git.io/JeHRK
<infinisil> The actual cabal file callCabal2Nix uses has to be passed in as a nix derivation/path
<infinisil> Oh and I guess that sha256 then gets used after IFD'd
<infinisil> To fetch the package
<betawaffle> gchristensen: is there no benefit to putting /nix or /nix/store on a separate mount and/or zfs filesystem?
<infinisil> betawaffle: I put it in a different dataset so I can easily exclude it from zfs-based backups
<betawaffle> dataset == filesystem, right?
<Gopal-M> yes
<thomashoneyman> infinisil: i'm reading through
<gchristensen> betawaffle: oh for sure
<betawaffle> gchristensen: how would you modify the zfs create commands here to do that? https://nixos.wiki/wiki/NixOS_on_ZFS#How_to_install_NixOS_on_a_ZFS_root_filesystem
<gchristensen> betawaffle: I have the following: rpool/local/nix rpool/local/root rpool/safe/home -- I take snapshots of rpool/safe, and send those off-disk. rpool/local I take snapshots but don't keep many and I don't send them elsewhere
nornagon has quit [Ping timeout: 265 seconds]
<betawaffle> ah, ok
<gchristensen> zfs create -o mountpoint=legacy rpool/nix; mount -t zfs rpool/nix /mnt/nix
<betawaffle> k, thanks
<gchristensen> zfs can take a consistent recursive snapshot down a tree
<thomashoneyman> infinisil: ah, ok, so this is juts running cabal2nix directly on the source, which doesn't recursively call for the dependencies
<gchristensen> so a recursive snapshot of rpool is consistent acros all datasets under it
<betawaffle> so you called it local because you don't send them anywhere, and safe because you want to keep it safe?
<infinisil> thomashoneyman: Yup, it's really just a pretty direct conversion from a single cabal file to a nix file
<gchristensen> yeah
<gchristensen> and I don't take a consistent snapshot of local and safe
<betawaffle> right
<thomashoneyman> infinisil: that's much simpler. i wonder why spago2nix needs to go through all the dependencies and generate nix files for all of them
<gchristensen> but I could make more safe/ datasets and they'd be all consistent
earldouglas has joined #nixos
<thomashoneyman> perhaps because Haskell packages are in nixpkgs but PureScript ones aren't?
<infinisil> thomashoneyman: Cabal2nix takes all dependencies from nixpkgs, already packaged
nornagon has joined #nixos
<infinisil> With the big hackage-packages.nix file
<infinisil> So it doesn't fix them either, cabal2nix just generates an expression saying "give me packages foo, bar and baz as dependencies, I don't care about the version"
<infinisil> s/fix/pin
<earldouglas> How can I diagnose a 'main: execvp(*argv, argv): No such file or directory' error when running a Nix package?
<thomashoneyman> in that case spago2nix is essentially producing hackage-packages.nix, but only including this project's dependencies
<thomashoneyman> in that case it doesn't look like i can just put it in the frontend project's nix expression
<betawaffle> infinisil: and what datasets do you have?
<thomashoneyman> infinisil: thanks for the help!
<clever> earldouglas: what does `file` report for the binary your running?
<earldouglas> /home/james/.nix-profile/bin/android-studio: a /nix/store/506nnycf7nk22x7n07mjjjl2g8nifpda-bash-4.4-p23/bin/bash script, ASCII text executable
<infinisil> betawaffle: Everything under root in case I want to have a different root at some point, root/data for data that needs to be backed up, root/data/home for /home, root/data/varlib for /var/lib, and root/nix for the nix store
<clever> earldouglas: what about `strace -f -e execve android-studio` ?
<gchristensen> betawaffle: I've wanted to upgrade this zfs page for months but get overwhelmed at the prospect
<earldouglas> Hmm, I'm not familiar with strace: https://gist.github.com/earldouglas/9060c4358f175545bf56ca4858104caa
<betawaffle> gchristensen: any "upgrades" we haven't discussed already?
<gchristensen> adding limits to datasets to prevent different components to overuse your disk
<clever> earldouglas: looks like the fhs-env script crashed, not sure why
<betawaffle> can that be done after creation?
<gchristensen> ye
<{^_^}> [nixpkgs] @roconnor reopened pull request #72418 → bitcoin: install desktop file and pixmaps → https://git.io/JegTM
hmpffff has joined #nixos
scasc has quit [Remote host closed the connection]
leothrix has joined #nixos
scasc has joined #nixos
gxt has joined #nixos
zeta_0 has quit [Quit: rcirc on GNU Emacs 26.3]
leothrix has quit [Ping timeout: 265 seconds]
<betawaffle> am i remembering correctly that the entire root filesystem can be blank, except for the nix store, and nixos will still boot correctly?
<notgne2> one way to find out ;))
cosimone has joined #nixos
<simpson> betawaffle: Search for NIXOS_LUSTRATE in https://nixos.org/nixos/manual/ The basic idea is that you need /nix and /boot.
<simpson> But don't take my word for it!
meck has quit [Quit: WeeChat 2.6]
cosimone_ has quit [Ping timeout: 268 seconds]
<{^_^}> Channel nixpkgs-19.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/71b278c26f2 (from 4 hours ago, history: https://channels.nix.gsc.io/nixpkgs-19.09-darwin)
meck has joined #nixos
<clever> betawaffle: NIXOS_LUSTRATE is a flag for the initrd, to just rename everything in / on bootup
<clever> betawaffle: several images like the livecd will just use a blank tmpfs for /, giving similar behaviour
meck has quit [Client Quit]
leothrix has joined #nixos
<betawaffle> what does /boot end up being in non-EFI mode?
<betawaffle> in efi mode, it's the efi partition, right?
<betawaffle> ESP or whatever
<clever> betawaffle: depends on what fs you use as / also
<clever> betawaffle: if you have an ext4 /, then /boot can just be a directory within the / fs
<betawaffle> zfs
<clever> betawaffle: for zfs, i would recomend an ext4 fs for /boot/
<clever> grub has poor zfs support, and just barely works
<wucke13_> clever: why not fat32 for boot
<betawaffle> ok, so the zfs page talks about making /boot vfat
<betawaffle> yeah, was gonna ask that
cosimone_ has joined #nixos
<betawaffle> can i share the /boot partition for both EFI and non-EFI booting?
cosimone has quit [Ping timeout: 250 seconds]
<clever> wucke13_: journaling, i dont trust fat32 as far as corruption and improper shutdowns
<clever> betawaffle: yep
vandenoever has joined #nixos
vandenoever has joined #nixos
<clever> betawaffle: you can even configure nixos to boot with both legacy and efi at the same time
<betawaffle> ok, so share it, and make it ext4 instead then?
<elvishjerricco> clever: I recently set up a server with a thumb drive for /boot using ZFS. Main reasoning being that I don't want grub to boot a corrupted kernel, and it will correctly error on bad checksums
meck has joined #nixos
leothrix has quit [Ping timeout: 252 seconds]
<elvishjerricco> Won't recover from raidz/parity/copies=n though
<elvishjerricco> s|parity|mirrors|
<clever> betawaffle: if you enable efi support, and also set boot.loader.grub.device = "/dev/sda"; then it will do both an efi and legacy install at the same time
lovesegfault has joined #nixos
<clever> betawaffle: that will require fat32 on /boot, so the bios can read the .efi files
<betawaffle> ok
<clever> betawaffle: and to make legacy boot work on gpt, you also need a bios boot partition, 1mb, not mounted, not formatted
zarel has quit [Ping timeout: 268 seconds]
<betawaffle> that's what this line is, right? sgdisk -a1 -n2:34:2047 -t2:EF02 $DISK
<clever> no clue what thats doing
<betawaffle> a partition from sector 34 to 2047
<betawaffle> and the page claims it's to support legacy bios boot
<clever> the bios boot partition can be anywhere on the disk, it just needs a special type code
<betawaffle> ah, ok. well i think that's what this is
mexisme_ has joined #nixos
<clever> if you `hexdump -C $DISK | head -n30` you should see something funny, if it worked right
fusion809 has quit [Remote host closed the connection]
zarel has joined #nixos
<betawaffle> Hah!IdontNeedEFI
<clever> exactly
<clever> thats the uuid type for the bios boot partition
<betawaffle> lol
<clever> when you set `boot.loader.grub.device = "/dev/sda"`, grub will look for a partition with that type, and use whatever offset the partition points to
<clever> it doesnt really matter where on the disk you put it
jjakob has quit [Quit: Lost terminal]
<betawaffle> clever++, infinisil++, gchristensen++
<{^_^}> clever's karma got increased to 278, gchristensen's karma got increased to 182, infinisil's karma got increased to 166
<gchristensen> :)
<betawaffle> infinisil: you have a dataset for /var/lib because of things like databases, right?
<roconnor> clever: rebootstrapping gcc seemed a bit unnecessary, but your solution of editing nixpkgs to upgrade glibc was simple and did work. Thanks.
<clever> roconnor: its building a new gcc that also runs under that new ligc
xkapastel has joined #nixos
fendor has joined #nixos
erictapen has quit [Ping timeout: 268 seconds]
cosimone has joined #nixos
erictapen has joined #nixos
mexisme_ has quit [Ping timeout: 265 seconds]
<andi-> what is the current state of something node (aka npm/yarn/…) to nix?
dansho has joined #nixos
cosimone_ has quit [Ping timeout: 252 seconds]
cosimone has quit [Client Quit]
<{^_^}> [nixpkgs] @7c6f434c merged pull request #74372 → fplll: 5.2.1 -> 5.3.0, python.pkgs.fpylll: 0.4.1dev -> 0.5.0dev → https://git.io/JeXrX
<{^_^}> [nixpkgs] @7c6f434c pushed 7 commits to master: https://git.io/JeH0D
<notgne2> andi-: node2nix sortof needs to maintain it's own lock file which is automatically generated Nix, yarn2nix and pnpm2nix are able to work with existing lockfiles (no extra commands to run)
<andi-> ok, thanks I'll check out yarn2nix
<notgne2> I personally like pnpm2nix a lot as it works more like the way pnpm does, seperating all the dependencies from eachother, plus I've had less issues with it (but submitted fixes when I have had issues)
lovesegfault has quit [Quit: WeeChat 2.6]
leothrix has joined #nixos
zupo has joined #nixos
fendor has quit [Read error: Connection reset by peer]
fendor__ has joined #nixos
leothrix has quit [Ping timeout: 240 seconds]
<jared-w> yarn2nix is weird
hmpffff has quit [Quit: nchrrrr…]
thomashoneyman has quit [Ping timeout: 268 seconds]
<jared-w> I wanted to use it to essentially be able to run typescript's typechecker without invoking npx, or installing node_modules, or any of that. I couldn't figure out how to get it working nicely; it just seems to really want to build a node "binary app"
<jared-w> like "just run this package.json script in a nix shell with all the right node dependencies" wasn't a usecase that I could see somewhere. Might try pnpm2nix...
mexisme_ has joined #nixos
fendor__ has quit [Ping timeout: 240 seconds]
zeta_0 has joined #nixos
leothrix has joined #nixos
<infinisil> betawaffle: Generally all system-wide state is stored there
ixxie has joined #nixos
leothrix has quit [Ping timeout: 268 seconds]
zeta_0 has quit [Quit: rcirc on GNU Emacs 26.3]
<{^_^}> [nixpkgs] @stigtsp opened pull request #75571 → arp-scan: 1.9.5 -> 1.9.7 → https://git.io/JeHEq
markasoftware has joined #nixos
sondr3 has joined #nixos
dbmikus has quit [Ping timeout: 268 seconds]
<betawaffle> gchristensen: if i have mountpoint=legacy for my /home dataset, and i create a nested dataset in that (for a user), should i use mountpoint=legacy, or not specify it?
<clever> betawaffle: mountpoint=legacy i think is only needed for things mounted by fileSystems., and specifically, things needed to boot (/ and /nix), you could potentially make everything else (even /home) normal zfs mounts, i think
<sondr3> huh, my USB DAC isn't showing up in my audio settings anymore, worked fine yesterday between boots. Is there a way to see the kernel versions of previous generations?
<clever> sondr3: one sec
<clever> sondr3: ls -l /nix/var/nix/profiles/system*/kernel
NoctisLa1 has joined #nixos
<sondr3> thanks, I hope this won't be a 5.4 bug cause I switched kernels yesterday
<sondr3> `Dec 12 21:19:55 neptune kernel: usb usb3-port2: Cannot enable. Maybe the USB cable is bad?`
<clever> try replugging? try another port?
<sondr3> yeah, but that sounds like effort when all I wanted to do was browse reddit and have a beer
<sondr3> I'll fix it later
<sondr3> worst case I'll just roll back
NoctisLabs has quit [Ping timeout: 265 seconds]
drakonis has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @shahrukh330 opened pull request #75572 → aws-okta: fix build on darwin → https://git.io/JeHEa
jjakob has joined #nixos
<{^_^}> [nixpkgs] @vladdy opened pull request #75573 → botocore,boto3,awscli: 1.13.2->1.13.37,1.10.1->1.10.37,1.16.266->1.16… → https://git.io/JeHEw
fusion809 has joined #nixos
selfsymmetric-pa has quit [Ping timeout: 276 seconds]
civodul has joined #nixos
<exarkun> docs say installFlags get passed to "pip install" when using buildPythonPackage but I made installFlags = [ '--no-deps' ]; and the build still fails with a dep checking error and the pip install command that gets logged clearly has no --no-deps flag passed to it :/
leothrix has joined #nixos
lord| has quit [Ping timeout: 245 seconds]
cosimone has joined #nixos
leothrix has quit [Ping timeout: 250 seconds]
cosimone has quit [Client Quit]
lord| has joined #nixos
cosimone has joined #nixos
vld has quit [Ping timeout: 252 seconds]
Yakulu has joined #nixos
<{^_^}> [nixpkgs] @musteresel opened pull request #75574 → anydesk: Provide alternative URL → https://git.io/JeHuJ
Yakulu has left #nixos [#nixos]
chloekek has quit [Ping timeout: 268 seconds]
cosimone_ has joined #nixos
cosimone has quit [Ping timeout: 245 seconds]
Ariakenom has quit [Quit: Leaving]
dbmikus has joined #nixos
<{^_^}> [nixpkgs] @offlinehacker merged pull request #75556 → fuse-overlayfs: 0.7 -> 0.7.2 → https://git.io/JeH3f
<{^_^}> [nixpkgs] @offlinehacker pushed 2 commits to master: https://git.io/JeHuY
<{^_^}> [nixpkgs] @offlinehacker merged pull request #75517 → grafana: 6.5.1 -> 6.5.2 → https://git.io/Je9Hh
<{^_^}> [nixpkgs] @offlinehacker pushed 2 commits to master: https://git.io/JeHun
lord| has quit [Ping timeout: 276 seconds]
lord| has joined #nixos
vandenoever has quit [Read error: Connection reset by peer]
vandenoever has joined #nixos
vandenoever has joined #nixos
vandenoever has quit [Changing host]
<{^_^}> [nixpkgs] @Synthetica9 opened pull request #75575 → vscodium: 1.40.1 -> 1.41.0 → https://git.io/JeHuz
judson_ has joined #nixos
lobre has joined #nixos
judson__ has quit [Ping timeout: 250 seconds]
dbmikus has quit [Ping timeout: 240 seconds]
leothrix has joined #nixos
<jtojnar> what is the difference between `pkgsMusl.python3Minimal` and `(import <nixpkgs> { crossSystem = (import <nixpkgs/lib>).systems.examples.musl64; }).python3Minimal`?
dbmikus has joined #nixos
<notgne2> jtojnar: not sure about yarn2nix, but I'm using pnpm2nix in a few ways like that
<notgne2> the package will have bin/ with all the bin entrypoints in the package.json, but you can just use .lib which will have node_modules/ with everything you expect
<notgne2> I mean jared-w
<samueldr> jtojnar: looks like the main difference is pkgsMusl will handle using localSystem rather than crossSystem if host == build
<samueldr> not sure exactly otherwise
leothrix has quit [Ping timeout: 265 seconds]
statusfailed has quit [Quit: leaving]
andreas303 has quit [Ping timeout: 260 seconds]
statusfailed has joined #nixos
oida has joined #nixos
andreas303 has joined #nixos
<jared-w> .lib? Perf, gonna check that out
<jtojnar> samueldr pkgsMusl produces ~30MB closure python3Minimal, while crossSystem >1G
ixxie has quit [Ping timeout: 268 seconds]
leothrix has joined #nixos
mexisme_ has quit [Ping timeout: 268 seconds]
philr has joined #nixos
swapgs has joined #nixos
swapgs has joined #nixos
swapgs has quit [Changing host]
mexisme_ has joined #nixos
<samueldr> > (import <nixpkgs> { localSystem = (import <nixpkgs/lib>).systems.examples.musl64; }).stdenv == pkgs.pkgsMusl.stdenv # jtojnar
<{^_^}> true
<samueldr> while false when imported with crossSystem
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<samueldr> not sure how it matters with the cross-compiling infra though
leothrix has quit [Ping timeout: 268 seconds]
oida has quit [Quit: byez]
jjakob has quit [Ping timeout: 245 seconds]
jjakob has joined #nixos
<{^_^}> [nixpkgs] @andir merged pull request #75181 → modules-shrunk: preserve module priorities from build → https://git.io/Jeyh6
<{^_^}> [nixpkgs] @andir pushed 2 commits to master: https://git.io/JeHzL
<{^_^}> [nixpkgs] @andir merged pull request #75574 → anydesk: Provide alternative URL → https://git.io/JeHuJ
<{^_^}> [nixpkgs] @andir pushed 2 commits to master: https://git.io/JeHzY
<{^_^}> [nixpkgs] @c0bw3b opened pull request #75576 → bingrep: 0.7.0 -> 0.8.1 → https://git.io/JeHzs
dansho has quit [Ping timeout: 240 seconds]
eacameron has joined #nixos
drakonis has joined #nixos
<eacameron> Is there a way to configure a cache on-the-fly so to speak, like for a nix-shell? nix-shell --cache ... -p thing ?
leothrix has joined #nixos
<infinisil> eacameron: I think --option extra-substituters ...
<infinisil> And you probably need to pass --option trusted-substituters too
knupfer has quit [Ping timeout: 250 seconds]
<infinisil> And then maybe just --option substituters ..
<{^_^}> [nixpkgs] @c0bw3b merged pull request #73483 → vym: 2.6.11 -> 2.7.0 → https://git.io/JeoCv
<{^_^}> [nixpkgs] @c0bw3b pushed commit from @MicrosoftTakeover to master « vym: 2.6.11 -> 2.7.0 (#73483) »: https://git.io/JeHza
leothrix has quit [Ping timeout: 265 seconds]
<o1lo01ol1o> I'm copying a derivation to a remote machine and running nix-env -p ... --set ... && /nix/var....switch-to-configuration switch and for some reason the main foo.service starts and runs for about 4 seconds and then: systemd[1]: Stopping foo.service... why would the systemd daemon stop the service suddenly?
<clever> o1lo01ol1o: what are the contents of the .service file, and what is the full output from `journalctl -u foo.service` ?
xkapastel has quit [Quit: Connection closed for inactivity]
joshuagl has quit [Quit: Textual IRC Client: www.textualapp.com]
<{^_^}> [nixpkgs] @risicle opened pull request #75577 → [r19.09] boolector: add patch for CVE-2019-7560 → https://git.io/JeHz7
domogled has quit [Ping timeout: 240 seconds]
leothrix has joined #nixos
<{^_^}> [nixpkgs] @pacien closed pull request #74009 → [19.09] processing: update reference archive hash → https://git.io/JeiHS
<{^_^}> [nixpkgs] @pacien closed pull request #74008 → processing: update reference archive hash → https://git.io/JeiHM
<{^_^}> [nixpkgs] @WilliButz opened pull request #75578 → nixos/oxidized: specify PID file → https://git.io/JeHzF
<{^_^}> [nixpkgs] @LnL7 merged pull request #75572 → aws-okta: fix build on darwin → https://git.io/JeHEa
<{^_^}> [nixpkgs] @LnL7 pushed 2 commits to master: https://git.io/JeHzb
<o1lo01ol1o> clever: the full output of journalctl -u foo.service is a couple days of logs, the tail of which are normal operating logs produced by the service and then the systemd stopping service message
<clever> o1lo01ol1o: i just need the tail end, for the last run of the service
<o1lo01ol1o> clever: where does nix put the .service file?
<clever> o1lo01ol1o: /etc/systemd/system/foo.service
domogled has joined #nixos
<{^_^}> [nixpkgs] @andir pushed 2 commits to release-19.09: https://git.io/JeHzN
<{^_^}> [nixpkgs] @andir merged pull request #75178 → modules-shrunk: preserve module priorities from build → https://git.io/Jeyhl
<o1lo01ol1o> clever: well, I guess here's the problem, the service is missing: cat: /etc/systemd/system/foo.target: No such file or directory
<clever> o1lo01ol1o: is the service self-forking?
<clever> o1lo01ol1o: when did foo.service become foo.target?
satdev[m] has joined #nixos
leothrix has quit [Ping timeout: 276 seconds]
cosimone_ is now known as cosimone
<o1lo01ol1o> clever: sorry, that was due to tab-completion and copy paste, there's nothing called `foo` in there.
<{^_^}> [nixpkgs] @markuskowa opened pull request #75579 → snapper: 0.8.5 -> 0.8.6 → https://git.io/JeHzx
zupo has joined #nixos
noudle has quit []
<o1lo01ol1o> clever: the process launches a few threads but it stays in the ghc runtim
<clever> o1lo01ol1o: the logs imply that the main process is exiting with code 0
<o1lo01ol1o> clever: could it be that the deployment is killing the process after starting it and then removing the service?
<clever> o1lo01ol1o: its more likely that foo.service doesnt exist in the version you just deployed
<clever> o1lo01ol1o: one min
jgeerds has joined #nixos
<clever> 484 syslog(LOG_NOTICE, "finished switching to system configuration $out");
<clever> o1lo01ol1o: can you search your entire journal for this message?
<o1lo01ol1o> clever: journalctl | grep 'syslog(LOG_NOTICE, "finished switching to system configuration $out");' yields no results
<tilpner> o1lo01ol1o: journalctl -ag 'switching to system'
cosimone has quit [Quit: Terminated!]
<{^_^}> [nixpkgs] @c0bw3b opened pull request #75580 → wpscan: 3.5.3 -> 3.7.5 → https://git.io/JeHgm
<o1lo01ol1o> tilpner: thanks
<o1lo01ol1o> clever: I've updated the gist with the entries since the last reboot
<clever> o1lo01ol1o: you deployed one version at 21:59:17, and then you deployed a different version at 21:59:34, just 17 seconds later
<clever> o1lo01ol1o: that 2nd version likely didnt have a foo.service, so nixos stopped it
<clever> o1lo01ol1o: are you checking branches when gitlab pushes things? or is this trying to deploy every single branch to a single machine? gang-bang style? :P
leothrix has joined #nixos
<{^_^}> [nixpkgs] @Infinisil closed pull request #67422 → pythonPackages: Switch to lib.makeScope for `overrideScope` support → https://git.io/fjAfn
<o1lo01ol1o> clever: lol. This pipeline is only active on one branch and the build product is only one derivation, I have no idea why there's two deployments; it takes 25 minutes to copy the closures over . . .
<clever> o1lo01ol1o: is there some script or timer somewhere, that is re-running the wrong activate?
<o1lo01ol1o> clever: acme timers are being renewed on each deployment
<clever> but those dont mess with nixos switch-to-configuration
fragamus has joined #nixos
leothrix has quit [Ping timeout: 265 seconds]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<o1lo01ol1o> clever: pff, this is a bit boggling. There's only one --set and switch command in the deploy script
<clever> o1lo01ol1o: but maybe there is something else, not the deploy script, that is screwing with things?
cosimone has joined #nixos
lobre has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @marsam merged pull request #75557 → chezmoi: 1.7.5 -> 1.7.7 → https://git.io/JeHsj
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JeHgX
<o1lo01ol1o> clever: I really don't know what. Something would have to explicitly call /nix/var/nix/profiles/system/bin/switch-to-configuration switch correct?
<clever> o1lo01ol1o: basically, yes, but it doesnt have to be at that path
<clever> Dec 12 21:59:34 ec2-52-45-7-85.compute-1.amazonaws.com nixos[8323]: switching to system configuration /nix/store/cnsvrj5ms471f6mwq4r0xnf508cz1xza-nixos-system-unnamed-19.09.981.205691b7cbe
<clever> o1lo01ol1o: something could be running /nix/store/cnsvrj5ms471f6mwq4r0xnf508cz1xza-nixos-system-unnamed-19.09.981.205691b7cbe/bin/switch-to-configuration directly
<clever> o1lo01ol1o: and skipping the system profile entirely
selfsymmetric-mu has joined #nixos
<clever> o1lo01ol1o: check to see where system points, and what the logs say
domogled has quit [Ping timeout: 276 seconds]
<o1lo01ol1o> clever: where system points?
fusion809 has quit [Remote host closed the connection]
cosimone has quit [Quit: Quit.]
<clever> o1lo01ol1o: /run/current-system and /nix/var/nix/profiles/system
dbmikus has quit [Ping timeout: 268 seconds]
cosimone has joined #nixos
<{^_^}> [nixpkgs] @veprbl merged pull request #75553 → drawpile: 2.1.14 -> 2.1.15 → https://git.io/JeHmK
<{^_^}> [nixpkgs] @veprbl pushed commit from @fgaz to master « drawpile: 2.1.14 -> 2.1.15 (#75553) »: https://git.io/JeHgj
mexisme_ has quit [Ping timeout: 245 seconds]
vandenoever has quit [Quit: Konversation terminated!]
<o1lo01ol1o> clever: perplexing. especially as it was working 24 hours ago. I'm going to take a walk and come back to it later. Thanks for the help.
<o1lo01ol1o> clever++
<{^_^}> clever's karma got increased to 280
leothrix has joined #nixos
civodul has quit [Quit: ERC (IRC client for Emacs 26.3)]
leothrix has quit [Ping timeout: 265 seconds]
sondr3 has quit [Read error: Connection reset by peer]
dashkal has quit [Ping timeout: 268 seconds]
nornagon has quit [Ping timeout: 250 seconds]
leotaku has quit [Quit: ZNC 1.7.4 - https://znc.in]
coderobe6 has joined #nixos
coderobe is now known as Guest49709
leotaku has joined #nixos
eri451 has quit [Ping timeout: 268 seconds]
Guest49709 has quit [Ping timeout: 268 seconds]
AstroBadger has quit [Ping timeout: 268 seconds]
FRidh has quit [Remote host closed the connection]
AstroBadger has joined #nixos
coderobe67 has joined #nixos
FRidh has joined #nixos
eri has joined #nixos
<{^_^}> [nixpkgs] @sboehler opened pull request #75581 → xrdp: enable vsock connections → https://git.io/JeH2C
o1lo01ol1o has quit [Remote host closed the connection]
dashkal has joined #nixos
coderobe67 has quit [Client Quit]
o1lo01ol1o has joined #nixos
coderobe67 has joined #nixos
coderobe6 has quit [Ping timeout: 265 seconds]
coderobe672 has joined #nixos
o1lo01ol1o has quit [Ping timeout: 245 seconds]
leothrix has joined #nixos
coderobe672 has quit [Client Quit]
coderobe67 has quit [Ping timeout: 240 seconds]
bvdw has quit [Read error: Connection reset by peer]
bvdw has joined #nixos
<{^_^}> [nixpkgs] @gabibbo97 opened pull request #75582 → kind: 0.5.1 -> 0.6.1 → https://git.io/JeH2g
nornagon has joined #nixos
Irenes[m] is now known as Irenes[m]z
leothrix has quit [Ping timeout: 246 seconds]
Irenes[m]z is now known as Irenes[m]1
shibboleth has quit [Quit: shibboleth]
Irenes[m]1 is now known as Irenes[m]
Irenes[m] is now known as Guest27981
Guest27981 has quit [Quit: authenticating]
<{^_^}> [nixpkgs] @worldofpeace merged pull request #75472 → snippetpixie: init at 1.2.2 → https://git.io/Je9ga
<{^_^}> [nixpkgs] @worldofpeace pushed 3 commits to master: https://git.io/JeH26
oida has joined #nixos
work_ has joined #nixos
leothrix has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace opened pull request #75583 → networkmanagerapplet: default to withGnome → https://git.io/JeH2S
<{^_^}> [nixpkgs] @Infinisil opened pull request #75584 → Configuration file formats for JSON and INI → https://git.io/JeH29
Cale has quit [Remote host closed the connection]
dbmikus has joined #nixos
ng0 has quit [Quit: Alexa, when is the end of world?]
Cale has joined #nixos
lovesegfault has joined #nixos
<{^_^}> [nixpkgs] @volth opened pull request #75585 → nixos/unbound: add package option → https://git.io/JeHaU
<{^_^}> Channel nixpkgs-19.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/23902ce7dd6 (from 2 hours ago, history: https://channels.nix.gsc.io/nixpkgs-19.09-darwin)
lukash_ is now known as lukash_|away
jgeerds has quit [Ping timeout: 265 seconds]