worldofpeace_ changed the topic of #nixos-dev to: #nixos-dev NixOS Development (#nixos for questions) | NixOS stable: 20.03 ✨ https://discourse.nixos.org/t/nixos-20-03-release/6785 | https://hydra.nixos.org/jobset/nixos/trunk-combined https://channels.nix.gsc.io/graph.html | https://r13y.com | 19.09 RMs: disasm, sphalerite; 20.03: worldofpeace, disasm | https://logs.nix.samueldr.com/nixos-dev
ris has quit [Ping timeout: 258 seconds]
marek has quit [Ping timeout: 256 seconds]
<colemickens> clever: taktoa[c] could you eventually effectively build up a better esphome with it over time?
<taktoa[c]> it would be useful for building esphome-compatible widgets or reflashing your esphome stuff
alp has quit [Ping timeout: 240 seconds]
<clever> colemickens: currently, it can build any of the esp32 examples, and with a bit more work, it can likely build anything using the esp32 build framework, but it builds the whole esp-idf every time, like the older rust stuff
<taktoa[c]> I guess if you mean "an esphome that doesn't require you to screw around with esp-idf", then the answer is yes
<taktoa[c]> having to live inside someone else's repo/build system is just... uncomfortable, and that's basically what esp-idf expects you to do
<clever> i think using IFD_PATH you can live outside
<taktoa[c]> yeah you might be able to make it work as a submodule
<taktoa[c]> but you're still beholden to their build system
<clever> thats why i wanted an example project that isnt in the repo, to try building
<clever> linux kernel modules are the same
<taktoa[c]> yeah it's clear they based esp-idf on the linux kernel
<taktoa[c]> and like, if you live in a world where cross toolchains are a huge pain in the ass to set up, I can understand wanting a batteries included experience like that
<taktoa[c]> but with nix, cross-compilation isn't a huge pain in the ass
<taktoa[c]> I guess my real complaint about esp-idf is that as soon as you step outside the set of libraries they give to you, it stops working well
<taktoa[c]> because you have to make your own cmake wrapper stuff for it
<taktoa[c]> whereas a nix store path full of .a/pkgconfig/header files is really easy to integrate with any build system you want
<clever> we also need to investigate the bootloader and partition stuff more
<clever> to find out why the example code didnt work until we did all 3 files
<taktoa[c]> yeah
<taktoa[c]> right now I'm just working on fixing the nits that linus pointed out in the PR
AlwaysLivid has quit [Remote host closed the connection]
AlwaysLivid has joined #nixos-dev
marek has joined #nixos-dev
<taktoa[c]> hmmmmmm, so I have a gcc/8/xtensa.nix that contains a function like
<taktoa[c]> { gcc8, fetchFromGitHub, blahblahblah }: gcc8.overrideAttrs (old: { ... })
<taktoa[c]> but it's very unclear to me what the right way to do this is
<taktoa[c]> I feel like I shouldn't screw with the line in all-packages.nix that looks like
<taktoa[c]> gcc8 = lowPrio (wrapCC (callPackage ../development/compilers/gcc/8 { ... })));
<taktoa[c]> oh wait, I think I should be screwing with the `gccFun = ...` and `gcc = ...`
<taktoa[c]> since that's where I was messing around before
<taktoa[c]> to force gcc8 usage
rajivr has joined #nixos-dev
disasm has quit [Ping timeout: 246 seconds]
<taktoa[c]> hmmmm, that led to infinite recursion
das_j has quit [Quit: killed]
ajs124 has quit [Quit: killed]
Scriptkiddi has quit [Quit: killed]
ajs124 has joined #nixos-dev
Scriptkiddi has joined #nixos-dev
das_j has joined #nixos-dev
tilpner has quit [Remote host closed the connection]
tilpner_ has joined #nixos-dev
justanotheruser has quit [Ping timeout: 258 seconds]
<taktoa[c]> hmm sphalerite
<taktoa[c]> oops, sent that message too early
<taktoa[c]> what exactly did you mean by "using the overridden version to define the stdenv for this platform"?
<taktoa[c]> I don't see any place in all-packages.nix where platform-specific stdenvs are defined, maybe this is done somewhere I'm not aware of in the guts of nixpkgs?
<taktoa[c]> pretty hard to grep for "stdenv" in nixpkgs :)
tilpner_ is now known as tilpner
disasm has joined #nixos-dev
justanotheruser has joined #nixos-dev
orivej has quit [Ping timeout: 265 seconds]
orivej has joined #nixos-dev
orivej has quit [Ping timeout: 264 seconds]
sgrunert has joined #nixos-dev
alp has joined #nixos-dev
alp has quit [Ping timeout: 240 seconds]
<garbas> infinisil: sorry i was already afk, but commented on the RFC#72 once i got pinged by zimbatm. in general i can not make it before 21:00CEST (kids). I'll read the minutes from meeting #2 and then we can chat (if needed ofcourse).
<garbas> infinisil: looks like the minutes of meeting 2 are very sparse ... lets chat when you can. ping me i'll be until 15:00CEST and then again after 21:00CEST
cole-h has quit [Quit: Goodbye]
sgrunert has quit [Quit: Leaving]
alp has joined #nixos-dev
sgrunert has joined #nixos-dev
<urkk> sphalerite: sorry for the delay, kernel 4.4.49, permissions 0000 with the `stat -L` test
<sphalerite> urkk: kernel from nixpkgs?
<urkk> sphalerite: no, I cannot change the kernel in this machine
<sphalerite> yeah, just wondering where the kernel is from because this issue is probably dependent not only on the kernel version but its config too
<urkk> So it does a bind mount mount("/dev/ptmx", "/nix/store/4mxy1s63hg0nfsidi2gpgp9skr6r9jql-testptmx.drv.chroot/dev/ptmx", 0x7f362e1464fe, MS_BIND|MS_REC, NULL) = 0
<urkk> Oh, I have this mountpoint in my machine: devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
<sphalerite> hm, and is ptmx a symlink to pts/ptmx in the root namespace?
<urkk> Maybe that is the problem, the ptmxmode
<sphalerite> oh yes, that looks like it
<urkk> ptmx is a char device
<urkk> thanks! I will take a look
<sphalerite> #96259 channel blocker fix, if anyone cares to take a look :)
<{^_^}> https://github.com/NixOS/nixpkgs/pull/96259 (by lheckemann, 1 minute ago, open): stage-1 find-libs: initialise left to empty array
manveru has quit [Ping timeout: 244 seconds]
<urkk> sphalerite: this was due to my PrivateDevices=true in the nix-daemon.service
jkkm has quit [Ping timeout: 240 seconds]
ghuntley has quit [Ping timeout: 260 seconds]
<urkk> an attempt to hardening the daemon
manveru has joined #nixos-dev
jkkm has joined #nixos-dev
ghuntley has joined #nixos-dev
alp has quit [Ping timeout: 244 seconds]
ScottHDev has joined #nixos-dev
Mic92_ has quit [Quit: WeeChat 2.9]
Mic92 has joined #nixos-dev
thoughtpolice has quit [Ping timeout: 260 seconds]
raboof has quit [Ping timeout: 272 seconds]
davidtwco has quit [Ping timeout: 244 seconds]
dmj` has quit [Ping timeout: 260 seconds]
chrisaw has quit [Ping timeout: 260 seconds]
zimbatm has quit [Ping timeout: 272 seconds]
terrorjack has quit [Ping timeout: 272 seconds]
alp has joined #nixos-dev
zimbatm has joined #nixos-dev
raboof has joined #nixos-dev
davidtwco has joined #nixos-dev
thoughtpolice has joined #nixos-dev
chrisaw has joined #nixos-dev
dmj` has joined #nixos-dev
terrorjack has joined #nixos-dev
ScottHDev has quit [Ping timeout: 246 seconds]
<julm> hm, looks like /etc/ld-nix.so.preload should actually be only in the /nix/store, not in /etc because having a common ld-nix.so.preload can break everything upon a glibc upgrade: https://discourse.nixos.org/t/nixos-rebuild-fails-because-bash-is-broken-dependency-issue-in-libpthread-so-0-undefined-symbol-nanosleep-nocancel/8494/3
<infinisil> garbas: Here now :)
<infinisil> garbas: Yeah meeting notes are pretty sparse, but there wasn't a lot to talk about and everybody was pretty happy already. mboes will amend the PR with the two things I wrote down
alp has quit [Ping timeout: 272 seconds]
alp has joined #nixos-dev
orivej has joined #nixos-dev
AlwaysLivid has quit [Remote host closed the connection]
AlwaysLivid has joined #nixos-dev
FRidh has joined #nixos-dev
AlwaysLivid has quit [Read error: Connection reset by peer]
ScottHDev has joined #nixos-dev
<{^_^}> #96289 (by ju1m, 1 minute ago, open): glibc: fix /etc/ld-nix.so.preload sharing
Jackneilll has quit [Ping timeout: 258 seconds]
<V> What's the situation regarding package maintainers who haven't touched nixpkgs in, say, ~2 years?
Jackneilll has joined #nixos-dev
FRidh has quit [Quit: Konversation terminated!]
<ajs124> V: #88867
<{^_^}> https://github.com/NixOS/nixpkgs/issues/88867 (by Mic92, 13 weeks ago, open): RFC 55 - Remove inactive Nixpkgs
<tilpner> ajs124: That is restricted to committers, and doesn't handle maintainers
<ajs124> ah, right. does the RFC say anything about that? I always felt like the whole "maintainer" concept in nixpkgs is quite different from other distributions anyways.
<V> Yeah, this is concerning unmaintained/broken packages
<ajs124> right. when in doubt, drop? or are the packages important (by some magical metric)?
<V> No, I don't think anyone has been using this for quite some time
<{^_^}> #96184 (by deviant, 23 hours ago, open): featherpad: use qt5's mkDerivation
<V> No idea how long this has been broken for
<V> But the maintainer hasn't touched nixpkgs in >2y
<V> And I'm wondering if it's just best to remove this instead
<V> Evidently nobody has noticed that it doesn't work
<Valodim> do it
<ajs124> If it was broken during the whole qt5 mkDerivation reshuffle, that hasn't been too long, has it?
<V> wasn't that back in May?
<V> I guess there hasn't been a stable release since then
<V> https://github.com/NixOS/nixpkgs/issues?q=featherpad if you look through here, all the package updates were automatic and the maintainer didn't respond to any of them
abathur has quit [Ping timeout: 240 seconds]
sgrunert has quit [Remote host closed the connection]
teto has joined #nixos-dev
orivej has quit [Ping timeout: 256 seconds]
alp has quit [Ping timeout: 260 seconds]
orivej has joined #nixos-dev
orivej has quit [Ping timeout: 240 seconds]
teto has quit [Quit: WeeChat 2.9]
cole-h has joined #nixos-dev
bennofs__ has joined #nixos-dev
bennofs_ has quit [Ping timeout: 265 seconds]
alp has joined #nixos-dev
abathur has joined #nixos-dev
alp has quit [Ping timeout: 272 seconds]
abathur has quit [Quit: abathur]
sgrunert has joined #nixos-dev
orivej has joined #nixos-dev
alp has joined #nixos-dev
AlwaysLivid has joined #nixos-dev
davidtwco has quit [Ping timeout: 240 seconds]
davidtwco has joined #nixos-dev
raboof has quit [Ping timeout: 240 seconds]
chrisaw has quit [Ping timeout: 272 seconds]
thoughtpolice has quit [Ping timeout: 272 seconds]
dmj` has quit [Ping timeout: 272 seconds]
thoughtpolice has joined #nixos-dev
chrisaw has joined #nixos-dev
raboof has joined #nixos-dev
dmj` has joined #nixos-dev
rajivr has quit [Quit: Connection closed for inactivity]
ris has joined #nixos-dev
drakonis_ has joined #nixos-dev
__Sander__ has joined #nixos-dev
bgamari has quit [Ping timeout: 272 seconds]
orivej has quit [Ping timeout: 258 seconds]
sgrunert has quit [Remote host closed the connection]
__Sander__ has quit [Quit: Konversation terminated!]
drakonis_ has quit [Ping timeout: 246 seconds]
bgamari has joined #nixos-dev
drakonis_ has joined #nixos-dev
ScottHDev has quit [Ping timeout: 256 seconds]
hexa- has quit [Read error: Connection reset by peer]
hexa- has joined #nixos-dev
alp has quit [Ping timeout: 272 seconds]
drakonis_ has quit [Read error: Connection reset by peer]
AlwaysLivid has quit [Ping timeout: 260 seconds]
orivej has joined #nixos-dev
justanotheruser has quit [Ping timeout: 244 seconds]