worldofpeace_ changed the topic of #nixos to: NixOS stable: 20.03 ✨ https://discourse.nixos.org/t/nixos-20-03-release/6785 || 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/ || use ,channels for a list of Nix* related channels || nixcon videos: https://tinyurl.com/nixcon2019 || Link to the output of nix-info
<colemickens> It seems like things in flakes can still reference local files. Is it constrained to the current dir? In my current nixcfg I have a function "findImport" that will look in ~/code/{importType}/{importName} and then fallback to my pinned version if I am not currently hacking on one of my imports.
<colemickens> Is this possible, still, with flakes?
fresheyeball has quit [Quit: WeeChat 2.7.1]
<infinisil> Santiweight: You followed the installation steps in the manual?
<Santiweight> For the .iso image I just loaded the image and everything was set up for me. I couldn't spot any time when I could configure anything
<infinisil> Oh then you just booted the installer image
<infinisil> I don't think that persists anything, and might store all things in RAM
est31 has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @tokudan opened pull request #90269 → nextcloud: 18.0.4 -> 18.0.6 [20.03] → https://git.io/JfQCR
<Santiweight> I'm running as a Parallels VM.
<Santiweight> It s keeping stuff on disk
<infinisil> Santiweight: What's `df` output?
fragamus_ is now known as fragamus
<Santiweight> I believe this entry here is what I'm looking for https://nixos.wiki/wiki/Storage_optimization
Santiweight has quit [Remote host closed the connection]
est31 has joined #nixos
<infinisil> Alright then
<infinisil> It's almost certainly not
Santiweight has joined #nixos
<Santiweight> Hey sorry about that
<MtotheM> I have a path like this for my folders `./machines/machine-name/configuration.nix` then I have `./shared/common.nix` how can I step back twice in the import?
<MtotheM> (i want to import common to configuration)
Santiweight has quit [Remote host closed the connection]
<infinisil> MtotheM: No idea what you mean
<MtotheM> I just figured it out `../../`
lunaa has joined #nixos
Santiweight has joined #nixos
Rusty1 has joined #nixos
<euank> jonreeve[m]: if you didn't figure it out, `qt5.wrapQtAppsHook` is what you wanted I think
MightyJoe has quit [Ping timeout: 246 seconds]
<jonreeve[m]> Ah cool, will try that now
cyraxjoe has joined #nixos
santiweight3 has joined #nixos
thc202 has quit [Ping timeout: 256 seconds]
<santiweight3> ```Filesystem Size Used Avail Use% Mounted ondevtmpfs 399M 0 399M 0% /devtmpfs 3.9G 0 3.9G 0% /dev/shmtmpfs 2.0G 5.5M 2.0G 1% /runtmpfs 3.9G 432K 3.9G 1% /run/wrapperstmpfs 3.9G 92M 3.8G 3% //dev/root 1.2G 1.2G 0 100% /iso/dev/loop0 1.2G 1.2G 0 100%
<santiweight3> /nix/.ro-storetmpfs 3.9G 8.0K 3.9G 1% /nix/.rw-storeoverlay 3.9G 8.0K 3.9G 1% /nix/storetmpfs 3.9G 0 3.9G 0% /sys/fs/cgrouptmpfs 797M 12K 797M 1% /run/user/1000```
<santiweight3> Sorry for the delayed response - VM troubles with internet/clipboard. Not sure how to format the ctrl-v
<infinisil> ,paste
<santiweight3> The important line: overlay 3.9G 8.0K 3.9G 1% /nix/store
<{^_^}> Use a website such as [ https://gist.github.com/ http://ix.io/ https://hastebin.com/ http://sprunge.us/ https://paste.ee/ ] or similar services to share anything that's longer than a couple lines.
<jonreeve[m]> euank: Hm I'm still getting `qt.qpa.plugin: Could not find the Qt platform plugin "xcb" in ""`
proofofk_ has quit [Remote host closed the connection]
lunaa has quit [Ping timeout: 260 seconds]
<santiweight3> So yeah - the nix/store volume is only 4G
proofofkeags has joined #nixos
Mateon1 has joined #nixos
<cole-h> jonreeve[m]: did you put that in your `nativeBuildInputs`?
proofofkeags has quit [Ping timeout: 240 seconds]
<Mateon1> Hi, I recently did a swsusp (suspend to swap) to a new swap partition I've recently created, I noticed that I did not nixos-rebuild before doing `systemctl hibernate`
<Mateon1> I've now booted into the normal system instead of resuming from hibernation
<Mateon1> Is there any way to recover that suspended image?
<Mateon1> The swap partition is untouched
<infinisil> santiweight3: I can't see anything wrong there
<infinisil> santiweight3: What makes you think it's out of space? Did you run a command and get an error? If so, post the command and error
drakonis1 has joined #nixos
tobeportable has quit [Ping timeout: 272 seconds]
<santiweight3> I reinstalled the image hence the empty volumes. Later after installing a bunch of packages etc, the 4gb doesn;t cut it
<santiweight3> So I would ideally want to expand that volume
<infinisil> santiweight3: It's a tmpfs, which I'm pretty sure means that it's not stored on disk -> it's your RAM
drakonis_ has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/JfQCj
<santiweight3> Ahhh
<infinisil> And again, you haven't actually installed NixOS yet, all of the things you install should be gone again when you reboot it :
<infinisil> :)
fendor_ has joined #nixos
<santiweight3> Oh jeez
<santiweight3> embarrassing hha
<jonreeve[m]> cole-h: Yep. Here's what I have so far: https://github.com/JonathanReeve/sent2tree/blob/master/default.nix#L62
<santiweight3> So the NixOS distib doesn't preinstall Nix?
<infinisil> santiweight3: It does?
<santiweight3> I'm confused
<santiweight3> but you say I haven't installed NixOS - perhaps this is a VM issue?
<santiweight3> Because I'm running NixOS
<infinisil> You haven't even told us the issue yet
fendor has quit [Ping timeout: 256 seconds]
Diagon has joined #nixos
<santiweight3> The issue is that when I install this package here https://github.com/reflex-frp/reflex-platform/blob/develop/notes/NixOS.md
MmeQuignon has quit [Ping timeout: 260 seconds]
<jonreeve[m]> So I just posted my question to NixOS Discourse, too, explaining it a little better: https://discourse.nixos.org/t/how-can-i-build-a-python-package-that-uses-qt/7657 Any ideas would be much appreciated.
<infinisil> santiweight3: Is this still about the space problem or..?
<santiweight3> And then setup a new project, I get a space problem
<santiweight3> Yeah only the space problem
<santiweight3> I'm rerunning everything to get the space error back
Diagon has quit [Client Quit]
<infinisil> I mean, I just told you before, it's RAM
<santiweight3> Right :/
b has joined #nixos
<santiweight3> I'm not sure how I can have it be not on RAM
<infinisil> You could always download more :) https://downloadmoreram.com/
<infinisil> But really, you need to actually install NixOS by following the install instructions
<santiweight3> LOL
ConradMearns has quit [Ping timeout: 245 seconds]
<santiweight3> Okay I think I understand better what I didn't understand
<MtotheM> how do I deal with coc for vim? it requires that you install sub-plugins through coc itself. I don't see how I could declare that.
<ajs124> jonreeve[m]: responded there
<santiweight3> I think I thought things would be more out of te box than they are - I'll follow along more steps. I think I thought they were for non-NixOS distributions
<santiweight3> Thank you infinisil for being so patient with me
<santiweight3> <3
iyzsong has joined #nixos
<infinisil> Install instructions for X are *always* for when you don't have X already! Otherwise you wouldn't need to install it
<{^_^}> [nixpkgs] @Aver1y opened pull request #90271 → haskell: Make haskellPackages.callPackage overridable → https://git.io/JfQWc
drakonis1 has quit [Ping timeout: 260 seconds]
<infinisil> The NixOS ISO is just a stepping stone for making installation easier, since ISO's are so easy to run and distribute
<{^_^}> [cabal2nix] @maralorn opened pull request #462 → Various improvements to ./regenerate-nixpkgs.sh → https://git.io/JfQWC
pingiun has joined #nixos
klntsky has quit [Ping timeout: 240 seconds]
drakonis_ has joined #nixos
<energizer> i dont understand this error https://bpa.st/M64Q
<santiweight3> That makes perfect sense. I guess my confusion was that I used the "NixOS" iso and then the installation said "install NixOS"
klntsky has joined #nixos
<santiweight3> Probably largely my inexperience with anything like this
<energizer> why is "transforms" not defined when i've defined it right there?
slack1256 has joined #nixos
santiweight3 has quit [Remote host closed the connection]
<energizer> ah, needs default=
justan0theruser has joined #nixos
m0rphism has quit [Ping timeout: 256 seconds]
<jonreeve[m]> ajs124: Thanks, but I think I'm no closer to fixing this for this particular use case. More specifically, do you know how I can change the expression under `ete3` in that default.nix, so that `python example.py` runs without it complaining about a missing QT plugin?
pamplemousse has joined #nixos
justanotheruser has quit [Ping timeout: 272 seconds]
<ajs124> you shouldn't run "python example.py", that's not how wrapping works. but if you really need/want to, you need to set the relevant environment variables. I don't remember what those are for QT exactly. QT_PLUGIN_PATH is probably among them.
gustavderdrache has quit [Quit: Leaving.]
b has quit [Quit: leaving]
<gchristensen> https://gist.github.com/grahamc/8a1aa3a85125b1a2c25feaa7c4cd60dd I'm looking to get more information from gdb about this Go binary and am stuck with some ?? frames. any ideas on how to get more details in thos eframes?
b has joined #nixos
marusich has quit [Quit: Leaving]
<jonreeve[m]> ajs124: I'm not sure I understand. example.py is just my python script that runs my analysis. I use a default.nix to define the environment I need, and nix-shell to enter that environment. Then I run `python example.py` and it runs the script I want it to run. The main issue is that, since `ete3` isn't in nixpkgs, I have do define my own expression. But I can't get it to work. How would I go about adding that environment
<jonreeve[m]> variable to that expression?
<MtotheM> I travel a lot, can I set my timezone to change dynamically based on my location?
<MtotheM> Or do I need to make my own function for that
ris has joined #nixos
<energizer> MtotheM: how do you want to detect your location?
<MtotheM> Most distros do it based on your ip adress I suppose.
_ris has quit [Ping timeout: 260 seconds]
philr_ has joined #nixos
<energizer> MtotheM: looks like services.tzupdate might do ti
<energizer> it
<MtotheM> nice, thanks that saves me some effort
h0m1 has quit [Ping timeout: 256 seconds]
h0m1 has joined #nixos
cyraxjoe has quit [Quit: I'm out!]
<betaboon> anyone knows how i can pull packages from nixpkgs-unstable into an overlay while maintaining the possiblility to crosscompile them, i normaly do it like this, but the inherited package doesnt cross-compile anymore: https://gist.github.com/betaboon/c73064271609d7080e53f7a650c7895a
pamplemousse has quit [Ping timeout: 256 seconds]
cyraxjoe has joined #nixos
<betaboon> i guess i would have to provide `config.nixpkgs.crossSystem` to the import of <nixpkgs-unstable> but id dont know where to get that from in the context of an overlay
<infinisil> betaboon: Possibly with `crossSystem = self.hostPlatform.system`
markus1199 has joined #nixos
<betaboon> infinisil: thanks. that is it :D
<{^_^}> [nixpkgs] @alexfmpe opened pull request #90272 → printrun: 20150310 -> 2.0.0rc5 → https://git.io/JfQlG
sigmundv_ has joined #nixos
kreyren has quit [Remote host closed the connection]
kreyren has joined #nixos
markus1189 has quit [Ping timeout: 260 seconds]
Santiweight has quit [Remote host closed the connection]
sigmundv has quit [Ping timeout: 256 seconds]
marusich has joined #nixos
lilpea has quit [Quit: WeeChat 2.8]
cjpbirkbeck has joined #nixos
<{^_^}> [nixpkgs] @samueldr opened pull request #90274 → nix-universal-prefetch: 0.2.0 -> 0.3.0 → https://git.io/JfQlK
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/7602241fbd4 (from 8 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
pingiun has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
orivej has joined #nixos
<{^_^}> [nixpkgs] @IreneKnapp opened pull request #90275 → Help Thunderbird find libudev, which is in the systemd lib dir. → https://git.io/JfQ8H
absoluut1ly has joined #nixos
<cjpbirkbeck> hello, what's the path of the grub boot loader?
orivej_ has joined #nixos
orivej has quit [Ping timeout: 264 seconds]
mekeor has quit [Ping timeout: 264 seconds]
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/d6d07f262b1 (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
mekeor has joined #nixos
<quinn> cjpbirkbeck: i don't really understand your question. are you asking what path grub-install is on your system, where the installed bootloader is, or something else?
nikita_ has joined #nixos
<MtotheM> grub is in /boot/grub cjpbirkbeck, but you might not want to modify it directly due to how nixOS works.
<cole-h> s/might not/don't/
nikita` has quit [Ping timeout: 246 seconds]
kleisli has quit [Ping timeout: 246 seconds]
<cjpbirkbeck> quinn, MtotheM: i don't want to change it's manually, it's just that messed up the uefi setting one of my machines
<cjpbirkbeck> i've got able to boot into NixOS, but it doesn't seem to want to boot with grub; instead it drops me directly into a NixOS generation
felixfoertsch23 has joined #nixos
<MtotheM> have you specified the boot device? I had to do that.
Ralith_ has quit [Remote host closed the connection]
felixfoertsch has quit [Ping timeout: 260 seconds]
felixfoertsch23 is now known as felixfoertsch
<MtotheM> `boot.loader.grub.device = "/dev/sda";`
dramforever has joined #nixos
<{^_^}> [nixpkgs] @peterhoeg merged pull request #90261 → images: remove original files when using zstd for compression → https://git.io/JfQZO
<{^_^}> [nixpkgs] @peterhoeg pushed 2 commits to master: https://git.io/JfQui
<cole-h> What do you mean it "drops me directly into a NixOS generation"? It just sounds like you turned down your timeout...
<cole-h> Sounds like booting with grub is working fine if you're actually booting into NixOS?
<cole-h> Unless I'm misunderstanding
Ralith_ has joined #nixos
aw has quit [Quit: Quitting.]
spacefrogg has quit [Quit: Gone.]
<cjpbirkbeck> MtotheM: I am using uefi, and iirc, with that system you don't specify a drive with grub.
aw has joined #nixos
<cole-h> If you're using the default uefi install (e.g. you didn't manually enable grub), you should be using systemd-boot (previously gummiboot), IIRC.
<quinn> cjpbirkbeck: nixos does not use grub by default for UEFI iirc
spacefrogg has joined #nixos
<cjpbirkbeck> cole-h: i checked at it seems like the timeout is still set to 10
<quinn> cole-h: jinx you owe me a soda
marusich has quit [Quit: Leaving]
<cole-h> I said it first >:)
orivej_ has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos
<Ralith_> my 20.03 system seems to have somehow lost track of its Qt platform plugins
<Ralith_> none of the directories in QT_PLUGIN_PATH exist
<dramforever> If you can't get into the boot menu, try hitting escape/shift/up arrow in quick succession when booting?
<cjpbirkbeck> cole-h: i set it to use grub instead of systemd-boot within my configuration files
<quinn> but i said it first! cjpbirkbeck: i think you do specify a boot device in configuration.nix if you are using grub (but if you are getting into a generation taht's probably not the problem)
<dramforever> up arrow for systemd-boot, one of escape/shift for grub (I think shift but I can't remember)
<cjpbirkbeck> dramforever: the issue is that there is no grub menu at all, i am just dropped into nixos (latest generation? i don't know)
<{^_^}> #65399 (by ttuegel, 46 weeks ago, open): Tracking issue for wrapQtAppsHook
<dramforever> cjpbirkbeck: Uhh have you tried what I said?
<cjpbirkbeck> dramforever: hmm, no but i will try, it's shift+esc?
<dramforever> No you just tap the shift over and over while your machine is starting
<dramforever> If that doesn't work try esc
<cole-h> The slash means "or" -- so shift or escape
jumper149 has quit [Quit: WeeChat 2.8]
<dramforever> It's how these bootloaders work: even if it's configured to be silent with zero timeout it still responds to key presses for a split second or something
<dramforever> And then it shows up
<dramforever> If you don't see grub menu or systemd-boot menu doesn't mean it isn't there.
<Ralith_> yep, that was it
<quinn> cjpbirkbeck: you may also be able to adjust the timeout in configuration.nix (if that is the problem)
<energizer> i'm putting nixos iso on a usb to install from. do i need to give it some specific partition type or is GPT "8300 linux filesystem" ok?
<energizer> i just did `dd if=nixos.iso of=/dev/sdd1` but computer won't boot from it
<quinn> energizer: if you're on lunix, don't do that at all. either use a boot usb program or dd
<quinn> if that's not working, the problem is elsewhere. check bios settings, make sure your usb has the right checksum, and then try on a diff. computer
<energizer> quinn: i'm using dd but it still needs to be on a partition, no?
<dramforever> No
<energizer> oh
<dramforever> Just /dev/sdd
<delroth> has anyone implemented a way to auto-manage samba users with nixos? e.g. not requiring manual "smbpasswd -a" invocations and instead having a nixos-managed userdb
<dramforever> *But wait*
<energizer> too late :)
<quinn> energizer: OH. you need to dd to the entire device, not a specific partition. the image has a partition table
<delroth> I couldn't find anything like that, and my attempts at doing it myself failed unfortunately
<dramforever> Uhh
<dramforever> I mean, /dev/sdd *will* work, just I tried the copy files into a partition method and it also works *wink*
<dramforever> What you need to do is go into two files and replace kernel options root=LABEL=..... with root=/dev/disk/by-uuid/your-partition-thing-here
<quinn> dramforever: seriously? you made a gpt table, an ext4 fs, and then copied an iso in and it worked?
<dramforever> Oh the partition needs to be FAT32 but the GPT type whatever doesn't matter IIRC
<quinn> dramforever: so is this a part of the uefi standard? that is really interesting
<dramforever> I don't know
<dramforever> But that's what I got from what little experience with booting I had
<{^_^}> [nixpkgs] @Ralith opened pull request #90276 → pfstools: fix Qt environment → https://git.io/JfQzn
<quinn> spooky. i have a feeling it might have problems because nix needs to mount the store. did you test whether it could mount the store from an iso?
<dramforever> Test? This system I'm using is installed using such a disk
<dramforever> I think that's enough of a test for me
<energizer> /dev/sdd working nicely
<dramforever> Also I think copytoram is also working
<dramforever> energizer: Yeah it's not that dd to whole device is bad or anything; it's in fact the supported method
<{^_^}> [nixpkgs] @delroth opened pull request #90277 → wireshark: compile with QT_NO_DEBUG to avoid depending on qt*-dev → https://git.io/JfQzE
hlisp has joined #nixos
<quinn> dramforever++ oh that's cool/magic. thanks for expanding my horizons :)
<{^_^}> dramforever's karma got increased to 4
iyzsong has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @cole-h opened pull request #90278 → alacritty: install example config → https://git.io/JfQz2
<dramforever> quinn: I tried this when a friend of my complained that NixOS iso doesn't work that way, whereas all other major distros have iso that work out of the box with the 'copy to fat32 method' (Haven't tested the latter)
iyzsong has joined #nixos
<quinn> dramforever: and then nixos did work that way too? awesome
<dramforever> And the only thing that wasn't working was finding the root device
<dramforever> It's not like it's the root filesystem for the live system, just what's containing the iso files, so fat32 would work
drakonis_ has quit [Ping timeout: 260 seconds]
<quinn> dramforever: did you change something in /boot in the iso?
absoluut1ly has quit [Ping timeout: 240 seconds]
waleee-cl has quit [Quit: Connection closed for inactivity]
<dramforever> quinn: Yes, as I said above: go into two .cfg files (I can't remember exactly which, need checking) and replace kernel options root=LABEL=..... with root=/dev/disk/by-uuid/your-partition-thing-here
<jonreeve[m]> Does anyone know why build dependencies wouldn't propagate to runtime dependencies?
<euank> There has to be a reference to the store path left somewhere in the output of the derivation
orivej has quit [Ping timeout: 264 seconds]
<euank> If you have a specific case, that could help. How it's expected that reference gets there differs a bit by language and what type of derivation it is
<quinn> dramforever: got it, thanks
iyzsong- has joined #nixos
iyzsong has quit [Ping timeout: 258 seconds]
cjpbirkbeck has quit [Quit: cjpbirkbeck]
<jonreeve[m]> euank: the problem I'm having is that I've included pyqt5 here: https://github.com/JonathanReeve/sent2tree/blob/master/ete3.nix#L19 and I can build a shell just fine. But then when I try to run it, it complains "No module named PyQt5"
<euank> Ah, for that use, you probably want propagatedBuildInputs
cjpbirkbeck has joined #nixos
<euank> As described in the manual's discussion of buildPythonPackage: https://nixos.org/nixpkgs/manual/#buildpythonpackage-parameters
<dramforever> quinn: /EFI/boot/grub.cfg and /isolinux/isolinux.cfg
<dramforever> Oh it seems you already got that
drakonis_ has joined #nixos
<jonreeve[m]> How do I ignore collisions again? Or resolve them?
<jonreeve[m]> I'm getting `collision between `/nix/store/f4p5ls5jq80a33ma6w5cvrcrrh1rmsk4-python3.7-PyQt5.sip-4.19.22/lib/python3.7/site-packages/sipconfig.py' and `/nix/store/ii6w1p648q7ripixf8s334f79an5ljv4-python3.7-sip-4.19.22/lib/python3.7/site-packages/sipconfig.py`
<energizer> i just put in a new ssd, but lsblk doesn't see it. is there some other command that might see it?
<energizer> jonreeve[m]: ignoreCollisions = true;
<quinn> dramforever: interesting that it's in two places, ty
<cole-h> jonreeve[m]: Well, you probably only need one of those, so try removing the other
<dramforever> quinn: I *think* just one of them matters
<quinn> energizer: i think if it's nvme lspci will show?
<jonreeve[m]> <cole-h "jonreeve: Well, you probably onl"> One of which?
<quinn> dramforever: if it works as is, why worry about it \shrug
<dramforever> And given the names I'd bet it
<cole-h> jonreeve[m]: One of sip and PyQt5.sip
<dramforever> I'd bet it's the grub one
<dramforever> But yeah why bother
<jonreeve[m]> cole-h But I don't install sip at all.
<jonreeve[m]> cole-h: I don't have sip in my derivation: https://github.com/JonathanReeve/sent2tree/blob/master/ete3.nix#L19
<jonreeve[m]> cole-h: So I wouldn't know how to remove one of them
<euank> You could use `nix-store -q --tree` in order to look at the dependency tree of your package
<cole-h> Well, when I build that derivation, I see no such message
<euank> presumably two of your dependencies transitively pull those in
<cole-h> I ran `nix-build -E '(import <nixpkgs> {}).callPackage ./ete3.nix {}'`
<cole-h> And it built fine.
<jonreeve[m]> euank: `nix-store -q --tree` just outputs nothing
hlisp has quit [Remote host closed the connection]
<euank> You'd have to pass it a store path. I think the `result` symlink from `nix-build` should work?
<cole-h> Yep, that will work
<jonreeve[m]> euank: But, if it won't build because of the collision?
<cole-h> How are you building this?
<cole-h> Because I can't reproduce the issue.
<jonreeve[m]> cole-h: it's just a shell. I'm just running nix-shell.
<{^_^}> [nixpkgs] @r-ryantm closed pull request #86809 → capnproto: 0.7.0 -> 0.8.0 → https://git.io/JfGOD
<{^_^}> [nixpkgs] @r-ryantm closed pull request #89817 → checksec: 2.2.1 -> 2.2.2 → https://git.io/JfDMW
<{^_^}> [nixpkgs] @r-ryantm closed pull request #86535 → linuxPackages_hardened.chipsec: 1.4.9 -> 1.5.
<{^_^}> [nixpkgs] @r-ryantm closed pull request #86917 → gnome3.gnome-color-manager: 3.32.0 -> 3.36.0 → https://git.io/JfGyU
<{^_^}> [nixpkgs] @r-ryantm closed pull request #89989 → google-authenticator: 1.08 -> 1.09 → https://git.io/Jfydr
<{^_^}> [nixpkgs] @r-ryantm closed pull request #88814 → grails: 4.0.3 -> 4.1.0.M1 → https://git.io/JfVIo
<jonreeve[m]> cole-h: maybe with the recent change something is different
<{^_^}> [nixpkgs] @r-ryantm closed pull request #87198 → pantheon.granite: 5.3.1 -> 5.4.0 → https://git.io/Jfndt
<cole-h> ryantm: Oh no
<{^_^}> [nixpkgs] @r-ryantm closed pull request #89993 → guile-cairo: 1.11.0 -> 1.11.1 → https://git.io/JfyFX
<{^_^}> [nixpkgs] @r-ryantm closed pull request #86925 → groovy: 3.0.2 -> 3.0.3 → https://git.io/JfG9Z
<{^_^}> [nixpkgs] @r-ryantm closed pull request #89990 → grml-zsh-config: 0.16.2 -> 0.17.2 → https://git.io/Jfyd1
<{^_^}> [nixpkgs] @r-ryantm closed pull request #86572 → heimer: 1.15.1 -> 1.16.
<{^_^}> [nixpkgs] @r-ryantm closed pull request #89995 → herbstluftwm: 0.8.1 -> 0.8.3 → https://git.io/JfybV
<cole-h> ryantm: It's happening again
<{^_^}> [nixpkgs] @r-ryantm closed pull request #86676 → hyper: 2.1.2 -> 3.0.2 → https://git.io/Jfs2o
<{^_^}> [nixpkgs] @r-ryantm closed pull request #89614 → hyperrogue: 11.3l -> 11.3o → https://git.io/Jf175
<{^_^}> [nixpkgs] @r-ryantm closed pull request #85036 → i2pd: 2.30.0 -> 2.31.0 → https://git.io/JvhNG
<{^_^}> [nixpkgs] @r-ryantm closed pull request #89987 → icewm: 1.6.5 -> 1.6.6 → https://git.io/Jfy5Q
<{^_^}> [nixpkgs] @r-ryantm closed pull request #90005 → intel-graphics-compiler: 1.0.3627 -> 1.0.4062 → https://git.io/Jfyxj
<{^_^}> [nixpkgs] @r-ryantm closed pull request #89983 → driversi686Linux.vaapiIntel: 2.4.0 -> 2.4.1 → https://git.io/Jfy7q
<{^_^}> [nixpkgs] @r-ryantm closed pull request #89133 → inter: 3.11 -> 3.13 → https://git.io/JfoMI
<{^_^}> [nixpkgs] @r-ryantm closed pull request #89616 → ipscan: 3.7.1 -> 3.7.2 → https://git.io/Jf15n
<{^_^}> [nixpkgs] @r-ryantm closed pull request #89996 → interception-tools: 0.1.1 -> 0.2.1 → https://git.io/JfyNL
<{^_^}> [nixpkgs] @r-ryantm closed pull request #61843 → ircdHybrid: 8.2.24 -> 8.2.25 → https://git.io/fj4or
<{^_^}> [nixpkgs] @r-ryantm closed pull request #89841 → k9s: 0.19.4 -> 0.20.5 → https://git.io/JfDNv
<{^_^}> [nixpkgs] @r-ryantm closed pull request #90008 → kdev-php: 5.5.1 -> 5.5.2 → https://git.io/JfyhX
<{^_^}> [nixpkgs] @r-ryantm closed pull request #90010 → kdev-python: 5.5.1 -> 5.5.2 → https://git.io/JfSeX
<{^_^}> [nixpkgs] @r-ryantm closed pull request #90011 → kdevelop-unwrapped: 5.5.1 -> 5.5.2 → https://git.io/JfSJ8
<{^_^}> [nixpkgs] @r-ryantm closed pull request #87230 → keycloak: 9.0.3 -> 10.0.0 → https://git.io/JfcmB
<{^_^}> [nixpkgs] @r-ryantm closed pull request #89622 → klayout: 0.26.5 -> 0.26.6 → https://git.io/Jf1d8
<{^_^}> [nixpkgs] @r-ryantm closed pull request #86963 → libburn: 1.5.2 -> 1.5.2.pl01 → https://git.io/JfZeQ
<{^_^}> [nixpkgs] @r-ryantm closed pull request #88161 → libcec: 4.0.5 -> 5.0.0 → https://git.io/JfuSR
<{^_^}> [nixpkgs] @r-ryantm closed pull request #86975 → libdap: 3.20.5 -> 3.20.6 → https://git.io/JfZIk
<{^_^}> [nixpkgs] @r-ryantm closed pull request #89634 → libiio: 0.19 -> 0.20 → https://git.io/Jf1FA
<{^_^}> [nixpkgs] @r-ryantm closed pull request #88580 → libksba: 1.3.5 -> 1.4.0 → https://git.io/Jf28S
<{^_^}> [nixpkgs] @r-ryantm closed pull request #90040 → libnetfilter_queue: 1.0.3 -> 1.0.4 → https://git.io/JfSlm
<euank> Oh wow
<{^_^}> [nixpkgs] @r-ryantm closed pull request #90017 → gnustep.libobjc: 1.9 -> 2.0 → https://git.io/JfSL9
<{^_^}> [nixpkgs] @r-ryantm closed pull request #85216 → libqalculate: 3.8.0 -> 3.9.0 → https://git.io/Jfeg7
<{^_^}> [nixpkgs] @r-ryantm closed pull request #89637 → librepo: 1.11.3 -> 1.12.0 → https://git.io/Jf1bm
<{^_^}> [nixpkgs] @r-ryantm closed pull request #90024 → libsolv: 0.7.13 -> 0.7.14 → https://git.io/JfSmU
<{^_^}> [nixpkgs] @r-ryantm closed pull request #90055 → libwhereami: 0.3.1 -> 0.5.0 → https://git.io/JfS2d
<{^_^}> [nixpkgs] @r-ryantm closed pull request #89641 → lite: 1.05 -> 1.06 → https://git.io/Jf1b0
<{^_^}> [nixpkgs] @r-ryantm closed pull request #90043 → lyx: 2.3.4.3 -> 2.3.5.1 → https://git.io/JfS4A
<{^_^}> [nixpkgs] @r-ryantm closed pull request #90049 → matterbridge: 1.17.1 -> 1.17.5 → https://git.io/JfSuO
<{^_^}> [nixpkgs] @r-ryantm closed pull request #90054 → mcelog: 169 -> 170 → https://git.io/JfS2K
<{^_^}> [nixpkgs] @r-ryantm closed pull request #86688 → memtier-benchmark: 1.2.17 -> 1.3.0 → https://git.io/JfsrS
<{^_^}> [nixpkgs] @r-ryantm closed pull request #89643 → micronaut: 1.3.5 -> 1.3.6 → https://git.io/Jf1Ng
<{^_^}> [nixpkgs] @r-ryantm closed pull request #89644 → mill: 0.7.1 -> 0.7.3 → https://git.io/Jf1N7
<{^_^}> [nixpkgs] @r-ryantm closed pull request #89849 → minio: 2020-05-01T22-19-14Z -> 2020-06-03T22-13-49Z → https://git.io/JfDpT
<{^_^}> [nixpkgs] @r-ryantm closed pull request #89851 → minio-client: 2020-04-25T00-43-23Z -> 2020-05-28T23-43-36Z → https://git.io/JfDp4
<{^_^}> [nixpkgs] @r-ryantm closed pull request #89853 → moolticute: 0.43.16 -> 0.43.19 → https://git.io/JfDp9
<{^_^}> [nixpkgs] @r-ryantm closed pull request #90063 → mopidy-mpris: 3.0.1 -> 3.0.2 → https://git.io/JfSoB
<{^_^}> [nixpkgs] @r-ryantm closed pull request #78517 → mopidy-musicbox-webclient: 2.3.0 -> 2.4.0 → https://git.io/JvqDW
<{^_^}> [nixpkgs] @r-ryantm closed pull request #87020 → mopidy-soundcloud: 2.1.0 -> 3.0.0 → https://git.io/JfZG4
<euank> That bot sure has a lot of pending PRs
<{^_^}> [nixpkgs] @r-ryantm closed pull request #82430 → mtprotoproxy: 1.0.9 -> 1.1.0 → https://git.io/Jv6V4
<{^_^}> [nixpkgs] @r-ryantm closed pull request #90074 → munin: 2.0.61 -> 2.0.63 → https://git.io/JfS1L
<{^_^}> [nixpkgs] @r-ryantm closed pull request #78234 → mwic: 0.7.7 -> 0.7.8 → https://git.io/JvL47
<{^_^}> [nixpkgs] @r-ryantm closed pull request #80624 → mygui: 3.2.2 -> 3.4.0 → https://git.io/JvBdv
<{^_^}> [nixpkgs] @r-ryantm closed pull request #78519 → namecoin: nc0.15.99-name-tab-beta2 -> nc0.19.0.1 → https://git.io/JvqDw
<{^_^}> [nixpkgs] @r-ryantm closed pull request #69692 → netcdfcxx4: 4.3.0 -> 4.3.1 → https://git.io/JeZWv
<{^_^}> [nixpkgs] @r-ryantm closed pull request #90080 → netsurf.buildsystem: 1.8 -> 1.9 → https://git.io/JfSMy
<{^_^}> [nixpkgs] @r-ryantm closed pull request #86700 → nlopt: 2.6.1 -> 2.6.2 → https://git.io/JfsiE
<{^_^}> [nixpkgs] @r-ryantm closed pull request #69725 → ocamlPackages.topkg: 1.0.0 -> 1.0.1 → https://git.io/JeZRN
<{^_^}> [nixpkgs] @r-ryantm closed pull request #87051 → ocamlPackages.ctypes: 0.16.0 -> 0.17.1 → https://git.io/JfZ4T
<{^_^}> [nixpkgs] @r-ryantm closed pull request #88628 → ocamlPackages.ocaml_extlib: 1.7.6 -> 1.7.7 → https://git.io/Jf2dl
<{^_^}> [nixpkgs] @r-ryantm closed pull request #88626 → ocamlPackages.integers: 0.3.0 -> 0.4.0 → https://git.io/Jf2dT
<{^_^}> [nixpkgs] @r-ryantm closed pull request #88930 → ocamlPackages.ppx_tools_versioned: 5.3.0 -> 5.4.0 → https://git.io/Jfw0I
<{^_^}> [nixpkgs] @r-ryantm closed pull request #85111 → ocamlPackages.stdlib-shims: 0.1.0 -> 0.2.0 → https://git.io/Jvjgz
<{^_^}> [nixpkgs] @r-ryantm closed pull request #90073 → ocamlPackages.ppx_deriving: 4.4.1 -> 4.5 → https://git.io/JfSXD
<{^_^}> [nixpkgs] @r-ryantm closed pull request #89653 → omnisharp-roslyn: 1.35.1 -> 1.35.2 → https://git.io/Jf1pM
<{^_^}> [nixpkgs] @r-ryantm closed pull request #86707 → onedrive: 2.3.13 -> 2.4.1 → https://git.io/JfsP3
<{^_^}> [nixpkgs] @r-ryantm closed pull request #70668 → opencascade-occt: 7.3.0p3 -> 7.4.0 → https://git.io/JeCj6
<{^_^}> [nixpkgs] @r-ryantm closed pull request #88647 → opencc: 1.0.6 -> 1.1.0 → https://git.io/JfaTl
<{^_^}> [nixpkgs] @r-ryantm closed pull request #90104 → opendht: 2.1.1 -> 2.1.3 → https://git.io/JfSxJ
<{^_^}> [nixpkgs] @r-ryantm closed pull request #88200 → openexr: 2.4.1 -> 2.5.1 → https://git.io/JfzCR
<{^_^}> [nixpkgs] @r-ryantm closed pull request #90089 → openfortivpn: 1.14.0 -> 1.14.1 → https://git.io/JfS9A
<cole-h> euank: It's closing them, presumably due to some issue in ryantm's backend.
<{^_^}> [nixpkgs] @r-ryantm closed pull request #71735 → opentracing-cpp: 1.5.1 -> 1.6.0 → https://git.io/JeRhh
<{^_^}> [nixpkgs] @r-ryantm closed pull request #90091 → openwsman: 2.6.11 -> 2.7.0 → https://git.io/JfSH1
<{^_^}> [nixpkgs] @r-ryantm closed pull request #87049 → opera: 67.0.3575.31 -> 68.0.3618.63 → https://git.io/JfZ8T
<{^_^}> [nixpkgs] @r-ryantm closed pull request #90092 → orca: 3.36.2 -> 3.36.3 → https://git.io/JfSQL
<{^_^}> [nixpkgs] @r-ryantm closed pull request #90086 → osinfo-db: 20200515 -> 20200529 → https://git.io/JfSSr
<{^_^}> [nixpkgs] @r-ryantm closed pull request #90088 → pciutils: 3.6.4 -> 3.7.0 → https://git.io/JfS9K
<{^_^}> [nixpkgs] @r-ryantm closed pull request #69752 → persepolis: 3.1.0 -> 3.2.0 → https://git.io/JeZu8
<{^_^}> [nixpkgs] @r-ryantm closed pull request #89858 → pistol: 0.1.1 -> 0.1.2 → https://git.io/JfyvG
<{^_^}> [nixpkgs] @r-ryantm closed pull request #90110 → pkgconf-unwrapped: 1.7.0 -> 1.7.3 → https://git.io/JfSpq
<{^_^}> [nixpkgs] @r-ryantm closed pull request #90109 → plantuml: 1.2020.10 -> 1.2020.12 → https://git.io/JfSx5
<{^_^}> [nixpkgs] @r-ryantm closed pull request #69747 → pmd: 6.17.0 -> 6.18.0 → https://git.io/JeZE5
<{^_^}> [nixpkgs] @r-ryantm closed pull request #90120 → pythia: 8.244 -> 8.302 → https://git.io/Jf9vS
<{^_^}> [nixpkgs] @r-ryantm closed pull request #88672 → python27Packages.flask_assets: 0.12 -> 2.0 → https://git.io/JfaOC
<{^_^}> [nixpkgs] @r-ryantm closed pull request #87327 → python27Packages.flask_login: 0.4.1 -> 0.5.0 → https://git.io/JfCCR
<{^_^}> [nixpkgs] @r-ryantm closed pull request #87294 → python27Packages.clikit: 0.4.3 -> 0.6.0 → https://git.io/JfcxW
<{^_^}> [nixpkgs] @r-ryantm closed pull request #87293 → python27Packages.cma: 2.7.0 -> 3.0.3 → https://git.io/Jfcxv
{^_^} has quit [Excess Flood]
<cole-h> euank: And it has a lot of pending ones because they're... well, automated. lol
<euank> Anyway, jonreeve[m], there's two store paths of note here. The derivation path (which you do have, the .drv thing), and the path you end up building
kleisli has joined #nixos
<euank> Yeah, I've looked at them before. The automation is a great idea. If we had enough tests for each automated package to also auto-merge it would be even more amazing
<euank> jonreeve[m]: so you should have a .drv thing, i.e. 'error: build of '/nix/store/s1xwbajqbrmrr0vnvyja28kv8m0shj4a-python3-3.7.6-env.drv' failed' is what it prints for me
{^_^} has joined #nixos
<euank> And if I `nix-store -q --tree /nix/store/s1xwbajqbrmrr0vnvyja28kv8m0shj4a-python3-3.7.6-env.drv` it tells me the tree of that, which shows what's pulling in sip I guess
<euank> It's a lot of dependencies
<ryantm> Dangit.
<cole-h> x)
<ryantm> Sorry. I made a fix for it and thought I had deployed it but was wrong.
<cole-h> Have fun undeleting the branches and reopening all those PRs :D
Supersonic112 has joined #nixos
Supersonic has quit [Disconnected by services]
Supersonic112 is now known as Supersonic
inkbottle has joined #nixos
<jonreeve[m]> euank: Ok so I'm looking at that tree, and am I seeing this right that it's just a dependency of Python? I'm at a loss for ideas about how to remove the extra one
zebrag has quit [Ping timeout: 256 seconds]
<jonreeve[m]> Also incidentally ignoreCollisions doesn't seem to do anything
slack1256 has quit [Remote host closed the connection]
<energizer> i can't detect any of three M.2 SSDs on either my laptop with the builtin M.2 slot or my desktop with a usb M.2 slot. suspect i'm doing something wrong but can't imagine what
<quinn> energizer: did you try lspci? that's really weird. could be a kernel ish too
<jonreeve[m]> Does anyone know where the "XCB" plugin is?
<jonreeve[m]> And how to get it into QT?
<euank> Looks like I'm barking up the wrong tree anyway there jonreeve[m]; grepping for the conflicting store paths in the derivation's tree output doesn't show it, so that methodology doesn't work
<euank> There's probably a way to traverse the buildInput graph correctly to find where that's coming from, but I don't know it :(
<jonreeve[m]> euank: Ok I managed to get it to build again now. BUt now I'm back at that old problem, `qt.qpa.plugin: Could not find the Qt platform plugin "xcb" in ""`.
<energizer> jonreeve[m]: vague recollection only: "XCB" makes me think of `xcffib`
<simpson> jonreeve[m]: https://nixos.wiki/wiki/Qt has pointers.
nixbitcoin_ has joined #nixos
inkbottle has quit [Quit: Konversation terminated!]
ddellacosta has quit [Ping timeout: 256 seconds]
<simpson> energizer: XCB is the X11 C Bindings. https://www.x.org/wiki/guide/xlib-and-xcb/ is a decent intro to the nomenclature and history.
nixbitcoin has quit [Ping timeout: 240 seconds]
<jonreeve[m]> simpson: I read that, but I can't really make heads or tails out of it. Do you know how I can edit this derivation so that running `nix-shell` and `python example.py` in that directory will work?
sigmundv_ has quit [Ping timeout: 264 seconds]
<jonreeve[m]> It builds just fine, but then when I run it I get that error about XCB
<jonreeve[m]> energizer: I added xcffib, but that didn't seem to change anything. Any other ideas?
<{^_^}> [nixpkgs] @ryantm reopened pull request #86809 → capnproto: 0.7.0 -> 0.8.0 → https://git.io/JfGOD
drakonis_ has quit [Ping timeout: 258 seconds]
<{^_^}> [nixpkgs] @ryantm reopened pull request #89817 → checksec: 2.2.1 -> 2.2.2 → https://git.io/JfDMW
<energizer> jonreeve[m]: when i have qt questions i ask altendky in #python :)
<{^_^}> [nixpkgs] @ryantm reopened pull request #86535 → linuxPackages_hardened.chipsec: 1.4.9 -> 1.5.
zebrag has joined #nixos
<{^_^}> [nixpkgs] @ryantm reopened pull request #86917 → gnome3.gnome-color-manager: 3.32.0 -> 3.36.0 → https://git.io/JfGyU
<simpson> jonreeve[m]: I don't understand wrapQtAppsHook, but that would be what to look at.
<{^_^}> [nixpkgs] @ryantm reopened pull request #89989 → google-authenticator: 1.08 -> 1.09 → https://git.io/Jfydr
<{^_^}> [nixpkgs] @ryantm reopened pull request #88814 → grails: 4.0.3 -> 4.1.0.M1 → https://git.io/JfVIo
<energizer> quinn: i dont think any drive is appearing https://i.imgur.com/Hid8nN7.jpg
<{^_^}> [nixpkgs] @ryantm reopened pull request #87198 → pantheon.granite: 5.3.1 -> 5.4.0 → https://git.io/Jfndt
<energizer> should be toshiba
<{^_^}> [nixpkgs] @ryantm reopened pull request #89990 → grml-zsh-config: 0.16.2 -> 0.17.2 → https://git.io/Jfyd1
<{^_^}> [nixpkgs] @ryantm reopened pull request #86925 → groovy: 3.0.2 -> 3.0.3 → https://git.io/JfG9Z
<{^_^}> [nixpkgs] @ryantm reopened pull request #89993 → guile-cairo: 1.11.0 -> 1.11.1 → https://git.io/JfyFX
<jonreeve[m]> I'm at the point of scrapping Nix entirely
<{^_^}> [nixpkgs] @ryantm reopened pull request #86572 → heimer: 1.15.1 -> 1.16.
<jonreeve[m]> I've been working at getting this one Python library to work for about six hours now
<jonreeve[m]> When I could've been actually programming
<{^_^}> [nixpkgs] @ryantm reopened pull request #89995 → herbstluftwm: 0.8.1 -> 0.8.3 → https://git.io/JfybV
<quinn> energizer: that's really strange. my guess is it's a mobo issue (but not an expert by any means)
<energizer> that's been my feeling since i started using nix
<energizer> there's no magic ritual to installing nvme pcie ssds is there? i turn off the computer, stick it in the slot, screw it in, turn it on
<jonreeve[m]> So what does it mean to use a hook?
<jonreeve[m]> `The package will need to be fixed to use [the new https://github.com/NixOS/nixpkgs/issues/65399 wrapQtAppsHook]. The hook wraps every qt application with adding QT_PLUGIN_PATH and XDG_DATA_DIRS as well as XDG_CONFIG_DIRS.See wrap-qt-hook.sh in nixpkgs`
<{^_^}> #65399 (by ttuegel, 46 weeks ago, open): Tracking issue for wrapQtAppsHook
<jonreeve[m]> I have no idea what that means
<quinn> energizer: i'm using one but over usb2, i have no clue
<jonreeve[m]> The wiki says to use the hook, but then there's no example for what using a hook means
<{^_^}> [nixpkgs] @ryantm reopened pull request #86676 → hyper: 2.1.2 -> 3.0.2 → https://git.io/Jfs2o
<quinn> energizer: considering that's not the case for any other hardware component i don't imagine so. try an ubuntu usb drive and see if it works there to eliminate nix-specific issues
<{^_^}> [nixpkgs] @ryantm reopened pull request #89614 → hyperrogue: 11.3l -> 11.3o → https://git.io/Jf175
<jonreeve[m]> Great, but how do you use it in a derivation?
drakonis_ has joined #nixos
<{^_^}> [nixpkgs] @ryantm reopened pull request #85036 → i2pd: 2.30.0 -> 2.31.0 → https://git.io/JvhNG
<{^_^}> [nixpkgs] @ryantm closed pull request #85036 → i2pd: 2.30.0 -> 2.31.0 → https://git.io/JvhNG
<euank> These shell-hooks are automatically run during certain phases of the derivation. Adding them to nativeInputs is enough.
<simpson> jonreeve[m]: Most hooks go in buildInputs.
<jonreeve[m]> euank: Do I add that BASH code to postInstallHooks or something?
<{^_^}> [nixpkgs] @ryantm reopened pull request #89987 → icewm: 1.6.5 -> 1.6.6 → https://git.io/Jfy5Q
<euank> However, you're using a shell and then running python code that is importing a library
<euank> So I think it ends up just not doing what you want at all
<euank> The qt hook is meant to wrap a final executable pretty much.
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/eb62c7edc8f (from 76 minutes ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<euank> And your app in this case is you running "python example.py". The wrapper wasn't used on either of those, so there's no chance for the plugin path etc to be set
<{^_^}> [nixpkgs] @ryantm reopened pull request #90005 → intel-graphics-compiler: 1.0.3627 -> 1.0.4062 → https://git.io/Jfyxj
<euank> Normally, if `example.py` were the final executable, you might wrap that instead. You potentially could also wrap `python` itself for that shell specifically.
<jonreeve[m]> euank: Great, how can I wrap python?
<{^_^}> [nixpkgs] @ryantm reopened pull request #89983 → driversi686Linux.vaapiIntel: 2.4.0 -> 2.4.1 → https://git.io/Jfy7q
<{^_^}> [nixpkgs] @ryantm reopened pull request #89133 → inter: 3.11 -> 3.13 → https://git.io/JfoMI
<euank> I'm not sure the right thing to do here. I'm not familiar with the python.buildEnv stuff
<jonreeve[m]> euank: although is there a way to do that in the derivation?
<{^_^}> [nixpkgs] @ryantm reopened pull request #89996 → interception-tools: 0.1.1 -> 0.2.1 → https://git.io/JfyNL
<simpson> jonreeve[m]: Yes. Picard is a good example of using wrapQtAppsHook inside buildPythonApplication: https://github.com/NixOS/nixpkgs/blob/master/pkgs/applications/audio/picard/default.nix
<{^_^}> [nixpkgs] @ryantm reopened pull request #89616 → ipscan: 3.7.1 -> 3.7.2 → https://git.io/Jf15n
cript0nauta has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @ryantm reopened pull request #61843 → ircdHybrid: 8.2.24 -> 8.2.25 → https://git.io/fj4or
cript0nauta has joined #nixos
hlisp has joined #nixos
<{^_^}> [nixpkgs] @ryantm reopened pull request #89841 → k9s: 0.19.4 -> 0.20.5 → https://git.io/JfDNv
<{^_^}> [nixpkgs] @ryantm reopened pull request #90008 → kdev-php: 5.5.1 -> 5.5.2 → https://git.io/JfyhX
<{^_^}> [nixpkgs] @ryantm reopened pull request #90010 → kdev-python: 5.5.1 -> 5.5.2 → https://git.io/JfSeX
<{^_^}> [nixpkgs] @ryantm reopened pull request #90011 → kdevelop-unwrapped: 5.5.1 -> 5.5.2 → https://git.io/JfSJ8
<{^_^}> [nixpkgs] @ryantm reopened pull request #87230 → keycloak: 9.0.3 -> 10.0.0 → https://git.io/JfcmB
<{^_^}> [nixpkgs] @ryantm reopened pull request #89622 → klayout: 0.26.5 -> 0.26.6 → https://git.io/Jf1d8
<{^_^}> [nixpkgs] @ryantm reopened pull request #86963 → libburn: 1.5.2 -> 1.5.2.pl01 → https://git.io/JfZeQ
cjpbirkbeck has quit [Quit: cjpbirkbeck]
<{^_^}> [nixpkgs] @ryantm reopened pull request #88161 → libcec: 4.0.5 -> 5.0.0 → https://git.io/JfuSR
<{^_^}> [nixpkgs] @ryantm reopened pull request #86975 → libdap: 3.20.5 -> 3.20.6 → https://git.io/JfZIk
<jonreeve[m]> simpson: Based on looking at Picard, do you have an idea of how I should change this derivation? https://github.com/JonathanReeve/sent2tree/blob/master/ete3.nix
<{^_^}> [nixpkgs] @ryantm reopened pull request #89634 → libiio: 0.19 -> 0.20 → https://git.io/Jf1FA
<{^_^}> [nixpkgs] @ryantm reopened pull request #88580 → libksba: 1.3.5 -> 1.4.0 → https://git.io/Jf28S
<{^_^}> [nixpkgs] @ryantm reopened pull request #90040 → libnetfilter_queue: 1.0.3 -> 1.0.4 → https://git.io/JfSlm
<{^_^}> [nixpkgs] @ryantm reopened pull request #90017 → gnustep.libobjc: 1.9 -> 2.0 → https://git.io/JfSL9
<energizer> quinn: do you need to reboot for the usb2 to work?
<{^_^}> [nixpkgs] @ryantm reopened pull request #89637 → librepo: 1.11.3 -> 1.12.0 → https://git.io/Jf1bm
<{^_^}> [nixpkgs] @ryantm reopened pull request #90024 → libsolv: 0.7.13 -> 0.7.14 → https://git.io/JfSmU
<energizer> i just tried the m.2<->usb on ubuntu without rebooting and it didnt work
<{^_^}> [nixpkgs] @ryantm reopened pull request #85216 → libqalculate: 3.8.0 -> 3.9.0 → https://git.io/Jfeg7
<quinn> energizer: to be clear i'm using a nvme usb enclosure, it's not some little hack i have. and no i did not need to
<simpson> jonreeve[m]: Based on https://nixos.org/nixpkgs/manual/#python I would consider trying out buildPythonApplication, or perhaps buildPythonPackage if you need the library. I suspect, though, that if you want this as a library, then you're going to have problems just because it is the top-level package that needs the Qt wrapper and not the intermediate libraries.
<{^_^}> [nixpkgs] @ryantm reopened pull request #89876 → visualvm: 2.0 -> 2.0.2 → https://git.io/JfyLT
<quinn> energizer: yup.
<{^_^}> [nixpkgs] @ryantm reopened pull request #87547 → linuxPackages_hardened.vhba: 20190831 -> 20200106 → https://git.io/JfWQ5
<energizer> quinn: same
<jonreeve[m]> simpson: I'm using that, though, in line 3, no?
<quinn> energizer: okay, well check lsusb then i guess?
<{^_^}> [nixpkgs] @ryantm reopened pull request #89043 → utillinux: 2.35.1 -> 2.35.2 → https://git.io/Jfrym
<energizer> oh wait
<{^_^}> [nixpkgs] @ryantm reopened pull request #89875 → txt2man: 1.6.0 -> 1.7.0 → https://git.io/JfyIP
<{^_^}> [nixpkgs] @ryantm reopened pull request #81039 → tt-rss-theme-feedly: 2.3.1 -> 2.4.0 → https://git.io/JvuTg
<simpson> jonreeve[m]: Yeah, but maybe buildPythonApplication is what you want. I'm not familiar with ete3 but it looks like an application that has a GUI and opinions.
<{^_^}> [nixpkgs] @KAction opened pull request #90279 → git: make nls support optional → https://git.io/JfQgj
<{^_^}> [nixpkgs] @ryantm reopened pull request #74665 → tpm2-abrmd: 2.2.0 -> 2.3.0 → https://git.io/Je10N
<energizer> some of these have different shaped pins
<quinn> that's the key type. if you can get your nvme drive into the enclosure it should work though
<quinn> if you're talking about those notches
<{^_^}> [nixpkgs] @ryantm reopened pull request #82030 → tiny: 0.5.1 -> 0.5.2-test → https://git.io/JvrKf
<energizer> yes
<{^_^}> [nixpkgs] @ryantm reopened pull request #78533 → tesseract: 3.05.00 -> 4.1.1 → https://git.io/JvqHx
<{^_^}> [nixpkgs] @ryantm reopened pull request #89046 → tilda: 1.5.1 -> 1.5.2 → https://git.io/JfrSc
<{^_^}> [nixpkgs] @ryantm reopened pull request #84790 → tessera: 0.10.2 -> 0.10.4 → https://git.io/JvpTo
<{^_^}> [nixpkgs] @ryantm reopened pull request #89872 → terragrunt: 0.23.14 -> 0.23.23 → https://git.io/Jfykx
<energizer> quinn: what do you see in lsusb?
<{^_^}> [nixpkgs] @ryantm reopened pull request #89031 → teamviewer: 15.2.2756 -> 15.5.6 → https://git.io/JfrKb
<{^_^}> [nixpkgs] @ryantm reopened pull request #78845 → tbb: 2019_U9 -> 2020_U1 → https://git.io/JvOgq
<{^_^}> [nixpkgs] @ryantm reopened pull request #79866 → symengine: 0.5.0 -> 0.6.0 → https://git.io/JvCXi
<{^_^}> [nixpkgs] @ryantm reopened pull request #88763 → pantheon.switchboard-plug-power: 2.4.1 -> 2.4.2 → https://git.io/JfaQ3
<energizer> quinn: maybe i'm underestimating how far in it should go
<{^_^}> [nixpkgs] @ryantm reopened pull request #79472 → super-productivity: 1.10.45 -> 3.1.4 → https://git.io/JvnC9
<{^_^}> [nixpkgs] @ryantm reopened pull request #88768 → sudo: 1.8.31p1 -> 1.9.0 → https://git.io/Jfa7N
<quinn> endocrimes: i mean if you are able to sink the screw/peg in your should be fine (since the lengths are standardized)
<{^_^}> [nixpkgs] @ryantm reopened pull request #89868 → star: 2.7.3a -> 2.7.4a → https://git.io/JfyTb
<{^_^}> [nixpkgs] @ryantm reopened pull request #87505 → spirv-headers: 1.5.1 -> 1.5.3 → https://git.io/JfWwP
<energizer> i can but it's unreasonably difficult
<{^_^}> [nixpkgs] @ryantm reopened pull request #89867 → sniffglue: 0.10.1 -> 0.11.1 → https://git.io/JfyTV
<quinn> i don't really understand what that means
<{^_^}> [nixpkgs] @ryantm reopened pull request #87488 → snd: 20.2 -> 20.3 → https://git.io/JfWEJ
<{^_^}> [nixpkgs] @ryantm reopened pull request #89864 → sickgear: 0.21.33 -> 0.21.36 → https://git.io/JfyU6
<{^_^}> [nixpkgs] @ryantm reopened pull request #89863 → shards: 0.10.0 -> 0.11.0 → https://git.io/JfyU2
<{^_^}> [nixpkgs] @ryantm reopened pull request #84786 → shaarli-material: 0.10.4 -> 0.11.0 → https://git.io/JvpJy
<energizer> quinn: do you have the same device i linked?
<{^_^}> [nixpkgs] @ryantm reopened pull request #87487 → samplv1: 0.9.13 -> 0.9.14 → https://git.io/JfW0c
<quinn> energizer: no, but a similar one
<energizer> quinn: would you mind taking a picture of the fit?
<{^_^}> [nixpkgs] @ryantm reopened pull request #89015 → rust-bindgen: 0.53.2 -> 0.54.0 → https://git.io/Jfrl1
<{^_^}> [nixpkgs] @ryantm reopened pull request #89862 → saml2aws: 2.25.0 -> 2.26.1 → https://git.io/JfyUq
<{^_^}> [nixpkgs] @danielfullmer opened pull request #90280 → EFI improvements for qemu-vm.nix → https://git.io/JfQ2q
<{^_^}> [nixpkgs] @ryantm reopened pull request #84315 → rgbds: 0.3.10 -> 0.4.0 → https://git.io/JvNkD
<{^_^}> [nixpkgs] @ryantm reopened pull request #89677 → rambox-pro: 1.3.1 -> 1.3.2 → https://git.io/JfMJ7
b has quit [Quit: Lost terminal]
<{^_^}> [nixpkgs] @ryantm reopened pull request #89676 → qtstyleplugin-kvantum-qt4: 0.15.2 -> 0.15.3 → https://git.io/JfMJn
<quinn> energizer: sorry mate, it's my boot drive and i don't want to spend a bunch of time rebooting and fscking if i jostle it
<{^_^}> [nixpkgs] @ryantm reopened pull request #84972 → qpdf: 9.1.1 -> 10.0.0 → https://git.io/Jvhuy
<{^_^}> [nixpkgs] @ryantm reopened pull request #86725 → qalculate-gtk: 3.8.0a -> 3.9.0 → https://git.io/Jfs19
<quinn> energizer: if your peg currently isn't in how about you show me a pic of yours and i will take a gander. and whisper it to me i think, this isn't really nixos related
iyzsong- has quit [Quit: ZNC 1.8.0 - https://znc.in]
<{^_^}> [nixpkgs] @ryantm reopened pull request #80971 → python37Packages.telethon: 1.10.10 -> 1.11.2 → https://git.io/JvE0f
<{^_^}> [nixpkgs] @ryantm closed pull request #80971 → python37Packages.telethon: 1.10.10 -> 1.11.2 → https://git.io/JvE0f
<{^_^}> [nixpkgs] @ryantm reopened pull request #74615 → q-text-as-data: 1.7.4 -> 2.0.0 → https://git.io/Je1ZO
<{^_^}> [nixpkgs] @ryantm reopened pull request #88684 → python37Packages.loguru: 0.4.1 -> 0.5.0 → https://git.io/Jfany
<{^_^}> [nixpkgs] @ryantm reopened pull request #87380 → python37Packages.logilab_common: 1.5.2 -> 1.6.1 → https://git.io/JfCiX
<{^_^}> [nixpkgs] @ryantm reopened pull request #90118 → python37Packages.cmd2: 1.0.2 -> 1.1.0 → https://git.io/Jf9eP
<{^_^}> [nixpkgs] @ryantm reopened pull request #87289 → python37Packages.aiofiles: 0.4.0 -> 0.5.0 → https://git.io/JfcNc
<{^_^}> [nixpkgs] @ryantm closed pull request #87289 → python37Packages.aiofiles: 0.4.0 -> 0.5.0 → https://git.io/JfcNc
<kayg04> does anyone else use docker here? I run watchtower which needs access to /var/run/docker.sock and after a few hours of it running, somehow it loses access to the socket and results in: "Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?"
<kayg04> happens with every docker container needing access to the docker socket. and only happens on nixos. :(
<euank> kayg04: does it happen when you specifically do something, like run a nixos-rebuild switch or restart dockerd?
<energizer> quinn: PMed you
Orbstheorem has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @ryantm reopened pull request #90055 → libwhereami: 0.3.1 -> 0.5.0 → https://git.io/JfS2d
<{^_^}> [nixpkgs] @ryantm reopened pull request #89641 → lite: 1.05 -> 1.06 → https://git.io/Jf1b0
<{^_^}> [nixpkgs] @ryantm reopened pull request #90043 → lyx: 2.3.4.3 -> 2.3.5.1 → https://git.io/JfS4A
<{^_^}> [nixpkgs] @ryantm reopened pull request #90049 → matterbridge: 1.17.1 -> 1.17.5 → https://git.io/JfSuO
<{^_^}> [nixpkgs] @ryantm reopened pull request #90054 → mcelog: 169 -> 170 → https://git.io/JfS2K
<{^_^}> [nixpkgs] @ryantm reopened pull request #89643 → micronaut: 1.3.5 -> 1.3.6 → https://git.io/Jf1Ng
<{^_^}> [nixpkgs] @ryantm reopened pull request #86688 → memtier-benchmark: 1.2.17 -> 1.3.0 → https://git.io/JfsrS
<kayg04> euank: I think it might be because of `nixos.autoUpgrade` but that's a wild guess
marusich has joined #nixos
orivej has joined #nixos
<{^_^}> [nixpkgs] @ryantm reopened pull request #89644 → mill: 0.7.1 -> 0.7.3 → https://git.io/Jf1N7
<euank> Yeah, that was going to be my guess. to double-check, you're running a docker container with `-v /var/run/docker.sock:/var/run/docker.sock`, right?
<kayg04> yes, the `docker-compose `version of that
<kayg04> volumes:
<kayg04> - "/var/run/docker.sock:/var/run/docker.sock"
<euank> When docker restarts, it will, I think, replace docker.sock with a new one. However, bindmounts won't pick up a new file even if it's atomically updated because, well, the original file is what got bindmounted. The new one's a different file
<kayg04> restarting the container, in this case: watchtower, fixes it btw
<{^_^}> [nixpkgs] @ryantm reopened pull request #89849 → minio: 2020-05-01T22-19-14Z -> 2020-06-03T22-13-49Z → https://git.io/JfDpT
<euank> You can verify that by doing something like `ls -i /var/run/docker.sock` or `stat /var/run/docker.sock` to see the inode, and then observe the inode inside the docker container is different
<kayg04> oh, yeah, wait
<kayg04> nice idea
<euank> So, what's the solution? bindmount a directory containing the docker socket instead. dockerd doesn't replace the directory, just the file
<{^_^}> [nixpkgs] @ryantm reopened pull request #89851 → minio-client: 2020-04-25T00-43-23Z -> 2020-05-28T23-43-36Z → https://git.io/JfDp4
<euank> so either bindmount all of /var/run, or create /var/run/docker/docker.sock, bindmount that directory, and configure everything to use that path instead
<euank> then when the socket file is updated by dockerd restarting, the bindmount will reflect that change
<euank> Right now, you're ending up with a stale socket that no docker daemon is listening on anymore
<euank> One alternative solution: use systemd depenedencies to cause the containers bindmounting docker.sock to restart any time that file changes
<{^_^}> [nixpkgs] @ryantm reopened pull request #89853 → moolticute: 0.43.16 -> 0.43.19 → https://git.io/JfDp9
<{^_^}> [nixpkgs] @ryantm reopened pull request #90063 → mopidy-mpris: 3.0.1 -> 3.0.2 → https://git.io/JfSoB
<kayg04> both the solutions sound nicer but sadly I can't verify if that is indeed the problem since Watchtower doesn't have a shelli inside the container
<euank> you still can :)
somerand0m[m]1 has left #nixos ["User left"]
<{^_^}> [nixpkgs] @ryantm reopened pull request #78517 → mopidy-musicbox-webclient: 2.3.0 -> 2.4.0 → https://git.io/JvqDW
<euank> find the pid of the watchtower process
<euank> and then check `/proc/$pid/root/var/run/docker.sock`
<kayg04> `docker exec -it Watchtower stat /var/run/docker.sock` doesn't work either
<kayg04> oh, damn
<kayg04> TIL
<{^_^}> [nixpkgs] @ryantm reopened pull request #87020 → mopidy-soundcloud: 2.1.0 -> 3.0.0 → https://git.io/JfZG4
<euank> If `/var/run` is a symlink in its rootfs, you'll have to use `/proc/$pid/root/run` instead fwiw since symlinks end up pointing to the wrong place
<{^_^}> [nixpkgs] @ryantm reopened pull request #76457 → wings: 2.2.4 -> 2.2.5 → https://git.io/Jebe6
iyzsong has joined #nixos
<kayg04> you were right, mate. Inode: 202600671 -- on the container. Inode: 258794835 -- on the host.
<kayg04> thanks a ton!
<euank> Good luck resolving it; fwiw I've run into this before on other distros too, so it's not a nixos specific problem
<euank> Just something's causing that file to be recreated more often, presumably autoupdates
<kayg04> oh...
<kayg04> well I've tried Debian before where this didn't happen so I thought it might be related to NixOS
<kayg04> do you use `docker.containers` instead of docker-compose btw?
<{^_^}> [nixpkgs] @ryantm reopened pull request #82430 → mtprotoproxy: 1.0.9 -> 1.1.0 → https://git.io/Jv6V4
<euank> Right now i'm not using either of those
orivej has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @ryantm reopened pull request #90074 → munin: 2.0.61 -> 2.0.63 → https://git.io/JfS1L
<kayg04> I see. I've been meaning to switch to the former.
orivej has joined #nixos
<euank> Mine are a combination of once-off stuff and k3s-managed containers, but if I hadn't already sunk time into understanding k8s, I'd probably be using docker.containers
<kayg04> how many machines do you have?
<{^_^}> [nixpkgs] @ryantm reopened pull request #80624 → mygui: 3.2.2 -> 3.4.0 → https://git.io/JvBdv
<euank> 3 in a dc for my personal hobbyist setup
<kayg04> very nice. do you use nixOS on all of them? do you have your k8s config online?
<kayg04> been meaning to learn k8s but I've only one machine
<euank> nope and nope. I'm still working on migrating the gentoo one and coreos one to nixos. One of them's nixos already though :)
<{^_^}> [nixpkgs] @ryantm reopened pull request #78234 → mwic: 0.7.7 -> 0.7.8 → https://git.io/JvL47
<{^_^}> [nixpkgs] @ryantm reopened pull request #78519 → namecoin: nc0.15.99-name-tab-beta2 -> nc0.19.0.1 → https://git.io/JvqDw
<{^_^}> [nixpkgs] @ryantm closed pull request #78519 → namecoin: nc0.15.99-name-tab-beta2 -> nc0.19.0.1 → https://git.io/JvqDw
<kayg04> ah, let me know (tag me) if you decide to host your config somewhere? would really help. do you think it's worthwhile to run k8s on a single machine?
<{^_^}> [nixpkgs] @ryantm reopened pull request #69692 → netcdfcxx4: 4.3.0 -> 4.3.1 → https://git.io/JeZWv
<euank> I think this isn't really #nixos related anymore, so if you wanna keep chatting, we should probably switch channels or move it to pm. I'm happy to talk more if you want to, just don't want to get too off-topic here
<{^_^}> [nixpkgs] @ryantm reopened pull request #86700 → nlopt: 2.6.1 -> 2.6.2 → https://git.io/JfsiE
<kayg04> sure thing, I'll pm you
<{^_^}> [nixpkgs] @ryantm reopened pull request #90080 → netsurf.buildsystem: 1.8 -> 1.9 → https://git.io/JfSMy
<cole-h> ryantm++ Thanks for diligently opening the PRs back up :)
<{^_^}> ryantm's karma got increased to 14
<{^_^}> [nixpkgs] @ryantm reopened pull request #69725 → ocamlPackages.topkg: 1.0.0 -> 1.0.1 → https://git.io/JeZRN
<quinn> cole-h: what happened to all the PRs?
<cole-h> Bot mistakenly closed them all
<quinn> oh no
<{^_^}> [nixpkgs] @ryantm reopened pull request #87051 → ocamlPackages.ctypes: 0.16.0 -> 0.17.1 → https://git.io/JfZ4T
<{^_^}> [nixpkgs] @ryantm reopened pull request #88628 → ocamlPackages.ocaml_extlib: 1.7.6 -> 1.7.7 → https://git.io/Jf2dl
<cole-h> ry*ntm claims it's been fixed now, though. Hopefully it doesn't happen again ;)
<{^_^}> [nixpkgs] @ryantm reopened pull request #88626 → ocamlPackages.integers: 0.3.0 -> 0.4.0 → https://git.io/Jf2dT
<{^_^}> [nixpkgs] @ryantm reopened pull request #88930 → ocamlPackages.ppx_tools_versioned: 5.3.0 -> 5.4.0 → https://git.io/Jfw0I
<quinn> cole-h: yeah, that's awful. sucks that it can't just be automated
<{^_^}> [nixpkgs] @ryantm reopened pull request #85111 → ocamlPackages.stdlib-shims: 0.1.0 -> 0.2.0 → https://git.io/Jvjgz
<{^_^}> [nixpkgs] @ryantm reopened pull request #90073 → ocamlPackages.ppx_deriving: 4.4.1 -> 4.5 → https://git.io/JfSXD
<{^_^}> [nixpkgs] @ryantm reopened pull request #89653 → omnisharp-roslyn: 1.35.1 -> 1.35.2 → https://git.io/Jf1pM
<{^_^}> [nixpkgs] @ryantm reopened pull request #86707 → onedrive: 2.3.13 -> 2.4.1 → https://git.io/JfsP3
<{^_^}> [nixpkgs] @ryantm reopened pull request #88647 → opencc: 1.0.6 -> 1.1.0 → https://git.io/JfaTl
<cole-h> Sucks what can't be automated, the reopening?
<cole-h> I'm sure it could be. But it happens so infrequently, what's the point of putting in the effort for something that will only see use maybe twice a year?
<{^_^}> [nixpkgs] @ryantm reopened pull request #70668 → opencascade-occt: 7.3.0p3 -> 7.4.0 → https://git.io/JeCj6
<cole-h> Maybe if it happens again, it might be worth it to safeguard the future, but for now it's fine. At least, ry*ntm hasn't complained about having to do this :P
<{^_^}> [nixpkgs] @ryantm reopened pull request #88739 → python27Packages.traitsui: 6.1.3 -> 7.0.0 → https://git.io/JfaPC
<{^_^}> [nixpkgs] @ryantm reopened pull request #87425 → python27Packages.rope: 0.16.0 -> 0.17.0 → https://git.io/JfWel
<quinn> cole-h: you're probably right. so long as it's fixed it's not worth programming something to deal with it in the future
<{^_^}> [nixpkgs] @ryantm reopened pull request #87399 → python27Packages.portalocker: 1.5.2 -> 1.7.0 → https://git.io/JfC7a
<{^_^}> [nixpkgs] @ryantm reopened pull request #87396 → python27Packages.nine: 1.0.0 -> 1.1.0 → https://git.io/JfCQA
Orbstheorem has joined #nixos
<{^_^}> [nixpkgs] @ryantm reopened pull request #87347 → python27Packages.kubernetes: 10.0.1 -> 11.0.0 → https://git.io/JfC0D
<{^_^}> [nixpkgs] @ryantm reopened pull request #87320 → python27Packages.ijson: 2.6.1 -> 3.0.3 → https://git.io/JfCsw
<{^_^}> [nixpkgs] @ryantm reopened pull request #87315 → python27Packages.dropbox: 9.5.0 -> 10.1.1 → https://git.io/JfCOK
<{^_^}> [nixpkgs] @ryantm reopened pull request #87293 → python27Packages.cma: 2.7.0 -> 3.0.3 → https://git.io/Jfcxv
Rusty1 has quit [Quit: WeeChat 2.3]
<{^_^}> [nixpkgs] @ryantm reopened pull request #87294 → python27Packages.clikit: 0.4.3 -> 0.6.0 → https://git.io/JfcxW
<{^_^}> [nixpkgs] @ryantm reopened pull request #87327 → python27Packages.flask_login: 0.4.1 -> 0.5.0 → https://git.io/JfCCR
<{^_^}> [nixpkgs] @ryantm reopened pull request #88672 → python27Packages.flask_assets: 0.12 -> 2.0 → https://git.io/JfaOC
<{^_^}> [nixpkgs] @ryantm reopened pull request #90120 → pythia: 8.244 -> 8.302 → https://git.io/Jf9vS
<{^_^}> [nixpkgs] @ryantm reopened pull request #69747 → pmd: 6.17.0 -> 6.18.0 → https://git.io/JeZE5
<{^_^}> [nixpkgs] @ryantm reopened pull request #90109 → plantuml: 1.2020.10 -> 1.2020.12 → https://git.io/JfSx5
marusich has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @ryantm reopened pull request #90110 → pkgconf-unwrapped: 1.7.0 -> 1.7.3 → https://git.io/JfSpq
palo1 has joined #nixos
<{^_^}> [nixpkgs] @ryantm reopened pull request #89858 → pistol: 0.1.1 -> 0.1.2 → https://git.io/JfyvG
palo has quit [Ping timeout: 246 seconds]
palo1 is now known as palo
<{^_^}> [nixpkgs] @ryantm reopened pull request #69752 → persepolis: 3.1.0 -> 3.2.0 → https://git.io/JeZu8
<{^_^}> [nixpkgs] @ryantm reopened pull request #90092 → orca: 3.36.2 -> 3.36.3 → https://git.io/JfSQL
marusich has joined #nixos
<{^_^}> [nixpkgs] @ryantm reopened pull request #90086 → osinfo-db: 20200515 -> 20200529 → https://git.io/JfSSr
<{^_^}> [nixpkgs] @ryantm reopened pull request #90088 → pciutils: 3.6.4 -> 3.7.0 → https://git.io/JfS9K
<{^_^}> [nixpkgs] @ryantm reopened pull request #87049 → opera: 67.0.3575.31 -> 68.0.3618.63 → https://git.io/JfZ8T
orivej has quit [Ping timeout: 256 seconds]
orivej_ has joined #nixos
<{^_^}> [nixpkgs] @ryantm reopened pull request #90091 → openwsman: 2.6.11 -> 2.7.0 → https://git.io/JfSH1
<{^_^}> [nixpkgs] @ryantm reopened pull request #90089 → openfortivpn: 1.14.0 -> 1.14.1 → https://git.io/JfS9A
<{^_^}> [nixpkgs] @ryantm reopened pull request #71735 → opentracing-cpp: 1.5.1 -> 1.6.0 → https://git.io/JeRhh
drakonis has quit [Quit: WeeChat 2.8]
growpotkin has quit [Quit: ZNC 1.8.0 - https://znc.in]
<{^_^}> [nixpkgs] @ryantm reopened pull request #88200 → openexr: 2.4.1 -> 2.5.1 → https://git.io/JfzCR
domogled has joined #nixos
<{^_^}> [nixpkgs] @ryantm reopened pull request #90104 → opendht: 2.1.1 -> 2.1.3 → https://git.io/JfSxJ
arahael2 has joined #nixos
arahael1 has quit [Ping timeout: 258 seconds]
zebrag has quit [Quit: Konversation terminated!]
<bqv> This again?
<cole-h> Yep.
<{^_^}> [nixpkgs] @purcell opened pull request #90281 → fast-downward: also build on darwin → https://git.io/JfQaI
<ryantm> Done.
<cole-h> Phew.
<cole-h> I was just about to ask if I could help :P
<ryantm> Thanks; it would have gone faster but I was doing it while watching a movie :) Sorry again.
<cole-h> Hehe. No problem. Fingers crossed it doesn't happen again.
<cole-h> If it does and I'm around, we could trade off: you could restore the branches (since you need the write bit to do that, which I don't have), and I could re-open. Might go a little faster if you only have to click 1 button on each PR.
<cole-h> Just next tab -> click -> close tab, repeat ad infinitum, no need to move your mouse those few extra pixels... lol
<ryantm> It could happen again if someone deploys to the server without updating the NixOS configuration or if they rollback to the bad generation.
<ryantm> The button is always in a different spot because of comments and other notes, I think.
<cole-h> Oh, that's true
<cole-h> There goes that idea
<ryantm> Maybe the API supports reopening PRs?
<cole-h> 99% sure it does -- now if it can restore deleted branches is the other question.
orivej_ has quit [Quit: No Ping reply in 180 seconds.]
<cole-h> No way in the v3 API to restore it appears
orivej has joined #nixos
<{^_^}> [nixpkgs] @fps opened pull request #90282 → Xonotic fix 2 → https://git.io/JfQac
<fps> hmm, yes, i did
<cole-h> JK doesn't even look like you can reopen... maybe it's just a simple "open" request with the same information?
<euank> PATCH /repo/.../pulls/id state=open should do it I think
<euank> Maybe it's possible you can restore a branch by doing a POST /repos/../git/refs/ref against the fork for the reference in the PR's metadata; no clue if that actually would work though
cjpbirkbeck has joined #nixos
zupo has joined #nixos
FRidh has joined #nixos
orivej has quit [Ping timeout: 240 seconds]
cole-h has quit [Quit: Goodbye]
orivej has joined #nixos
<{^_^}> [nixpkgs] @FRidh pushed to staging « python: flake8: 3.8.2 -> 3.8.3 »: https://git.io/JfQa1
<{^_^}> [nixpkgs] @FRidh closed pull request #90256 → pythonPackages.flake8: 3.7.9 -> 3.8.3 → https://git.io/JfQOa
<{^_^}> [nixpkgs] @chrbauer opened pull request #90283 → python3Packages.jsonpickle: 1.2 -> 1.3 → https://git.io/JfQa9
user_0x58 has joined #nixos
<{^_^}> [nixpkgs] @FRidh closed pull request #90283 → python3Packages.jsonpickle: 1.2 -> 1.3 → https://git.io/JfQa9
<{^_^}> [nixpkgs] @FRidh merged pull request #90159 → argo: 2.6.1 -> 2.8.1 → https://git.io/Jf9Dz
<{^_^}> [nixpkgs] @FRidh pushed commit from @groodt to master « argo: 2.6.1 -> 2.8.1 »: https://git.io/JfQaQ
<{^_^}> [nixpkgs] @FRidh merged pull request #90196 → diffoscope: 146 -> 147 → https://git.io/JfHzq
<{^_^}> [nixpkgs] @FRidh pushed 2 commits to master: https://git.io/JfQa5
<{^_^}> [nixpkgs] @FRidh merged pull request #90237 → drawio: 13.0.3 -> 13.2.2 → https://git.io/JfHhH
<{^_^}> [nixpkgs] @FRidh pushed commit from @danieldk to master « drawio: 13.0.3 -> 13.2.2 »: https://git.io/JfQad
<{^_^}> [nixpkgs] @FRidh merged pull request #90274 → nix-universal-prefetch: 0.2.0 -> 0.3.0 → https://git.io/JfQlK
<{^_^}> [nixpkgs] @FRidh pushed commit from @samueldr to master « nix-universal-prefetch: 0.2.0 -> 0.3.0 »: https://git.io/JfQaN
<{^_^}> [nixpkgs] @FRidh merged pull request #89997 → dragonfly-reverb: 3.0.0 -> 3.1.1 → https://git.io/JfyNQ
<{^_^}> [nixpkgs] @FRidh pushed commit from @magnetophon to master « dragonfly-reverb: 3.0.0 -> 3.1.1 »: https://git.io/JfQax
<{^_^}> [nixpkgs] @FRidh merged pull request #90016 → flashplayer: 32.0.0.371 -> 32.0.0.387 [Critical security fixes] → https://git.io/JfSL1
<{^_^}> [nixpkgs] @FRidh pushed commit from @taku0 to master « flashplayer: 32.0.0.371 -> 32.0.0.387 »: https://git.io/JfQap
fragamus has quit [Quit: Connection closed]
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos
<{^_^}> [nixpkgs] @FRidh merged pull request #89063 → findutils: fix undeclared xargs dep on echo → https://git.io/Jfrbr
<{^_^}> [nixpkgs] @FRidh pushed commit from @abathur to staging « findutils: fix undeclared xargs dep on echo »: https://git.io/JfQVI
dramforever has quit [Remote host closed the connection]
dramforever has joined #nixos
<{^_^}> [nixpkgs] @FRidh merged pull request #85251 → libaio: 0.3.110 -> 0.3.111 & update source url from fedorahosted to pagure → https://git.io/JfepV
<{^_^}> [nixpkgs] @FRidh pushed commit from @chkno to staging « libaio: 0.3.110 -> 0.3.111 & update source url from fedorahosted to pagure »: https://git.io/JfQVY
alexherbo2 has joined #nixos
Heirlung has quit [Ping timeout: 260 seconds]
Heirlung has joined #nixos
<{^_^}> Channel nixpkgs-20.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/db31e48c5c8 (from 35 hours ago, history: https://channels.nix.gsc.io/nixpkgs-20.03-darwin)
kreyren has quit [Remote host closed the connection]
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos
<{^_^}> [nixpkgs] @vcunat opened pull request #90284 → autogen: try fixing on darwin → https://git.io/JfQV2
<{^_^}> [nixpkgs] @Mic92 merged pull request #90278 → alacritty: install example config → https://git.io/JfQz2
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/JfQVw
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cyraxjoe has quit [Ping timeout: 246 seconds]
cyraxjoe has joined #nixos
MtotheM has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @euank opened pull request #90286 → steam: switch to correct runtime tarball → https://git.io/JfQVd
cyraxjoe has quit [Ping timeout: 265 seconds]
cyraxjoe has joined #nixos
orivej has quit [Ping timeout: 264 seconds]
davidv7 has quit [Ping timeout: 246 seconds]
orivej has joined #nixos
markus1199 has quit [Ping timeout: 256 seconds]
dermetfan has joined #nixos
kleisli has quit [Ping timeout: 256 seconds]
dkjii has joined #nixos
markus1189 has joined #nixos
<dkjii> hey folks, so I installed nix-diff and figured out why doing nix-build -E on the same derivation as when I nix-env -iE rebuilds the whole toolchain, it looks like it's ignoring but stdenv adapters which add my compile flags, any idea why?
<dkjii> here's my nix expression, I remove the first line to use nix-build -E
orivej has quit [Ping timeout: 260 seconds]
orivej has joined #nixos
<{^_^}> [nixpkgs] @rtldg opened pull request #90287 → discord: add libuuid to nativeBuildInputs → https://git.io/JfQw0
Negher has quit [Quit: Leaving ...]
<euank> I was pretty sure it was `config = ` not `configuration =`
<euank> Oh, nixpkgs/nixos, I see
<dkjii> I use nix-build --run-env -E "$(cat file)"
<dkjii> hmm on the wiki it's configuration at least for this
<dkjii> and the flags seem good for my existing package
Negher has joined #nixos
<dkjii> what,s the difference between nixpkgs and nixpkgs/nixos?
<euank> I'm just used to doing `import <nixpkgs> { overlays = [ ..... ]; config = { ... }; }`
<{^_^}> [nixpkgs] @vbgl merged pull request #89741 → coqPackages.flocq: 3.2.0 → 3.3.1 → https://git.io/JfMDN
<{^_^}> [nixpkgs] @vbgl pushed to master « coqPackages.flocq: 3.2.0 → 3.3.1 »: https://git.io/JfQww
kreyren has joined #nixos
<euank> nixos is intended for use with configuration.nix / nixos modules / etc
<euank> While nixpkgs is packages, libraries, and iiuc meant for non-nixos-specific stuff
<eeva> (nixpkgs also contains nixos' code)
<{^_^}> [nixpkgs] @Lassulus merged pull request #82043 → sonic-pi: 3.1.0 -> 3.2.0 → https://git.io/Jvr9r
<{^_^}> [nixpkgs] @Lassulus pushed 2 commits to master: https://git.io/JfQwK
<euank> Yeah, that too :)
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos
zupo has joined #nixos
<euank> dkjii: is there a reason you're using that vs `import <nixpkgs> { overlays = .... }; [ pkgs.sharutils ]`?
<euank> I don't know if that'll make a difference, but the <nixpkgs/nixos> bit does seem odd to me
<Izorkin> Mic92: please merge PR #87833 :)
<{^_^}> https://github.com/NixOS/nixpkgs/pull/87833 (by Izorkin, 4 weeks ago, open): nixos/mysql: enable sandbox mode
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/0a146054bdf (from 76 minutes ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<sphalerite> dkjii: right, that's a bit of an odd expression I have to say! As euank says, you're importing nixos, not nixpkgs; and then you're bringing the package nix (containing the nix package manager) into scope, rather than the nixpkgs package set where you'll actually find what you're looking for
justanotheruser has joined #nixos
<sphalerite> dkjii: try with import <nixpkgs> {overlays = …;}; sharutils
<euank> Also, `nix-build --run-env` I think is deprecated in favor of nix-shell? At least I haven't used `--run-env` before
asheshambasta has joined #nixos
justan0theruser has quit [Ping timeout: 272 seconds]
<sphalerite> Or equivalently, because use of `with` can be confusing: (import <nixpkgs> {overlays = …;}).sharutils
<{^_^}> [nixpkgs] @vcunat pushed 2 commits to staging: https://git.io/JfQwh
<sphalerite> dkjii: and then to get into a shell with that sharutils in the PATH, you can use `nix run -f file.nix`
<{^_^}> [nixpkgs] @vcunat merged pull request #90088 → pciutils: 3.6.4 -> 3.7.0 → https://git.io/JfS9K
<dkjii> euank: sphalerite: i was following the nixos wiki part to "install from other distro"
<{^_^}> [nixpkgs] @delroth opened pull request #90288 → mono: don't propagate a dependency to glib-dev (15% closure size saving) → https://git.io/JfQwj
<sphalerite> dkjii: you want to install NixOS? Or just install packages on your current distro using nix?
<dkjii> i'll try it out using nixpkgs, hopefully it doesnt rebuild the whole thing because of a changei n stdenv
<euank> Ah, cool. If you happen to have a link to that page handy, it sounds like it might need some polish
<dkjii> sphalerite: install packagess in order to install nixos from that distro
<sphalerite> dkjii: if you want to install nixos, I strongly recommend using an installer image if you're new to it
<sphalerite> dkjii: and yes, it will rebuild everything if you change stdenv
<dkjii> sphalerite: https://nixos.org/nixos/manual/ CTRL+F "nix-env -iE "_: with im"
<ohhaimark[m]> how do I use the alsa-ucm-conf package?
Chiliparrot has joined #nixos
mallox has joined #nixos
NeoCron has joined #nixos
<sphalerite> ohhaimark[m]: using the `alsaucm` command line tool from alsa-utils
<sphalerite> dkjii: ok, that's odd. In any case, especially if you're just starting off with nixos, I'd recommend (a) using an installer image and (b) not trying to enable this sort of optimisation, because it will make everything take at least 10× longer
<wedens[m]> I have `somepkg = (import (self.fetchFromGitHub {....}) {});` in an overlay and the archive is redownloaded on every build. I have tarball-ttl set to 1 week. what's happening?
<euank> For just installing it, I'd definitely skip the optimization bit so you can use the binary cache.
<dkjii> I'm just evaluating nix right now not particularly just trying to use it
<dkjii> seeing if it's worth switching to
<dkjii> I wanna get to see how it works first
<euank> If you feel like rebuilding the whole distro after you're done installing, you can edit it, `rebuild switch`, and it'll rebuild everything then quite cleanly, but having the binary cache is quite nice.
<energizer> hello i think i'm hitting a nix/nixos bug, nixos-install -> error: while setting up the build environment: unable to bind mount '/path/to/store/...-alsoft.conf.drv.chroot': Permission denied
<{^_^}> #67465 (by matthewbauer, 41 weeks ago, open): Unable to bind mount on certain hard drives
<{^_^}> [nixpkgs] @r-ryantm opened pull request #90289 → adoptopenjdk-icedtea-web: 1.8.3 -> 1.8.4 → https://git.io/JfQrU
<sphalerite> wedens[m]: tarball-ttl should be unrelated, maybe you have automatic garbage collection on?
<sphalerite> dkjii: then maybe play around in a VM or in the installer image
<wedens[m]> sphalerite: why is it considered "garbage" then?
<dramforever> dkjii: Just Nix the package manager, or NixOS with the configuration system (so to speak)?
<dkjii> dramforever: looking at nix in particular, i like the concept
<dkjii> sphalerite: I'm on a VM, but not using nixos
<dramforever> You can install Nix on other distros, check https://nixos.org/nix/manual/
<dkjii> I have nix installed but I'm looking at how to install nixos too just to see how having 1 configuration.nix works out
<dramforever> Then maybe make another VM I guess?
<dkjii> dramforever: from what ive seen you can bootstrap nixos installs from just nix
<dkjii> but anyway that seems to work
<dramforever> IIRC 'install NixOS from other distro' method wipes whatever other distro is there
kleisli has joined #nixos
<dkjii> just trying to figure out a bit more how nix config works with nix-env and stuff
<dramforever> It doesn't :(
<dkjii> ill check it out, it seems 2 me you can specify a block device/mount point for another disk no?
orivej has quit [Quit: No Ping reply in 180 seconds.]
<dramforever> as you already saw it requires an arcane way of getting packages out of a nixos configuration.nix
<sphalerite> dramforever: no, there are two ways, it can also install to another partition
<dramforever> Oh
orivej has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #90290 → adwaita-qt: 1.1.3 -> 1.1.4 → https://git.io/JfQrg
<dramforever> Yeah that's also possible
<dramforever> It's basically what's happening in the installer image isn't it
<dramforever> But dual booting in a VM... I just don't think it's worth it...
<dkjii> dramforever: dual booting vms is pretty easy if you use libvirt, you can setup the boot order from virt-manager
<dramforever> dkjii: If your goal is to try out all the interesting stuff then by all means go ahead
<ohhaimark[m]> <sphalerite "ohhaimark: using the `alsaucm` c"> When it looks for configuration files with `listcards` then it looks in the /nix/store/*alsa-lib*. How do I get it to look in /nix/store/*alsa-ucm-conf*/?
<dkjii> but yeah i'm just looking at how nix is with and without nixos
<ohhaimark[m]> * When it looks for configuration files with `listcards` then it looks in the `/nix/store/*alsa-lib*`. How do I get it to look in `/nix/store/*alsa-ucm-conf*/`?
<ohhaimark[m]> > <@freenode_sphalerite:matrix.org> ohhaimark: using the `alsaucm` command line tool from alsa-utils
<{^_^}> error: syntax error, unexpected '<', at (string):316:1
<dramforever> dkjii: The easiest way IMHO is still going to be two VMs
<dkjii> i'm using gentoo's portage right now which is very good, but nix looks promising
<dramforever> But now it's apparent that you aren't here for easy stuff, right?
<dkjii> ahah true
<dramforever> Ahh Gentoo
<dramforever> that would explains\ it
<{^_^}> [nixpkgs] @vbgl opened pull request #90291 → coqPackages.coquelicot: 3.0.3 → 3.1.0 → https://git.io/JfQry
<wedens[m]> ok. I guess my problem is https://github.com/NixOS/nix/issues/719
<{^_^}> nix#719 (by wizeman, 4 years ago, open): Nix GC collects derivations used for IFD
mananamenos has joined #nixos
<wedens[m]> but it also happens with `x = builtins.readFile (pkgs.fetchFromGitHub ...)` which is not IFD
<{^_^}> [nixpkgs] @r-ryantm opened pull request #90292 → amass: 3.6.2 -> 3.7.2 → https://git.io/JfQrb
<wedens[m]> I should probably set `gc-keep-outputs` and `gc-keep-derivations` to true, but I don't really understand what they do
m0rphism has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #90293 → amazon-ecr-credential-helper: 0.3.0 -> 0.4.0 → https://git.io/JfQok
<{^_^}> [nixpkgs] @mweinelt opened pull request #90294 → snapcast: v0.15.0 -> v0.20.0 → https://git.io/JfQoI
cosimone has joined #nixos
<wedens[m]> if I set `gc-keep-outputs = true`, how do I GC them when I want to?
cjpbirkbeck has quit [Quit: cjpbirkbeck]
<Mic92> Izorkin: ok
<energizer> can anyone recommend an nvme m.2 ssd that's supported by nixos?
mystfox has quit [Max SendQ exceeded]
mystfox has joined #nixos
orivej has quit [Ping timeout: 260 seconds]
<wedens[m]> there is nothing nixos specific about nvme support and linux kernel should support most of them
<{^_^}> [nixpkgs] @r-ryantm opened pull request #90295 → aminal: 0.8.6 -> 0.9.0 → https://git.io/JfQoc
<energizer> you'd think that but there's some evidence otherwise https://github.com/NixOS/nixpkgs/issues/67465
<{^_^}> #67465 (by matthewbauer, 41 weeks ago, open): Unable to bind mount on certain hard drives
orivej has joined #nixos
<energizer> practically speaking, i need to get my computer working so if i have to buy another drive so be it
<sphalerite> ohhaimark[m]: alsa-lib contains a symlink to alsa-ucm-conf
<energizer> i'm honestly asking though because the last two i bought didnt work
<euank> Didn't work as in were DOA, or as in had that error?
<energizer> had that error
<sphalerite> wedens[m]: no, that is IFD
<sphalerite> wedens[m]: it's not using the function import, but it's still making evaluation dependent on a drv output
<sphalerite> in that sense, IFD is a bit of a misnomer
D_ has quit [Ping timeout: 272 seconds]
<ohhaimark[m]> <sphalerite "ohhaimark: alsa-lib contains a s"> Ah, I realize my mistake. I was trying to use a later alsa-ucm-conf when I should have used a later alsa-lib.
<euank> I'm not really convinced that error is from specific ssd brands.
<ohhaimark[m]> > <@freenode_sphalerite:matrix.org> ohhaimark: alsa-lib contains a symlink to alsa-ucm-conf
<ohhaimark[m]> * Ah, I realize my mistake. I was trying to use a later alsa-ucm-conf when I should have used a later alsa-lib. Thanks
<{^_^}> error: syntax error, unexpected '<', at (string):316:1
<wedens[m]> sphalerite: alright, I suspected that it might be IFD just more implictly. thanks for clarifying
<euank> Anyway, fwiw energizer, I didn't hit that error on an 850 (someone in there did), and I'm currently on a Sabrent Rocket 4.0 which also did not have any error
asymptotically has joined #nixos
<sphalerite> ohhaimark[m]: aaah :)
kreyren has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #90296 → android-udev-rules: 20200410 -> 20200613 → https://git.io/JfQol
kreyren has joined #nixos
arahael2 has quit [Ping timeout: 260 seconds]
D_ has joined #nixos
<sphalerite> ohhaimark[m]: that said, it definitely is weird that alsa-lib gets it from its own prefix even though we have a distinct package for it. I've had some pains trying to use ucm as well because of that, and because if you modify the config package it wants to rebuild everything that depends on alsa-lib :/
<{^_^}> [nixpkgs] @lheckemann opened pull request #90297 → manual: use less weird way of installing nixos tools → https://git.io/JfQo4
<energizer> euank: is your config public?
<energizer> specifically hardware-configuration.nix
kenran has joined #nixos
eoli3n_ has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #90298 → apt-offline: 1.8.1 -> 1.8.2 → https://git.io/JfQou
quinn has quit [Ping timeout: 260 seconds]
simba1 has joined #nixos
felixfoertsch has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @markus1189 opened pull request #90299 → sqldiff: init at 3.31.1 → https://git.io/JfQoQ
Guest23379 has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #90300 → aws-c-common: 0.3.11 -> 0.4.42 → https://git.io/JfQob
drewr has quit [Ping timeout: 260 seconds]
smatting has joined #nixos
drewr has joined #nixos
felixfoertsch has joined #nixos
<DigitalKiwi> how come the screen session for the weechat module won't let you C-a c ?
<{^_^}> Channel nixos-20.03 advanced to https://github.com/NixOS/nixpkgs/commit/db31e48c5c8 (from 2 days ago, history: https://channels.nix.gsc.io/nixos-20.03)
user_0x58 has quit [Ping timeout: 260 seconds]
agsdheidjd has joined #nixos
<{^_^}> [nixpkgs] @lheckemann pushed 6 commits to master: https://git.io/JfQK0
<{^_^}> [nixpkgs] @lheckemann closed pull request #85899 → remarkable-mouse: init at 5.2.1 → https://git.io/JfIhx
<{^_^}> [nixpkgs] @r-ryantm opened pull request #90301 → backintime-common: 1.1.24 -> 1.2.1 → https://git.io/JfQKu
orivej has quit [Quit: No Ping reply in 180 seconds.]
dramforever has quit [Ping timeout: 246 seconds]
jgeerds_ has joined #nixos
orivej has joined #nixos
astylian has quit [Remote host closed the connection]
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @Anton-Latukha opened pull request #90302 → handbrake: 1.3.2 -> 1.3.3 → https://git.io/JfQK7
justanotheruser has quit [Ping timeout: 272 seconds]
pingiun has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #90303 → bdf2sfd: 1.1.1 -> 1.1.2 → https://git.io/JfQKF
pingiun has quit [Client Quit]
<sphalerite> DigitalKiwi: so that users can't run anything as the weechat user, presumably.
<sphalerite> hrm, not sure I like that module!
nikita_ has quit [Quit: leaving]
orivej has quit [Ping timeout: 246 seconds]
<sphalerite> what is there stopping a user from attaching to a screen running as root there?
orivej has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #90304 → binaryen: 93 -> 94 → https://git.io/JfQ68
troydm has quit [Ping timeout: 264 seconds]
magnetophon has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @vcunat pushed to staging-next « autogen: try fixing on darwin »: https://git.io/JfQ6z
<{^_^}> [nixpkgs] @vcunat merged pull request #90284 → autogen: try fixing on darwin → https://git.io/JfQV2
<DigitalKiwi> sphalerite: how do they do that though other multi users can create?
<DigitalKiwi> it rusn with -Dm -S
<DigitalKiwi> is that the secret sauce
<{^_^}> [nixpkgs] @vcunat pushed 6 commits to staging-next: https://git.io/JfQ6g
<{^_^}> [nixpkgs] @vcunat merged pull request #89438 → firefox: updates → https://git.io/JfPxl
tobeportable has joined #nixos
<gordon1> hi
<teto> ryantm: why the close/reopen on several PRs ?
<gordon1> some time ago, when i upgraded my system to 20.03, plasma seemed very buggy (no icons, cursor theme not applied everywhere, some qt widget were plain gray, konsole font was ugly and buggy…), i thought that was caused by the upgrade, but now, on a brand new system, i started plasma for the first time, and the same problem applies. Is the currently stable plasma version that buggy?
<gordon1> and is that fixed in unstable?
<{^_^}> [nixpkgs] @bennyandresen opened pull request #90305 → babashka: 0.0.97 -> 0.1.1 → https://git.io/JfQ6r
lunik1 has quit [Ping timeout: 264 seconds]
lunik1 has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #90306 → bitcoin-classic: 1.3.8 -> 1.3.8uahf → https://git.io/JfQ6P
thc202 has joined #nixos
orivej has quit [Ping timeout: 246 seconds]
orivej has joined #nixos
pingiun has joined #nixos
rardiol has quit [Ping timeout: 258 seconds]
<{^_^}> [nixpkgs] @primeos pushed to master « fscrypt-experimental: 0.2.8 -> 0.2.9 »: https://git.io/JfQ6x
pingiun has quit [Client Quit]
<{^_^}> [nixos-homepage] @github-actions[bot] pushed commit from GitHub Actions to master « Update flake.lock and blogs.xml [ci skip] »: https://git.io/JfQ6j
mananamenos has quit [Remote host closed the connection]
D_ has quit [Quit: No Ping reply in 180 seconds.]
<{^_^}> [nixpkgs] @eyJhb opened pull request #90307 → boot.initrd.luks.devices: add preOpenCommands and postOpenCommands → https://git.io/JfQiJ
Thra11 has quit [Ping timeout: 240 seconds]
D_ has joined #nixos
<euank> energizer: nope (sorry for the quite slwo reply, internet blip etc)
<eyJhb> If anyone is up to review the PR above, that would be great ;)
<eyJhb> marek: I can see you are a candidate, but sure if you are willing to review #90307 :)
<{^_^}> https://github.com/NixOS/nixpkgs/pull/90307 (by eyJhb, 1 minute ago, open): boot.initrd.luks.devices: add preOpenCommands and postOpenCommands
<energizer> euank: maybe you can help with some questions descriptively. boot.initrd.availableKernelModules?, what filesystem types? do you have boot.initrd.luks?
<eyJhb> energizer: what are you doing?
<energizer> eyJhb: trying to install nixos, hitting a possible bug
<eyJhb> Details :p What is happening?
<euank> kernelModules = [ ]; available = nvme, xhci_pci, ahci, usbhid, sd_mod, yes luks
<euank> energizer: so, dumb question. Can you check the permissions of mnt?
<euank> Oh, and fsType = ext4 (on top of luks ofc) with vfat boot
<energizer> drwxr-xr-x
<euank> i.e. make sure /mnt and /mnt/nix/store and everything up to there is o+rx
<euank> (up to the thing you're getting a permission denied for)
<euank> Though it sounds like that's not it, okay
troydm has joined #nixos
<eyJhb> I have gotten that same error before
<eyJhb> I was hell
pingiun has joined #nixos
<eyJhb> Is this a fresh install?
<energizer> yes
pingiun has quit [Client Quit]
<eyJhb> So you are 100% with destroying everything on the drive?
<energizer> yes
<eyJhb> And are you setting up luks encryption?
<energizer> yes
<eyJhb> Hmm. let me see if I can find anything. The permission denied I got when I did _something_ wrong at boot one time...
<eyJhb> I would suggest you reboot, format the disk (just sudo fdisk /dev/sdXn - delete partitions and recrate)
<energizer> i did
<eyJhb> But I am assuming you are also doing some LVM?
<eyJhb> ANd you get that each time? Weird...
<energizer> yes
chloekek has joined #nixos
<eyJhb> What commands are you exactly running at boot?
<energizer> this isn't at boot, i'm running `NIXOS_CONFIG=/home/energizer/nixos-hosts/target/hardware-configuration.nix nixos-install --root /mnt/target/fsroot`
dramforever has joined #nixos
<euank> And if, afterward, you manually run the `mount` command, it still fails, right? i.e. it's trying to run `mount --bind /mnt/nix/store/.... /mnt/nix/store/....`
<euank> If we can verify that fails, that at least gets us a little closer to understanding it
<energizer> i dont know what mount command it's trying to run
<{^_^}> [nixpkgs] @r-ryantm opened pull request #90308 → bitwarden_rs: 1.15.0 -> 1.15.1 → https://git.io/JfQiY
<eyJhb> at boot => boot of installation media :p When installing
<euank> Use strace
Thra11 has joined #nixos
<euank> If you do something like `strace -ff nixos-install ....`, that'll give you a file-per-pid and will be handy for pinpointing the failing bindmount syscall, and what happened in that thread around it
<euank> I'd be happy to help look through that if you upload em somewhere and see if anything stands out
MmeQuignon has joined #nixos
EatThem has joined #nixos
<{^_^}> [nixpkgs] @cmacrae opened pull request #90309 → yabai: 3.1.2 -> 3.2.0 → https://git.io/JfQi3
orivej has quit [Ping timeout: 264 seconds]
orivej has joined #nixos
<{^_^}> [nixpkgs] @mrVanDalo closed pull request #89567 → bitwig-studio3: 3.1.3 -> 3.2 → https://git.io/Jf1rl
iyzsong has quit [Quit: ZNC 1.8.0 - https://znc.in]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #90310 → blockbook: 0.3.3 -> 0.3.4 → https://git.io/JfQiZ
<euank> and `sudo mount --bind /mnt/target/fsroot/nix/store/9yg221lkyb3q0214gcz6i3fg9izfc2jk-append-initrd-secrets.drv.chroot /mnt/target/fsroot/nix/store/9yg221lkyb3q0214gcz6i3fg9izfc2jk-append-initrd-secrets.drv.chroot`
kenran has quit [Ping timeout: 240 seconds]
<euank> gives you permission denied?
<{^_^}> [nixpkgs] @timokau merged pull request #90249 → php < 7.4: Fix validation of PKG_CONFIG var → https://git.io/JfQqD
<{^_^}> [nixpkgs] @timokau pushed 2 commits to master: https://git.io/JfQic
<energizer> the target does not exist
<euank> Ah, right, it cleans up and deletes stuff afterward doesn't it
<euank> Actually, shouldn't it not? It cleans up temp build dirs, I didn't think a drv would get deleted
<energizer> i have to go away for a few hours, but i do want to get this sorted
noudle has joined #nixos
<{^_^}> [nixpkgs] @wucke13 opened pull request #90311 → betaflight-configurator: 10.6.0 -> 10.7.0 → https://git.io/JfQi8
__monty__ has joined #nixos
<euank> that's the nix code in question I'm pretty sure. I'm also kinda suspicious of the seccomp call right before that
<{^_^}> [nixpkgs] @r-ryantm opened pull request #90312 → bosun: 0.5.0 -> 0.8.0-preview → https://git.io/JfQiB
<energizer> added the configuration.nix
<energizer> thanks for looking into this. i'll ping you when i'm back in
<sphalerite> Ericson2314: as far as I understand, nix-shell -E 'with (import <nixpkgs> {}).pkgsCross.aarch64-multiplatform; mkShell { depsBuildBuild = [qemu]; }' shouldn't be building "/nix/store/qnq1pzmc0qgndw5gmf79x5p0mk78yl7k-qemu-4.2.0-aarch64-unknown-linux-gnu.drv" but getting a native qemu for the build system? Am I misunderstanding something, or is something going wrong?
<EatThem> hey i try to create a nix file with all my scripts and import it to my cobfigursmmm
<EatThem> ups configuration.nix, can someone point me in the right direction writescriptbin?
orivej has quit [Ping timeout: 256 seconds]
<EatThem> i tried but only the first script was detected, with more then one it throws an error while building
orivej has joined #nixos
<euank> how are you including them, and what error?
<wedens[m]> writeScriptBin is for single script
<EatThem> i first tried it with a derivation with { writescriptbin }: and import it in systempackages
FRidh has quit [Quit: Konversation terminated!]
sb0 has joined #nixos
<EatThem> jep i definded multiple writescriptbin in my bin.nix
<sb0> I want to override a nixpkgs module (specifically security/pam.nix). Can I do that with an overlay and how?
Arahael has joined #nixos
<wedens[m]> sb0: disable the module and add your own version: https://gist.github.com/LnL7/bd05394218033cff17ec20eb93a44a4a
<EatThem> someone got an example config with multiple bash scripts in a seperate file?
<{^_^}> [nixos-homepage] @edibopp pushed to first-nix-dev-tutorials « Copy first tutorials from nix.dev »: https://git.io/JfQig
cosimone has quit [Quit: Quit.]
<sb0> wedens[m]: thanks. and an overlay can't do that automatically?
<wedens[m]> nope
<wedens[m]> overlays and nixos modules are orthogonal
<{^_^}> [nixos-homepage] @edibopp pushed to first-nix-dev-tutorials « Copy first tutorials from nix.dev »: https://git.io/JfQiV
ncakerlist has joined #nixos
konobi has quit [Remote host closed the connection]
<euank> EatThem: you have two possible things you can do here: 1) a pkg per script, 2) a single pkg with each script in its bin folder. Or something in between, where there's N packages, and a meta-package that symlinks em all together into one folder
knupfer has joined #nixos
konobi has joined #nixos
<EatThem> no possibility to include them in one nix file?
<wedens[m]> EatThem: one of many ways of doing it: https://paste.ee/p/AEqsK
<euank> actually, symlinkJoin already does that
<EatThem> thank you!!!
<euank> Yup, exactly what I was about to suggest, thanks wedens[m] :)
<EatThem> i see
<EatThem> thanks you too
<EatThem> *two
orivej has quit [Ping timeout: 260 seconds]
orivej has joined #nixos
sb0 has quit [Quit: Leaving]
<EatThem> when i put that in a seperate file where should i import it in my configuration.nix?
<{^_^}> [nixos-homepage] @edibopp opened pull request #470 → Copy first tutorials from nix.dev → https://git.io/JfQiK
pingiun has joined #nixos
<wedens[m]> yeah. environment.systemPackages = [ (import ./my-scripts.nix) ];
sb0 has joined #nixos
<sb0> wedens[m]: worked great, thank you
<{^_^}> [nixpkgs] @wucke13 opened pull request #90313 → pivx: 4.0.2 -> 4.1.1 → https://git.io/JfQiM
sb0 has quit [Client Quit]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #90314 → c-blosc: 1.18.1 -> 1.19.0 → https://git.io/JfQi5
Thra11 has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #90315 → cassowary: 0.7.0 -> 0.11.0 → https://git.io/JfQip
mounty has quit [Quit: Konversation terminated!]
<{^_^}> [nixpkgs] @wucke13 opened pull request #90316 → dqlite: 1.4.1 -> 1.4.4 → https://git.io/JfQPf
<{^_^}> [nixpkgs] @wucke13 opened pull request #90317 → Raft canonical → https://git.io/JfQPT
<{^_^}> [nixpkgs] @wucke13 closed pull request #90317 → Raft canonical → https://git.io/JfQPT
<DigitalKiwi> sphalerite: is it bad to use that module
<sphalerite> DigitalKiwi: hm, I'm not certain at this point
<sphalerite> DigitalKiwi: it looks as if if it works out of the box it's bad, to me, but it also didn't work out of the box for me
nikita` has joined #nixos
<DigitalKiwi> it's kind of frustrating/confusing to my friend that is the one trying to use it
<EatThem> wedens[m]: i get "is not of type package" with your code
gg has joined #nixos
jakobrs has joined #nixos
<DigitalKiwi> did you add the screenrc lines
<wedens[m]> EatThem: do you have `{ pkgs, ...}`: or something at the top?
gg has quit [Killed (Sigyn (Stay safe off irc))]
<sphalerite> DigitalKiwi: no, and I stopped trying fairly quickly :p
<EatThem> yep
<euank> If you do, you'll want `pkgs.callPackage ./path/to/scripts.nix`
<EatThem> ill try
<DigitalKiwi> https://nixos.wiki/wiki/Weechat i mean look at this mess
<EatThem> aaah
<euank> or sorry, `pkgs.callPackage /path/to/scripts.nix {}`
<DigitalKiwi> has the screenrc lines
<jakobrs> I can't seem to figure out how to use SysRq on my laptop and I was just wondering whether there's anything distro-specific I need to keep in mind
<euank> Or manually plumb in each variable (i.e. `import /path/to/script {inherit pkgs;}`); point is just that your nix expression is a function, so you need to somehow call the function to turn it into the package it evaluates to
<jakobrs> like keyboard drivers
<euank> and callPackage is the usual way
<jakobrs> Most likely I just have to dig deeper into Lenovo's manuals
<EatThem> the {} let it compile
<EatThem> thank you :)
<sphalerite> jakobrs: usually it's just alt-printscr? Some of the sysrqs are disabled by default by systemd
asheshambasta has quit [Ping timeout: 272 seconds]
<sphalerite> jakobrs: try journalctl -kf and then press alt+printscr+/ or something and see if anything shows up
<jakobrs> Doesn't seem to be alt-prtsc, and I know that sysrq is enabled because I've manually enabled it (it works on a different machine)
<euank> jakobrs: I read the wikipedia page for the lenovo one.https://en.wikipedia.org/wiki/Magic_SysRq_key "Thinkpad Carbon X1 the SysRq is activated by pressing Alt+Fn+S simultaneously, then releasing Fn and S while still holding Alt"
<EatThem> so the Main Problem is the With pkgs: in my definition and the {} ignores it?
<sphalerite> jakobrs: huh ok. It works on my thinkpad >.<
<euank> I can never remember if I'm suposed to keep holding alt or fn or what
<jakobrs> Yeah the manual mentions Fn+S *for the next model* but I can't get it to work on this one
<jakobrs> I'm doing Alt-Fn-S Alt-h (holding down Alt the entire time)
<euank> EatThem: recall that in a nix expression, `{ foo }: foo` is a function (taking an attribute containing foo, returning the attributes value in this case).
<euank> By convention, a package in nix is a function that declares its dependencies at the top (i.e. pkgs, or writeScriptBin, or whatever), and when you call that function, you get back the derivation/package
<{^_^}> [nixpkgs] @r-ryantm opened pull request #90318 → certstrap: 1.1.1 -> 1.2.0 → https://git.io/JfQPm
<euank> So `(import /path/to/script.nix)` evaluates to a function expecting an attributeset as an argument
<euank> and adding in `{}` is you callign that function, passing it an empty set
<euank> `callPackage` fills in default arguments for each thing in an attribute set from the current scope, so it just plumbs in `pkgs = pkgs` if there's pkgs in the current scope
<{^_^}> [nixpkgs] @Mic92 closed pull request #45717 → treewide: Deprecate platform aliases → https://git.io/fAsP7
<euank> ... Hopefully all of that makes some sense, and the reason you needed to do that makes sense now EatThem?
<DigitalKiwi> sphalerite: as for the running as root what do you mean? why don't they use root instead of weechat user? you can't attach to someone elses without enabling multi user and authorizing them right?
Zetagon has joined #nixos
<sphalerite> DigitalKiwi: right fair enough, I don't actually know tbh :p
chloekek has quit [Ping timeout: 256 seconds]
<sphalerite> was just concerned that if just enabling that module allows attaching to the weechat user's screen, surely attaching to any other user's screen would be possible
<DigitalKiwi> which is i think why it didn't work oob for you
<sphalerite> right
<jakobrs> Okay so it really does seem like Fn-S is the correct combination
<sphalerite> that's kind of silly though
<euank> jakobrs: other thing is to double check is that the magic sysrq key for what you're trying to do is enabled (assuming you're going for a magic sysrq)
<jakobrs> Is there any chance that this is software-related (drivers)
<jakobrs> I know it's enabled because the exact same configuration worked on a different computer (with a sysrq key)
<euank> I guess, what are you trying to do in the first place?
<jakobrs> Using boot.kernel.sysctl."kernel.sysrq" = 1;
<{^_^}> [nixpkgs] @nilp0inter opened pull request #90319 → gosec: 1.2.0 -> 2.3.0 → https://git.io/JfQPn
<euank> Ah, yeah, if that's set correctly, I'm outta ideas for it not working
<EatThem> yes thanks for fhe explanation euank
<{^_^}> [nixpkgs] @wucke13 opened pull request #90320 → apmplanner2: 2.0.27-rc1 -> 2.0.28-rc1 → https://git.io/JfQPW
<jakobrs> Thank you both anyways.
EatThem has quit [Quit: Quit]
orivej has quit [Quit: No Ping reply in 180 seconds.]
<liminal18> hey folks I've been having some issues building mongo 4_2 which I need for work so I've made my nix config and build files a github repo. Plkease comment there: https://github.com/aljones15/nix-mongo-4_2/blob/master/README.md also any other build or config hints are MUCH appreciated. I am working from home currently and this is the first time I've had to use nix for work. Issues and comments are better than PRs, I need to understand this all better.
delan has quit [Quit: ZNC - http://znc.in]
orivej has joined #nixos
<liminal18> running nixos
delan has joined #nixos
delan has joined #nixos
delan has quit [Changing host]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #90321 → chezmoi: 1.8.1 -> 1.8.2 → https://git.io/JfQPa
jakobrs has left #nixos ["WeeChat 2.7.1"]
knupfer has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @pasqui23 opened pull request #90322 → zplugin: init at 2.3 → https://git.io/JfQPr
<{^_^}> [nixpkgs] @pasqui23 closed pull request #73764 → zplugin:init at 2.3 → https://git.io/JeK91
bouk has joined #nixos
bouk has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #90323 → circleci-cli: 0.1.7868 -> 0.1.7971 → https://git.io/JfQPM
EsperLily has quit [Remote host closed the connection]
jav has joined #nixos
<{^_^}> [nixpkgs] @nilp0inter opened pull request #90324 → wiimms-iso-tools: init at 3.02a → https://git.io/JfQPy
<jav> ,channels
<{^_^}> Largest Nix channels: #nixos, #nixos-dev, #nixos-chat, #nixos-aarch64, #nixos-security, #nixcon, #nixos-officehours, #nixops, #haskell.nix, #nix-darwin, #nixos-de, #nixos-emacs, #nixos-on-your-router, #nixos-nur, #nix-lang, #nixos-fr, #nixos-systemd, #nixos-borg, #nixos-wiki
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
zupo has joined #nixos
<jav> I have ...displayManager.lightdm.enable = true set (with autoLogin), ...desktopManager.xfce.enable = true and windowManager.i3.enable = true. Everything starts fine, but there is also a terminal being opened right after login. Could someone tell me what causes this terminal to be opened and how I can disable that?
<ar> jav: desktopManager.xterm.enable = false;
<jav> ar: thanks, but that should be the default anyway, right? I am not setting it to true anywhere, as far as I can tell.
kreyren has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #90325 → cloudfoundry-cli: 6.46.1 -> 6.51.0 → https://git.io/JfQP7
<ar> oh, nvm. the default is false
kreyren has joined #nixos
<ar> in that case, i have no idea
<{^_^}> [nixpkgs] @terlar opened pull request #90326 → nodePackages.tsun-bin: init as wrapper around tsun → https://git.io/JfQPF
<{^_^}> [nixpkgs] @dotlambda opened pull request #90327 → protobufc: 1.3.1 -> 1.3.3 → https://git.io/JfQPx
<{^_^}> [nixpkgs] @priegger opened pull request #90328 → sane-backends: 1.0.28 -> 1.0.30 → https://git.io/JfQPh
sigmundv_ has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #90330 → cointop: 1.4.4 -> 1.4.6 → https://git.io/JfQXU
<{^_^}> [nixpkgs] @marsam closed pull request #89859 → fira-code: 4 -> 5 → https://git.io/Jfyf9
<{^_^}> [nixpkgs] @dotlambda pushed to master « ttwatch: 2018-12-04 -> 2020-02-05 »: https://git.io/JfQXL
iyzsong has joined #nixos
jav has quit [Quit: Leaving]
Thra11 has joined #nixos
absoluut1ly has joined #nixos
pingiun has quit [Read error: Connection reset by peer]
fadenb[m] has joined #nixos
<liminal18> is there a better time to ask questions?
Thra11 has quit [Ping timeout: 246 seconds]
ncakerlist has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @MP2E merged pull request #90287 → discord: add libuuid to nativeBuildInputs → https://git.io/JfQw0
<{^_^}> [nixpkgs] @MP2E pushed commit from @rtldg to master « discord: add libuuid to nativeBuildInputs »: https://git.io/JfQXi
dermetfan has quit [Ping timeout: 272 seconds]
orivej has quit [Ping timeout: 256 seconds]
<__monty__> liminal18: Doesn't look like you're running 20.03, the channel is the only thing that determines your system version. Unless you don't rely on channels. Was this nix-channel --list run as root?
orivej has joined #nixos
<liminal18> __monty__ no it wasn't updating now
<{^_^}> [nixpkgs] @r-ryantm opened pull request #90331 → consul: 1.7.3 -> 1.7.4 → https://git.io/JfQXS
<__monty__> ,nix-info liminal18
<{^_^}> liminal18: Run and share the output from: nix-shell -p nix-info --run nix-info
<liminal18> ok added the nix-shell info. Looks like I can remove the version 19 channel for my user's channels
<__monty__> liminal18: Hmm, I'm having trouble understanding the error message. Could you replace "${version}" on line 47 by "blah"?
<__monty__> Should be fine, yeah.
<liminal18> __monty__ how about replacing it with 4.2.5?
<__monty__> Anything's fine but something that *doesn't* make sense would be better.
Soo_Slow has joined #nixos
<liminal18> foo it is. what command should I use nixos-rebuild switch?
<liminal18> __monty__ got the same error: while evaluating the attribute 'nativeBuildInputs' of the derivation 'mongodb-foo' at /home/liminal18/Programs/mongo4/4_2/mongodb.nix:47:3:
<liminal18> cannot coerce a set to a string, at /home/liminal18/Programs/mongo4/4_2/mongodb.nix:47:3
<__monty__> That's fine, build would be fine too.
waleee-cl has joined #nixos
Thra11 has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #90332 → convoy: 0.5.0 -> 0.5.2 → https://git.io/JfQ1U
<__monty__> Weird that the line indication is so far off.
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @flokli opened pull request #90333 → systemd: 245.5 -> 245.6 → https://git.io/JfQ1L
orivej has quit [Ping timeout: 258 seconds]
orivej has joined #nixos
<lassulus> liminal18: scons is an attribute set, so you need to get the attribute out of it on line 23 in mongodb.nix
<liminal18> @lassulus how?
<__monty__> Yeah, surround the RHS in ().scons_latest
<{^_^}> [nixpkgs] @sikmir opened pull request #90334 → dolt: 0.16.3 -> 0.17.2 → https://git.io/JfQ1m
jmeredith has joined #nixos
<lassulus> maybe do scons = (callPackage ./scons/default.nix { ... }.scons_latest);
<liminal18> Lassulus did that it is working so far
<__monty__> I'm not sure why you pass python2Packages for scons while defining a python 3 though. If you actually want scons with python2 you might need `scons_3_0_1`.
<liminal18> pushed the change a moment ago
<{^_^}> [nixpkgs] @marsam merged pull request #90321 → chezmoi: 1.8.1 -> 1.8.2 → https://git.io/JfQPa
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JfQ1Y
<liminal18> __monty__ I was just following the PR
<liminal18> and yeah I thought that was weird too
<{^_^}> [nixpkgs] @marsam merged pull request #90330 → cointop: 1.4.4 -> 1.4.6 → https://git.io/JfQXU
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JfQ10
<{^_^}> [nixpkgs] @marsam merged pull request #90323 → circleci-cli: 0.1.7868 -> 0.1.7971 → https://git.io/JfQPM
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JfQ1F
m0rphism has quit [Ping timeout: 258 seconds]
<{^_^}> [nixpkgs] @marsam merged pull request #90315 → cassowary: 0.7.0 -> 0.11.0 → https://git.io/JfQip
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JfQ1N
<{^_^}> [nixpkgs] @marsam merged pull request #90309 → yabai: 3.1.2 -> 3.2.0 → https://git.io/JfQi3
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JfQ1A
<{^_^}> [nixpkgs] @r-ryantm opened pull request #90335 → cpu-x: 4.0.0 -> 4.0.1 → https://git.io/JfQ1x
<{^_^}> [nixpkgs] @rycee pushed to master « fira-code: 5 -> 5.2 »: https://git.io/JfQMe
<{^_^}> [nixpkgs] @bachp opened pull request #90336 → plex: 1.19.2.2737 -> 1.19.4.2935 → https://git.io/JfQMU
<{^_^}> [nixpkgs] @marsam merged pull request #90292 → amass: 3.6.2 -> 3.7.2 → https://git.io/JfQrb
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JfQMk
orivej has quit [Ping timeout: 260 seconds]
orivej has joined #nixos
avaq has quit [Quit: Leaving]
philr_ has quit [Ping timeout: 258 seconds]
asheshambasta has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #90337 → csound: 6.13.0 -> 6.14.0 → https://git.io/JfQMC
avaq has joined #nixos
<{^_^}> [nixpkgs] @Izorkin opened pull request #90339 → php: replace ubstituteInPlace to patch → https://git.io/JfQM8
jgeerds_ has quit [Ping timeout: 258 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #90340 → curlcpp: 1.1 -> 1.4 → https://git.io/JfQMR
orivej has quit [Ping timeout: 265 seconds]
orivej_ has joined #nixos
alexherbo2 has quit [Quit: Ping timeout (120 seconds)]
alexherbo2 has joined #nixos
<gordon1> how can i use the unstable version of the plasma5 environment? Also, how can i run plasma-wayland? `dbus-run-session kwin-wayland` complains about a Qt platform plugin
hax404 has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #90341 → dapper: 0.4.1 -> 0.5.1 → https://git.io/JfQMK
<liminal18> gordon1 I think you need to require unstable in configuration.nix
<gordon1> yeah i already have it
orivej_ has quit [Ping timeout: 260 seconds]
hax404 has joined #nixos
orivej has joined #nixos
<liminal18> gordon1 that is about all I know sadly =) I believe you can passd the unstable package to some config option to use it, but I'm assuming you've done that.
<gordon1> i didn’t find any way to do it
iyzsong has quit [Quit: ZNC 1.8.0 - https://znc.in]
<gordon1> i thought the plasma5 config directive would allow to select the chosen package
<gordon1> but it doesn’t seem to be the case
<{^_^}> [nixpkgs] @ryantm merged pull request #90110 → pkgconf-unwrapped: 1.7.0 -> 1.7.3 → https://git.io/JfSpq
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/JfQM7
<liminal18> yeah this is neyond my scope then. Did you check the source code of the plasma service in nixpkgs and see what the options are?
<{^_^}> [nixpkgs] @ryantm merged pull request #90043 → lyx: 2.3.4.3 -> 2.3.5.1 → https://git.io/JfS4A
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/JfQMp
civodul has joined #nixos
<gordon1> https://github.com/NixOS/nixpkgs/blob/release-20.03/nixos/modules/services/x11/desktop-managers/plasma5.nix i’m not so familiar with nix standard library, so i could have missed some overriding possibilities
orcus has quit [Quit: ZNC 1.7.5 - https://znc.in]
orcus has joined #nixos
NinjaTrappeur has quit [Quit: WeeChat 2.8]
<{^_^}> [nixpkgs] @ryantm merged pull request #89858 → pistol: 0.1.1 -> 0.1.2 → https://git.io/JfyvG
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/JfQDm
NinjaTrappeur has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #90342 → delve: 1.2.0 -> 1.4.1 → https://git.io/JfQDn
orivej has quit [Ping timeout: 260 seconds]
orivej has joined #nixos
<{^_^}> [nixpkgs] @flokli opened pull request #90343 → hardware/u2f: remove module → https://git.io/JfQDB
<{^_^}> [nixpkgs] @dotlambda opened pull request #90344 → dot2tex: use python3 → https://git.io/JfQDu
cross has joined #nixos
<eyJhb> NixOps do not currently support DigitalOcean, right?
<clever> eyJhb: it did have a script to install nixos over the rescue console at one point
<eyJhb> But I am guessing no more?
mlen has quit [Quit: WeeChat 2.6]
<eyJhb> Would be nice with a simple way to support anything that uses clouinit
<{^_^}> nixops#1189 (by cleverca22, 43 weeks ago, open): plan for supporting custom partition layouts and custom FS's on any backend
<eyJhb> That SHOULD be possible, as far as I know. Buth that would kexec
mlen has joined #nixos
<clever> eyJhb: the basic idea in the above ticket, is that you create a function to boot the machine into a rescue console with ssh, then some reusable code can do the kexec and install steps
<clever> and that rescue console function, is part of the plugin that deals with provisioning new hw over the api
<eyJhb> Seems like a nice idea!
<eyJhb> Would be awesowe to easily support multiple backends. How I wish I had so much more time than I actually have
<clever> for backends like packet and aws, you can also skip that kexec step
<clever> packet can natively ipxe boot, so you just have to provide a url to an https source you trust
<clever> aws, you could generate an AMI that boots the kernel/initrd with grub, and runs from ram
<clever> the benefit i can see of installing fresh on aws, is that you wont have an extra generating eating up disk space, that doesnt match your nixpkgs
dermetfan has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #90345 → dnscontrol: 3.0.0 -> 3.2.0 → https://git.io/JfQDX
<eyJhb> But wouldn't a generic cloud-init work for all three? (I know AWS and DigitalOcan would at least), while still not cluttering?
<clever> the aws plugin already does extra things that cloud-init may not, like iam instance profiles and security groups
Rusty1 has joined #nixos
<AmandaC_> Any way to tell how far off https://github.com/NixOS/nixpkgs/pull/89588 is from making it to the unstable channel?
<{^_^}> #89588 (by jonringer, 1 week ago, merged): python2Packages.pillow: freeze at 6.2.2
<clever> ,status
<{^_^}> clever: Did you mean stats?
<clever> {^_^}: no
<eyJhb> But that can be set in the API some other way? I just mean, for a generic way having something like cloud-init would be nice, because then we can tweak it afterwards
<clever> AmandaC_: https://status.nixos.org/ this links to the hydra job for each channel, when everything in the job is green, the channel updates
<clever> AmandaC_: i think nixos-unstable will update when these 4 jobs finish: https://hydra.nixos.org/eval/1593364#tabs-unfinished
<eyJhb> Long time since unstable was updated :(
orivej has quit [Ping timeout: 240 seconds]
<gordon1> okay, i tried to use sddm with plasma in order to see if my icon problem would be fixed
orivej has joined #nixos
<gordon1> but sddm just hangs when i log in…
<gordon1> is plasma5 completely broken in 20.03 and nobody uses it?? :/
<{^_^}> [nixpkgs] @r-ryantm opened pull request #90346 → doctl: 1.45.0 -> 1.45.1 → https://git.io/JfQDD
<typetetris> Is ghc in nixos using dynamic linking?
dxtr_ has quit [Quit: leaving]
<clever> typetetris: it can both staticly and dynamically link the haskell libs, and will usually link system libs dynamicly
<eyJhb> clever: Wouldn't that implementation go a long way? Or? (curious, not sure if I am misunderstanding something)
<clever> eyJhb: i'm not that familiar with cloud-init, to know what it can do
rsoeldner has joined #nixos
<clever> eyJhb: but the basic idea in my ticket, is to just partition, format, mount, then use `nix copy` to shove an entire closure into `/mnt`, and fixup the bootloader
<typetetris> clever: I got `Cannot load -prof objects when GHC is built with -dynamic` when trying to profile my haskell program ...
hax404 has quit [Quit: WeeChat 2.7.1]
<eyJhb> It is basically a way to say whet you create a server using the API "Okay, when you start up I need you to run these commands!". (the server reads a config at boot, and execute it as pr. cloud-init)
hax404 has joined #nixos
<clever> typetetris: you need to ensure nix builds all of the libraries with profiling also
Mateon1 has quit [Ping timeout: 264 seconds]
<typetetris> clever: Didn't know that, thought I could just profile my program
<clever> eyJhb: but can cloud-init function when the hdd is still blank? or does it need an OS already installed?
<clever> typetetris: in ghc, profiling changes the size of every single object on the heap, so everything has to be rebuilt to handle the larger objects
<eyJhb> It needs a OS, but I am thinking just basing the config on a Debian install, and then having that do kexec when it has all the requirements.
<typetetris> clever: Thanks for clarifying that for me.
<eyJhb> But now that I am saying this, most can be solved just using SSH I guess
<eyJhb> (a generic SSH installer would suffice)
<clever> eyJhb: and most of the complex commands have to be ran after you kexec
<clever> eyJhb: pre-kexec, its only 3 commands, scp, ssh tar -x, ssh /kexec_nixos
<{^_^}> [nixpkgs] @risicle merged pull request #90325 → cloudfoundry-cli: 6.46.1 -> 6.51.0 → https://git.io/JfQP7
<{^_^}> [nixpkgs] @risicle pushed 2 commits to master: https://git.io/JfQDb
<eyJhb> Hmm. that makes sense
<eyJhb> Considering playing a little with it tbh.
<eyJhb> But I am sure it will go VERY WRONG :p
orivej has quit [Quit: No Ping reply in 180 seconds.]
_mlen has joined #nixos
<rsoeldner> Hi, currently struggle using the `libxml2` library from a nix-shell. Currently I have to figure out the lib path by running `xml2-config --cflags` to retrieve the include paths... Aren't they automatically attached ?
Chiliparrot has joined #nixos
orivej has joined #nixos
<eyJhb> clever: for nixops to work, I need to have a base installation. right?
<eyJhb> Or once I am kexec it can partition and stuff?
<clever> eyJhb: yeah, once you kexec, just wipe the partition table, and treat it like a fresh install, according to the manual
mlen has quit [Ping timeout: 265 seconds]
knupfer has joined #nixos
knupfer has quit [Remote host closed the connection]
knupfer has joined #nixos
_mlen is now known as mlen
mallox has quit [Quit: WeeChat 2.8]
meh` has joined #nixos
<eyJhb> clever: I just want to easily deploy things to the cloud using NixOS :(
<clever> eyJhb: nixops should also automate that install step
<eyJhb> Also the partitioning step?
<clever> yeah
<eyJhb> Guess I need to read a little up on NixOps
<eyJhb> I have no clue how it works atm.
<clever> that feature doesnt exist yet
<clever> but thats part of the plans in my ticket
Soo_Slow has quit [Quit: Soo_Slow]
<eyJhb> Which feature ?
<eyJhb> The easy deploy thing?
zupo_ has joined #nixos
<clever> eyJhb: partitioning and installing nixos from scratch
<eyJhb> Wait, but if I am in a NixOS install media and have SSH access, can it then partition and install NixOS?
<clever> thats also part of the plan in my ticket
<clever> boot the iso on baremetal, set a pw, enable ssh, then tell nixops "do the rest for me"
<eyJhb> Okay, so not real atm.?
<clever> correct
<eyJhb> I am somewhat a sad panda now clever :p
<eyJhb> Are there ANY tools that can do this?
dermetfan has quit [Ping timeout: 256 seconds]
<eyJhb> I guess terraform
<{^_^}> [nixpkgs] @r-ryantm opened pull request #90347 → duckdb: 0.1.7 -> 0.1.8 → https://git.io/JfQyR
<clever> eyJhb: i think it was called terranix? it creates machines with terraform, but then uses the nixops "none" backend to update the nixos
MmeQuignon has quit [Ping timeout: 272 seconds]
orivej has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @ryantm merged pull request #89862 → saml2aws: 2.25.0 -> 2.26.1 → https://git.io/JfyUq
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/JfQyr
orivej has joined #nixos
<{^_^}> [nixpkgs] @ryantm merged pull request #90335 → cpu-x: 4.0.0 -> 4.0.1 → https://git.io/JfQ1x
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/JfQy6
nschoe has joined #nixos
<eyJhb> Hmm.. I might try setting up a little DO NixOS machine using kexec for fun
<eyJhb> And see what happens
daGrevis has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #90349 → easyrpg-player: 0.6.2 -> 0.6.2.1 → https://git.io/JfQyS
Neo-- has joined #nixos
nschoe has quit [Ping timeout: 272 seconds]
liminal18 has quit [Remote host closed the connection]
daGrevis has joined #nixos
<eyJhb> Uh, all this Python. I need a good API for how this works..
domogled has quit [Quit: domogled]
hax404 has quit [Quit: WeeChat 2.7.1]
<clever> eyJhb: nixops will first use `nix-instantiate --eval --xml` to convert your deployment file into xml
<clever> eyJhb: the sub-classes of MachineDefinition then take a subtree of that xml, and convert it into a subclass of MachineDefinition
orivej has quit [Ping timeout: 260 seconds]
orivej_ has joined #nixos
<clever> eyJhb: sub-classes of MachineState then take a MachineDefinition, and manage the actual state
<clever> eyJhb: the nixops.util.attr_property's you see on lines 109-151 are a bit confusing, those generate special objects with a getter/setter on them
<eyJhb> How this is done feels so confusing tbh.
<clever> eyJhb: if you try to read or write one of those params, it automatically goes to a field in the sqlite state, specific to this machine in the cluster
<clever> eyJhb: when you `nixops deploy`, it will run the create() function (line 1102) on every machine in the cluster
hax404 has joined #nixos
<clever> eyJhb: line 1213 will detect that the machine hasnt been provisioned yet (the state lacks a vm_id), and then use the aws API to provision new hw
nschoe has joined #nixos
<clever> eyJhb: and if it has already been provisioned, the create() function will instead just modify things (such as iam instance profiles, and security groups, or cpu/ram selection)
asymptotically has quit [Quit: Leaving]
<clever> eyJhb: get_physical_spec() on line 236, will then generate a fragment of configuration.nix, that describes how to build this machine
<clever> eyJhb: the rest is either support code to allow the above, or misc features like shutdown/terminate
<{^_^}> [nixpkgs] @r-ryantm opened pull request #90350 → ergo: 3.2.5 -> 3.2.6 → https://git.io/JfQSw
<clever> eyJhb: does that help?
<eyJhb> It helps a little yes, still a little confused. But looking at the hetzner setup atm. as there is less code, applying what you said to that and then seeing what I understand - https://github.com/NixOS/nixops-hetzner/blob/master/nixopshetzner/backends/server.py
Thra11 has quit [Ping timeout: 240 seconds]
orivej_ has quit [Ping timeout: 240 seconds]
orivej has joined #nixos
EatThem has joined #nixos
eoli3n_ has quit [Ping timeout: 265 seconds]
<EatThem> Is there something like nix search foo for the package options?
linarcx has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #90351 → esptool: 2.7 -> 2.8 → https://git.io/JfQS1
<EatThem> yeah but a cli wrapper for it?
<evils> `man configuration.nix`
<clever> there is also just `nixos-option`
ddellacosta has joined #nixos
<EatThem> ah nice clever
<eyJhb> EatThem: -r makes it a little more nice
chloekek has joined #nixos
kenran has joined #nixos
<{^_^}> [nixpkgs] @bhipple merged pull request #88452 → notepadqq: remove unnecesary fetchSubmodules → https://git.io/JfgG9
<{^_^}> [nixpkgs] @bhipple pushed to master « notepadqq: remoe unnecesary fetchSubmodules »: https://git.io/JfQSH
<{^_^}> [nixpkgs] @bhipple merged pull request #86695 → rippled: fix build after boost 1.72 upgrade → https://git.io/Jfso9
<{^_^}> [nixpkgs] @bhipple pushed to master « rippled: fix build after boost 1.72 upgrade »: https://git.io/JfQSQ
orivej has quit [Ping timeout: 260 seconds]
<EatThem> eyJhb: true, ty!!
orivej has joined #nixos
<typetetris> I am using overlays to add haskell packages to my package sets, like `haskell = super.haskell // { packageOverrides = super.lib.composeExtensions ...` worked so far. Now wanted to create another overlay to a package set with profiling turned on, using `p = self.haskellPackages.override { overrides = super.lib.composeExtensions ...` but that did ignore the `packageOverrides` from the other overlays, how can I do that
<typetetris> so it combines?
<eyJhb> Oh clever. If I have a patch for a nixpkgs thing, is it then possible to run a patches on nixpkgs to apply it?
<eyJhb> Like I can for packages
<{^_^}> [nixpkgs] @bhipple merged pull request #89683 → helmsman: 3.4.1 -> 3.4.3 → https://git.io/JfMUi
<{^_^}> [nixpkgs] @bhipple pushed to master « helmsman: 3.4.1 -> 3.4.3 »: https://git.io/JfQSd
<{^_^}> [nixpkgs] @bhipple closed pull request #89712 → amass: 3.6.2 -> 3.6.3 → https://git.io/JfMcn
amerigo has joined #nixos
jmeredith has quit [Quit: Connection closed for inactivity]
<clever> eyJhb: sorta
linarcx has quit [Quit: WeeChat 2.8]
<clever> eyJhb: and then you need to ensure you import the patchedNixpkgs instead of the original nixpkgs or <nixpkgs>
arahael1 has joined #nixos
bhipple has joined #nixos
Arahael has quit [Ping timeout: 256 seconds]
Thra11 has joined #nixos
Mateon1 has joined #nixos
absoluut1ly has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @Infinisil merged pull request #89781 → nixos/corerad: add settings option to supersede configFile → https://git.io/JfDtQ
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to master: https://git.io/JfQ9G
<{^_^}> [nixpkgs] @r-ryantm opened pull request #90355 → findomain: 1.5.0 -> 1.7.0 → https://git.io/JfQ9Z
Mateon2 has joined #nixos
Mateon1 has quit [Ping timeout: 265 seconds]
Mateon2 is now known as Mateon1
davidv7 has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #90356 → flannel: 0.11.0 -> 0.12.0 → https://git.io/JfQ9u
<{^_^}> [nixpkgs] @bhipple opened pull request #90357 → pythonPackages.croniter: fix build → https://git.io/JfQ9z
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/d6d07f262b1 (from 17 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
ddellacosta has quit [Ping timeout: 264 seconds]
Mateon1 has quit [Ping timeout: 256 seconds]
knupfer has quit [Quit: knupfer]
knupfer has joined #nixos
knupfer has quit [Client Quit]
knupfer has joined #nixos
knupfer has quit [Client Quit]
knupfer has joined #nixos
knupfer has quit [Client Quit]
knupfer has joined #nixos
<chloekek> How do I know which of .xsession, .xsessionrc, .xinit, .xinitrc I need to create on NixOS?
<clever> chloekek: one minute
<chloekek> I think I’ll just create one and symlink all the others to that, that should work!
<clever> chloekek: that will probably make things worse
<nschoe> Hi everyone :-) When running nix-build on my default.nix I get "waiting for lock on '/home/nschoe/.cache/nix/tarballs/1200smrkr968klmzym6w67p8in925zh7lm3lzjcjby0w38yjrkia-file'..." and it seems to hang. Anyway I can manaully release this lock? Stop whatever worker is working on it?
pamplemousse has joined #nixos
orivej has quit [Quit: No Ping reply in 180 seconds.]
<chloekek> Thanks!
<clever> chloekek: nixos will first run the services.xserver.displayManager.sessionCommands, then source ~/.xprofile, then exec ~/.xsession
<clever> chloekek: if either file is missing, it will skip that step
<chloekek> Ok¸ let”s give it a try, brb
<clever> chloekek: and if ~/.xsession is missing, line 99-106 will run the desktop-manager you selected at the login screen
chloekek has quit [Quit: WeeChat 2.6]
orivej has joined #nixos
Mateon1 has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #90358 → flow: 0.126.1 -> 0.127.0 → https://git.io/JfQ9A
chloekek has joined #nixos
<clever> chloekek: you can also do things in a declarative way: https://github.com/cleverca22/nixos-configs/blob/master/media-center.nix#L22-L25
<chloekek> I give up, thanks for the help.
<clever> chloekek: what are you trying to do?
<chloekek> Set the QT theme. I’ll just not set the QT theme instead. Much easier.
jnorkus has joined #nixos
<clever> chloekek: does it just need to set an env var?
<chloekek> Yes, but that’s too hard with my setup, so I won’t.
<clever> chloekek: thats 1 line in configuration.nix
<clever> chloekek: environment.sessionVariables.VARNAME = "value"; done
<{^_^}> [nixpkgs] @r-ryantm opened pull request #90359 → fly: 6.1.0 -> 6.3.0 → https://git.io/JfQHY
jnorkus has quit [Quit: leaving]
jnorkus has joined #nixos
jnorkus has quit [Client Quit]
Neo-- has quit [Ping timeout: 272 seconds]
jnorkus has joined #nixos
dermetfan has joined #nixos
chloekek has quit [Quit: WeeChat 2.6]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #90360 → flyctl: 0.0.123 -> 0.0.131 → https://git.io/JfQHC
chloekek has joined #nixos
cr4y1 has joined #nixos
rardiol has joined #nixos
liminal18 has joined #nixos
<eyJhb> Wait, something is funky with kexec clever
<eyJhb> kexec_home is a symlink to /nix/store when I extracted it
<eyJhb> Ahh. nvm :)
<clever> eyJhb: yeah, extract the whole tar directly to /, and the symlink will be valid
<eyJhb> I am however getting `kexec_load failed: Invalid argument`
proofofkeags has joined #nixos
chloekek has quit [Quit: WeeChat 2.6]
<liminal18> THANK YOU mongo 4.2.5 upgrade is complete
<eyJhb> Maybe a new version of kexec clever ?
proofofkeags has quit [Remote host closed the connection]
gustavderdrache has joined #nixos
proofofkeags has joined #nixos
orivej has quit [Ping timeout: 256 seconds]
orivej has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #90361 → ft2-clone: 1.24 -> 1.25_fix → https://git.io/JfQHH
codygman has quit [Ping timeout: 260 seconds]
codygman has joined #nixos
sbetrium_ has joined #nixos
proofofkeags has quit [Ping timeout: 256 seconds]
pamplemousse has quit [Ping timeout: 256 seconds]
sbetrium has quit [Ping timeout: 240 seconds]
mkk has joined #nixos
jnorkus has quit [Quit: leaving]
jnorkus has joined #nixos
<eyJhb> Nope, no clue. Does not want to work
mkk has quit [Killed (Sigyn (Stay safe off irc))]
asheshambasta has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #90362 → gauge: 1.0.4 -> 1.1.1 → https://git.io/JfQQJ
zupo_ has quit [Ping timeout: 260 seconds]
zupo has joined #nixos
jnorkus has quit [Quit: leaving]
jnorkus has joined #nixos
<{^_^}> [nixpkgs] @davidtwco opened pull request #90363 → mdcat: 0.18.2 -> 0.18.4 → https://git.io/JfQQ0
codygman has quit [Read error: Connection reset by peer]
jnorkus has quit [Client Quit]
codygman has joined #nixos
jnorkus has joined #nixos
<{^_^}> [nixpkgs] @cpu opened pull request #90364 → honggfuzz: init at 2.2 → https://git.io/JfQQV
orivej has quit [Ping timeout: 260 seconds]
orivej_ has joined #nixos
jnorkus has quit [Client Quit]
jnorkus has joined #nixos
jnorkus has quit [Client Quit]
jnorkus has joined #nixos
jnorkus has quit [Client Quit]
jnorkus has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #90365 → gh-ost: 1.0.47 -> 1.0.49 → https://git.io/JfQQb
<{^_^}> [nixpkgs] @marsam merged pull request #90358 → flow: 0.126.1 -> 0.127.0 → https://git.io/JfQ9A
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JfQQA
<{^_^}> [nixpkgs] @kalekseev opened pull request #90366 → pythonPackages.flake8: fix dependencies → https://git.io/JfQ7G
davidv7 has quit [Ping timeout: 246 seconds]
kreyren has quit [Remote host closed the connection]
<eyJhb> clever: no-go with Debian I guess
<clever> eyJhb: what happened?
<eyJhb> Just the invalid argument
<eyJhb> Works with Ubunti
<eyJhb> Ubuntu
<clever> eyJhb: can you paste the full output?
<{^_^}> [nixpkgs] @r-ryantm opened pull request #90367 → gllvm: 1.2.3 -> 1.2.6 → https://git.io/JfQ72
<clever> eyJhb: what does `uname -a` report?
<eyJhb> A have shut down the machine :/
<clever> eyJhb: and how much ram on the machine?
<eyJhb> 1 GB
<eyJhb> Do you want a machine to play with?
<clever> 1gig might be cutting it close for a kexec
drakonis has joined #nixos
<eyJhb> If you are curious
<eyJhb> Just give me a ssh-key :p
<clever> currently busy trying to make sense of ansi escape codes
<eyJhb> Ahh, okay :)
<eyJhb> Trying with Ubuntu for now
jnorkus has quit [Quit: leaving]
jnorkus has joined #nixos
<eyJhb> But I should go down to the gym, and hope for the best that people are OK regarding COVID...
<eyJhb> Automacially detecting network would be cool btw. :p
kleisli has quit [Ping timeout: 260 seconds]
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/20e62aa580c (from 6 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
drakonis_ has quit [Ping timeout: 256 seconds]
zebrag has joined #nixos
jnorkus has quit [Quit: leaving]
jnorkus has joined #nixos
jnorkus has quit [Client Quit]
orivej_ has quit [Ping timeout: 256 seconds]
liminal18 has quit [Quit: Leaving]
orivej has joined #nixos
<{^_^}> [nixpkgs] @bhipple opened pull request #90368 → anki: more no-op exp cleanup → https://git.io/JfQ7Q
<{^_^}> [nixpkgs] @r-ryantm opened pull request #90369 → go-protobuf: 1.3.2 -> 1.4.2 → https://git.io/JfQ7d
<hexo> hi folks, what is the point on
<hexo> restarting the following units: polkit.service
<hexo> reloading the following units: dbus.service
<hexo> every time i install a package?
alexherbo20 has joined #nixos
jnorkus has joined #nixos
<hexo> especially restarting polkit takes like two minutes, which is ridiculous
<hexo> why is that?
<hexo> any ideas, please?
jnorkus has quit [Client Quit]
alexherbo2 has quit [Ping timeout: 246 seconds]
alexherbo20 is now known as alexherbo2
jnorkus has joined #nixos
jnorkus has quit [Client Quit]
jnorkus has joined #nixos
<clever> hexo: what does `systemctl list-jobs` say, when ran in another window, while its hung?
linarcx has joined #nixos
meh` has quit [Ping timeout: 256 seconds]
Diogo has quit [Read error: Connection reset by peer]
rajivr has quit [Quit: Connection closed for inactivity]
<srk> looks like polkit restarts due to systemd.services.polkit.restartTriggers = [ config.system.path ]; but does restart instantly for me
<clever> its possible that its restarting instantly for hexo as well
<clever> and that was just the last thing printed, and is wrongly blamed
<srk> ah
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/00e448172f3 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
bhipple has quit [Ping timeout: 246 seconds]
drakonis_ has joined #nixos
knupfer has quit [Quit: knupfer]
knupfer has joined #nixos
drakonis has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #90370 → gotop: 3.5.3 -> 4.0.1 → https://git.io/JfQ54
kreyren has joined #nixos
EatThem has quit [Ping timeout: 256 seconds]
Izorkin has quit [Quit: ZNC 1.8.0 - https://znc.in]
Guest23379 has quit [Quit: WeeChat 2.7.1]
Izorkin has joined #nixos
<{^_^}> [nixpkgs] @lopsided98 opened pull request #90371 → opentx: 2.3.7 -> 2.3.8 → https://git.io/JfQ5i
<{^_^}> [nixpkgs] @r-ryantm opened pull request #90372 → govc: 0.22.1 -> 0.23.0 → https://git.io/JfQ5P
<n3t> ,channels
<{^_^}> Largest Nix channels: #nixos, #nixos-dev, #nixos-chat, #nixos-aarch64, #nixos-security, #nixcon, #nixos-officehours, #nixops, #haskell.nix, #nix-darwin, #nixos-de, #nixos-emacs, #nixos-on-your-router, #nixos-nur, #nix-lang, #nixos-fr, #nixos-systemd, #nixos-borg, #nixos-wiki
orivej has quit [Ping timeout: 256 seconds]
kreyren_ has joined #nixos
orivej has joined #nixos
kreyren_ has quit [Remote host closed the connection]
dramforever has quit [Remote host closed the connection]
dramforever has joined #nixos
Izorkin has quit [Quit: ZNC 1.8.0 - https://znc.in]
Izorkin has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bhipple has joined #nixos
kreyren has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #90373 → goxel: 0.10.5 -> 0.10.6 → https://git.io/JfQ5Q
cosimone has joined #nixos
<{^_^}> [nixpkgs] @sternenseemann closed pull request #90210 → ocamlPackages.tls: 0.12.0 -> 0.12.1 → https://git.io/JfHip
sterni has quit [Quit: WeeChat 2.7.1]
sterni has joined #nixos
quinn has joined #nixos
jb55 has quit [Remote host closed the connection]
linarcx has quit [Quit: WeeChat 2.8]
dramforever has quit [Quit: Leaving]
drakonis has joined #nixos
<{^_^}> [nixpkgs] @ryantm merged pull request #90359 → fly: 6.1.0 -> 6.3.0 → https://git.io/JfQHY
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/JfQdT
lunik1 has quit [Quit: Ping timeout (120 seconds)]
<wedens[m]> can I somehow set specific name to network interface?
<Ericson2314> sphalerite: you need a `callPackage ({ qemu}: ...)` for the splicing black magic to work
<sphalerite> Ericson2314: oh no, that's a lot of black magic D:
<Ericson2314> yeah it's terrible
Chiliparrot has quit [Ping timeout: 256 seconds]
<clever> sphalerite: basically, callPackage will add some extra attrs to every package, to let you get the host or target version
zupo has joined #nixos
<Ericson2314> I was hoping replace-callPackage project would have taken off by now, and we'd be able to get rid of it
<Ericson2314> but alas
kreyren has joined #nixos
davidv7 has joined #nixos
jgeerds_ has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #90376 → helmsman: 3.4.1 -> 3.4.3 → https://git.io/JfQdK
gustavderdrache has quit [Quit: Leaving.]
<hexo> clever: # systemctl list-jobs
<hexo> No jobs running.
kreyren has quit [Remote host closed the connection]
<clever> hexo: and that was ran while it was hung?
<clever> hexo: what about `ps -eH x`?, what are the children of rebuild-switch?
justanotheruser has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #90377 → hexyl: 0.7.0 -> 0.8.0 → https://git.io/JfQFf
<{^_^}> [nixpkgs] @r-ryantm opened pull request #90378 → httplab: 0.3.0 -> 0.4.0 → https://git.io/JfQFW
<hexo> thats ps -eH x
<hexo> i've run strace -f on nix rebuild
<hexo> 17M of logs
<hexo> :D
kreyren has joined #nixos
kreyren has quit [Remote host closed the connection]
<clever> hexo: i would expect `systemctl list-jobs` to show something, not sure where the hang there is
alexherbo2 has quit [Quit: Ping timeout (120 seconds)]
<hexo> 6423 network-link-enp0s20u1u4.service start waiting
<hexo> 6422 network-interfaces.target start waiting
<hexo> JOB UNIT TYPE STATE
<hexo> 6473 sys-subsystem-net-devices-enp0s20u1u4.device start running
<hexo> 6474 network-addresses-enp0s20u1u4.service start waiting
<hexo> thats it?
<clever> hexo: does enp0s20u1u4 exist?
<hexo> im waiting on ethernet? :D
<hexo> of course not
<hexo> :D
<hexo> it doesnt
<clever> hexo: thats your problem, update the config to not depend on it
<{^_^}> [nixpkgs] @chrbauer opened pull request #90379 → python3Packages.redis: 3.3.11 -> 3.5.3 → https://git.io/JfQFa
alexherbo2 has joined #nixos
<hexo> clever: thanks a lot for help
<hexo> # networking.interfaces.enp0s20u1u4.useDHCP = true;
<hexo> :D no idea how it got there, but now its ok
<{^_^}> [nixpkgs] @mdlayher opened pull request #90380 → nixos/corerad: use passAsFile while converting settings JSON to TOML → https://git.io/JfQF1
jnorkus has quit [Ping timeout: 246 seconds]
alexherbo2 has quit [Quit: Ping timeout (120 seconds)]
orivej has quit [Ping timeout: 246 seconds]
orivej has joined #nixos
knupfer1 has joined #nixos
knupfer has quit [Quit: knupfer]
knupfer1 is now known as knupfer
knupfer1 has joined #nixos
knupfer has quit [Client Quit]
knupfer1 is now known as knupfer
<wedens[m]> nice. got segfault on `nix copy --to local?root=/mnt /nix/store/blabla`
codygman has quit [Read error: Connection reset by peer]
codygman has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #90381 → i2pd: 2.30.0 -> 2.32.1 → https://git.io/JfQbv
knupfer has quit [Client Quit]
knupfer has joined #nixos
<bqv> ...wait, does restarting the nix-daemon kill all builds?
<bqv> no, it does not :)
FRidh has joined #nixos
<{^_^}> [nixpkgs] @FRidh closed pull request #90379 → python3Packages.redis: 3.3.11 -> 3.5.3 → https://git.io/JfQFa
<{^_^}> [nixpkgs] @FRidh merged pull request #90344 → dot2tex: use python3 → https://git.io/JfQDu
<{^_^}> [nixpkgs] @FRidh pushed 3 commits to master: https://git.io/JfQbq
<wedens[m]> segfault probably meant that nix was unable to check signatures
<{^_^}> [nixpkgs] @r-ryantm opened pull request #90382 → icingaweb2: 2.7.3 -> 2.8.0 → https://git.io/JfQbW
mallox has joined #nixos
Thra11 has quit [Ping timeout: 258 seconds]
linarcx has joined #nixos
orivej has quit [Ping timeout: 246 seconds]
orivej has joined #nixos
Thra11 has joined #nixos
<{^_^}> [nixpkgs] @lopsided98 opened pull request #90383 → buildbot: 2.8.1 -> 2.8.2 → https://git.io/JfQNv
waleee-cl has quit [Quit: Connection closed for inactivity]
<{^_^}> [nixpkgs] @primeos pushed to master « scdoc: 1.10.1 -> 1.11.0 »: https://git.io/JfQNC
<{^_^}> [nixpkgs] @r-ryantm opened pull request #90385 → jp: 0.1.2 -> 0.1.3 → https://git.io/JfQNW
cole-h has joined #nixos
cosimone has quit [Quit: Quit.]
alexherbo2 has joined #nixos
<{^_^}> [nixpkgs] @dywedir merged pull request #90377 → hexyl: 0.7.0 -> 0.8.0 → https://git.io/JfQFf
<{^_^}> [nixpkgs] @dywedir pushed 2 commits to master: https://git.io/JfQNM
user_0x58 has joined #nixos
<{^_^}> [nixpkgs] @danielfullmer opened pull request #90386 → nixos/systemd-boot: update bootloader if needed → https://git.io/JfQNH
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/00e448172f3 (from 4 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
<{^_^}> [nixpkgs] @r-ryantm opened pull request #90387 → jx: 2.1.31 -> 2.1.65 → https://git.io/JfQAU
orivej_ has joined #nixos
orivej has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #90388 → kapacitor: 1.5.4 -> 1.5.5 → https://git.io/JfQAl
<energizer> euank: heya
eoli3n_ has joined #nixos
selfsymmetric-pa has joined #nixos
Cache has joined #nixos
<Cache> Hi, is anyone here using awesomewm? I'm getting random errors for my config that used to work fine on Arch
<selfsymmetric-pa> Hey, ysndr has been trying to get this merged for a while. He's also resolved merge conflicts twice. I can't help but wonder if node-packages.nix is a bad module which causes too much churn. https://github.com/NixOS/nixpkgs/pull/87766
<{^_^}> #87766 (by ysndr, 4 weeks ago, open): nodePackages.mermaid-cli: init 8.4.8
<qyliss> node-packages.nix is bad yes
<Cache> All the errors end in "attempt to index local 'c' (a nil value)"
<mgdm> i came across that node thing yesterday
<simpson> Cache: Do the minor versions line up? Awesome's API changes between minor versions, not just major versions, so you may need to adapt your configuration.
<etu> Cache: Is it the same version of awesome? I know that in the past (like 10 years ago when I used awesome) they tended to break the config format on every single update. I have no idea if they still break all the time.
<selfsymmetric-pa> qyliss: What if we were to split them up into individually created nix files?
<selfsymmetric-pa> And them loaded all modules from a directory into `node-packages.nix`?
<selfsymmetric-pa> Then we wouldn't have merge conflicts anymore, right?
<selfsymmetric-pa> Alternatively: make the generation of `node-packages.nix` a build step.
seku has joined #nixos
<Cache> Interesting. noticed that Arch has 4.3-1 in the repository and Nix 4.3. So the api even changes inbetween minor versions?
<energizer> hello i'm trying to work around this error from nixos-install "unable to bind mount" "permission denied" https://github.com/NixOS/nixpkgs/issues/67465 here is my config and strace -f https://github.com/energizah/error . I was linked to "unable to bind mount" in nix https://github.com/NixOS/nix/blob/045b07200c77bf1fe19c0a986aafb531e7e1ba54/src/libstore/build.cc#L3119-L3122
<{^_^}> #67465 (by matthewbauer, 41 weeks ago, open): Unable to bind mount on certain hard drives
<qyliss> selfsymmetric-pa: I don't think the latter would be possible without IFD
<{^_^}> [nixpkgs] @r-ryantm opened pull request #90389 → keybase: 5.4.2 -> 5.5.1 → https://git.io/JfQA7
xe4 has joined #nixos
<Cache> Actually it looks like the latest release of awesome was 4.3, so they're the same
<selfsymmetric-pa> acronym check: IFD?
<xe4> if I have a default.nix file in my directory, what does "nix-build -A blah" do?
<energizer> ,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."
<selfsymmetric-pa> energizer++
<{^_^}> energizer's karma got increased to 17
lunik1 has joined #nixos
<selfsymmetric-pa> qyliss: Is there a PRINCIPLED way to split up `node-packages.nix`?
kreyren has joined #nixos
<etu> xe4: Build the attribute blah from default.nix
<qyliss> selfsymmetric-pa: not sure
gentauro has quit [Read error: Connection reset by peer]
<qyliss> having everything be one big npm resolve is probably a good thing
<energizer> what does it mean to bind mount a directory to itself?
gentauro has joined #nixos
<xe4> etu: thanks!
<selfsymmetric-pa> Thanks for the thoughts. qyliss++
<{^_^}> qyliss's karma got increased to 67
Chiliparrot has joined #nixos
asheshambasta has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #90390 → keycard-cli: 0.0.12 -> 0.4.0 → https://git.io/JfQxJ
<etu> xe4: Putting this in a default.nix http://ix.io/2pcd/nix and then running "nix-build -A blah" in that dir will give you a result symlink to a file with the contents "1 + 1!
<etu> s/!/"/
cosimone has joined #nixos
chipb has joined #nixos
wolfshappen has quit [Ping timeout: 272 seconds]
tester33 has joined #nixos
<xe4> etu: again, thank you, so much!
Cache has quit [Remote host closed the connection]
wolfshappen has joined #nixos
Soo_Slow has joined #nixos
<{^_^}> [nixpkgs] @NeQuissimus pushed 4 commits to master: https://git.io/JfQxs
<clever> etu: builtins.toFile "blah" "1+1" does the same thing, but cant depend on anything
meh` has joined #nixos
mounty has joined #nixos
tester33 has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @samueldr opened pull request #90391 → nixos/release-notes: Amend note about image compression → https://git.io/JfQxu
<{^_^}> [nixpkgs] @r-ryantm opened pull request #90392 → kube-router: 0.3.1 -> 0.4.0 → https://git.io/JfQxr
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #90393 → kubecfg: 0.13.1 -> 0.16.0 → https://git.io/JfQx9
<eyJhb> energizer: found the issue?
<energizer> eyJhb: no
<eyJhb> Damn
orivej_ has quit [Ping timeout: 246 seconds]
orivej has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #90394 → kubeless: 1.0.4 -> 1.0.6 → https://git.io/JfQxx
linarcx has quit [Quit: WeeChat 2.8]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #90395 → lazydocker: 0.8 -> 0.9 → https://git.io/JfQpT
kreyren has quit [Remote host closed the connection]
asheshambasta has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #90396 → lazygit: 0.20.3 -> 0.20.4 → https://git.io/JfQpY
<{^_^}> [nixpkgs] @veprbl pushed 2 commits to master: https://git.io/JfQp3
<energizer> updated with info https://github.com/energizah/error
<eyJhb> energizer: ehmm
<{^_^}> [nixpkgs] @filalex77 merged pull request #90355 → findomain: 1.5.0 -> 1.7.0 → https://git.io/JfQ9Z
<eyJhb> That is a weird way to mount it
<{^_^}> [nixpkgs] @filalex77 pushed 2 commits to master: https://git.io/JfQp4
<eyJhb> But should not make a difference
<{^_^}> [nixpkgs] @r-ryantm opened pull request #90397 → lean: 3.15.0 -> 3.16.2 → https://git.io/JfQpB
<eyJhb> But normally you would mount your main at /mnt
<eyJhb> ANd boot at /mnt/boot
<eyJhb> Remember to mkdir it first
<energizer> this is a running system that has other things at /mnt
<{^_^}> [nixpkgs] @filalex77 merged pull request #90396 → lazygit: 0.20.3 -> 0.20.4 → https://git.io/JfQpY
<{^_^}> [nixpkgs] @filalex77 pushed 2 commits to master: https://git.io/JfQpR
lunaa has joined #nixos
<eyJhb> So you are trying to install to a disk, and then just throw the disk into the machine?
<energizer> yes
<eyJhb> Hmm... And it generates a correct config?
<eyJhb> Can you share the configuration and hardware config?
<energizer> it's in the repo
<eyJhb> Well yeah, hardware config is :p Under a different name
<eyJhb> (wrong name)
<{^_^}> [nixpkgs] @filalex77 merged pull request #90395 → lazydocker: 0.8 -> 0.9 → https://git.io/JfQpT
<{^_^}> [nixpkgs] @filalex77 pushed 2 commits to master: https://git.io/JfQp2
<energizer> that's the whole config
<eyJhb> But this is a modified version as far as I can see
<eyJhb> It should generate two ?
simba1 has quit [Ping timeout: 256 seconds]
<energizer> that is a minimal example
<eyJhb> nixos-generate-config --root /mnt/gamma
<energizer> nah
<{^_^}> [nixpkgs] @filalex77 merged pull request #90389 → keybase: 5.4.2 -> 5.5.1 → https://git.io/JfQA7
<{^_^}> [nixpkgs] @filalex77 pushed 2 commits to master: https://git.io/JfQpo
simba1 has joined #nixos
<eyJhb> It is heavily edited... A minimal example would just show what the generator makes :)
kreyren has joined #nixos
<energizer> if you think you can solve this problem i'm happy to continue, but i think it's a nixos bug and making minor modifications to the config is unlikely to change anything
knupfer has quit [Remote host closed the connection]
knupfer has joined #nixos
<{^_^}> [nixpkgs] @vbgl merged pull request #89788 → ocamlPackages.ocsigen-start: 2.16.1 → 2.18.0 → https://git.io/JfDsR
<{^_^}> [nixpkgs] @vbgl pushed to master « ocamlPackages.ocsigen-start: 2.16.1 → 2.18.0 »: https://git.io/JfQpD
<{^_^}> [nixpkgs] @filalex77 merged pull request #90370 → gotop: 3.5.3 -> 4.0.1 → https://git.io/JfQ54
<{^_^}> [nixpkgs] @filalex77 pushed 2 commits to master: https://git.io/JfQp9
<{^_^}> [nixpkgs] @r-ryantm opened pull request #90398 → lexicon: 3.3.22 -> 3.3.26 → https://git.io/JfQpH
<{^_^}> [nixpkgs] @samueldr merged pull request #90275 → thunderbird: Patch rpath to find libudev, which is part of systemd. → https://git.io/JfQ8H
<{^_^}> [nixpkgs] @samueldr pushed 2 commits to master: https://git.io/JfQpd
<eyJhb> What would the bug be?
<eyJhb> I see nothing that is special about your setup
<eyJhb> I have even put in a USB drive, formatted, created EFI, EXT4, mounted it at /tmp/mnt, made config, nixos-installed
<eyJhb> Everything works fine so far.. :)
<energizer> with my config?
justanotheruser has quit [Ping timeout: 272 seconds]
bhipple has quit [Ping timeout: 246 seconds]
rsoeldner has quit [Remote host closed the connection]
<eyJhb> I don't have enough of your config, and I see no reason to use that config as it is only the hardware part - and mine is pretty much the same - https://termbin.com/g407
orivej has quit [Ping timeout: 256 seconds]
<energizer> that is a complete config
orivej has joined #nixos
<{^_^}> [nixpkgs] @Ericson2314 closed pull request #21268 → Sane cross-compiling through bootstrapping → https://git.io/v15xY
<{^_^}> [nixpkgs] @Ericson2314 merged pull request #90206 → release-lib: Avoid filtering twice → https://git.io/JfHre
<{^_^}> [nixpkgs] @Ericson2314 pushed 2 commits to master: https://git.io/JfQpA
<energizer> yours is not
<eyJhb> In the dir you tell nixos to config, it will create etc/nixos/configuration.nix and hardware-configuration.nix
<eyJhb> Both are needed, what you have uploaded is hardware-configuration.nix
<energizer> no, the filenames don't matter
<eyJhb> That still does not change, it is not the complete config
<eyJhb> Are you running the CMD as root?
<energizer> yes it is
<energizer> let's move on
gustavderdrache has joined #nixos
<eyJhb> I can't really help if you are unwilling to do stuff, sorry ... I see no reason it is a fault in NixOS. My USB test works fine :) Or, at least not that error. Got some GPT instead :)
<{^_^}> [nixpkgs] @gebner merged pull request #90397 → lean: 3.15.0 -> 3.16.2 → https://git.io/JfQpB
<{^_^}> [nixpkgs] @gebner pushed 2 commits to master: https://git.io/JfQhJ
<chipb> hm. well that's fun.
<chipb> swaylock installed to my user profile by default wants to use the pam 'swaylock' configuration to check password.
<chipb> which won't exist without a system rebuild.
<{^_^}> [nixpkgs] @ryantm merged pull request #90341 → dapper: 0.4.1 -> 0.5.1 → https://git.io/JfQMK
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/JfQhs
<chipb> I've patched it to just use the 'login' service instead so it works, but maybe that should be the default?
aleph- is now known as Church-
Chiliparrot has joined #nixos
lsix has joined #nixos
<eyJhb> clever: there are multiple projects that try to do the formatting, not sure any of them is good however
<{^_^}> [nixpkgs] @r-ryantm opened pull request #90399 → liblouis: 3.13.0 -> 3.14.0 → https://git.io/JfQhM
pamplemousse has joined #nixos
justanotheruser has joined #nixos
orivej has quit [Ping timeout: 260 seconds]
kenran has quit [Ping timeout: 256 seconds]
orivej_ has joined #nixos
philr_ has joined #nixos
<LambdaDuck> How would you do this declaratively? `nix-env -iA cachix -f https://cachix.org/api/v1/install`
<LambdaDuck> E.g. for /etc/nixos/configuration.nix
lunaa has quit [Ping timeout: 258 seconds]
fendor_ has quit [Remote host closed the connection]
kreyren has quit [Ping timeout: 240 seconds]
<clever> > pkgs.cachix
<clever> LambdaDuck: the url in -f is just a 302 redirect to a nixpkgs revision from github
<{^_^}> "<derivation /nix/store/mj9c2fsgnb5qsggp0f8zp2pg6aa1gxn7-cachix-0.3.8.drv>"
<clever> LambdaDuck: so you should be able to just shove cachix into systemPackages, like any other package
FRidh has quit [Quit: Konversation terminated!]
fendor has joined #nixos
<LambdaDuck> Ah, right. Thanks! How would you do it in general, when the -f is not a 302 to nixpkgs?
<clever> LambdaDuck: environment.systemPackages = [ (import (builtins.fetchTarball "https://cachix.org/api/v1/install")).cachix ];
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/0d725225d46 (from 42 minutes ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<LambdaDuck> Thanks!
jumper149 has joined #nixos
<energizer> in the meantime, can anyone think of a workaround, or should i just install ubuntu/buy a macbook?
<eyJhb> Workaround for what energizer ? You need to try and unmount it, remake partitions, generate config and see again. It looks like a normal setup, which should be fine
<puck> energizer: what file system are you using on /mnt/gamma?
orivej_ has quit [Ping timeout: 256 seconds]
orivej has joined #nixos
<energizer> puck: ext4
<puck> hrmm, interesting
<euank> energizer: did you ever figure out what was going on?
<energizer> euank: no. i updated the repo with more info https://github.com/energizah/nixos-bind-mount-error
<{^_^}> [nixpkgs] @r-ryantm opened pull request #90400 → libmysofa: 1.0 -> 1.1 → https://git.io/JfQj0
<euank> If you're willing to dig more, I'm willing to try
<energizer> euank: yes
mounty has quit [Quit: Konversation terminated!]
<energizer> gimme a couple minutes, i wanna try with just the plain nixos iso usb on the target machine
<puck> i'm super confused by this error, tbh. i'm not entirely sure this should ever be able to occur
<euank> Sure
mallox has quit [Quit: WeeChat 2.8]
alexherbo2 has quit [Ping timeout: 258 seconds]
<euank> I'm also confused puck. There's a seccomp filter set before that mount call, which I guess could do it, but seems unlikely (since it works on other FSs).
<puck> oh, right, the seccomp filter
<puck> the seccomp filter doesn't stop mounts though
<euank> I mostly think that's not it and want to eliminate it first by verifying we can repro without it
<puck> euank: right, but there's another mount just before it (non-bind mount though) which works fine
<euank> Yeah, `mount --make-rprivate /`
<euank> selinux could do this, I don't think that seems likely. Selinux isn't enforcing / doing anything on nixos, right?
<puck> i don't think the official iso has it, and i'm not sure a self-overlapping bindmount would cause this anyways
<risson> Hi everyone, I'm trying to write a module that would be working inside a NixOS _and_ a home-manager configuration
<risson> The thing is the NixOS' modules options are not available in the home-manager and vice versa
<risson> The workaround would be to import NixOS' modules and home-manager's so the options are available even if they are not evaluated
<risson> But that brings some additional problems, especially if some options have the same name but not the same types
<risson> So I'm looking for another workaround if anyone has any ideas
<euank> puck: fortunately, we still have avenues to explore with a lot of work. I'm pretty sure with enough `perf` work, we can get where in the kernel we're hitting EPERM
<risson> kalbasit told me that clever might know something about this
<puck> euank: it's not an EPERM, it's an EACCES
<puck> euank: also, weirdly, and i can't tell if this is coincidence or not
<risson> I can provide a basic non-working example if needed
moet has joined #nixos
Chiliparrot has quit [Ping timeout: 256 seconds]
<puck> euank: https://github.com/NixOS/nixpkgs/issues/67465#issuecomment-583287638 this trace, has the issue with append-initrd-secrets.drv.chroot too
<puck> i'm not sure this is coincidence or not though
<moet> ... about how to fix a broken haskell package
<moet> does anyone here have experience with this? i understand the haskell parts, but not the nix parts
<moet> that thread links to a youtube video (https://www.youtube.com/watch?v=KLhkAEk8I20) with very detailed instructions about how the haskell infra in nixpkgs works, but i seem to be missing a few small pieces and cannot accomplish my goal to fix the `wxdirect` package.. if anyone here can help, let me know
<{^_^}> [nixpkgs] @r-ryantm opened pull request #90401 → librealsense: 2.34.0 -> 2.35.2 → https://git.io/Jf7eY
Chiliparrot has joined #nixos
fadenb[m] has left #nixos ["User left"]
<moet> here's a more concrete question: if i know when a package broke in hydra, how can i find the version of nixpkgs to pin? the hydra page seems to only have githashes for a branch of nixpkgs, not master
kreyren has joined #nixos
fadenb has left #nixos ["User left"]
Thra11 has quit [Ping timeout: 264 seconds]
<euank> I'm not sure what you mean by 'version of nixpkgs to pin' there moet
<moet> euank: i think i mean the githash of nixpkgs master branch for which the package last built..? does that make sense?
<euank> Can you link the hydra job you're looking at?
<euank> iiuc, jobsets are based on different branches, and it very well might be that you're looking at a job that is only in some branch, not in master.
<moet> here's the history of jobs for the package, showing where it broke https://hydra.nixos.org/job/nixpkgs/haskell-updates/haskellPackages.wx.x86_64-linux .. i'm trying to "go back" in my local environment to a working version (that's the part where i'd like to find and pin a version) and then figure out how to bring that forward into master
<moet> euank: yes, the job is in the `haskell-updates` branch .. in my understanding i'd have to make it work in master somehow, so starting from an old haskell-updates wouldn't be valuable..?
<{^_^}> [nixpkgs] @r-ryantm opened pull request #90402 → liquibase: 3.9.0 -> 3.10.0 → https://git.io/Jf7eX
<euank> It would give you a working thing, and I assume haskell-updates regularly ends up getting merged to master, but this also doesn't seem like the ideal approach necessarily
knupfer has quit [Ping timeout: 256 seconds]
<moet> euank: ah, ok, maybe i'm going about this the wrong way
<euank> It's likely that it's broken because some other packages updated, and downgrading other haskellPackages to fix that one might be the wrong solution
muslimm has joined #nixos
<euank> Have you dug into why it's broken on master or the haskellUpdates branch?
<moet> euank: yes, it seems like the Setup.hs has some problem locating a dependency.. i think that this _might_ just be an undeclared dependency
<{^_^}> Channel nixos-19.09 advanced to https://github.com/NixOS/nixpkgs/commit/8260cd5bc65 (from 2 days ago, history: https://channels.nix.gsc.io/nixos-19.09)
waleee-cl has joined #nixos
<moet> euank: but the language of the overrides file in haskell-modules/common-configuration.nix has me a bit lost.. i've tried various ways to get the dependency in scope for the Setup.hs, but none have worked..
nschoe has quit [Ping timeout: 272 seconds]
<moet> since i'm new to nix, i'm iterating very slowly.. i'm not sure how (or whether it is possible) to iterate using cabal..
muslimm has quit [Remote host closed the connection]
<euank> So, the error in hydra is that setup.hs requires 'process >=1.1 && <1.5', and the only version of process that seems to be in hackage-packages is process_1_6_9_0
muslimm has joined #nixos
muslimm has quit [Max SendQ exceeded]
muslimm has joined #nixos
muslimm has quit [K-Lined]
<moet> euank: yes, that's the error i'm seeing also.. i didn't see anything about process_1_6_9_0
<moet> i guess you looked that up separately..
Thra11 has joined #nixos
muslimm has joined #nixos
<euank> which I'd recommend reading locally, github's web interface can't handle that file at all
* muslimm Be muslims to be fine ****
muslimm has quit [K-Lined]
<moet> euank: yes, i just found it in vim.. thank you
<moet> euank: is there a way to override the process package version for builds that use wx, wxdirect, etc..? or is that not the right approach here?
<euank> I don't know the conventions for haskell packages in general here, and I wish I did
<euank> Hopefully someone else can chime in
<euank> It's definitely technically possible in nix to do so, but I don't know how that's normally handled in the haskell packages
Zetagon has quit [Quit: WeeChat 2.8]
<moet> euank: understood! thanks for helping me understand this far!!
selfsymmetric-pa has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #90403 → litecoin: 0.17.1 -> 0.18.1 → https://git.io/Jf7vO
<tnks_> navigating Hydra always gets me lost. Right now, with the latest channel of nixos-20.03, I get a pretty bad Hydra cache miss on `nix build nixos.shell.check`. I feel pretty confident the build should have failed. But when I search hydra.nixos.org for "shellcheck" I get so many builds, I'm not sure I'm looking at the right one.
<euank> It does look like `configuration-nix.nix` is generally where these sort of customizations happen, and it seems there's several haskell-specific library functions that may be handy in addition to usual overrides
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
tobeportable has quit [Quit: Leaving]
<Bunogi> what should I do if /boot is full and `nixos-rebuid-switch` can't copy the kernels into it? I already tried garbage collecting all older generations (nix-collect-garbage -d) but it didn't fix it
<Bunogi> it seems to always copy them no matter what, to try to solve it I manually deleted everything in /boot/kernels but it was just copied back
<euank> Bunogi: you probably want to delete some generations, or configure the max generations copied over. Are you using systemd-boot or grub?
<moet> euank: the top of configuration-nix.nix seems to indicate that this particular kind of failure is out of scope: "overriding a specific version of a haskell library because some package fails to build with a newer version"
<moet> so i guess i'll go the PR route
<euank> What's that route?
<Bunogi> euank: Yeah I did that already with with (nix-collect-garbage -d). Using grub on EFI
<moet> euank: ah, sorry, i meant, i'll fix upstream with a PR that updates version bounds in the package on hackage (if that's possible)
<euank> Yeah, that makes sense. It also might be possible to apply that patch in the nix tree before it merges
<{^_^}> [nixpkgs] @r-ryantm opened pull request #90404 → luigi: 2.8.13 -> 3.0.0 → https://git.io/Jf7vu
<euank> configuration-nix does seem to have other things that are applying patches. All of this with a grain of salt though. You'll get a better answer if someone that's familiar with the nix haskell stuff is around, or if you wanted to try and get more ideas of options on discourse, someone there might be able to better help
<euank> Bunogi: if you gc the old generations, it shouldn't be able to copy them back in. But anyway, the `boot.loader.grub.configurationLimit` option might help
<euank> I think it defaults to 100, and that sounds like it's larger than fits on your boot partition
<moet> euank: configuration-common.nix has a version fixing override near the top ... comment says "Needs older QuickCheck version" .. i'll look for more
<Bunogi> Ah, I'll try that, thanks. My /boot is only 100MB. Don't remember the exact details but it's so small because of a dual boot with windows
<moet> euank: ah, no, i misunderstood, these are just packages where test have been disabled due to changes in QuickCheck
<Bunogi> Nice, I set the configuration limit to 1 and it completed the upgrade this time. I guess i'll have to make it really small temporarily if I get this issue again. Thanks for the pointer
muslimm has joined #nixos
muslimm has quit [Max SendQ exceeded]
muslimm has joined #nixos
dfdf has joined #nixos
dfdf has quit [Max SendQ exceeded]
muslimm has quit [K-Lined]
orivej_ has joined #nixos
orivej has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #90406 → matterircd: 0.18.2 -> 0.19.4 → https://git.io/Jf7vh
<p01ar> Ericson2314, yo
<p01ar> doing more meson port work atm, currently porting an old music player
<moet> euank: it seems the way to allow versions is to call `doJailbreak` on the package in an overrides file.. this is defined and documented in haskell-modules/lib.nix .. however, it's a sledgehammer which lifts all version constraints from the package, and seems to actually break things worse for `wxdirect` .. i'll just try to fix upstream
<Ericson2314> p01ar: hey!
<p01ar> all working good in *nix but hitting problem after problem on the windows build lmao
<moet> euank: in the meantime, do you know how i can develop against an older version of nixpkgs for my personal work?
<{^_^}> Channel nixos-unstable advanced to https://github.com/NixOS/nixpkgs/commit/0a146054bdf (from 15 hours ago, history: https://channels.nix.gsc.io/nixos-unstable)
<moet> euank: nevermind, actually, i know how to do this; and i'll just use the githash from hydra; thanks for your help today!
<Ericson2314> hehe, that sounds like windows!
<euank> Good luck moet, thanks for trying to properly improve things upstream too :)
MarkRBM has quit [Quit: Connection closed for inactivity]
<devalot> Anyone know why the "External Editor" feature of KMail is missing? Do I need to install a plugin some how?
Bunogi has quit [Quit: The Lounge - https://thelounge.chat]
Bunogi has joined #nixos
orivej_ has quit [Ping timeout: 240 seconds]
orivej has joined #nixos
growpotkin has joined #nixos
<colemickens> for my "all inputs pinned" setup, I have an escape hatch that will pull from ~/code/<import> if it exists to ease with local development.
<colemickens> Is such a thing possible with flakes? It seems `inputs` have to specifically just be "references".
<{^_^}> [nixpkgs] @Ericson2314 pushed 93 commits to staging: https://git.io/Jf7fE
amerigo has quit [Quit: Connection closed for inactivity]
user_0x58 has quit [Ping timeout: 256 seconds]
coderobe has quit [Ping timeout: 256 seconds]
__monty__ has quit [Quit: leaving]
Mrmaxmeier has joined #nixos
<{^_^}> [nixpkgs] @thiagokokada opened pull request #90407 → bbswitch: fix build with Linux kernel version >= 5.6.0 → https://git.io/Jf7fV
<p01ar> Ericson2314, yea lmao already filed 4 issues, 3 still outstanding
<Ericson2314> p01ar: links?
<{^_^}> mesonbuild/meson#7322 (by p01arst0rm, 52 minutes ago, open): [CMake] subproject panic when including non "C:\" libraries
<{^_^}> mesonbuild/meson#7323 (by p01arst0rm, 39 minutes ago, open): [CMake] Meson not properly respecting CMAKE_PREFIX_PATH when searching for dependencies on windows
<{^_^}> [nixpkgs] @jollheef opened pull request #90408 → out-of-tree: 1.3.0 -> 1.4.0 → https://git.io/Jf7fo
<{^_^}> mesonbuild/meson#7305 (by p01arst0rm, 2 days ago, open): Meson not able to find CMake Package dependency QuaZip; CMake native project can.
<p01ar> i think they might be a tad related
<p01ar> all pathing bugs
<p01ar> Ericson2314
<Ericson2314> cehcking
<Ericson2314> p01ar: oh yeah that cmake stuff must be tricky
<Ericson2314> never looked at that part of Meson
<p01ar> a lot easier way to do it is just let users provide a find$thing.cmake file
<p01ar> and then pass it in
<p01ar> so you could have a CMakeModules folder in meson that it respects
<p01ar> so then you say dependency('foo' find_file : 'findfoo.cmake')
<hexagoxel> "man nix-store" says about --gc: "With --print-dead, it prints the number of bytes that would be freed."
<hexagoxel> but it.. does not?
<hexagoxel> do I need some additional flag?
orivej has quit [Ping timeout: 246 seconds]
ddellacosta has joined #nixos
orivej has joined #nixos
<hexagoxel> I considered (and tried) doing "xargs nix-store --query --size" which works, but I doubt it is correct due to closure overlap.
oida has quit [Remote host closed the connection]
oida has joined #nixos
KarlJoad has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #90409 → minishift: 1.34.0 -> 1.34.2 → https://git.io/Jf7fx
fendor_ has joined #nixos
thevar1able has joined #nixos
absoluutely has joined #nixos
moet has quit [Ping timeout: 240 seconds]
fendor has quit [Ping timeout: 246 seconds]
pamplemousse has quit [Ping timeout: 256 seconds]
thevar1able has quit [Remote host closed the connection]
absoluutely has quit [Remote host closed the connection]
fendor_ has quit [Quit: Leaving]
orivej has quit [Ping timeout: 256 seconds]
orivej has joined #nixos
q3k has quit [Ping timeout: 256 seconds]
q3k has joined #nixos
jnorkus has joined #nixos
rajivr has joined #nixos
<infinisil> hexagoxel: Probably more accurate with `du`
kleisli has joined #nixos
absoluutely has joined #nixos
user_0x58 has joined #nixos
absoluut1ly has joined #nixos
orivej has quit [Ping timeout: 258 seconds]
absoluut2ly has joined #nixos
absoluutely has quit [Ping timeout: 264 seconds]
absoluut2ly has quit [Ping timeout: 265 seconds]
absoluut1ly has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @ryantm merged pull request #90346 → doctl: 1.45.0 -> 1.45.1 → https://git.io/JfQDD
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/Jf7Jd
<infinisil> Although a lot slower too
<infinisil> nix-store --query --size seems like a good solution
<infinisil> I don't think there's any closure overlap with it
simba1 has quit [Ping timeout: 256 seconds]
<hexagoxel> ah ok, thanks
<{^_^}> [nixpkgs] @Ma27 merged pull request #90297 → manual: use less weird way of installing nixos tools → https://git.io/JfQo4
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/Jf7UJ
NeoCron has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @zowoq opened pull request #90410 → ncdu: 1.15 -> 1.15.1 → https://git.io/Jf7Uq
agsdheidjd has quit [Ping timeout: 260 seconds]
MtotheM has joined #nixos
<{^_^}> [nixpkgs] @Infinisil merged pull request #90380 → nixos/corerad: use passAsFile while converting settings JSON to TOML → https://git.io/JfQF1
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to master: https://git.io/Jf7U3
civodul has quit [Quit: ERC (IRC client for Emacs 26.3)]
<MtotheM> Is there a way to mirror the whole nix repo and have it locally?
<infinisil> MtotheM: I guess you're not familiar with git? Because that's like one of the main features of it :)
<samueldr> the cache or the derivations?
<infinisil> If it's just the repo, `git clone https://github.com/NixOS/nixpkgs`
<MtotheM> well everything preferably. for offline deployments. but I guess that's to complex?
<samueldr> mirroring the *whole* cache is probably prohibitively expensive
<samueldr> but IIRC there is a way described somehwere to cache for a particular revision of nixpkgs
* samueldr checks
<armin> btw i had no idea that's something i always wanted, but being able to customize the colors of the console using console.colors in nixos is super nice.
bhipple has joined #nixos
<samueldr> at the very least, it's in that repo
<MtotheM> If you want to get really fancy. you can customize the motd as well
<armin> MtotheM: i actually did that, too, yea
ddellacosta has quit [Ping timeout: 256 seconds]
<armin> MtotheM: ah no not the motd one, but i use both services.mingetty.greetingLine and services.mingetty.helpLine
<MtotheM> true
<armin> actually just to make it as minimal as it can anyhow get
<energizer> euank: ok let's try it
<{^_^}> [nixpkgs] @r-ryantm opened pull request #90411 → mtxclient: 0.3.0 -> 0.3.1 → https://git.io/Jf7U6
<euank> energizer: cool, next two avenues to explore are:
<MtotheM> I really like concept of nixOS, but if I can't host my whole cache to make deployments possible without internet. it won't really work out for what I have in mind.
<euank> `perf ftrace -G do_mount -- <command>` which might tell us where in the kernel it's getting eacces
<euank> And, possibly easier, just trying to replicate the combination of mkdir/chmod/mount calls the strace shows
<euank> and see if it trivially repros _without_ all that nix stuff
<euank> If we can get a simpler `mount --bind` repro, that might make further ftracing simpler
dermetfan has quit [Ping timeout: 256 seconds]
<euank> MtotheM: you can, it's very much possible
<euank> But in general, you're more likely to want to host a binary cache that just has the subset of stuff you actually deploy. Which nix is smart enough to figure out that exact subset for you :)
<euank> Basically, all you have to do is `nix copy --to my-cache` from some machine (either one that downloads stuff from hydra to mirror it, or builds everything locally to create the binary cache). It'll transitively copy all dependencies too if you specify the specific exprssion/expressions you need to be able to deploy
<energizer> reformatting
<MtotheM> Yeah, the issue with that is we might want to bring in things that we weren't planning for beforehand, which wouldn't be possible.
<euank> You can mirror the whole thing if you want, it's just probably excessive
<euank> i.e. if you look at how nix-index works... https://github.com/bennofs/nix-index
<MtotheM> I've mostly used Debian for this in the past. their repo is about 3.5tb which is very manageable to host from a single 2 drive NAS
meh` has quit [Ping timeout: 256 seconds]
<euank> it essentially does `nix-env -qaP -f '<nixpkgs>'` and then scans hydra for each of those
<energizer> euank: which perf is that?
<euank> There might be a easier / more official way to run a complete binary cache though
<euank> i.e. you could run your own hydra pretty easily I'd hope? I haven't done that myself, so I'm nto sure
<MtotheM> as long as it's not unreasonable large. like +24TB it shouldn't be any issues
<euank> energizer: `linuxPackages.perf` I think
<MtotheM> i'll have a look, thanks
jnorkus has quit [Remote host closed the connection]
mlen has quit [Quit: WeeChat 2.7.1]
mlen has joined #nixos
<energizer> euank: ok i did the ftrace
<energizer> was that supposed to produce an output?
cosimone has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @Ma27 closed pull request #87831 → grimshot: init at 2020-05-08 → https://git.io/JfB6R
<{^_^}> [nixpkgs] @Ma27 merged pull request #88577 → sway-contrib: init with grimshot and inactive-windows-transparency → https://git.io/Jf28Z
<euank> yup, we might need to mount the ftrace fs
<{^_^}> [nixpkgs] @Ma27 pushed 3 commits to master: https://git.io/Jf7Tq
moet has joined #nixos
<euank> But I was pretty sure ftrace just did that for us. `mount -t tracefs nodev /sys/kernel/tracing
<energizer> done
<{^_^}> [nixpkgs] @r-ryantm opened pull request #90412 → namecoin: nc0.19.1 -> nc0.20.0 → https://git.io/Jf7TO
slack1256 has joined #nixos
<euank> I don't think that'll help though. I'm a bit fuzzy on ftrace. Maybe we need to toss in `-a`
sbetrium_ has quit [Ping timeout: 256 seconds]
stiell has quit [Ping timeout: 256 seconds]
<energizer> euank: https://bpa.st/RSLQ
jgeerds_ has quit [Ping timeout: 240 seconds]
KarlJoad has quit [Quit: Konversation terminated!]
<euank> well, `privileged_wrt_inode_uidgid` seems to be where it stops in `inode_permission`, so that's progress :)
<{^_^}> [nixpkgs] @Ma27 merged pull request #87916 → highlight: 3.56 -> 3.57 → https://git.io/JfRAX
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/Jf7T8
<{^_^}> [nixpkgs] @r-ryantm opened pull request #90413 → nats-server: 2.1.0 -> 2.1.7 → https://git.io/Jf7TB
<euank> Let's see if reading that code makes anything clearer
<mac10688> Anyone here use vim on nixos? I just read an article about how to use sudo vim in nixos and it was super extensive. Is anyone able to use sudo vim and regular vim with the same config files?
<energizer> mac10688: sudoedit -u mac10688 myfile
<{^_^}> [nixpkgs] @r-ryantm opened pull request #90414 → nats-streaming-server: 0.16.2 -> 0.17.0 → https://git.io/Jf7TV
<mac10688> thank you energizer
teto has quit [Ping timeout: 246 seconds]
smatting has quit [Ping timeout: 264 seconds]
<armin> hm, can i easily determine all possible values of console.font? i tried 3 fonts now but the text is still too small for my taste and i want to make it more readable.
Rusty1 has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
ris has quit [Ping timeout: 272 seconds]
mbrgm_ has joined #nixos
<euank> So, my guess for the check that's actually failing here is https://github.com/torvalds/linux/blob/master/kernel/capability.c#L487-L492
mbrgm has quit [Ping timeout: 272 seconds]
mbrgm_ is now known as mbrgm
<euank> (which bubbles way up to here to give eacces) https://github.com/torvalds/linux/blob/master/fs/namei.c#L357-L366
teto has joined #nixos
<euank> In the strace output, we see that nix runs `echo '1000 30001 1' > /proc/25701/uid_map; echo '100 3000 1' > /proc/25701/gid_map` right before pid 25701 tries to make this mount call
<energizer> armin: run `setfont`, it will give you a directory containing the fonts
stiell has joined #nixos
sbetrium has joined #nixos
<euank> Which basically states 'uid 1000 is the same as uid 30001' and 'gid 100 is the same as 30000' I think.
<armin> energizer: perfect, thank you :)
<euank> Since I think they're both in the same user namespace. I don't think nix does an actual user namespace unshare anywhere
<{^_^}> [nixpkgs] @r-ryantm opened pull request #90415 → nomad: 0.11.1 -> 0.11.3 → https://git.io/Jf7T9
<euank> energizer: to double check, on your host, uid 30001 and gid 30000 both exist, right?
<{^_^}> [nixpkgs] @bhipple merged pull request #90404 → luigi: 2.8.13 -> 3.0.0 → https://git.io/Jf7vu
<{^_^}> [nixpkgs] @bhipple pushed 2 commits to master: https://git.io/Jf7T7
eoli3n_ has quit [Ping timeout: 246 seconds]
ajs124 has quit [Quit: killed]
Scriptkiddi has quit [Quit: killed]
mrpi has quit [Quit: killed]
das_j has quit [Quit: killed]
<energizer> euank: yes
arahael2 has joined #nixos
arahael1 has quit [Ping timeout: 258 seconds]
<euank> I'm a bit curious about permissions / uid ownership along that tree; can you grab that? i.e. `stat / /mnt/ /mnt/gamma /mnt/gamma/nix /mnt/gamma/nix/store`
<energizer> euank: https://bpa.st/O3OA
Scriptkiddi has joined #nixos
das_j has joined #nixos
ajs124 has joined #nixos
mrpi has joined #nixos
<euank> can you `chmod o+rx /mnt`? It'll make me feel a little better even if it doesn't fix things
Scriptkiddi has quit [Client Quit]
das_j has quit [Client Quit]
ajs124 has quit [Client Quit]
mrpi has quit [Client Quit]
<euank> But can you also see if that happens to fix things just in case it's something that simple
* energizer bows to euank
<energizer> yes, that's it
<euank> phew
<euank> Okay, cool. I'm glad we figured that out. I thought I'd already verified that, so I'd already discounted it in my head, but I guess I didn't dig into that
<euank> Thanks for bearing with me on that overly-complicated journey :)
<energizer> how did you figure that out?
<euank> uid/gid 1000/499 have ownership of mount, and inside the userns they're acting as uid 30k/30k+1, so without o+rx, it makes sense an inode permission check would fail.
<euank> That combined with the ftrace showing that it's walking that path and checking permissions makes that make some sense at least.
<energizer> euank: count me impressed and grateful. thank you.
<energizer> any idea why it complained about the specific files it did?
<armin> energizer: there's one font that's large enough but unfortunately it breaks german umlauts for me :(
<energizer> most of the people in that issue had the error on NetworkManager.drv.chroot and i can repro that if i enable nm
<energizer> armin: i dont know much about consoles...is there some reason they can't use regular fonts?
<euank> That's the first place that it actually sets up a uid_map in the strace, so presumably those are the first things that are being built vs just downloaded from the store
<euank> and for copying a path from the store, it ofc doesn't deal with a userns, but for that, it's starting a derivation builder.
<armin> energizer: there likely is, as tty's are some relict of the past i don't think you can easily use truetype fonts or something, but i might be mistaken and that could well have changed over the last decades
<armin> sad, as this font is really pretty great otherwise
<armin> looks just like a classical 80x25 console to me
<armin> but meh, i need my umlautz
<energizer> armin: there might be other console fonts available, and there is a console.packages option
<armin> energizer: good pointers (again), thanks so much for your kind help
user_0x58 has quit [Quit: Leaving]
user_0x58 has joined #nixos
<energizer> euank: why would nm need to build a derivation? (what's wrong with the nm i already have)
<samueldr> which I in turn have vendored in my config
<{^_^}> [nixpkgs] @r-ryantm opened pull request #90416 → openapi-generator-cli: 4.2.2 -> 4.3.1 → https://git.io/Jf7kc
<samueldr> though it's not perfect, fonts are 1-bit bitmaps, so no antialiasing
<armin> samueldr: pretty interesting, thanks
<euank> energizer: if you query for info about that derivation, it might be more clear. I'd guess it somehow depends on the hostId or something, not sure.
<euank> I assume it's not actually "network manager", but some trivialBuilder or the like that it calls