worldofpeace changed the topic of #nixos-dev to: NixOS Development (#nixos for questions) | NixOS 20.09 Nightingale ✨ https://discourse.nixos.org/t/nixos-20-09-release/9668 | https://hydra.nixos.org/jobset/nixos/trunk-combined https://channels.nix.gsc.io/graph.html | https://r13y.com | 20.09 RMs: worldofpeace, jonringer | https://logs.nix.samueldr.com/nixos-dev
terrorjack has joined #nixos-dev
<{^_^}> firing: RootPartitionLowInodes: https://status.nixos.org/prometheus/alerts
justan0theruser is now known as justanotheruser
<danderson> I'm assuming it's a couple of large world rebuilds or something
<lukegb> oh, heh
jonringer has joined #nixos-dev
rajivr has joined #nixos-dev
supersandro2000 has quit [Disconnected by services]
supersandro2000 has joined #nixos-dev
teto has quit [Ping timeout: 260 seconds]
tilpner_ has joined #nixos-dev
tilpner has quit [Ping timeout: 240 seconds]
tilpner_ is now known as tilpner
ris has quit [Ping timeout: 240 seconds]
red[evilred] has quit [Quit: Idle timeout reached: 10800s]
<supersandro2000> Would it be an option to auto fix shebangs in every CMakeFile?
<supersandro2000> all cmake builds are failing for me on debian with nix due `make[1]: /bin/sh: No such file or directory`
pie_ has quit [Ping timeout: 240 seconds]
pie_ has joined #nixos-dev
<siraben> supersandro2000: is sandbox enabled?
jonringer has quit [Remote host closed the connection]
<samueldr> /bin/sh has to be present in the sandbox for Nixpkgs builds
<samueldr> "a" /bin/sh
<samueldr> NixOS uses a busybox ash
scott has quit [Quit: Ping timeout (120 seconds)]
scott has joined #nixos-dev
<{^_^}> firing: RootPartitionLowDiskSpace: https://status.nixos.org/prometheus/alerts
<pie_> niksnut: have you used guix?
<pie_> (im genuinely curious)
<{^_^}> firing: RootPartitionLowInodes: https://status.nixos.org/prometheus/alerts
tilpner_ has joined #nixos-dev
tilpner has quit [Remote host closed the connection]
tilpner_ is now known as tilpner
pie_ has quit [Ping timeout: 272 seconds]
pie_ has joined #nixos-dev
alp has joined #nixos-dev
<siraben> sphalerite: how did you make the bind-mount persistent?
jonringer has joined #nixos-dev
alp has quit [Ping timeout: 272 seconds]
jonringer has quit [Ping timeout: 264 seconds]
<{^_^}> firing: RootPartitionLowDiskSpace: https://status.nixos.org/prometheus/alerts
<sphalerite> siraben: /home/nix /nix none bind in fstab
<siraben> Is that the exact line to add?
<sphalerite> actually that should probably be bind,nofail
<siraben> `/home/nix /nix none bind,nofail`
<sphalerite> but yes that's the exact line I have
<siraben> ok great
orivej has quit [Ping timeout: 260 seconds]
alp has joined #nixos-dev
pie_ has quit [Ping timeout: 246 seconds]
<supersandro2000> siraben: tried with and without. Does not matter
<supersandro2000> '/bin/sh is a symlink to dash
pie_ has joined #nixos-dev
<{^_^}> firing: RootPartitionLowInodes: https://status.nixos.org/prometheus/alerts
teto has joined #nixos-dev
lopsided98 has quit [Ping timeout: 264 seconds]
lopsided98 has joined #nixos-dev
saschagrunert has joined #nixos-dev
<supersandro2000> fixed it by following the FAQ. I feel stupid now.
<supersandro2000> but I have a new problem: nix does not eval build-sandbox-paths = $(nix-store -qR $(nix-build '<nixpkgs>' -A bash) | xargs echo /bin/sh=$(nix-build '<nixpkgs>' -A bash)/bin/bash)
<supersandro2000> it complains that it can't parse it: getting attributes of path '$(nix-build': No such file or directory
AlwaysLivid has joined #nixos-dev
cole-h has quit [Ping timeout: 260 seconds]
mkaito has joined #nixos-dev
mkaito has joined #nixos-dev
supersandro2000 has quit [Quit: The Lounge - https://thelounge.chat]
supersandro2000 has joined #nixos-dev
mkaito has quit [Quit: WeeChat 2.9-dev]
<das_j> supersandro2000: Yeah, the config is not bash-compatible iirc
<supersandro2000> but the fa suggests that
__monty__ has joined #nixos-dev
<symphorien[m]> is there a policy about backports ? can I self merge once of borg is happy ?
<sphalerite> supersandro2000: that looks like it might be as in… echo "build-sandbox-paths = $(nix-store -qR $(nix-build '<nixpkgs>' -A bash) | xargs echo /bin/sh=$(nix-build '<nixpkgs>' -A bash)/bin/bash)" >> /etc/nix/nix.conf
<supersandro2000> sphalerite: figured that by now. Thanks anyway
<supersandro2000> I just threw it in my existing script which is needed to make WSL not borked
orivej has joined #nixos-dev
supersandro2000 has quit [Ping timeout: 264 seconds]
supersandro2000 has joined #nixos-dev
alp has quit [Ping timeout: 272 seconds]
mkaito has joined #nixos-dev
mkaito has joined #nixos-dev
pie_ has quit [Ping timeout: 240 seconds]
mkaito has quit [Client Quit]
pie_ has joined #nixos-dev
mkaito has joined #nixos-dev
alp has joined #nixos-dev
<{^_^}> firing: RootPartitionLowDiskSpace: https://status.nixos.org/prometheus/alerts
lassulus has quit [Ping timeout: 256 seconds]
<gchristensen> note: currently hard linking saves 17592186044416.00 MiB
<gchristensen> nice
<sphalerite> that's a lot of megabytes.
<sphalerite> > 17592186044416 * MiB
<{^_^}> 0
<sphalerite> > MiB
<{^_^}> 1048576
<sphalerite> lol
<sphalerite> > 17592186044416.0 * MiB
<{^_^}> 1.84467e+19
<clever> > (17592186044416).toString(16)
<{^_^}> value is an integer while a set was expected, at (string):434:1
<clever> '100000000000'
<clever> that number is abnormally round when in binary
<sphalerite> > (17592186044416.0 * MiB) / TiB
<{^_^}> 1.67772e+07
<sphalerite> almost like it's an overflow :)
<gchristensen> clever: must be a huge (hehe) coincidence
lassulus has joined #nixos-dev
<sphalerite> > (17592186044416.0 * MiB) / EiB
<{^_^}> 16
<sphalerite> > (17592186044416.0 * MiB) / ZiB
<{^_^}> division by zero, at (string):50:100
<sphalerite> hahahaha
<sphalerite> > ZiB
<{^_^}> 0
<sphalerite> > :v ZiB
<{^_^}> ZiB = 1024 * EiB
<sphalerite> > ZiB = 1024.0 * EiB
<{^_^}> ZiB defined
<sphalerite> > (17592186044416.0 * MiB) / ZiB
<{^_^}> 0.015625
<{^_^}> resolved: RootPartitionLowDiskSpace: https://status.nixos.org/prometheus/alerts
<sphalerite> infinisil: FYI ^ zettabytes are too much for integers to deal with :D
<sphalerite> wait I thought this was #nixos-chat. Oops.
alp has quit [Remote host closed the connection]
alp has joined #nixos-dev
<{^_^}> firing: RootPartitionLowInodes: https://status.nixos.org/prometheus/alerts
orivej has quit [Ping timeout: 260 seconds]
thibm has joined #nixos-dev
<andi-> How do we have to ping for https://github.com/NixOS/nixpkgs/issues/83049 ?
<{^_^}> #83049 (by akirakyle, 35 weeks ago, open): Suggestion: add an aarch64 channel
<gchristensen> fwiw we have several aarch64 builders that stopped working b/c the kernel can't find /dev/sda on boot (but alpine can)
<gchristensen> if someone wants to try to solve that, I'd be glad to give whatever access is needed
<andi-> gchristensen: do we have a repo to track these things? Would be nice to know what hardware it is etc.. and give it more exposure then just a message on IRC.
<gchristensen> I guess not, if we can solve that problem first that would be even better :)
supersandro2000 has quit [Ping timeout: 246 seconds]
<andi-> https://github.com/NixOS/nixos-org-configurations/issues has some mentions of mac builders that are broken
<andi-> maybe there is the best place for now?
justanotheruser has quit [Ping timeout: 272 seconds]
<sphalerite> gchristensen: would you be up for pairing on this problem tomorrow ~18:00 UTC?
<gchristensen> I'll be half-available, but I can be remote hands at least
<gchristensen> I don't know how to break out of this problem of only few people having the access, more people being able to debug builders would be good and not really risky I think
supersandro2000 has joined #nixos-dev
<andi-> I could probably join in as well and we could have two more people "familiar" with it.
m1cr0m4n has joined #nixos-dev
m1cr0man has quit [Ping timeout: 256 seconds]
<infinisil> sphalerite: Damnit lol
<gchristensen> an easy improvement is changing the rolling deploy scripts to do a full shutdown, wait for the API to say it is shut down, wait a minute, and then send a power-on
alp has quit [Ping timeout: 272 seconds]
alp has joined #nixos-dev
<gchristensen> maybe -infra should have a weekly status call
jonringer has joined #nixos-dev
thibm has quit [Ping timeout: 256 seconds]
supersandro2000 has quit [Ping timeout: 264 seconds]
thibm has joined #nixos-dev
FRidh has joined #nixos-dev
pie_ has quit [Ping timeout: 240 seconds]
pie_ has joined #nixos-dev
<ehmry> I've noticed that `dhallPackages` doesn't have an effective `hostPlatform` or `targetPlatform` because the package outputs are just alpha-normalized dhall code, it possible to codify this somehow? I ask because this triggers unecessary cross-compiles
<ehmry> I guess we can't be sure that everything in dhallPackages is pure
<ehmry> not sure where `buildPackages` is appropriate to use
mkaito has quit [Quit: WeeChat 2.9-dev]
supersandro2000 has joined #nixos-dev
<gchristensen> I'd like to either change pkgs/os-specific/linux/util-linux/default.nix's pname = "util-linux"; to pname = "utillinux"; or change pkgs.utillinux to pkgs.util-linux plus an alias. first is a small diff, second is a big diff. first is not the package's actual name, second is. any opinions? the "okay what is that package called again?" process is really frustrating
jonringer has quit [Remote host closed the connection]
<infinisil> If util-linux is the official name, then I think both changes are fine
<infinisil> The pname change might affect nix-env installations, but it's probably fine (tm)
alp has quit [Ping timeout: 272 seconds]
<Taneb> I'm in favour of option two
<supersandro2000> package name is util-linux. maybe add an alias for that but renaming the actually package to something else is wrong.
<{^_^}> #104776 (by grahamc, 14 seconds ago, open): utillinux: rename to util-linux
<V> ++ for renaming it to util-linux
<gchristensen> well this is a milestone, I can't run `nix-build ./nixos/tests/installer.nix` on my laptop anymore b/c I don't have enough ram free (7g free)
mkaito has joined #nixos-dev
alp has joined #nixos-dev
<{^_^}> firing: RootPartitionLowInodes: https://status.nixos.org/prometheus/alerts
<siraben> Could someone quickly review if I've gotten the description of build, host, target right in https://github.com/NixOS/nixpkgs/pull/104775#issue-526552796 ?
<siraben> I'm not sure what something like `pkgs.pkgsCross.remarkable1.buildPackages.chicken` really means
evanjs has quit [Quit: ZNC 1.8.2 - https://znc.in]
<gchristensen> ryantm: it looks like r-ryantm is missing pam, should I open an issue on 2https://github.com/ryantm/nixpkgs-update/issues
<ryantm> Let's check the logs first https://r.ryantm.com/log/
FRidh has quit [Ping timeout: 240 seconds]
evanjs has joined #nixos-dev
<ryantm> ```
<gchristensen> ah ha!
FRidh has joined #nixos-dev
<ryantm> That does seem like a bug with nixpkgs-update though.
<ryantm> It's failing because https://github.com/NixOS/nixpkgs/search?q=linux-pam+1.3.1+-%3E+1.5.0&type=issues is turning up an open issue. Of course it should only be limiting itself to PRs.
<ryantm> Opened https://github.com/ryantm/nixpkgs-update/issues/245 to track this issue.
<{^_^}> ryantm/nixpkgs-update#245 (by ryantm, 17 seconds ago, open): existing update PR search is finding issues too
<gchristensen> cool, thanks :D
saschagrunert has quit [Quit: Leaving]
thibm has quit [Quit: WeeChat 2.6]
cole-h has joined #nixos-dev
<hexa-> jtojnar: how do we handle the webkitgtk problems on 20.09?
jonringer has joined #nixos-dev
alp has quit [Ping timeout: 264 seconds]
ris has joined #nixos-dev
Cale_ has joined #nixos-dev
FRidh has quit [Ping timeout: 240 seconds]
FRidh has joined #nixos-dev
<gchristensen> anyone familiar with sssd enough to check this PR is sensible? https://github.com/NixOS/nixpkgs/pull/104774
<{^_^}> #104774 (by grahamc, 3 hours ago, open): sssd: fix build on glibc-2.32
rajivr has quit [Quit: Connection closed for inactivity]
Cale has quit [Disconnected by services]
Cale_ is now known as Cale
Cale_ has joined #nixos-dev
alp has joined #nixos-dev
Cale_ has quit [Remote host closed the connection]
FRidh has quit [Ping timeout: 240 seconds]
alp has quit [Ping timeout: 272 seconds]
<Mic92> gchristensen: not so much with sssd, but with glibc, c etc
<Mic92> supersandro2000: that was a bit quick :)
<supersandro2000> we will know if it was to quick
<supersandro2000> it can't be more broken than before
<Mic92> I wanted to make an upstreamable patch out of it
<Mic92> It's fedora. I know they merge stuff timely
<supersandro2000> well... As long as it isn't fully broken I don't need to revert it, right?
<Mic92> Let's see on the first look it looks like upstreamed just renamed the symbol in master
<Mic92> gchristensen: supersandro2000 can you fetch this patch here? https://github.com/SSSD/sssd/commit/fe9eeb51be06059721e873f77092b1e9ba08e6c1
<supersandro2000> I give it a try
<supersandro2000> Yeah you are right. that merge was a bit fast but it shouldn't cause for to much hassle for others, I hope
<Mic92> It did not break anything, right.
<supersandro2000> I am actually surprised that I didn't broke anything yet.
<supersandro2000> Maybe I shouldn't cause I ran everything through nixpkgs-review
<supersandro2000> Mic92: gchristensen https://github.com/NixOS/nixpkgs/pull/104795
<{^_^}> #104795 (by SuperSandro2000, 25 seconds ago, open): sssd: fix nss collision with upstream patch
Baughn has quit [Ping timeout: 244 seconds]
Baughn has joined #nixos-dev
teto has quit [Ping timeout: 272 seconds]
<gchristensen> I think this is ready to go ... https://github.com/NixOS/nixpkgs/pull/104776 anyone want to take a look? :)
<{^_^}> #104776 (by grahamc, 3 hours ago, open): utillinux: rename to util-linux
<gchristensen> I think I'll merge it in 30min to avoid conflicts, unless someone says don't =)
teto has joined #nixos-dev
<supersandro2000> gchristensen: Do you have an idea why ofborg says there are over 100 rebuilds for darwin? The package does not even exist there.
<samueldr> supersandro2000: look at what ofborg says under https://stuff.samueldr.com/screenshots/2020/11/20201124144407_2z2v1tupto9pl98u1ts.png
saschagrunert has joined #nixos-dev
saschagrunert has quit [Client Quit]
justanotheruser has joined #nixos-dev
<supersandro2000> samueldr: ehm, yeah but what does that mean?
<samueldr> all the package names that are changed
<samueldr> that's what's used to make those counts labels
<supersandro2000> so 0 changed but the label says 100?
<samueldr> I see 400+ x86_64-darwin lines in that gist, supersandro2000
<samueldr> ~470 I'd say
<supersandro2000> derp. I thought I should look at this emojio
<gchristensen> so 30min are up, any last objections?
<gchristensen> I'm just seeing reasons to merge :)
<supersandro2000> lets go geronimo
<{^_^}> firing: RootPartitionLowInodes: https://status.nixos.org/prometheus/alerts
mkaito has quit [Quit: WeeChat 2.9-dev]
mkaito has joined #nixos-dev
mkaito has joined #nixos-dev
<cole-h> gchristensen++
<{^_^}> gchristensen's karma got increased to 378
supersandro2000 has quit [Ping timeout: 265 seconds]
supersandro2000 has joined #nixos-dev
mkaito has quit [Quit: WeeChat 2.9-dev]
__monty__ has quit [Quit: leaving]
<lukegb> adisbladis++
<{^_^}> adisbladis's karma got increased to 117, it's a crit!
<gchristensen> re aarch64, we used to / still do (?) autoscale on AWS for x86, and we could for arm
m1cr0m4n has quit [Ping timeout: 246 seconds]
<teto> are there are any concrete examples out there of flakes with `apps.XXX.{ type = "app"; program = YYY }` ? looking for what to put in YYY since what I've put looks useless
orivej has joined #nixos-dev
red[evilred] has joined #nixos-dev
<red[evilred]> I guess I never thought about how/where/who pays for our build infrastructure.
<red[evilred]> I guess the NixOS foundation?
<hexa-> yes
jonringer has quit [Remote host closed the connection]
<hexa-> see the end of https://nixos.org/governance.html
<makefu> also check out the bottom of https://nixos.org/donate.html for the current sponsors of infrastructure and other resources