worldofpeace changed the topic of #nixos to: NixOS 20.09 Nightingale ✨ https://discourse.nixos.org/t/nixos-20-09-release/9668 || 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-inf
muppeth has quit [Remote host closed the connection]
<matthewcroughan> simpson: the only thing I need now is a browser, but it looks like all of the browsers are broken on i686
<matthewcroughan> even surf
muppeth has joined #nixos
<matthewcroughan> chromium compiled but it faults with illegal instruction
<simpson> matthewcroughan: `lynx` is my goto if big browsers aren't available, and `lynx.meta.platforms` suggests i686 should work.
<matthewcroughan> simpson: I want a gtk browser ;D
<simpson> Out of (morbid) curiosity, which GPU's in there? Do you know the kernel driver?
<matthewcroughan> simpson: CPU: Intel Pentium M 1.73GHz (1) @ 1.733GHz
<matthewcroughan> getting gpu driver.. sec
<sterni> matthewcroughan: foot doesn't use opengl I think
<matthewcroughan> 00:02.1 Display controller [0380]: Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller [8086:2792] (rev 03)
<sterni> at least it's not obvious from ldd
<matthewcroughan> sterni: foot won't compile for i686 either
<matthewcroughan> however, havoc does, and worked
<sterni> matthewcroughan: uhhh it should?
<matthewcroughan> you know what the funny thing is?
<simpson> Oh, i915. You shouldn't have any driver problems. You should be aware that your BIOS memory configuration may influence your GPU performance, particularly in terms of how much RAM and power are allocated to it.
<sterni> can send me the log? I'll try to have a look at it
<matthewcroughan> I'm totally running tailscale on this ancient thing
magnetophon has joined #nixos
<simpson> Honestly, it doesn't sound too bad. Your main concern is gonna be RAM.
CMCDragonkai2 has quit [Ping timeout: 268 seconds]
<matthewcroughan> simpson: 1GB
<matthewcroughan> sterni: I can't get the logs out
<matthewcroughan> 2>&1 isn't putting it into a file
<matthewcroughan> where does nix-env put its output?
<matthewcroughan> even build failure goes to stdout?
cinimod` has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @mweinelt opened pull request #118704 → python3Packages.numpy: 1.20.1 -> 1.20.2 → https://github.com/NixOS/nixpkgs/pull/118704
Izorkin has quit [Ping timeout: 240 seconds]
Izorkin has joined #nixos
zebrag has quit [Quit: Konversation terminated!]
zebrag has joined #nixos
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/JYFHN
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #118699 → xorg.xf86inputlibinput: 0.30.0 -> 1.0.0 → https://github.com/NixOS/nixpkgs/pull/118699
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #118697 → pyspread: 1.99.5 -> 1.99.6 → https://github.com/NixOS/nixpkgs/pull/118697
cole-h has quit [Ping timeout: 240 seconds]
<sterni> matthewcroughan: is it failing with errors about LTO?
<sterni> I guess we can ask upstream and LTO should be possible to disable
<matthewcroughan> sterni: cc1: error: LTO support has not been enabled in this configuration
<matthewcroughan> yeah
<sterni> worse performance prob better than not at all
<matthewcroughan> As for a web browser, maybe netsurf? :D
<sterni> matthewcroughan: it builds if you remove "-Db_lto=true" from mesonFlags
<sterni> so that's our culprit
<sterni> I'll try to remember to ask about that upstream tomorrow
<sterni> and fix it in in nixpkgs
<matthewcroughan> What would the fix be?
<sterni> a little i686 support never hurt anything
<sterni> disabling LTO
<sterni> I mean it is just an optimization
<matthewcroughan> yeah, but that'd effect x86 wouldn't it?
<sterni> nah
<sterni> we can turn it off conditionally
<matthewcroughan> so wouldn't the fix to be making an if statement that only disables it on i686?
<sterni> sure something like that
<matthewcroughan> yeah that's what I'm interested in, I haven't seen that done in a package yet
<sterni> basically you need to match on stdenv.hostPlatform in that case
<sterni> but maybe we can go one better and check if LTO is available or not
<sterni> idk enough about it yet to say why no LTO on i686
<sterni> anyways off to bed :)
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #118673 → connman: set sysconfdir to /etc → https://github.com/NixOS/nixpkgs/pull/118673
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #118696 → indilib: set platform to linux → https://github.com/NixOS/nixpkgs/pull/118696
mmmattyx has quit [Quit: Connection closed for inactivity]
paddymahoney has quit [Remote host closed the connection]
sss2 has quit [Quit: Leaving]
<mcint> can I speed up invocations to `nix-env -qa`? based on -v3 it seems to be reading a bunch of [pkg]/default.nix files. takes 23-28 seconds on an SSD.
rajivr has joined #nixos
marcusr has quit [Read error: Connection reset by peer]
marcusr has joined #nixos
<mcint> seems like querying the sqlite package database would be faster
<mcint> or using a full-text search tool: meilisearch / recoll / namazu; would be faster, nicer
<supersandro2000> not really
orivej has quit [Ping timeout: 265 seconds]
<supersandro2000> ~15 for me
<mcint> it seems search.nixos.org is the fastest way to even get a list of matching package names
<supersandro2000> but think about it: you are listing over 50k packages
<supersandro2000> if you just want the names there is a precompiled list in the channel that the bash-completion uses
<supersandro2000> it is an sqlite3 db you can use
<supersandro2000> should be something like /nix/var/nix/profiles/per-user/root/channels/nixos/programs.sqlite
<mcint> dang, yeah, I still don't see it
alexherbo2 has joined #nixos
<mcint> the categorical folder structure is nice
<mcint> supersandro2000: thanks for the help
<matthewcroughan> sterni: thanks for the help.
<matthewcroughan> "Grepping Nixpkgs is priceless"
<matthewcroughan> I need a shirt with that on.
afontain_ has joined #nixos
ebn has quit [Ping timeout: 240 seconds]
<matthewcroughan> actually, I don't understand why Firefox is marked as broken on i686
<lukegb> ah, that classic "why is this marked as broken"
<matthewcroughan> :D
<matthewcroughan> well, it's a reasonable question
<matthewcroughan> Just applied for the summer of Nix, woo.
<matthewcroughan> error: Package ‘firefox-bin-87.0’ in /nix/store/3iwpaqqvdi0vw4ppqq42f5hd10p7h10k-nixos-20.09.3732.91b77fe6942/nixos/pkgs/applications/networking/browsers/firefox/wrapper.nix:186 has an unfree license (‘unknown’), refusing to evaluate.
<matthewcroughan> Interesting, how does this work?
<matthewcroughan> is this expected behavior for any binary package?
<matthewcroughan> If it's binary, is it supposed to trigger this?
<matthewcroughan> copying path '/nix/store/bgxqf9n918y9skdx8zws7rm7369vqcnb-linux-5.11.10' from 'https://cache.nixos.org'...
<matthewcroughan> Hahaha
<matthewcroughan> i686 laptop from 2005, no problem, it'll just run the latest nixos-unstable
<mcint> nope, nix derivation graph, not nixpkgs index, nvm
<afontain_> hmm, newcommer here. Say I want a nix-shell to prepare a FHS
<afontain_> say my binary wants libwebp.so.6 and not the libwebp.so.7 the latest stable (20.09) has
<afontain_> what can I do about it?
<{^_^}> [nixpkgs] @lukegb opened pull request #118705 → dino: fix compilation under new Vala → https://github.com/NixOS/nixpkgs/pull/118705
stree has quit [Ping timeout: 268 seconds]
<afontain_> ^ the shell.nix
<matthewcroughan> afontain_: you can import the nixpkgs version you want at the top
<afontain_> I must say I have no idea which version of nixpkgs I want
<afontain_> well, except "the latest that has libwebp6"
<matthewcroughan> Well take a look at that.
<matthewcroughan> `{ pkgs ? import (fetchTarball https://github.com/nixos/nixpkgs/archive/release-16.09.tar.gz) {} }:`
<{^_^}> [nixpkgs] @lukegb opened pull request #118706 → nixos/pomerium: fix useACMEHost → https://github.com/NixOS/nixpkgs/pull/118706
<matthewcroughan> afontain_: well you have to figure out which version of nixpkgs has what you want in it
<matthewcroughan> or prove to me that 20.09 changed from libwebp.so.6 -> .so.7
<matthewcroughan> There actually is a cool utility called `nix-locate` that can let you do this
<matthewcroughan> https://termbin.com/hmwv
<matthewcroughan> I'm on unstable, and this is the output of `nix-locate libwebp.so.`
<afontain_> for the proof on 20.09:
<matthewcroughan> nix-locate is part of the `nix-index` package, so you can use `nix-shell -p nix-index` to get this, then you have to run `nix-index` which will index the entirety of your nixpkgs.
<afontain_> (from inside the FHS)
<matthewcroughan> afontain_: I was looking for a commit.
<afontain_> ups
<matthewcroughan> Like, on Git, on Github, as part of nixpkg, the thing that made this change.
<afontain_> that was a weird question indeed ^^'
<{^_^}> #117588 (by mweinelt, 1 week ago, merged): openssl: 1.1.1j -> 1.1.1k
<matthewcroughan> For example, here's the change that proves that openssl was backported for security in 20.09
<matthewcroughan> sorry, actually, this isn't that proof, that's proof that it happened in unstable
<{^_^}> Channel nixos-20.09-small advanced to https://github.com/NixOS/nixpkgs/commit/a5f9d585dfb (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-20.09-small)
<{^_^}> #117589 (by mweinelt, 1 week ago, merged): [20.09] openssl: 1.1.1j -> 1.1.1k
<matthewcroughan> This then proves it got backported into 20.09
<matthewcroughan> Do you see your libwebp problem anywhere here?
<afontain_> nix-index got my computer to OOM :(
<matthewcroughan> oops
<matthewcroughan> b02b2aa59e8 libwebp: 1.0.3 -> 1.1.0
<matthewcroughan> b02b2aa59e8
<matthewcroughan> Was it this?
<matthewcroughan> Seems like it.
<afontain_> I guess?
<clever> [clever@amd-nixos:~/apps/rpi/nixpkgs-test]$ nix-build -A libwebp && ls -lh result/lib/libwebp.so
<clever> lrwxrwxrwx 1 root root 16 Dec 31 1969 result/lib/libwebp.so -> libwebp.so.7.0.5
<matthewcroughan> So all you need to get is a version of nixpkgs prior to b02b2aa59e8
<clever> when on the tip of nixos-20.09
<matthewcroughan> clever: ah, good point
<matthewcroughan> So just by getting nixos-20.09 instead of release-20.09, you've figured out that it has always been libwebp.so.7
<afontain_> since the version is updated, assuming semver, it got a soname bump
<afontain_> note I'm not saying 20.09 ever had the .so.6
<matthewcroughan> clever: you did that from nixos-20.09, not from release-20.09?
<matthewcroughan> afontain_: ah, I thought you were, my bad.
<matthewcroughan> Then all you need to do in all honesty is just keep going back the nixpkgs versions.
<clever> lrwxrwxrwx 1 root root 16 Dec 31 1969 result/lib/libwebp.so -> libwebp.so.7.1.0
<afontain_> but then I get outdated everything?
<clever> matthewcroughan: when building from b02b2aa59e8, i get the new version
<matthewcroughan> Dec 31 1969? Lol?
<clever> matthewcroughan: everybody west of UK gets that
<clever> Modify: 1969-12-31 20:00:01.000000000 -0400
<matthewcroughan> Lucky, :9
* Henson chuckles
<clever> matthewcroughan: its 4 hours before midnight 1970, because of timezones
<matthewcroughan> clever: yeah, do it ~1, I'm saying that b02b is the commit that updates.
<matthewcroughan> should get 7.0.5
<matthewcroughan> then I guesss 20.03 will have <7.x.x
stree has joined #nixos
<clever> matthewcroughan: i'm confused about how nixos-20.09 is older, and neither seems to be in the history of the other, i think its diff branches
<afontain_> surely 20.03 got secfixes after it got split
<afontain_> which brings me to a second question: can I get the latest version of the branch?
<afontain_> (fetchTarball https://github.com/nixos/nixpkgs/archive/release-20.03.tar.gz) feels a lot like it's the original version of the branch
h0m2 has quit [Ping timeout: 246 seconds]
<gchristensen> 20.03 has beet out of support since late 2020
ToxicFrog has quit [Quit: WeeChat 2.9]
<afontain_> ¯\_(ツ)_/¯ well, if I can get half the fixes
<gchristensen> how about 20.09? it is supported still :)
h0m2 has joined #nixos
ahmed_elgabri has quit [Ping timeout: 246 seconds]
<afontain_> well 20.09 has the too-new libwebp :-/
<afontain_> (and 20.03, and 19.09, and 19.03, and …)
<gchristensen> very bizarre
<afontain_> I'm kinda wondering if it's normal yeah
<afontain_> but well, nix sure looks like it's installing things
<lukegb> you'd have to go back to 2018 to find libwebp 0.6.1
<afontain_> 18.03 has it
<afontain_> eh
<matthewcroughan> clever: nixos-20.09 is the earliest 20.09
<matthewcroughan> it is 20.09, whenever it was very first released.
<gchristensen> no,, nixos-20.09 is the branch that is the channel
<gchristensen> the "20.09" tag is the earliest 20.09
<matthewcroughan> ah, that is confusing for sure
<gchristensen> yeah
alexherbo2 has quit [Quit: The Lounge - https://thelounge.chat]
<afontain_> lol, but 18.03 has a too recent libGL.so
zebrag has quit [Ping timeout: 240 seconds]
Izorkin has quit [Ping timeout: 265 seconds]
Izorkin_ has joined #nixos
Izorkin_ is now known as Izorkin
<mcint> sillysilly, I'd forgotten about `nix search`. very usable (though annoying to parse)
<afontain_> seems I can't find what package provides libGL on 17.09
dingenskirchen has quit [Ping timeout: 268 seconds]
<matthewcroughan> clever: the latest firefox-bin in 20.09 works on i686, but the `firefox` derivation is marked as broken. Why?
ahituna_ has joined #nixos
<clever> matthewcroughan: firefox-bin is a patchelf'd copy of the official release, while firefox is built by nix itself
<matthewcroughan> oh, so it's actually Firefox distributing that i686 binary?
<matthewcroughan> Mozilla, rather.
<afontain_> s/distributing/building ?
<matthewcroughan> afontain_: nah, they're distributing the binary on their website
<matthewcroughan> then nix comes along and fetches it, patchelf's it, and voila
<matthewcroughan> clever: Chromium builds for i686 without error, but segfaults at runtime
<matthewcroughan> Any help? :d
<clever> > firefox-bin.meta.position
<{^_^}> "/var/lib/nixbot/nixpkgs/master/repo/pkgs/applications/networking/browsers/firefox/wrapper.nix:355"
<ahituna_> I set programs.vim.defaultEditor = true; in configuration.nix, and # echo $EDITOR -> vim, but when I nixos-rebuild edit it opens in nano... Is there something else I need to set?
<clever> > firefox-bin.unwrapped.meta.position
<{^_^}> "/var/lib/nixbot/nixpkgs/master/repo/pkgs/applications/networking/browsers/firefox-bin/default.nix:197"
orivej has joined #nixos
<matthewcroughan> ooh, what does `passthru.ffmpegSupport = true;` do?
<clever> matthewcroughan: it lets you do firefox-bin.ffmpegSupport to access the var, but the var itself doesnt impact the hashing of $out
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/af4b72b6182 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<{^_^}> Channel nixpkgs-20.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/a5f9d585dfb (from 4 hours ago, history: https://channels.nix.gsc.io/nixpkgs-20.09-darwin)
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/949d727aaf3 (from 22 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
<clever> so changing the var wont cause a rebuild
cinimod` has joined #nixos
orivej has quit [Ping timeout: 240 seconds]
lordcirth_ has joined #nixos
lordcirth has quit [Ping timeout: 252 seconds]
ahmed_elgabri has joined #nixos
ToxicFrog has joined #nixos
ahituna_ has quit [Quit: Lost terminal]
gustavderdrache has quit [Quit: Leaving.]
ahmed_elgabri has quit [Ping timeout: 246 seconds]
gustavderdrache has joined #nixos
<matthewcroughan> clever: save_file = if ! mk_save then "" else pkgs.writeText
<matthewcroughan> Can you convert this into english for me?
<matthewcroughan> `if ! mk_save` means if mk_save doesn't hold a value?
<clever> matthewcroughan: mk_save is a boolean, invert its value
<matthewcroughan> mk_save = cfg.defaultUser != null;
<clever> `if condition then a else b`, return either a or b, based on the condition
<clever> so if defaultUser IS null, then it save_file will be ""
<matthewcroughan> Is this the easiest way to go about this in nix?
<clever> the only way to simplify it more is `if cfg.defaultUser == null then`
<clever> but now your checking the thing twice
<afontain_> matthewcroughan: `save_file = if mk_save then pkgs.writeText else ""` is already better IMO
<clever> or swap the conditions!, didnt think of that
<matthewcroughan> clever: just to be clear, that's what afontain_ just did right/
<clever> yeah
<afontain_> so, yeah, I've given up that FHS thing, looks like 16.09 has too old libwebp, but 17.03 has too recent libGL
<afontain_> (and 17.09 has too recent libwebp too)
ahmed_elgabri has joined #nixos
ahmed_elgabri has quit [Ping timeout: 246 seconds]
gustavderdrache has quit [Quit: Leaving.]
aw has quit [Quit: Quitting.]
spacefrogg has quit [Quit: Gone.]
aw has joined #nixos
spacefrogg has joined #nixos
cinimod` has quit [Ping timeout: 246 seconds]
dotdotok has quit [Ping timeout: 240 seconds]
<{^_^}> Channel nixos-20.03 advanced to https://github.com/NixOS/nixpkgs/commit/6d1a044fc9f (from 32 hours ago, history: https://channels.nix.gsc.io/nixos-20.03)
stephank has quit [Quit: stephank]
stephank has joined #nixos
trcm has joined #nixos
cinimod` has joined #nixos
AlpineLlama has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
berberman_ has joined #nixos
dsx has quit [Quit: dsx]
berberman has quit [Ping timeout: 258 seconds]
AlpineLlama has joined #nixos
ddellacosta has quit [Remote host closed the connection]
ddellacosta has joined #nixos
ddellacosta has quit [Remote host closed the connection]
dsx has joined #nixos
quinn has quit [Quit: ZNC 1.8.1 - https://znc.in]
lukegb has quit [Read error: Connection reset by peer]
lukegb has joined #nixos
quinn has joined #nixos
cgfuh has quit [Quit: WeeChat 3.0]
cinimod` has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @jtojnar pushed 8 commits to staging-next: https://git.io/JYbmA
<hyper_ch> why do I get this error on nixos unstable: error: A definition for option `boot.extraModulePackages.[definition 1-entry 1]' is not of type `package'. Definition values:
<clever> hyper_ch: did you set it in any of your configs?
<hyper_ch> I tried boot.extraModulePackages = [ config.boot.kernelPackages.wireguard ]; --> according to https://search.nixos.org/options?channel=unstable&show=boot.extraModulePackages&from=0&size=50&sort=relevance&query=extramodule
<hyper_ch> and before I tried this # boot.extraModulePackages = with config.boot.kernelPackages; [ wireguard ];
orivej has joined #nixos
lordcirth_ has quit [Remote host closed the connection]
<clever> those 2 are identical
<hyper_ch> nixos options gives as example: [ config.boot.kernelPackages.nvidia_x11 ] so why wouldn't it work with wirguard? It worked until a week ago
lordcirth_ has joined #nixos
<clever> > linuxPackages.wireguard
<{^_^}> null
<clever> hyper_ch: because that attr is null, so you gave it [null]
<hyper_ch> I don't understand...
<hyper_ch> a week ago it worked, now it doesn't....
<colemickens> I'm guessing that you upgraded kernels?
<clever> Bisecting: 3629 revisions left to test after this (roughly 12 steps)
<clever> [clever@amd-nixos:~/apps/rpi/nixpkgs-test]$ nix-instantiate --eval -A 'linuxPackages.wireguard'
<colemickens> To one that has wireguard built in and/or doesnt have a corresponding linuxPackages_5_x.wireguard
<clever> 285301cd1f3ec4521be8a9b816a99a095c34715c is the first bad commit
<clever> linuxPackages: 5.4 -> 5.10
<clever> - linuxPackages = linuxPackages_5_4;
<clever> + linuxPackages = linuxPackages_5_10;
<clever> hyper_ch: TLDR, linuxPackages_5_10 was already "broken", and the default moved ahead when you updated
<{^_^}> [nixpkgs] @lopsided98 opened pull request #118707 → rkdeveloptool: unstable-2019-07-01 -> unstable-2021-02-03, fix build → https://github.com/NixOS/nixpkgs/pull/118707
<clever> [clever@amd-nixos:~/apps/rpi/nixpkgs-test]$ nix-build -A linux_5_10
<clever> [clever@amd-nixos:~/apps/rpi/nixpkgs-test]$ find result/ | grep wiregu
<clever> result/lib/modules/5.10.18/kernel/drivers/net/wireguard/wireguard.ko.xz
<clever> hyper_ch: because wireguard is now part of linux itself, and you dont need extraModulePackages anymore!
<hyper_ch> ok, thanks
stree has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @jtojnar pushed 59 commits to staging: https://git.io/JYbOg
Supersonic112 has joined #nixos
Supersonic has quit [Ping timeout: 265 seconds]
Supersonic112 is now known as Supersonic
stree has joined #nixos
<{^_^}> [nixpkgs] @wpehrc opened pull request #118709 → adguardhome: 0.104.3 -> 0.105.2 → https://github.com/NixOS/nixpkgs/pull/118709
cinimod` has joined #nixos
<hyper_ch> clever: thanks, it's updated now... had to remove wine resp. winetricks as it had some building error... I used wine for an ancient windows software that I didn't use for years anyway
<{^_^}> [nixpkgs] @vbgl closed pull request #97241 → why3: 1.3.1 -> 1.3.2 → https://github.com/NixOS/nixpkgs/pull/97241
<{^_^}> [nixpkgs] @jtojnar pushed 3 commits to gnome-40: https://git.io/JYbGL
jbox has quit [Quit: ZNC 1.8.1 - https://znc.in]
ddellacosta has joined #nixos
jbox has joined #nixos
Khetzal has quit [Ping timeout: 250 seconds]
kori has joined #nixos
ddellacosta has quit [Ping timeout: 260 seconds]
tejing has joined #nixos
waleee-cl has quit [Quit: Connection closed for inactivity]
<{^_^}> [nixpkgs] @lopsided98 opened pull request #118710 → buildbot: 3.0.2 -> 3.1.0 → https://github.com/NixOS/nixpkgs/pull/118710
bitmapper has quit [Quit: Connection closed for inactivity]
justanotheruser has joined #nixos
Khetzal has joined #nixos
mmlb6 has joined #nixos
mmlb has quit [Ping timeout: 246 seconds]
mmlb6 is now known as mmlb
aescul has joined #nixos
paddymahoney has joined #nixos
aescul has quit [Client Quit]
paddymahoney has quit [Remote host closed the connection]
ahmed_elgabri has joined #nixos
i1l has joined #nixos
<i1l> hello. gnome3.epiphany: causes high CPU load on nixos-unstable. strace show lots of "POLLIN". .epiphany-wrapper seem to be buggy. (btw, wtf it isn't a sh-script :). thank you, bye.
i1l has left #nixos ["Leaving"]
ahmed_elgabri has quit [Ping timeout: 250 seconds]
novafacing has joined #nixos
Henson has quit [Quit: KVIrc 5.0.0 Aria http://www.kvirc.net/]
ddellacosta has joined #nixos
_novafacing has joined #nixos
_novafacing has quit [Client Quit]
novafacing has quit [Ping timeout: 260 seconds]
ddellacosta has quit [Ping timeout: 260 seconds]
mog has quit [Ping timeout: 246 seconds]
lawt has quit [Read error: Connection reset by peer]
endformationage has quit [Quit: WeeChat 2.9]
paddymahoney has joined #nixos
yjftsjthsd has quit [Ping timeout: 268 seconds]
domogled has joined #nixos
cinimod` has quit [Remote host closed the connection]
cinimod` has joined #nixos
cinimod`` has joined #nixos
ddellacosta has joined #nixos
cinimod` has quit [Ping timeout: 260 seconds]
ddellacosta has quit [Ping timeout: 260 seconds]
growpotkin has quit [Quit: ZNC 1.8.2 - https://znc.in]
oxalica has quit [Quit: oxalica]
ml| has quit [Ping timeout: 246 seconds]
cinimod`` has quit [Ping timeout: 240 seconds]
cinimod`` has joined #nixos
oxalica has joined #nixos
palo1 has joined #nixos
paddymahoney has quit [Remote host closed the connection]
oxalica1 has joined #nixos
oxalica has quit [Ping timeout: 260 seconds]
oxalica1 is now known as oxalica
palo has quit [Ping timeout: 265 seconds]
palo1 is now known as palo
lawt has joined #nixos
ml| has joined #nixos
cole-h has joined #nixos
<{^_^}> [nixpkgs] @jtojnar pushed 2 commits to gnome-40: https://git.io/JYbzU
n-osborn_ has quit [Remote host closed the connection]
ml| has quit [Ping timeout: 260 seconds]
stree has quit [Ping timeout: 240 seconds]
orivej has quit [Ping timeout: 240 seconds]
ddellacosta has joined #nixos
sangoma has joined #nixos
<alienpirate5> colemickens: what was the reason for dropping obs-xdg-portal from nixpkgs-wayland?
tejing has quit [Quit: WeeChat 2.9]
<colemickens> alienpirate5: "These mechanisms (portals, and PipeWire) were the basis of my obs-xdg-portal plugin, which was recently merged into OBS Studio itself as part of the built-in capture plugin! Fortunately, it landed just in time for the release of OBS Studio 27, which means soon everyone will be able to use OBS Studio on Wayland."
<{^_^}> [nixpkgs] @austinbutler opened pull request #118711 → nomachine-client: 7.2.3 -> 7.4.1 → https://github.com/NixOS/nixpkgs/pull/118711
<alienpirate5> <colemickens "alienpirate5: "These mechanisms "> thank you!
ddellacosta has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @pinpox opened pull request #118712 → wezterm: unstable-2020-11-22 -> 20210407-nightly → https://github.com/NixOS/nixpkgs/pull/118712
stree has joined #nixos
turlando has joined #nixos
turlando has quit [Client Quit]
zupo has joined #nixos
zupo has quit [Client Quit]
ml| has joined #nixos
n-osborne has joined #nixos
ericsagn1 has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @vbgl opened pull request #118713 → reason: 3.6.2 → 3.7.0 → https://github.com/NixOS/nixpkgs/pull/118713
ahmed_elgabri has joined #nixos
ahmed_elgabri has quit [Ping timeout: 246 seconds]
ddellacosta has joined #nixos
ml| has quit [Ping timeout: 240 seconds]
n-osborne has quit [Remote host closed the connection]
n-osborne has joined #nixos
mkDoku has joined #nixos
FRidh has joined #nixos
ddellacosta has quit [Ping timeout: 260 seconds]
ericsagn1 has joined #nixos
aaabbbbbbbbbb has joined #nixos
<{^_^}> [nixpkgs] @petabyteboy merged pull request #118705 → dino: fix compilation under new Vala → https://github.com/NixOS/nixpkgs/pull/118705
ml| has joined #nixos
spudly has quit [Remote host closed the connection]
liuyb has joined #nixos
georges_ has joined #nixos
mdash has quit [Ping timeout: 276 seconds]
georges has quit [Ping timeout: 252 seconds]
spudly has joined #nixos
spudly has joined #nixos
mdash has joined #nixos
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/da527a0f1c9 (from 7 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
cinimod`` has quit [Ping timeout: 246 seconds]
ml| has quit [Ping timeout: 260 seconds]
kiltzman has quit [Ping timeout: 240 seconds]
cinimod`` has joined #nixos
kiltzman has joined #nixos
zupo has joined #nixos
saschagrunert has joined #nixos
zupo_ has joined #nixos
cinimod`` has quit [Ping timeout: 260 seconds]
lsix has joined #nixos
zupo has quit [Ping timeout: 268 seconds]
ahmed_elgabri has joined #nixos
<{^_^}> [nixpkgs] @zowoq opened pull request #118714 → youtube-dl: 2021.04.01 -> 2021.04.07 → https://github.com/NixOS/nixpkgs/pull/118714
vs^ has joined #nixos
thc202 has joined #nixos
vidbina has joined #nixos
ml| has joined #nixos
avaq has joined #nixos
zupo_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ddellacosta has joined #nixos
<{^_^}> [nixpkgs] @petabyteboy opened pull request #118715 → nixos/gitlab: do not set backup.upload by default → https://github.com/NixOS/nixpkgs/pull/118715
respawn_ has joined #nixos
ml| has quit [Ping timeout: 260 seconds]
ddellacosta has quit [Ping timeout: 268 seconds]
monokrome has quit [Ping timeout: 246 seconds]
monokrome has joined #nixos
<{^_^}> [nixpkgs] @talyz merged pull request #118715 → nixos/gitlab: do not set backup.upload by default → https://github.com/NixOS/nixpkgs/pull/118715
typetetris has joined #nixos
kmein has quit [Quit: ciao kakao]
kmein has joined #nixos
ml| has joined #nixos
srk has joined #nixos
cfricke has joined #nixos
ml| has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @pasqui23 closed pull request #118438 → kde: link frameworkintegration to kpackage → https://github.com/NixOS/nixpkgs/pull/118438
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #118709 → adguardhome: 0.104.3 -> 0.105.2 → https://github.com/NixOS/nixpkgs/pull/118709
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #118710 → buildbot: 3.0.2 -> 3.1.0 → https://github.com/NixOS/nixpkgs/pull/118710
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #118706 → nixos/pomerium: fix useACMEHost → https://github.com/NixOS/nixpkgs/pull/118706
neiluj has joined #nixos
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #118707 → rkdeveloptool: unstable-2019-07-01 -> unstable-2021-02-03, fix build → https://github.com/NixOS/nixpkgs/pull/118707
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #118714 → youtube-dl: 2021.04.01 -> 2021.04.07 → https://github.com/NixOS/nixpkgs/pull/118714
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #118641 → nzbhydra2: 3.8.0 -> 3.13.2 → https://github.com/NixOS/nixpkgs/pull/118641
zupo has joined #nixos
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #118368 → uhexen2: init at 1.5.9 → https://github.com/NixOS/nixpkgs/pull/118368
ddellacosta has joined #nixos
<{^_^}> [nixpkgs] @tenaf0 closed pull request #118688 → GNOME 40: GDM now works and one can log in → https://github.com/NixOS/nixpkgs/pull/118688
n-osborne has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #118471 → betterdiscord-installer: init at 1.0.0-beta → https://github.com/NixOS/nixpkgs/pull/118471
ml| has joined #nixos
<{^_^}> [nixpkgs] @SuperSandro2000 closed pull request #51564 → (JavaFXSceneBuilder): Init at version 2 → https://github.com/NixOS/nixpkgs/pull/51564
ddellacosta has quit [Ping timeout: 260 seconds]
evanjs has quit [Read error: Connection reset by peer]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mkDoku has quit [Quit: Lost terminal]
evanjs has joined #nixos
utkarsh has joined #nixos
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #118582 → krankerl: init at 0.13.0 → https://github.com/NixOS/nixpkgs/pull/118582
wallacer has quit [Ping timeout: 258 seconds]
<{^_^}> [nixpkgs] @gvolpe closed pull request #92993 → Update coc-metals vim plugin → https://github.com/NixOS/nixpkgs/pull/92993
utkarsh has left #nixos [#nixos]
ml| has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #105165 → poweralertd: init at 0.1.0 → https://github.com/NixOS/nixpkgs/pull/105165
wallacer has joined #nixos
respawn_ has quit [Remote host closed the connection]
respawn_ has joined #nixos
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/4cb48cc2562 (from 8 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
<supersandro2000> We still didn't breakt it 🎉
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #118698 → umoci: 0.4.6 -> 0.4.7 → https://github.com/NixOS/nixpkgs/pull/118698
mog has joined #nixos
<{^_^}> [nixpkgs] @peterhoeg opened pull request #118716 → monitoring-plugins: 2.2.0 -> 2.3.0 → https://github.com/NixOS/nixpkgs/pull/118716
respawn_ has quit [Read error: Connection reset by peer]
Jackneill has quit [Ping timeout: 260 seconds]
utkarsh181 has joined #nixos
n-osborne has joined #nixos
ml| has joined #nixos
<{^_^}> [nixpkgs] @LutzCle opened pull request #118717 → zoom-us 5.5.7938.0228 -> 5.6.13632.0328 → https://github.com/NixOS/nixpkgs/pull/118717
stree has quit [Ping timeout: 252 seconds]
ddellacosta has joined #nixos
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #117554 → Snapcast: 0.23.0 → 0.24.0; add a missing enum value → https://github.com/NixOS/nixpkgs/pull/117554
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #117333 → supercollider: fix Qt wrapping → https://github.com/NixOS/nixpkgs/pull/117333
fendor has joined #nixos
Jackneill has joined #nixos
ml| has quit [Ping timeout: 240 seconds]
jluttine has quit [Ping timeout: 240 seconds]
ddellacosta has quit [Ping timeout: 268 seconds]
lawt has quit [Remote host closed the connection]
<Izorkin> ,locate yarn
<{^_^}> Found in packages: yarn, gitlab, heroku, dd-agent, oh-my-zsh, hadoop_3_0, hadoop_3_1, code-server, jetbrains.clion, jetbrains.rider, jetbrains.goland, jetbrains.webstorm, nodePackages.thelounge, nodePackages.netlify-cli, python27Packages.cmdtest, python37Packages.xgboost, python38Packages.xgboost
<{^_^}> [nixpkgs] @vcunat pushed 97 commits to staging-20.09: https://git.io/JYb5n
supercoven has joined #nixos
<das_j> error: derivation '/nix/store/wz0m84k3s63gwkqhhag4q568as9r59rs-fusiondirectory-1.3-fixes.drv' may not be deterministic: output '/nix/store/k27ilnn98gmf7nzlnr5rbiyfdj3iiqf2-fusiondirectory-1.3-fixes' differs
<das_j> Is there a way to force nix to rebuild it? The bath broke because the SSD ist kind of broken
<das_j> --delete is not a solution since I have ~800GB of dependants
stree has joined #nixos
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #117119 → rclone: build with 'cmount' support → https://github.com/NixOS/nixpkgs/pull/117119
<supersandro2000> das_j: nix-build --check
<{^_^}> [nixpkgs] @steveeJ closed pull request #106976 → wezterm: add licenses, install extra files, and update to a revision of 20210314 → https://github.com/NixOS/nixpkgs/pull/106976
<das_j> Yeah, that builds it but does not keep the output
<supersandro2000> Izorkin: I think the package name is just yarn
<das_j> there is -K but that keeps the output with a different name
patagonicus0 has joined #nixos
patagonicus0 is now known as patagonicus
patagonicus has quit [Client Quit]
patagonicus has joined #nixos
ml| has joined #nixos
oharvey has quit [Ping timeout: 248 seconds]
oharvey has joined #nixos
Dr8128 has joined #nixos
gyzac[m] has quit [Ping timeout: 248 seconds]
heyarne[m] has quit [Ping timeout: 248 seconds]
leons has quit [Ping timeout: 248 seconds]
sobet[m] has quit [Ping timeout: 248 seconds]
spinus[m] has quit [Ping timeout: 248 seconds]
eliasp[m] has quit [Ping timeout: 248 seconds]
sarcasticdream[m has quit [Ping timeout: 248 seconds]
redcedar[m] has quit [Ping timeout: 248 seconds]
jbal[m] has quit [Ping timeout: 248 seconds]
codyopel has quit [Ping timeout: 248 seconds]
bendlas has quit [Ping timeout: 248 seconds]
bekkvann[m] has quit [Ping timeout: 248 seconds]
tjammer[m] has quit [Ping timeout: 248 seconds]
notgne2[m] has quit [Ping timeout: 248 seconds]
peterstorm[m] has quit [Ping timeout: 248 seconds]
toasty_avocado[m has quit [Ping timeout: 248 seconds]
ricklafleur[m] has quit [Ping timeout: 248 seconds]
axx has quit [Ping timeout: 248 seconds]
techtangents has quit [Ping timeout: 248 seconds]
jimmiehansson has joined #nixos
nrr has quit [Ping timeout: 248 seconds]
gleber has quit [Ping timeout: 248 seconds]
sudocurse has quit [Ping timeout: 248 seconds]
Guest20474_ has quit [Ping timeout: 248 seconds]
cbarrett has quit [Ping timeout: 248 seconds]
cab404[m] has quit [Ping timeout: 248 seconds]
yurb has quit [Ping timeout: 248 seconds]
blackriversoftwa has quit [Ping timeout: 248 seconds]
betawaffle has quit [Ping timeout: 248 seconds]
johanot has quit [Ping timeout: 248 seconds]
ShaRose_ has joined #nixos
HedgeMag- has joined #nixos
nicbk has quit [Ping timeout: 248 seconds]
NobbZ[m] has quit [Ping timeout: 248 seconds]
grin[m] has quit [Ping timeout: 248 seconds]
wvud[m] has quit [Ping timeout: 248 seconds]
siraben has quit [Ping timeout: 248 seconds]
ky0ko1 has quit [Ping timeout: 248 seconds]
genevino has quit [Ping timeout: 248 seconds]
ProofTechnique has quit [Ping timeout: 248 seconds]
HedgeMage has quit [Ping timeout: 248 seconds]
nikola1 has quit [Ping timeout: 248 seconds]
mikeplus64 has quit [Ping timeout: 248 seconds]
dsal has quit [Ping timeout: 248 seconds]
jtle has quit [Ping timeout: 248 seconds]
mvnetbiz_ has quit [Ping timeout: 248 seconds]
juansucks[m] has quit [Ping timeout: 248 seconds]
chvp has quit [Ping timeout: 248 seconds]
bachp has quit [Ping timeout: 248 seconds]
ptotter[m] has quit [Ping timeout: 248 seconds]
fuzzypixelz[m] has quit [Ping timeout: 248 seconds]
dunc4n has quit [Ping timeout: 248 seconds]
ShaRose has quit [Ping timeout: 248 seconds]
ShaRose_ is now known as ShaRose
ml| has quit [Ping timeout: 252 seconds]
m_hackerfoo has joined #nixos
nrr has joined #nixos
gyzac[m] has joined #nixos
cbarrett has joined #nixos
betawaffle has joined #nixos
sudocurse has joined #nixos
jtle has joined #nixos
nikola1 has joined #nixos
ProofTechnique has joined #nixos
blackriversoftwa has joined #nixos
johanot has joined #nixos
dsal has joined #nixos
heyarne[m] has joined #nixos
jonringer has quit [Ping timeout: 250 seconds]
sarcasticdream[m has joined #nixos
notgne2[m] has joined #nixos
__monty__ has joined #nixos
Qwerky has joined #nixos
installnixos[m] has quit [Quit: Idle for 30+ days]
itacer[m] has quit [Quit: Idle for 30+ days]
jonreeve[m] has quit [Quit: Idle for 30+ days]
n-osborne has quit [Remote host closed the connection]
<Izorkin> https://github.com/Izorkin/nixpkgs/blob/59748c880e3cbbea87551ced3caf487cec5a190d/nixos/modules/services/web-apps/peertube.nix - please check and review this variant peertube service. Updated this PR #106492
<{^_^}> https://github.com/NixOS/nixpkgs/pull/106492 (by stevenroose, 16 weeks ago, open): Second attempt at adding PeerTube package
jluttine has joined #nixos
mikeplus64 has joined #nixos
mikeplus64 has joined #nixos
mikeplus64 has quit [Changing host]
ky0ko1 has joined #nixos
Guest20474_ has joined #nixos
techtangents has joined #nixos
gleber has joined #nixos
genevino has joined #nixos
ml| has joined #nixos
arahael1 has joined #nixos
ddellacosta has joined #nixos
arahael has quit [Ping timeout: 260 seconds]
kozowu has joined #nixos
ml| has quit [Ping timeout: 248 seconds]
<{^_^}> [nixpkgs] @pinpox opened pull request #118718 → rust: 1.50.0 -> 1.51.0 → https://github.com/NixOS/nixpkgs/pull/118718
ddellacosta has quit [Ping timeout: 268 seconds]
<{^_^}> #118718 (by pinpox, 33 seconds ago, open): rust: 1.50.0 -> 1.51.0
<supersandro2000> pinpox: great! Thanks!
<pinpox> supersandro2000: please check it thoroughly, I'm only 50% sure what I'm doing ;)
nicbk has joined #nixos
wvud[m] has joined #nixos
<supersandro2000> pinpox: you forgot to change pkgs/top-level/all-packages.nix so it will probably not eval
teto has joined #nixos
siraben has joined #nixos
<pinpox> Right, lemme fix that.
grin[m] has joined #nixos
dotdotok has joined #nixos
<{^_^}> [nixpkgs] @vcunat pushed 14 commits to release-20.09: https://git.io/JYbx8
<{^_^}> [nixpkgs] @zowoq closed pull request #118718 → rust: 1.50.0 -> 1.51.0 → https://github.com/NixOS/nixpkgs/pull/118718
<pinpox> supersandro2000: I updated all-packages. I've replaced 1_50 with 1_51. There is also an older version, I suppose for backward-compatibility?
<pinpox> supersandro2000: oh, nevermind my PR was closed, seems there is already one?
NobbZ[m] has joined #nixos
cole-h has quit [Ping timeout: 260 seconds]
ml| has joined #nixos
vidbina has quit [Ping timeout: 265 seconds]
utkarsh181 has left #nixos ["ERC (IRC client for Emacs 28.0.50)"]
mvnetbiz_ has joined #nixos
vidbina has joined #nixos
fuzzypixelz[m] has joined #nixos
chvp has joined #nixos
Qwerky has quit [Remote host closed the connection]
juansucks[m] has joined #nixos
bachp has joined #nixos
ptotter[m] has joined #nixos
dunc4n has joined #nixos
jbal[m] has joined #nixos
spinus[m] has joined #nixos
codyopel has joined #nixos
peterstorm[m] has joined #nixos
toasty_avocado[m has joined #nixos
ahmed_elgabri has quit [Ping timeout: 245 seconds]
bekkvann[m] has joined #nixos
ml| has quit [Ping timeout: 252 seconds]
bendlas has joined #nixos
redcedar[m] has joined #nixos
ddellacosta has joined #nixos
devhell has joined #nixos
sobet[m] has joined #nixos
tjammer[m] has joined #nixos
Qwerky has joined #nixos
ddellacosta has quit [Ping timeout: 268 seconds]
Qwerky has quit [Ping timeout: 268 seconds]
leons has joined #nixos
fufexan[m] has joined #nixos
diamondbond has quit [Ping timeout: 250 seconds]
axx has joined #nixos
eliasp[m] has joined #nixos
ricklafleur[m] has joined #nixos
yurb has joined #nixos
cab404[m] has joined #nixos
ml| has joined #nixos
fusion809 has joined #nixos
supercoven_ has joined #nixos
mallox has joined #nixos
supercoven has quit [Ping timeout: 240 seconds]
ml| has quit [Ping timeout: 246 seconds]
ahmed_elgabri has joined #nixos
vidbina has quit [Ping timeout: 240 seconds]
paddymahoney has joined #nixos
diamondbond has joined #nixos
<asymmetric> i'm trying to copy files to the store of a remote machine on which i have sudo, but not root access, and nixos-rebuild complains about lack of valid signature
dingenskirchen has joined #nixos
ebn has joined #nixos
<asymmetric> i've tried using `nix copy --no-check-sigs --to`, but i assume instead i'd have to change some setting on the remote end, right?
ahmed_elgabri has quit [Ping timeout: 260 seconds]
astylian has joined #nixos
<asymmetric> trusted-public-keys ?
<tomberek> --store some-store-path?trusted=1 sometimes does the trick
Synthetica has joined #nixos
<{^_^}> [nixpkgs] @dotlambda opened pull request #118719 → home-assistant: use override before overridePythonAttrs → https://github.com/NixOS/nixpkgs/pull/118719
<sterni> matthewcroughan: LTO works with clang on i686!
ebn has quit [Ping timeout: 268 seconds]
<asymmetric> tomberek: which command is that for? nix copy doesn't have a --store flag
<sterni> matthewcroughan: try using foot.override { inherit (llvmPackages) stdenv; allowPgo = false; }
<sterni> matthewcroughan: (not sure if it would work with Pgo if you compile natively, you'll have to try)
<sterni> but I've confirmed it does work without it when using pkgsi686Linux
ml| has joined #nixos
yjftsjthsd has joined #nixos
sangoma has quit [Ping timeout: 260 seconds]
ahmed_elgabri has joined #nixos
ddellacosta has joined #nixos
civodul has joined #nixos
menace has left #nixos [#nixos]
<philipp[m]2> Can I set a bearer token per host for all fetches by nix somehow?
ml| has quit [Ping timeout: 248 seconds]
ebn has joined #nixos
tomberek has quit [Quit: Connection closed]
ddellacosta has quit [Ping timeout: 265 seconds]
ahmed_elgabri has quit [Ping timeout: 260 seconds]
ThomasTuegel[m] has joined #nixos
ahmed_elgabri has joined #nixos
<{^_^}> [nix] @edolstra pushed to master « PathSubstitutionGoal: Clean up pipe »: https://git.io/JYNIN
<{^_^}> [nixpkgs] @dotlambda opened pull request #118720 → python3Packages.transitions: 0.8.7 -> 0.8.8 → https://github.com/NixOS/nixpkgs/pull/118720
meh` has joined #nixos
<stevenroose> Izorkin: have you tried that service?
Dotz0cat has quit [Ping timeout: 265 seconds]
<stevenroose> What I biumped into that I hated is that the config file reading is (1) not falling back to defaults; hence every value needs to be present and mostly (2) not being checked on startup. So if you forgot a value related to f.e. file importing, it will crash your peertube when a user tries to import a video, not earlier.
<stevenroose> So I would really really not want to create the config file from the nix config, unless we can make sure that we provide all fields. I don't want to make it easy for a user to forget fields.
<stevenroose> Right now the flow is to copy the config from github and change fields. It doesn't say, but you're not supposed to remove fields (I tried).
<stevenroose> Doing an "extraConfig" on top of our limited provided config is only going to be a footgun.
<stevenroose> It seems that chocobozz addressed the issue: https://github.com/Chocobozzz/PeerTube/issues/3497 by adding a defaults file that should also be passed.
<{^_^}> Chocobozzz/PeerTube#3497 (by stevenroose, 15 weeks ago, closed): Missing config variables should cause error on startup
sangoma has joined #nixos
<stevenroose> That seems to be part of 3.1.0. I think if we upgrade the package to 3.1.0, we might be able to get it working
ml| has joined #nixos
Dotz0cat has joined #nixos
<Izorkin> stevenroose: yes checking in my test virtual pc. All settings are stored in config / default.yaml. The settings we need are overwritten using files config/production.yaml + config/local-production.yaml
<Izorkin> stevenroose: I checked if the settings are applied through these parameters - it works.
johs has left #nixos [#nixos]
zebrag has joined #nixos
<stevenroose> but idk if our packager provides the default.yaml, does it?
stree has quit [Ping timeout: 260 seconds]
fuiltilt has quit [Quit: WeeChat 2.9]
<Izorkin> stevenroose: Yes, $ {pkgs.peertube} /config/default.yaml is used, needed parameters are overwritten by files config/production.yaml + config/local-production.yaml, which we generating when building.
ml| has quit [Ping timeout: 268 seconds]
<stevenroose> Izorkin: hmm that is indeed nice, I remember having taken some fields out of my production.yaml file and getting errors
n-osborne has joined #nixos
<stevenroose> so I don't know how that happened then. I didn't know about the defualt.yaml file before.
ddellacosta has joined #nixos
<Izorkin> stevenroose: https://docs.joinpeertube.org/install-any-os?id=peertube-configuration the instructions say about these files
ddellacosta has quit [Ping timeout: 248 seconds]
stree has joined #nixos
<__monty__> Shouldn't a nix-shell have a $phases variable? How can I reproduce a build step-by-step if I'm not sure about the phases to run?
<{^_^}> [nixpkgs] @jtojnar pushed to gnome-40 « fixup! fixup! gnome3.gdm: 40.rc → 40.0 »: https://git.io/JYN3R
vs^ has quit []
<clever> __monty__: the default value only gets set when genericBuild is stepping thru phases for you
yoctocell_ has joined #nixos
yoctocell_ has quit [Client Quit]
yoctocell has joined #nixos
liori has quit [Read error: Connection reset by peer]
stnr039940 has joined #nixos
ddellacosta has joined #nixos
ddellacosta has quit [Ping timeout: 240 seconds]
yoctocell has quit [Quit: ZNC 1.8.2 - https://znc.in]
domogled has quit [Quit: domogled]
yoctocell has joined #nixos
<__monty__> <3 clever Thanks, that's exactly what I needed.
<{^_^}> clever's karma got increased to 570, it's a crit!
<eyJhb> Anyone that has packaged https://vikunja.io for NixOS?
<{^_^}> [nix] @edolstra pushed 2 commits to master: https://git.io/JYNc7
<{^_^}> [nixpkgs] @happysalada opened pull request #118721 → nodejs: 15.13.0 -> 15.14.0 → https://github.com/NixOS/nixpkgs/pull/118721
edwtjo has quit [Ping timeout: 246 seconds]
<dotdotok> Hm, so, I'm reading through the manual entry for `nix shell` (https://nixos.org/manual/nix/unstable/command-ref/new-cli/nix3-shell.html), and when I run the example `nix shell nixpkgs#youtube-dl`, and run the subsequent `youtube-dl --version` in the new shell session, I get "zsh: command not found: youtube-dl". Im assuming theres some sort of fix I need to add somewhere for zsh?
yoctocell has quit [Quit: ZNC 1.8.2 - https://znc.in]
edwtjo has joined #nixos
yoctocell has joined #nixos
nrh^ has joined #nixos
zupo has joined #nixos
yoctocell has quit [Quit: ZNC 1.8.2 - https://znc.in]
evils has quit [Ping timeout: 240 seconds]
<{^_^}> Channel nixos-20.09-small advanced to https://github.com/NixOS/nixpkgs/commit/d6f63659a70 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-20.09-small)
yoctocell_ has joined #nixos
yoctocell_ has quit [Client Quit]
yoctocell_ has joined #nixos
<{^_^}> [nixpkgs] @oxalica opened pull request #118723 → electron-cash: 4.2.0 -> 4.2.4 and fix build → https://github.com/NixOS/nixpkgs/pull/118723
<{^_^}> [nixpkgs] @srhb opened pull request #118724 → ceph: 15.2.8 -> 15.2.10 and py dep fixup → https://github.com/NixOS/nixpkgs/pull/118724
oxalica has quit [Quit: oxalica]
<srhb> dotdotok: I cannot reproduce that. Are you sure the shell succeeded?
<dotdotok> i didnt see any errors (or other output besides the initial download), I'm using only nix, not NixOS if that matters (and i do have flakes/experimental turned on)
ddellacosta has joined #nixos
ericsagn1 has quit [Ping timeout: 260 seconds]
Qwerky has joined #nixos
<srhb> dotdotok: Does `nix run nixpkgs#youtube-dl` succeed?
<clever> srhb: one thing that often trips people up, `nix-shell -p youtube-dl` puts youtube-dl into $PATH, while `nix-shell '<nixpkgs>' -A youtube-dl`, gives you a shell suitable for BUILDING youtube-dl
<dotdotok> srhb: it does :^)
<srhb> Yeah, but that's not the case with `nix shell`
<srhb> So, confusing...
<srhb> dotdotok: What's your version of nix then?
<clever> srhb: what does `which youtube-dl` report inside your `nix shell` ?
<srhb> clever: /nix/store/i61f8nrjrinhyx1iqqp4l38x49majhbv-python3.8-youtube-dl-2021.03.25/bin/youtube-dl -- it's explicitly on top of PATH
wolke has quit [Quit: ZNC 1.8.2 - https://znc.in]
<clever> thats what i would expect
<dotdotok> srhb: 3.0pre20200804 ed52cf6
<srhb> Yes, that's how the new one is supposed to work.
ddellacosta has quit [Ping timeout: 268 seconds]
ml| has joined #nixos
<dotdotok> i need to head out atm, will try and look into it when i get back
<srhb> dotdotok: Ironically I thnk that might be older than 2.4pre whatever
<srhb> Try updating it.
<{^_^}> [nixpkgs] @ehmry pushed to master « nixos/samba: remove bad example for "securityType" option »: https://git.io/JYNBJ
hopheynananey has joined #nixos
vidbina has joined #nixos
wolke has joined #nixos
rprije has quit [Ping timeout: 240 seconds]
bqv has quit [Ping timeout: 245 seconds]
dotdotok has quit [Ping timeout: 240 seconds]
yoctocell_ has quit [Quit: ZNC 1.8.2 - https://znc.in]
<supersandro2000> pinpox: I have searched open PRs for rust and 1.51 but did not check merged
tedious has joined #nixos
<supersandro2000> so we just need to wait until that hits master
<supersandro2000> or we merge the wezterm PR into staging and you pick that into your packages
<tedious> Are the nightly isos broken right now?
yoctocell_ has joined #nixos
<tedious> Both plasma isos I tried over the past few days can't run display-manager to get X running.
ericsagn1 has joined #nixos
<tedious> Should I try a different version?
<{^_^}> [nixpkgs] @FRidh pushed to master « Revert "python3Packages.bokeh: 2.2.3 -> 2.3.0" »: https://git.io/JYNRg
liori has joined #nixos
orivej has joined #nixos
<{^_^}> [nixpkgs] @veehaitch opened pull request #118725 → yubikey-manager: 3.1.2 -> 4.0.1 → https://github.com/NixOS/nixpkgs/pull/118725
<{^_^}> [nixpkgs] @saschagrunert opened pull request #118726 → ginkgo: 1.16.0 -> 1.16.1 → https://github.com/NixOS/nixpkgs/pull/118726
ml| has quit [Ping timeout: 265 seconds]
<tedious> Oops bad connection.
<{^_^}> [nixpkgs] @FRidh merged pull request #118704 → python3Packages.numpy: 1.20.1 -> 1.20.2 → https://github.com/NixOS/nixpkgs/pull/118704
ddellacosta has joined #nixos
ddellacosta has quit [Ping timeout: 260 seconds]
<tedious> I guess I'll try the gnome one.
<{^_^}> [nixpkgs] @tenaf0 reopened pull request #118688 → GNOME 40: GDM now works and one can log in → https://github.com/NixOS/nixpkgs/pull/118688
ml| has joined #nixos
Lorenzoas3ii[m] has joined #nixos
<exarkun> anyone using yubikey pam ssh auth on nixos? either as client or server. are the necessary pam modules packaged? I don't understand the difference between pam-u2f (packaged, apparently) and pam-yubico (not packaged?)
wex has joined #nixos
wex is now known as w3x
w3x has quit [Client Quit]
bqv has joined #nixos
<{^_^}> [nixpkgs] @roberth merged pull request #116749 → dockerTools.streamLayeredImage: add fakeRootCommands option → https://github.com/NixOS/nixpkgs/pull/116749
eggplant has joined #nixos
<{^_^}> [nixpkgs] @SuperSandro2000 pushed to SuperSandro2000-patch-1 « Update default.nix »: https://git.io/JYNas
<eggplant> hello -- does anyone know anything about configuring wireguard interfaces? i added a bunch of configurations and i would like units for them to be generated, however they seem to be enabled by default which i would like to avoid
lordcirth_ has quit [Remote host closed the connection]
lordcirth_ has joined #nixos
<sterni> you could probably set systemd.services.<name>.enable = false; *but* I am not sure if they then get generated at all
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<eggplant> yeah i have the same problem if i set networking.wireguard.enable = false;
<eggplant> i will give it a shot nontheless
stree has quit [Ping timeout: 260 seconds]
<clever> eggplant: you can also mkForce the wantedBy, so its not wanted by multi-user.target
<clever> then it wont auto-start
<eggplant> cheers man
orivej has quit [Ping timeout: 240 seconds]
<eggplant> still trying to wrap my head around how nix works
mallox has quit [Quit: WeeChat 3.1]
HedgeMag- is now known as HedgeMage
bqv has quit [Ping timeout: 258 seconds]
bqv has joined #nixos
stree has joined #nixos
acarrico has joined #nixos
ddellacosta has joined #nixos
waleee-cl has joined #nixos
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #118412 → pythonPackages.bokeh: add comment to update together with panel, zigbee2mqtt: add upgrade warning → https://github.com/NixOS/nixpkgs/pull/118412
averell has quit [Quit: .]
<{^_^}> [nixpkgs] @jtojnar pushed to master « gi-docgen: fix patch URL »: https://git.io/JYNK1
dev_mohe has joined #nixos
dev_mohe has quit [Client Quit]
n-osborne has quit [Remote host closed the connection]
n-osborne has joined #nixos
superherointj has joined #nixos
n-osborne has quit [Read error: Connection reset by peer]
n-osborne has joined #nixos
averell has joined #nixos
<superherointj> Tried Nix remote builds but it did not scale/distribute load beyond a single host and it seems to have no coordination to avoid busy hosts. Is there some tool or method to fix this? Thanks.
<supersandro2000> superherointj: limit nix build cores on the machines
<superherointj> I did it to one.
slack1256 has joined #nixos
<supersandro2000> and you need to build something that is concurent
<superherointj> I was testing with 'ruby' package.
yoctocell_ has quit [Quit: ZNC 1.8.2 - https://znc.in]
eggplant has quit [Remote host closed the connection]
eggplant has joined #nixos
<matthewcroughan> Anyone here familiar with NixOS testing? I really need some help with it.
<matthewcroughan> I'm wondering if there's any tests that boot custom qemu artifacts.
yoctocell has joined #nixos
<matthewcroughan> Like could the Nix testing framework be used to test other distributions like Ubuntu/Debian/Fedora?
n-osborne has quit [Remote host closed the connection]
<superherointj> Btw, thanks for link.
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/de679c57ca5 (from 5 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
n-osborne has joined #nixos
<{^_^}> [nixpkgs] @drewrisinger opened pull request #118729 → python3Packages.qiskit: 0.24.1 -> 0.25.0 → https://github.com/NixOS/nixpkgs/pull/118729
<{^_^}> [nixpkgs] @TethysSvensson opened pull request #118730 → flint: 2.5.2 -> 2.7.1 → https://github.com/NixOS/nixpkgs/pull/118730
zebrag has quit [Quit: Konversation terminated!]
<tedious> Is there any way to get an older iso from hydra?
zebrag has joined #nixos
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #118720 → python3Packages.transitions: 0.8.7 -> 0.8.8 → https://github.com/NixOS/nixpkgs/pull/118720
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #118721 → nodejs: 15.13.0 -> 15.14.0 → https://github.com/NixOS/nixpkgs/pull/118721
<superherointj> supersandro2000, regarding the link I posted, my goal was to have one job per host. Is that configuration correct for this?
<tedious> Hmm systemctl says display-manager is running but that's not true.
<tpw_rules> so i'm sure smarter people have thought about this but i dream of nix having some sort of centralized build command manager that can make sure N=number of cores expensive commands are running independent of how many derivations are being built or each's individual level of parallelism. it's annoying to constantly reconfigure to compensate for jobs which can and can't use lots of cores
mmmattyx has joined #nixos
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #118726 → ginkgo: 1.16.0 -> 1.16.1 → https://github.com/NixOS/nixpkgs/pull/118726
<supersandro2000> superherointj: set max jobs for the remote builders to 1
n-osborne has quit [Remote host closed the connection]
n-osborne has joined #nixos
<supersandro2000> tpw_rules: jobs which fail when running in parallel with many cores should have that disabled
<gchristensen> tpw_rules: same
n-osborne has quit [Remote host closed the connection]
<tpw_rules> supersandro2000: not as in "fail" but like simple jobs. like i have my 64 core machine configured to 1 job because i need to build tensorflow a bunch of times. but then it spends half an hour serially downloading dependencies and compiling trivial derivations. but if i set it to like 16 jobs then once the tensorflow builds start it just spends way too much time context switching
phil35 has joined #nixos
<matthewcroughan> Any examples of the nix qemu test-driver being used with a non-nixos image?
zupo has joined #nixos
<phil35> Hi everyone, i've been following dorian's tutorial and when I'm installing nixos, I encountered this error:
<phil35> Failed assertions:
<phil35> - The 'fileSystems' option does not specify your root file system
<phil35> Does anyone know how to fix it?
eggplant has quit [Remote host closed the connection]
eggplant has joined #nixos
<supersandro2000> but that should be auto detected by the install script which generates configuration-hardware.nix
<supersandro2000> tpw_rules: do you substitute downloads?
<eggplant> systemd.services.wireguard-<server>.wantedBy = lib.mkForce []; doesn't seem to be working...
<tpw_rules> my simple idea was just to have all commands run by derivations sent to a daemon which will start processes only when there is a core free, with some heuristics for processes that have varying load. but that would break multiple build users and im not sure how you would hook those commands anyway
<tpw_rules> supersandro2000: i'm not sure?
<supersandro2000> if I am not rebuilding the entirety of nixpkgs or building from stdenv up to what I need I never really achieve high parallism and stuff like tensorflow always ends up alone at the end with 50 concurent jobs
<tpw_rules> usually it's custom derivations so it's running curl or git clone directly
jfroche has joined #nixos
<matthewcroughan> Alright, so I'm up to here now.
<supersandro2000> you wanna set ``builders-use-substitutes = true``
<matthewcroughan> It looks like this is hardcoded to boot nixos, is there any way I can have it boot another systemd based distro instead?
<tpw_rules> supersandro2000: this isn't for distributed builds though
yoctocell has quit [Quit: ZNC 1.8.2 - https://znc.in]
<supersandro2000> >> If set to true, Nix will instruct remote build machines to use their own binary substitutes if available. In practical terms, this means that remote hosts will fetch as many build dependencies as possible from their own substitutes (e.g, from cache.nixos.org), instead of waiting for this host to upload them all. This can drastically reduce build
<supersandro2000> times if the network connection between this computer and the remote build host is slow. Defaults to false.
<phil35> >but that should be auto detected by the install script which generates configuration-hardware.nix
<phil35> Yea, idk why it's not automatically insert the disk I'm using. So I looked it up in nano and I see fileSystems."/boot" = { device = "/dev/disk/by-uuid/"; fsType = "vfat"; Is it correct or is there anything that I should correct?
<ar> phil35: that's the entry i have on my laptop for /boot, where I use ESP as /boot: fileSystems."/boot" = { device = "/dev/disk/by-uuid/C091-50F9"; fsType = "vfat"; };
<ar> phil35: I'm not exactly sure about the "/dev/disk/by-uuid/" path from your example
<{^_^}> [nixpkgs] @jtojnar pushed 2 commits to gnome-40: https://git.io/JYNyA
<phil35> @ar i forget the uuid but it's 1B30-34D4
<ar> phil35: if that's there, then it looks fine
<phil35> yea, could it be because at the first time I didn't look up correctly and set mount /dev/disk/by-label/nixos /mnt before even though I'm on UEFI?
EdmundMiller[m] has joined #nixos
<phil35> but after that I create /boot in /mnt and run mount /dev/disk/by-label/boot /mnt/boot
ddellacosta has quit [Remote host closed the connection]
lifeless_ has joined #nixos
ddellaco_ has joined #nixos
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #118711 → nomachine-client: 7.2.3 -> 7.4.1 → https://github.com/NixOS/nixpkgs/pull/118711
eggplant has quit [Ping timeout: 246 seconds]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cfricke has quit [Ping timeout: 252 seconds]
lifeless_ has quit [Quit: Leaving]
<matthewcroughan> So close
<matthewcroughan> It's possible that you could run arbitrary VMs, but just not a thing yet.
phil35 has quit [Quit: Connection closed]
<matthewcroughan> Designed first and foremost to boot NixOS.
oxalica has joined #nixos
gxt has quit [Remote host closed the connection]
gxt has joined #nixos
<FRidh> $ node2nix -l package-lock.json -> TypeError: Cannot read property 'substr' of undefined
liuyb has quit [Ping timeout: 260 seconds]
liuyb has joined #nixos
<{^_^}> [nixpkgs] @primeos opened pull request #118733 → libdrm: 2.4.104 -> 2.4.105 → https://github.com/NixOS/nixpkgs/pull/118733
ahmed_elgabri has quit [Ping timeout: 260 seconds]
rubm has joined #nixos
<{^_^}> [nixpkgs] @cab404 opened pull request #118734 → noisetorch: 0.9.0 -> 0.10.1 → https://github.com/NixOS/nixpkgs/pull/118734
zebrag has quit [Quit: Konversation terminated!]
zebrag has joined #nixos
fusion809 has quit [Remote host closed the connection]
Mateon1 has quit [Remote host closed the connection]
Mateon2 has joined #nixos
<{^_^}> [nixpkgs] @KAction opened pull request #118735 → laminar: use "pname" instead of "name" in mkDerivation → https://github.com/NixOS/nixpkgs/pull/118735
<matthewcroughan> If anyone could comment I'd appreciate it :D
Mateon2 is now known as Mateon1
<tedious> Ok so the gnome iso from a day ago boots and starts gnome but the plasma5 one doesn't.
<tedious> But the resolution is coming up 640x480.
<tedious> Is there some nixos way to set the resolution?
<tedious> Gnome won't let me change it.
slack1256 has quit [Remote host closed the connection]
ahmed_elgabri has joined #nixos
jonringer has joined #nixos
<tedious> I guess it's because gnome doesn't recognize the monitor.
<tedious> I have no idea what to do in nixos to fix this.
<{^_^}> [nixpkgs] @talyz opened pull request #118736 → gitlab: 13.9.4 -> 13.10.2 → https://github.com/NixOS/nixpkgs/pull/118736
Qwerky has quit [Remote host closed the connection]
proofofkeags has quit [Ping timeout: 240 seconds]
cfricke has joined #nixos
sangoma has quit [Ping timeout: 265 seconds]
sangoma_ has joined #nixos
mkDoku has joined #nixos
Qwerky has joined #nixos
jared-w has quit [Ping timeout: 246 seconds]
r0bby has quit [Ping timeout: 260 seconds]
lally has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @mweinelt merged pull request #118648 → python3Packages.PyChromecast: 9.1.1 -> 9.1.2 → https://github.com/NixOS/nixpkgs/pull/118648
bn_work has quit [Ping timeout: 260 seconds]
bradparker has quit [Ping timeout: 246 seconds]
ryjm has quit [Ping timeout: 260 seconds]
SrPx has quit [Ping timeout: 258 seconds]
veegee has joined #nixos
davetapley has quit [Ping timeout: 240 seconds]
aristid has quit [Ping timeout: 246 seconds]
wpcarro has quit [Ping timeout: 258 seconds]
nz__ has quit [Ping timeout: 258 seconds]
Synthetica has quit [Ping timeout: 250 seconds]
etrepum has quit [Read error: Connection reset by peer]
philipcristiano has quit [Ping timeout: 246 seconds]
vdemeester has quit [Ping timeout: 260 seconds]
ryjm has joined #nixos
jared-w has joined #nixos
etrepum has joined #nixos
nz__ has joined #nixos
joshmeredith has quit [Ping timeout: 260 seconds]
Synthetica has joined #nixos
lally has joined #nixos
bradparker has joined #nixos
aristid has joined #nixos
bn_work has joined #nixos
Qwerky has quit [Ping timeout: 265 seconds]
joshmeredith has joined #nixos
davetapley has joined #nixos
r0bby has joined #nixos
wpcarro has joined #nixos
SrPx has joined #nixos
philipcristiano has joined #nixos
EdmundMiller[m] is now known as Edmund[m]
vdemeester has joined #nixos
fendor has quit [Remote host closed the connection]
fendor has joined #nixos
berberman_ has quit [Quit: ZNC 1.8.2 - https://znc.in]
berberman has joined #nixos
marsh has quit [Quit: No Ping reply in 180 seconds.]
n3t has quit [Ping timeout: 260 seconds]
stree has quit [Ping timeout: 268 seconds]
marsh has joined #nixos
<tedious> Am I the only one using nightly isos from hydra?
<rotaerk> hail hydra
n3t has joined #nixos
<ToxicFrog> tedious: probably not, but you might be the only person using *today's* nightly iso
<ToxicFrog> I install from nightlies but the last time I installed a fresh system was two months ago, so the best I can say is that it worked then
oxalica has quit [Remote host closed the connection]
<ToxicFrog> Also, this sounds like this is less a problem with the nightly isos in general and more a bad interaction with your hardware specifically that KDE handles less gracefully than GNOME.
oxalica has joined #nixos
<tedious> I haven't been able to get a working x display for days.
<tedious> I think it's 3 different plasma5 isos and now a gnome one.
<tedious> This didn't happen a few months ago with hydra nightlies and doesn't happen with any other live isos.
<gchristensen> where do you get your nightly iso?
<gchristensen> where did you get that link from?
<gchristensen> cool
<tedious> sha256 was good.
<tedious> lspci -k shows that it's finding the device and loading the radeon driver.
erasmas has joined #nixos
<{^_^}> [nixpkgs] @FRidh opened pull request #118737 → python3Packages.{panel,bokeh}: update packages → https://github.com/NixOS/nixpkgs/pull/118737
noonien has quit [Ping timeout: 246 seconds]
stree has joined #nixos
proofofkeags has joined #nixos
growpotkin has joined #nixos
<{^_^}> [nixpkgs] @bfortz opened pull request #118738 → bitwig-studio: 3.3.6 -> 3.3.7 → https://github.com/NixOS/nixpkgs/pull/118738
zebrag has quit [Quit: Konversation terminated!]
zebrag has joined #nixos
<matthewcroughan> DavHau[m]: Heyo!
<matthewcroughan> Is there a freenode channel for machnix?
<gchristensen> what is machnix?
<matthewcroughan> I'm wondering how I could use mach-nix to make a container image that actually has more than the specified tools in it
<matthewcroughan> gchristensen: a way of avoiding writing infinitely complex shell.nix's for python environments
<gchristensen> oh gosh
<matthewcroughan> takes a requirements.txt as an input, outputs either a container image or a shell.nix environment
<matthewcroughan> I simply couldn't figure it out with raw nix, so mach-nix solved it for me ;D
<matthewcroughan> The only problem is that I can't find a way to insert packages into mkDockerImage
<matthewcroughan> yknow, packages that aren't python related, like git.
<pie_> note its a pun on the german machen, which means to make
<pie_> mach is the imperatve (?) form
<pie_> which means make nothing!
<pie_> i think? :D
* infinisil can confirm
<matthewcroughan> I do love all the stuff you can get up to with the nix name.
ahmed_elgabri has quit [Ping timeout: 250 seconds]
<pie_> matthewcroughan: idk , looking at the readme it sounds like you might want thiss:
<pie_> packagesExtra (list) Add extra packages. Can contain tarball-URLs or paths of python source code, packages built via mach-nix.buildPythonPackage, or R Packages.
<matthewcroughan> python source code, i.e not any nixpkg
<matthewcroughan> I can't get git from pypi
M53K5HUN_8[m] has quit [Quit: Idle for 30+ days]
coniferous-cube[ has quit [Quit: Idle for 30+ days]
guntherploetner[ has quit [Quit: Idle for 30+ days]
reedrw[m] has quit [Quit: Idle for 30+ days]
<pie_> "or R packages""
<pie_> are there maybe examples somewhere?
<pie_> look at the tests directory
ManiacOfMadness has joined #nixos
<pie_> ok i cant tell either :D
<pie_> theres some mentions of .nixpkgs and other such but that seems to be the output?
<pie_> well
<matthewcroughan> providers pie_
<matthewcroughan> Might be the way
n-osborne has joined #nixos
<pie_> do you need to add packages to the python package? because then it looks like the buildInputs override seems to be the way to go
<pie_> and if you want git independent of the package you do .nixkpkgs?
<matthewcroughan> Nope, I just want to add git to the docker image so people can use the image
<matthewcroughan> because inside, they need git to do stuff
<pie_> ok but the question is hwo to get it in the docker image, right
<matthewcroughan> yeah
<pie_> theres an examples.md tho hm
n-osborn_ has joined #nixos
<pie_> anyway *reads the source*
<pie_> ive never used the docker infra but it looks like is uses the standard nixpkgs docker infra? https://github.com/DavHau/mach-nix/blob/fe91f35e33b128c296758a1744d252f7b76f28fb/mach_nix/nix/mkPython.nix#L145
<{^_^}> [nixpkgs] @rhoriguchi opened pull request #118739 → gitkraken: 7.5.3 -> 7.5.4 → https://github.com/NixOS/nixpkgs/pull/118739
<pie_> so i imagine you can pass the usual args to it
<matthewcroughan> providers = { git = "nixpkgs'";}; ?
<matthewcroughan> The Package 'git' is not available from any of the selected providers {'nixpkgs'}
<matthewcroughan> Hmm
<pie_> i dunno what a provider is
<matthewcroughan> ah yeah it's only able to grab from pkgs.python3packages
n-osborne has quit [Ping timeout: 260 seconds]
cfricke has quit [Ping timeout: 246 seconds]
<matthewcroughan> ah ok
<pie_> its also wrapped in a makeOverridable
<matthewcroughan> so I just override dockerImage.contents ?
<pie_> i dunno, try it or poke around
<pie_> are you able to use the repl?
<matthewcroughan> pie_: would I do that inside of the mach-nix.mkDockerImage function
ahmed_elgabri has joined #nixos
<pie_> 1) does it have an overrideAttrs?
<matthewcroughan> pie_: I probably can, I just don't know how to interact with the repl for this
<matthewcroughan> How could I get into a repl for a .nix file that only evaluates the `let` ?
<pie_> 2) if it has an overrideAttrs you can do something like overrideAtts (old: builtins.trace old old) to trace what args it already has
<pie_> but at that point you could also just try passing the arg
<pie_> (you can trace individual attrs of old as well of course)
<pie_> matthewcroughan: dont you have access to dockerImage somewhere already?
<matthewcroughan> where is that supposed to be ?
<matthewcroughan> I've loaded nixpkgs and nixpkgs/nixos
<matthewcroughan> It's not in lib
gxt has quit [Ping timeout: 240 seconds]
<matthewcroughan> dockerImage is not part of nixos
<matthewcroughan> I have access to dockerTools.buildLayeredImage though
<pie_> matthewcroughan: i dont know exactlywhat youre doing but even then the best i can do is give some rought pointers
<matthewcroughan> dockerTools.buildLayeredImage has no .override or .overrideAtrrs option
<pie_> you said youre already making thesepython docker images no?
<matthewcroughan> yes, but I need to add a package from nixpkgs into it
<pie_> *rough pointers
<pie_> yeah, so how do you get that python docker image?
<matthewcroughan> pie_: https://dpaste.com/C98ED3K72
gxt has joined #nixos
<matthewcroughan> `nix-build` on this nix
ahmed_elgabri has quit [Ping timeout: 248 seconds]
<pie_> yeah see youve got mkDockerImage right there
<matthewcroughan> Yes, and you asked me to get into a repl
<pie_> see if that takes a contents argument
<matthewcroughan> I don't know how to load mach-nix in a repl
<pie_> so the repl operates on nix expressions, so either you copy stuff in, or you expose something in the result of the let expresison somehow
endformationage has joined #nixos
<pie_> theres two ways to do that off the top of my head
<pie_> one is to merge an attr into the result, the other is to wrap it in a set and return a new attr
<pie_> so like let= ...; in{ oldstuff = .. ; thing_i_want_access_to = ...; }
<pie_> and then you can import the nix file and access the thing_i_want.... attr
<pie_> > (import ./whatever.nix).thing
<{^_^}> access to path '/var/lib/nixbot/state/nixpkgs/whatever.nix' is forbidden in restricted mode
<pie_> will give you the raw attr
<pie_> and then you can try tab completing .override on it or such
<pie_> did that make sense?
<matthewcroughan> pie_: I've done mach-nix = import (builtins.fetchGit { url = "https://github.com/DavHau/mach-nix/"; ref = "refs/tags/3.2.0"; })
<pie_> i was very handwavy
<matthewcroughan> but it's not tab completable
<matthewcroughan> «lambda @ /nix/store/w5jyng1mi4j2y83kk15vl8gcs7km2jhk-source/default.nix:1:1»
<matthewcroughan> pie_: Have you got ssh? :D
<pie_> the repl will let you enter that even if you did it wrong and only tell you when you actually try to eval it
<pie_> ok or that
feelfinchX has joined #nixos
<pie_> in that case you didnt actually call the function
<matthewcroughan> ssh ro-uEnkzcQdwaaMsgDgUEqGPRZ4K@lon1.tmate.io
<pie_> lol maybe dont post that in a public channel...
* lukegb joins in
<matthewcroughan> pie_: it's fine, it's read only
<pie_> uh, party on matthewcroughan's machine?
<pie_> aha
<pie_> so anyone got any tmate 0days? :D
<matthewcroughan> can't tab complete this then
<pie_> matthewcroughan: its an unevaluated function, there isnt anything to tab on
<pie_> you need to call the function
<matthewcroughan> so how do I evaluate it
<matthewcroughan> how do I call it? Always been a bit confused about this
<matthewcroughan> what does putting a {} do at the end?
<pie_> in a lot of functional languages you call something that is a funciton by "juxtaposition " (which just means putting something next to it
<matthewcroughan> puts it into an otherwise empty attrset?
<pie_> no, {} is an empty attrset, its the argument
<matthewcroughan> so that called it, that worked
<matthewcroughan> is that the proper way to solve it?
<pie_> > let f = args@{ a, b }: [(a + b) args]; in f { a = 1 ; b = 2; }
<{^_^}> [ <CODE> { a = 1; b = 2; } ]
berberman has quit [Ping timeout: 260 seconds]
berberman_ has joined #nixos
<pie_> ok not the most illustrative output but
<matthewcroughan> nope :P
<matthewcroughan> I don't get that at all yet
feelfinchX has left #nixos [#nixos]
<pie_> ok
berberman_ has quit [Max SendQ exceeded]
<pie_> > let f = a: b: a + b; in f 1 2
<{^_^}> 3
<pie_> > let f = a: b: a + b; in f 1
<{^_^}> <LAMBDA>
<pie_> > let f = a: b: a + b; in f
<{^_^}> <LAMBDA>
<pie_> any better?
berberman has joined #nixos
<pie_> im too distracted right now to go all the way down to the basics :/
<pie_> or rather, to expand on it a lot
<{^_^}> [nixpkgs] @ryantrinkle opened pull request #118740 → virtualbox: add patch to enable building with linux kernel 5.11 → https://github.com/NixOS/nixpkgs/pull/118740
<pie_> you could try taking a look at https://github.com/tazjin/nix-1p though i dont remember how introductory it is or if its for people that already know functional langs
<lukegb> matthewcroughan: so I think the answer to your, err, initial question is that alongside the "requirements" attribute you set, you can also pass `packagesExtra`
<pie_> anyway by passing {} you gave it empty arguments, which apparently it was happy with
<matthewcroughan> but mkDockerImage ISN'T happy with that, right?
<matthewcroughan> isn't happy with empty args
<matthewcroughan> Okay hmm..
<matthewcroughan> pie_: so it needs to be something like contents = oldAttrs.contents ++ [ git ]
<matthewcroughan> right?
ahmed_elgabri has joined #nixos
<{^_^}> [nixpkgs] @NeQuissimus opened pull request #118741 → Kernel tests → https://github.com/NixOS/nixpkgs/pull/118741
<pie_> i gotta run sorry, good luck
<matthewcroughan> thanks so far ;D
<matthewcroughan> pie_ <3
<matthewcroughan> <3 pie_
<{^_^}> pie_'s karma got increased to 18
justanotheruser has quit [Ping timeout: 260 seconds]
<pie_> try what lukegb mentioned too
zos-goatherd has joined #nixos
<matthewcroughan> lukegb: packagesExtra only allows python packages.
<lukegb> it... does?
<pie_> note https://github.com/DavHau/mach-nix/blob/fe91f35e33b128c296758a1744d252f7b76f28fb/mach_nix/nix/mkPython.nix#L60 is used on the line i linked earlier and it uses packagesextra
<matthewcroughan> lukegb: yup
<matthewcroughan> rPackages or pytrhon Packages
<lukegb> do you get an error when you try?
<matthewcroughan> oh, boom, thanks pie
<pie_> it should allow others unless that means the opposite of what i think it does extra_pkgs_other = filter (p: ! (p ? rCommand || p ? pythonModule || l.is_src p)) packagesExtra;
ahmed_elgabri has quit [Ping timeout: 260 seconds]
<matthewcroughan> packagesExtra = [ git ]; ?
<pie_> note the rest is processed by the two statements before that line
<matthewcroughan> Ah yeah, I couldn't figure out how to pass pkgs. in
<matthewcroughan> error: anonymous function at /home/matthew/git/foundries/mkdocs/test.nix:15:1 called without required argument 'pkgs'
zos-goatherd has left #nixos [#nixos]
<pie_> mach.nixpks?
<pie_> pkgs
<matthewcroughan> error: 'streamLayeredImage' at /nix/store/j97jj9f5h21qdyfhl7prsqacbj8zc197-nixpkgs/pkgs/build-support/docker/default.nix:727:24 called with unexpected argument 'packagesExtra' pie_
mallox has joined #nixos
gustavderdrache has joined #nixos
<{^_^}> [nixpkgs] @primeos merged pull request #118733 → libdrm: 2.4.104 -> 2.4.105 → https://github.com/NixOS/nixpkgs/pull/118733
philr has quit [Ping timeout: 240 seconds]
<pie_> idk, id have to skim through again
<matthewcroughan> Oh of course, that's mkPython
<pie_> hey you need overrideAttrs
<matthewcroughan> not mkDockerImage
<pie_> no its not mkpython
<pie_> mkdockerimage calls that through some indirection
<{^_^}> [nixpkgs] @FRidh opened pull request #118742 → services.tailscale: add openresolv to path → https://github.com/NixOS/nixpkgs/pull/118742
<pie_> errrrrrr
<pie_> i may have spoke too soon and this is probably wrong<pie_> hey you need overrideAttrs
ekotik[m] has joined #nixos
<pie_> ok i really gotta run off o
<pie_> o/
<{^_^}> [nixpkgs] @primeos merged pull request #118406 → wayland: Add a "bin" and "dev" output → https://github.com/NixOS/nixpkgs/pull/118406
proofofkeags_ has joined #nixos
<matthewcroughan> Hmm
avaq has quit [Ping timeout: 240 seconds]
<matthewcroughan> Seems to be no good
<matthewcroughan> How do I combine override and override attrs
proofofkeags has quit [Ping timeout: 240 seconds]
<matthewcroughan> I can't figure out how to pass pkgs in either, mach-nix.git isn't it.
ahmed_elgabri has joined #nixos
akaWolf has quit [Ping timeout: 268 seconds]
teto has quit [Quit: WeeChat 3.1]
mallox has quit [Quit: WeeChat 3.1]
nrh^ has quit []
zebrag has quit [Quit: Konversation terminated!]
zebrag has joined #nixos
ahmed_elgabri has quit [Ping timeout: 258 seconds]
wnklmnn has joined #nixos
bn_work has quit [Quit: Connection closed for inactivity]
fresheyeball has quit [Quit: WeeChat 2.9]
gustavderdrache1 has joined #nixos
<{^_^}> [nixpkgs] @xworld21 opened pull request #118743 → perlPackages.LaTeXML: make into a texlive package → https://github.com/NixOS/nixpkgs/pull/118743
gustavderdrache has quit [Ping timeout: 248 seconds]
gustavderdrache1 is now known as gustavderdrache
Dr8128 has quit [Ping timeout: 260 seconds]
justanotheruser has joined #nixos
domogled has joined #nixos
zupo has joined #nixos
<abathur> matthewcroughan: I'm not very sure because I'm not reading the whole scrollback, but iirc the general mach-nix setup pattern entails declaring a nixpkgs and passing that in when you import it
<abathur> the first comment lines in the code block here show how you could do it with <nixpkgs> https://github.com/DavHau/mach-nix/blob/0aa868eb2b39b7035ade2d55bf1c2a741f4fe3e1/examples.md#import-mach-nix
afontaine has quit [Quit: ZNC 1.8.2 - https://znc.in]
<abathur> and here's how it would usually do a pinned version if you let mach-nix generate an env directory (what it would write to dir/inputs.nix): https://github.com/DavHau/mach-nix/blob/ac62255e8112e547432ca0f09bfe8f4d1920fbb8/mach_nix/run.py#L70-L80
<eyJhb> Is it possible to update a specific LaTeX package? I want a more modern version of moderncv...
sparogy has joined #nixos
sparogy has quit [Remote host closed the connection]
<lordcirth_> eyJhb, you can install it from master/unstable in your user profile instead of system-wide
<abathur> matthewcroughan: ah, here's a clearer example of the last one from a repo I put up to work out an issue https://github.com/abathur/flaskmvp/blob/cc7d85df8621992003cedd7867ec77bd6ec08f3b/env/inputs.nix#L6-L16
<lordcirth_> either with nix-env or home-manager
fresheyeball has joined #nixos
gustavderdrache has quit [Quit: Leaving.]
<eyJhb> lordcirth_: How would you do it in home-manager?
<eyJhb> Also, the version I want is not in master/unstable
bitmapper has joined #nixos
<lordcirth_> eyJhb, really? Consider doing a PR to get it into unstable, and you can use your branch immediately
<eyJhb> lordcirth_: Will look at it after food. But LaTeX is kinda weird in that regard
zopieux has quit [Ping timeout: 246 seconds]
sparogy has joined #nixos
zopieux has joined #nixos
superherointj has quit [Quit: Leaving]
sparogy has quit [Quit: ZNC 1.8.2 - https://znc.in]
sparogy has joined #nixos
cole-h has joined #nixos
meh` has quit [Ping timeout: 240 seconds]
mkDoku has quit [Ping timeout: 248 seconds]
meh` has joined #nixos
akaWolf has joined #nixos
<bsima> does anyone know how to use generators.toINI to create top-level, anonymouse key=val pairs
<bsima> ?
<bsima> looking at generators.nix it does not seem to be supported
zupo_ has joined #nixos
<{^_^}> [nixpkgs] @doronbehar closed pull request #87503 → realsense + examples + udev rules → https://github.com/NixOS/nixpkgs/pull/87503
zupo has quit [Ping timeout: 246 seconds]
tejing has joined #nixos
NinjaTrappeur has quit [Ping timeout: 260 seconds]
stree has quit [Ping timeout: 240 seconds]
rajivr has quit [Quit: Connection closed for inactivity]
<{^_^}> [nixpkgs] @ribose-jeffreylau closed pull request #114238 → rnp: init at 0.14.0-gffcfb63 → https://github.com/NixOS/nixpkgs/pull/114238
<{^_^}> [nixpkgs] @doronbehar merged pull request #118717 → zoom-us 5.5.7938.0228 -> 5.6.13632.0328 → https://github.com/NixOS/nixpkgs/pull/118717
bootstrap-prime has joined #nixos
kb[m] has joined #nixos
<bootstrap-prime> hey there! what's the best way to edit the sudoers file?
<{^_^}> [nixpkgs] @ribose-jeffreylau opened pull request #118744 → rnp: init at 0.15.0 → https://github.com/NixOS/nixpkgs/pull/118744
<bootstrap-prime> oh that's useful
<bootstrap-prime> thank you!
stree has joined #nixos
work_ has joined #nixos
bootstrap-prime has quit [Quit: Connection closed]
domogled has quit [Quit: domogled]
domogled1 has joined #nixos
<eyJhb> lordcirth_: How is LaTeX handled in regards to updating?
concept2 has quit [Quit: See ya later!]
avn has joined #nixos
domogled1 is now known as domogled
<{^_^}> [nixpkgs] @wkral opened pull request #118746 → bluez: 5.56 -> 5.58 → https://github.com/NixOS/nixpkgs/pull/118746
FRidh has quit [Ping timeout: 240 seconds]
typetetris has quit [Quit: Connection closed for inactivity]
<lordcirth_> eyJhb, no idea, I don't use LaTeX
ericsagn1 has quit [Ping timeout: 258 seconds]
FRidh has joined #nixos
<eyJhb> Found the upgrading guide lordcirth_ :D
concept2 has joined #nixos
<{^_^}> [nixpkgs] @NeQuissimus opened pull request #118747 → sbt-extras: 2021-03-29 → 2021-04-06 → https://github.com/NixOS/nixpkgs/pull/118747
<{^_^}> [nixpkgs] @NeQuissimus opened pull request #118748 → jenkins: 2.277.1 → 2.277.2 → https://github.com/NixOS/nixpkgs/pull/118748
<{^_^}> [nixpkgs] @NeQuissimus opened pull request #118749 → Kernels 2021-04-07 → https://github.com/NixOS/nixpkgs/pull/118749
<{^_^}> [nixpkgs] @NeQuissimus opened pull request #118750 → awscli: 1.19.45 -> 1.19.46 → https://github.com/NixOS/nixpkgs/pull/118750
<{^_^}> [nixpkgs] @NeQuissimus opened pull request #118751 → oh-my-zsh: 2021-04-06 → 2021-04-07 → https://github.com/NixOS/nixpkgs/pull/118751
n-osborn_ has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @cole-h opened pull request #118752 → fish: 3.2.1 -> 3.2.2 → https://github.com/NixOS/nixpkgs/pull/118752
ahmed_elgabri has joined #nixos
ericsagn1 has joined #nixos
nrh^ has joined #nixos
<{^_^}> [nixpkgs] @vcunat pushed 2 commits to master: https://git.io/JYAWV
<{^_^}> [nixpkgs] @vcunat merged pull request #117519 → nixos/amdgpu: remove → https://github.com/NixOS/nixpkgs/pull/117519
justanotheruser has quit [Ping timeout: 240 seconds]
ahmed_elgabri has quit [Ping timeout: 250 seconds]
ahmed_elgabri has joined #nixos
fuzzypixelz has joined #nixos
NinjaTrappeur has joined #nixos
<{^_^}> [nixpkgs] @vbgl merged pull request #118646 → ocamlPackages.ocamlnet: 4.1.8 → 4.1.9 → https://github.com/NixOS/nixpkgs/pull/118646
mindavi has joined #nixos
<{^_^}> [nixpkgs] @vbgl merged pull request #118713 → reason: 3.6.2 → 3.7.0 → https://github.com/NixOS/nixpkgs/pull/118713
fendor_ has joined #nixos
<{^_^}> [nixpkgs] @primeos opened pull request #118753 → mesa: 21.0.1 -> 21.0.2 → https://github.com/NixOS/nixpkgs/pull/118753
fendor has quit [Ping timeout: 240 seconds]
zupo_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @primeos opened pull request #118754 → libxkbcommon: 1.2.0 -> 1.2.1 → https://github.com/NixOS/nixpkgs/pull/118754
fuiltilt has joined #nixos
saschagrunert has quit [Remote host closed the connection]
utkarsh181 has joined #nixos
<{^_^}> [nixpkgs] @Chili-Man opened pull request #118755 → terraform_0_14: 0.14.9 -> 0.14.10 → https://github.com/NixOS/nixpkgs/pull/118755
<utkarsh181> Hi
seku has joined #nixos
<mindavi> utkarsh181: Hello
confususs has joined #nixos
vidbina has quit [Ping timeout: 248 seconds]
<{^_^}> [nixpkgs] @maralorn merged pull request #118735 → laminar: use "pname" instead of "name" in mkDerivation → https://github.com/NixOS/nixpkgs/pull/118735
mkDoku has joined #nixos
zebrag has quit [Quit: Konversation terminated!]
zebrag has joined #nixos
utkarsh181 has quit [Read error: Connection reset by peer]
<confususs> ,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
confususs has quit [Quit: Connection closed]
confususs has joined #nixos
GideonOgbonna[m] has joined #nixos
<mindavi> Ericson2314: Any idea why enabling strictDeps causes pkg-config to not find deps anymore? I've seen this issue e.g. in json-glib. When I enable strictDeps, gobject-introspection can't be found anymore by pkg-config (both in nativeBuildInputs). When I put pkg-config in depsBuildBuild it works again -- but that doesn't seem very logical to me
kaligule has joined #nixos
<kaligule> Hello there
fendor_ is now known as fendor
<mindavi> kaligule: Hello kaligule :)
<kaligule> rfc-72 tells us that the future of nixos documentation shall be commonmark (markdown). Is there any project to actually make this happen (aka convert and replace the existing documentation)?
<{^_^}> #108063 (by ryantm, 13 weeks ago, open): add minimal manual prototype
<mindavi> kaligule: I think so: https://github.com/NixOS/nixpkgs/projects/37
mkDoku has quit [Ping timeout: 260 seconds]
<kaligule> Thank you.
<kaligule> It happened more then once that I wanted to work on the manual and then gave up because DocBook is complicated.
<confususs> Wondering what the nice way is of defining a binary to be used under another name in a nix-shell. I'm messing around with something like:
<confususs> ```
<confususs> { pkgs ? import <nixpkgs> {} }:
blippe has joined #nixos
<confususs> with pkgs;
<confususs> let
<confususs>   avconv = runCommand "avconv" {
<confususs>     buildInputs = [ makeWrapper ];
<confususs>   } ''
<confususs>     mkdir $out
<confususs>     ln -s ${ffmpeg}/* $out
<confususs>     rm $out/bin
<confususs>     mkdir $out/bin
<confususs>     ln -s ${ffmpeg}/bin/* $out/bin
<confususs>     rm $out/bin/ffmpeg
confususs has quit [Killed (Sigyn (Spam is off topic on freenode.))]
jess has joined #nixos
<jess> did someone innocent get murdered
<jess> (by sigyn)
<gchristensen> indeed
confususs has joined #nixos
<AmandaC> If I want to make certine packages in a shared config only get installed in certin arches, how should I check that in my nixos config?
<mindavi> confususs: I'd suggest to make a gist or share code otherwise :)
<confususs> Yeah I'm now on a vpn cuz I was banned XD
<AmandaC> I tried `config.nixpkgs.localSystem.system == "..."` but it appears to be including the packages anyway
<confususs> I'll make a gist, thanks :)
blippe has left #nixos ["nixos"]
<Ericson2314> Mindavi on phone FYI. Pkg config should be wrapped and a native build input
e[m]1 has joined #nixos
<jess> i lifted the other ban
<Ericson2314> Look at PKG_CONFIG_PATH*
justanotheruser has joined #nixos
<confususs> I'm trying to rename a binary in a nix-shell. Basically I want to use ffmpeg when I call avconv, and this seems like an overkill: https://gist.github.com/confususs/4be1abd8b3cbe7bb7fae11f356835f0f
<Ericson2314> I.e. there should be various suffixed versions
<confususs> Thank you @jess :)
<jess> np
zupo has joined #nixos
<kaligule> colemickens: By the way, it was you (in this chat) who gave me the confidence to try out nixos (about a year ago). Today I have it running on my main computer and on my server and am in the process of refactoring my configuration.nix to be more modular. Thanks a lot colemickens. https://schauderbasis.de/posts/first_step_to_nixos/
BenjiProd has joined #nixos
<{^_^}> [nixpkgs] @kampka opened pull request #118756 → wesnoth: 1.14.15 -> 1.14.16 → https://github.com/NixOS/nixpkgs/pull/118756
vidbina has joined #nixos
jonringer has quit [Remote host closed the connection]
<matthewcroughan> abathur: heyo
<matthewcroughan> I'm looking more to just specify a package that I want to be included in the docker image, and can't really find a clear example
confusus has joined #nixos
confususs42 has joined #nixos
<mindavi> confususs: Not sure how to do that in a better way
<matthewcroughan> abathur: if I do what you say, I still get error: 'streamLayeredImage' at /nix/store/4dyd6nmxipljwlcbyaix10cslcw7idv5-nixpkgs/pkgs/build-support/docker/default.nix:703:24 called with unexpected argument 'packagesExtra'
<confusus> Ok cool, thanks @Mindavi :)
confususs42 has quit [Client Quit]
confususs has quit [Ping timeout: 240 seconds]
<confusus> (I'm still here xD)
<mindavi> Ericson2314: Apparently some of the pkgs I expect in PKG_CONFIG_PATH are not there when I enable strictDeps (all in nativeBuildInputs)
<mindavi> But I can't really tell why that is the case
<cole-h> confusus: Why not just `runCommand "avconv" {} "mkdir -p $out/bin; ln -s ${pkgs.ffmpeg}/bin/ffmpeg $out/bin/avconv"`
<cole-h> that should work
jonringer has joined #nixos
<Ericson2314> Mindavi pkgs in native build inputs will go in PKG_CONFIG_PATH_FOR_BUILD
justanotheruser has quit [Read error: Connection reset by peer]
<fresheyeball> how can I capitalize a string?
<confusus> Aww yeah, thanks @cole-h!
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<mindavi> Ericson2314: As far as I can tell there is no PKG_CONFIG_FOR_BUILD (neither with and without strictDeps enabled). For reference, I'm using the new nix cli (nix build, nix develop)
ieltan has joined #nixos
<mindavi> Unless maybe that's setup later (not together with the shell?)
<edrex> @colemickens: basically i'm just wanting to import modules from inside the machine definitions rather than in flake.nix, and it seems like that's straightforward. I don't love the pattern of putting machine modules in flake.nix - it seems like one entry point per machine is tidier, and just pass in inputs.
<edrex> Generally, larger flakes-based configs like yours seem to end up with a lot of helper code in flake.nix to map over outputs etc. Seems like a common helper module could clean that up and help standardize the patterns.
<edrex> one point of confusion I still haven't gotten past: are modules nixos-only? the docs seem to indicate so but I don't understand why they should be.
<{^_^}> [nixpkgs] @vbgl pushed to master « ocamlPackages.sqlite3: use Dune 2 »: https://git.io/JYA0c
<{^_^}> [nixpkgs] @mweinelt opened pull request #118758 → home-assistant: 2021.3.4 -> 2021.4.0 → https://github.com/NixOS/nixpkgs/pull/118758
kiltzman has quit [Ping timeout: 265 seconds]
juliuco has joined #nixos
hopheynananey has quit [Quit: WeeChat 3.1]
<{^_^}> [nixpkgs] @vbgl opened pull request #118759 → ocamlPackages.postgresql: 4.6.3 → 5.0.0 → https://github.com/NixOS/nixpkgs/pull/118759
justanotheruser has joined #nixos
<{^_^}> [nixpkgs] @ttuegel merged pull request #117947 → KDE Frameworks 5.80 and Applications 20.12.3 → https://github.com/NixOS/nixpkgs/pull/117947
kiltzman has joined #nixos
confusus has quit [Remote host closed the connection]
<kaligule> edrex: I also don't see any reason why modules should only work on nixos.
meteo has joined #nixos
meteo has quit [Remote host closed the connection]
meteo has joined #nixos
supercoven_ has quit [Ping timeout: 260 seconds]
juliuco has quit [Quit: juliuco]
<mindavi> edrex: Modules are nixos-only because they use systemd, which is linux-only. Nixpkgs supports more than only linux
<cole-h> NixOS modules only work on NixOS because they rely on having complete control of the operating system
<mindavi> ^ and that
fuzzypixelz has quit [Quit: Connection closed]
dev_mohe has joined #nixos
Lord_of_Life_ has joined #nixos
kaligule has quit [Ping timeout: 250 seconds]
IRCsum has quit [Remote host closed the connection]
justanotheruser has quit [Read error: Connection reset by peer]
Lord_of_Life has quit [Ping timeout: 260 seconds]
Dr8128 has joined #nixos
dev_mohe has quit [Client Quit]
IRCsum has joined #nixos
Lord_of_Life_ is now known as Lord_of_Life
<exarkun> Anyone figured out how to pass Terraform values to NixOS configuration when using `nixos_deploy`?
ahmed_elgabri has quit [Ping timeout: 260 seconds]
ieltan has quit [Quit: Connection closed]
<{^_^}> [nixpkgs] @jonringer opened pull request #118760 → pythonPackages.*: fix some builds → https://github.com/NixOS/nixpkgs/pull/118760
<veleiro> what's this error with nix-build 'error: failed to extract archive: truncated gzip input'
FRidh has quit [Quit: Konversation terminated!]
stree has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @jonringer merged pull request #118750 → awscli: 1.19.45 -> 1.19.46 → https://github.com/NixOS/nixpkgs/pull/118750
<mindavi> veleiro: maybe corrupted archive?
sangoma_ has quit [Quit: WeeChat 3.1]
lawt has joined #nixos
work_ has quit [Quit: Connection closed for inactivity]
<{^_^}> [nixpkgs] @jonringer merged pull request #118760 → pythonPackages.*: fix some builds → https://github.com/NixOS/nixpkgs/pull/118760
<{^_^}> [nixpkgs] @bachp merged pull request #118752 → fish: 3.2.1 -> 3.2.2 → https://github.com/NixOS/nixpkgs/pull/118752
n-osborne has joined #nixos
ieltan has joined #nixos
n-osborn_ has joined #nixos
ieltan has quit [Client Quit]
superherointj has joined #nixos
stree has joined #nixos
n-osborne has quit [Ping timeout: 260 seconds]
domogled has quit [Quit: domogled]
<{^_^}> [nix-idea] @JojOatXGME opened pull request #28 → Support for IDEA 2021.1 → https://github.com/NixOS/nix-idea/pull/28
zupo has joined #nixos
orivej has joined #nixos
erictapen has quit [Quit: leaving]
<edrex> Mindavi cole-h: Some modules rely on systemd or nixos-based guarantees about the system, certainly. The module system itself though, and specifically the ability to define new config options nder the config key, doesn't seem to have any dependency on nixos. Is the same syntax supported in plain nix? https://nixos.wiki/wiki/Module#Structure
<colemickens> ultimately a nixos toplevel is just another nix output
<colemickens> one that contains links to systemd units that work together to make up "a nixos system"
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #118530 → fetchzip: accept urls → https://github.com/NixOS/nixpkgs/pull/118530
<simpson> edrex: To what end would one want configuration? Like, what is there to configure?
<colemickens> I don't think there's anything fundamentally preventing that nixos toplevel from being partially consumable from a traditional distro but it seems like it might be harder than it sounds.
<colemickens> edrex: you might be interested in https://github.com/svanderburg/nix-processmgmt
<samueldr> edrex: you're right, the modules system can work outside of NixOS, but the *NixOS modules*, the ones in <nixpkgs/nixos> assume ownership of the system
<edrex> i'm mainly wondering if I can define my own options in flake outputs, so they can be used in other flakes
<samueldr> home-manager uses the modules system from NixOS
<samueldr> robotnix does too https://github.com/danielfullmer/robotnix
<samueldr> robotnix is an example of how it can be used to do *totally not Linux* things with it
<samueldr> I don't know if flakes provides any facilities or tools for the modules system though, so I can't say there
<samueldr> but I can totally say that the modules _system_ can work detached from NixOS
<alp> :r
<edrex> cool, I'll look in those projects for examples. I was just reading parts of the robotnix repo via your reddit link. would have a play with it if I had a fast enough compilation machine :D
<alp> oops
<samueldr> "my" reddit link edrex?
<samueldr> (I guess it's possible I linked to it in the past)
<samueldr> definitely did :)
<samueldr> for completeness, Mobile NixOS uses the modules system too, but assuming it composes of top of NixOS's own modules, which is why I didn't talk about it
<mindavi> I did manage to make a build for my android phone with robotnix (I just bought a new SSD with enough room for it), but I haven't had the courage to flash it to my daily driver
<samueldr> Mindavi: assuming LineageOS, it's as safe as a LineageOS build you would have done locally... for what that's worth ;)
<mindavi> Yeah, I guess it's quite safe to do so. It's indeed lineageos. I just don't want to break my daily driver with something I'm not 100% sure about :p
<mindavi> And there was something about overriding the updater, I'd like to just keep using the standard lineageos updater
<mindavi> Project for another day maybe :)
<{^_^}> [nixpkgs] @aanderse opened pull request #118761 → zabbix: drop 3.0.32, 4.0.29 -> 4.0.30, 5.0.9 -> 5.0.10 → https://github.com/NixOS/nixpkgs/pull/118761
<mindavi> FYI, I'm also hacking at nixpkgs to get some more stuff cross-compiling, but the gtk stuff is kinda hard since everything seems to depend on gobject-introspection
<samueldr> oh definitely understandable, because even what I said _is_ a bit concerning
<edrex> i think i'm going to flash grapheneos to my pixel 3. glad we're getting past dodgy xda roms, with bootloader signing turned on and good OTA updates
<samueldr> Mindavi: you saw (or authored) that PR, right?
<mindavi> The gtk-doc + json-glib PR?
<samueldr> authored, #117914
<samueldr> yeah
<{^_^}> https://github.com/NixOS/nixpkgs/pull/117914 (by Mindavi, 1 week ago, open): gtk-doc + json-glib: fix cross-compilation
srk has quit [Ping timeout: 260 seconds]
<mindavi> Yes, I did
ahmed_elgabri has joined #nixos
<mindavi> But it doesn't seem to get much feedback yet, I guess there's not that much people working on cross-compilation
<mindavi> Or something like that :p
<samueldr> in my opinion, I don't spend any time for stage-2 stuff + cross because of... well... you know :)
<samueldr> it's wicked hard :)
<{^_^}> [nix-idea] @JojOatXGME merged pull request #28 → Support for IDEA 2021.1 → https://github.com/NixOS/nix-idea/pull/28
<mindavi> It is, but it would really be great if we could one day cross-compile the whole stack
<mindavi> But it does take a lot of time (and all the rebuilds also take a lot of time with this not-so-beefy machine)
zebrag has quit [Quit: Konversation terminated!]
zebrag has joined #nixos
<samueldr> yes :) hopefully it'll happen, I was speaking pragmatically
<mindavi> But I guess if I want to get NixOS with a GUI running on my pinephone soon I should take another route
<mindavi> Because the terminal stuff is easy, I've got that all cross-compiled. The GUI stuff however is not that straightforward
<samueldr> yeah :( that's the most annoying part, getting someone *started*
<edrex> There are getting to be a lot of m1 macs about. Would they make good aarch64 build machines?
<samueldr> there's no really good SBCs to point to for native compilation
n-osborn_ has quit [Remote host closed the connection]
<samueldr> edrex: maybe, I guess in a year we'll know what's up with M1 macs and Linux "for real"
<samueldr> but they're not inexpensive either
<edrex> you mean as a result of community reversing?
<edrex> yeah, just a lot of devs seem to be buying them up so
<samueldr> yes
<samueldr> and I know there's good progress
<samueldr> but we're still at a point where it shouldn't be a recommendation
<samueldr> but there's good progress!
<mindavi> What is that community aarch64 machine that's talked about btw? Is that a server?
<samueldr> yes
<mindavi> I've seen some things mentioned about that in passing / in issues or documentation somewhere
n-osborne has joined #nixos
lawt has quit [Ping timeout: 248 seconds]
<samueldr> Mindavi: I am not using the results from those builds in any of my systems because it is a public shared ressource
<samueldr> but it is good to see if an expensive build is expected to build
<samueldr> (and also execute if it can be run without graphics)
gustavderdrache has joined #nixos
<mindavi> Mm yeah, I understand. It can indeed be handy to try some things out
<mindavi> I'm glad I've a new SSD with lots of storage now, I kept running out with all the branches and cross-compilation I was doing
n-osborne has quit [Remote host closed the connection]
<samueldr> haha, in my build machine I installed a 1TB ssd dedicated to the nix store... you pretty much know why
<mindavi> Anyhow, I'm heading out, time for bed
<mindavi> Yes, this is also a 1TB SSD which is (for now) dedicated to the store
<mindavi> I didn't allocate half of the drive yet, but we'll see what happens
<mindavi> Don't have any use for it right now, so it'll probably end up as store scratch space
<edrex> <colemickens "edrex: you might be interested i"> interesting. Right not I'm just trying to learn the basics by writing a nixos-config for a bunch of random hardware. I could see wanting to be able to install services for nix packages on macos or whatever, that's cool.
mindavi has quit [Quit: leaving]
neiluj has quit [Quit: leaving]
vidbina has quit [Ping timeout: 260 seconds]
n-osborne has joined #nixos
orivej has quit [Ping timeout: 240 seconds]
Acou_Bass has quit [Quit: ZNC 1.8.2 - https://znc.in]
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #118756 → wesnoth: 1.14.15 -> 1.14.16 → https://github.com/NixOS/nixpkgs/pull/118756
orivej has joined #nixos
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #118761 → zabbix: drop 3.0.32, 4.0.29 -> 4.0.30, 5.0.9 -> 5.0.10 → https://github.com/NixOS/nixpkgs/pull/118761
Acou_Bass has joined #nixos
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #118755 → terraform_0_14: 0.14.9 -> 0.14.10 → https://github.com/NixOS/nixpkgs/pull/118755
<{^_^}> [nixpkgs] @petabyteboy merged pull request #118736 → gitlab: 13.9.4 -> 13.10.2 → https://github.com/NixOS/nixpkgs/pull/118736
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #118753 → mesa: 21.0.1 -> 21.0.2 → https://github.com/NixOS/nixpkgs/pull/118753
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #118751 → oh-my-zsh: 2021-04-06 → 2021-04-07 → https://github.com/NixOS/nixpkgs/pull/118751
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #118748 → jenkins: 2.277.1 → 2.277.2 → https://github.com/NixOS/nixpkgs/pull/118748
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #118747 → sbt-extras: 2021-03-29 → 2021-04-06 → https://github.com/NixOS/nixpkgs/pull/118747
sss2 has joined #nixos
svrana has quit [Ping timeout: 250 seconds]
svrana has joined #nixos
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #118742 → services.tailscale: add openresolv to path → https://github.com/NixOS/nixpkgs/pull/118742
BenjiProd has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @lovesegfault merged pull request #118701 → pipewire: 0.3.24 -> 0.3.25 → https://github.com/NixOS/nixpkgs/pull/118701
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #118738 → bitwig-studio: 3.3.6 -> 3.3.7 → https://github.com/NixOS/nixpkgs/pull/118738
lawt has joined #nixos
<{^_^}> [nixpkgs] @fortuneteller2k opened pull request #118762 → linux_xanmod: 5.11.10 -> 5.11.12 → https://github.com/NixOS/nixpkgs/pull/118762
kozowu has quit [Quit: Connection closed for inactivity]
<abathur> matthewcroughan: sorry; I guess I missed the bing while afk; I guess I didn't read enough to avoid mis-interpreting; looking at the mach-nix source (https://github.com/DavHau/mach-nix/blob/fe91f35e33b128c296758a1744d252f7b76f28fb/default.nix#L86) my guess is that the .dockerImage attr is a stock docker image that mkDockerImage has created, not a mach-nix derivation anymore
<abathur> matthewcroughan: have you tried moving the extra packages attr up into the initial set alongside requirements? I've noted the presence of the docker stuff in mach-nix but haven't used it yet
zebrag has quit [Quit: Konversation terminated!]
zebrag has joined #nixos
anderslu1dstedt has joined #nixos
<{^_^}> [nixpkgs] @ciferkey opened pull request #118763 → yaru-theme: 20.10.6.1 -> 21.04.1 → https://github.com/NixOS/nixpkgs/pull/118763
anderslundstedt has quit [Ping timeout: 240 seconds]
erasmas has quit [Quit: leaving]
jimmiehansson has quit [Remote host closed the connection]
cjb has joined #nixos
jaeckel has quit [Changing host]
jaeckel has joined #nixos
__monty__ has quit [Quit: leaving]
orivej has quit [Ping timeout: 268 seconds]
<simpson> ,locate libGLX_indirect.so.0
<{^_^}> Couldn't find in any packages
<{^_^}> [nixpkgs] @AndersonTorres closed pull request #109639 → QMK tools update → https://github.com/NixOS/nixpkgs/pull/109639
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #118734 → noisetorch: 0.9.0 -> 0.10.1 → https://github.com/NixOS/nixpkgs/pull/118734
<{^_^}> [nixpkgs] @fabaff opened pull request #118765 → python3Packages.wakeonlan: 1.1.6 -> 2.0.0 → https://github.com/NixOS/nixpkgs/pull/118765
<simpson> FWIW https://github.com/guibou/nixGL solved my actual problem.
n-osborne has quit [Remote host closed the connection]
radvendii has quit [Quit: ZNC 1.8.1 - https://znc.in]
radvendii has joined #nixos
dev_mohe has joined #nixos
fendor has quit [Remote host closed the connection]
dev_mohe has quit [Client Quit]
civodul has quit [Ping timeout: 260 seconds]
seku has quit [Quit: Connection closed]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
evils has joined #nixos
<Yaniel> ,where libpulse-simple.so
<Yaniel> ,locate libpulse-simple.so
<{^_^}> Found in packages: apulse, pulseaudio, pipewire.lib, libpulseaudio, pulseaudioFull, libcardiacarrest, libpressureaudio
<{^_^}> [nix-idea] @JojOatXGME pushed 4 commits to parser_rewrite: https://git.io/JYAPk
stree has quit [Ping timeout: 248 seconds]
<{^_^}> [nixpkgs] @github-actions[bot] closed pull request #118712 → wezterm: unstable-2020-11-22 -> 20210407-nightly → https://github.com/NixOS/nixpkgs/pull/118712
tokudan has quit [Remote host closed the connection]
aaabbbbbbbbbb has quit [Ping timeout: 240 seconds]
Synthetica has quit [Quit: Connection closed for inactivity]
tokudan has joined #nixos
<{^_^}> [nixpkgs] @SuperSandro2000 reopened pull request #118712 → wezterm: unstable-2020-11-22 -> 20210407-nightly → https://github.com/NixOS/nixpkgs/pull/118712
<{^_^}> [nixpkgs] @fabaff opened pull request #118766 → python3Packages.yalexs: init at 1.1.10 → https://github.com/NixOS/nixpkgs/pull/118766
stree has joined #nixos
evils has quit [Quit: leaving]
wnklmnn has quit [Quit: Leaving]
rprije has joined #nixos
rj has quit [Quit: rj]
evils has joined #nixos
zebrag has quit [Read error: Connection reset by peer]
zebrag has joined #nixos
philr has joined #nixos
<{^_^}> [nixpkgs] @mweinelt merged pull request #118703 → home-assistant: error out if enabled component test does not exist → https://github.com/NixOS/nixpkgs/pull/118703
<{^_^}> [nixpkgs] @SuperSandro2000 closed pull request #118635 → python3Packages.gdown: fix build → https://github.com/NixOS/nixpkgs/pull/118635
<{^_^}> [nixpkgs] @fabaff opened pull request #118767 → python3Packages.screenlogicpy: init at 0.3.0 → https://github.com/NixOS/nixpkgs/pull/118767
dotdotok has joined #nixos
liamdiprose[m] is now known as Liam[m]
supersandro2000 has quit [Quit: Ping timeout (120 seconds)]
lsix has quit [Ping timeout: 245 seconds]
lsix has joined #nixos
thc202 has quit [Ping timeout: 245 seconds]
supersandro2000 has joined #nixos
<{^_^}> [nixpkgs] @mweinelt merged pull request #118176 → python3Packages.aiodiscover: init at 1.3.2 → https://github.com/NixOS/nixpkgs/pull/118176
<{^_^}> [nixpkgs] @lsix merged pull request #118670 → Django: 2.2.19 -> 2.2.20; 3.1.7 -> 3.2; asgiref: 3.3.1 -> 3.3.2 → https://github.com/NixOS/nixpkgs/pull/118670
<{^_^}> [nixpkgs] @fabaff opened pull request #118768 → python3Packages.homepluscontrol: init at 0.0.5 → https://github.com/NixOS/nixpkgs/pull/118768
gustavderdrache has left #nixos [#nixos]
<{^_^}> [nixpkgs] @mweinelt merged pull request #118766 → python3Packages.yalexs: init at 1.1.10 → https://github.com/NixOS/nixpkgs/pull/118766
<edrex> nixos flake support q: when `nixos-rebuild switch` fails, subsequent runs see the cached failure and exit early. To skip the cache so I can `--show-trace`, i've been making trivial edits to flake.nix. Better way?
ddellaco_ has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @mweinelt merged pull request #118767 → python3Packages.screenlogicpy: init at 0.3.0 → https://github.com/NixOS/nixpkgs/pull/118767
ddellacosta has joined #nixos
ddellacosta has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @p-h opened pull request #118769 → Add foxitreader → https://github.com/NixOS/nixpkgs/pull/118769
<{^_^}> [nixpkgs] @mweinelt merged pull request #118768 → python3Packages.homepluscontrol: init at 0.0.5 → https://github.com/NixOS/nixpkgs/pull/118768
supersandro2000 has quit [Disconnected by services]
supersandro2000 has joined #nixos
zebrag has quit [Quit: Konversation terminated!]
zebrag has joined #nixos
mbrgm has quit [Ping timeout: 246 seconds]
mbrgm has joined #nixos
<cole-h> edrex: --impure will bust the cache
j has quit [Quit: K-Lined]
jess has quit [Quit: K-Lined]
<{^_^}> [nixpkgs] @mweinelt merged pull request #118633 → maintainers/team: add home-assistant team → https://github.com/NixOS/nixpkgs/pull/118633