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
<samueldr> I *think* there may be other issues, as I had a weird one where the partitions didn't show up after settling after partitioning one time
<samueldr> but I assume this is unrelated, and I have really no way of testing :/
<samueldr> 7 minutes and a half per successful test run
<samueldr> forcing ${builtins.currentTime} in the script and a while could allow one to run the test a lot of times over
<samueldr> but since it happened only once, and the `until` loop didn't end up catching any of that, which happened before the check, I guess it's a non-issue
<samueldr> a once in a blue moon thing
abathur has joined #nixos-dev
maljub019 has joined #nixos-dev
maljub01 has quit [Ping timeout: 260 seconds]
maljub019 is now known as maljub01
<hexa-> we *clap* have *clap* a *clap* grub2 *clap* maintainer
<hexa-> samueldr++
<{^_^}> samueldr's karma got increased to 342
<gchristensen> samueldr++
<{^_^}> samueldr's karma got increased to 343
<hexa-> merging when eval finishes
<samueldr> easy
<samueldr> grub2 never does any releases
<gchristensen> hah
* samueldr sobs
<hexa-> we are happy with release candidates
<hexa-> they do lots of those
<samueldr> they don't do lots of those even
<hexa-> boy, I remember the 1.99 series fondly
<hexa-> alot of people had issues with the last upgrade (boothole)
<samueldr> yeah
<samueldr> when I was saying they don't do "lots" of RCs http://git.savannah.gnu.org/cgit/grub.git/refs/tags
<hexa-> yup
bennofs__ has joined #nixos-dev
* lukegb marks aws-sdk-cpp as big-parallel
<lukegb> it takes 1h45m to compile with 2 cores :(
<lukegb> (and about 10m with $MANY)
<lukegb> this just makes me want gchristensen's Magic Scheduler proposal :p
<gchristensen> =)
<samueldr> what can we do to make this a thing, as a community?
<gchristensen> the danger of "mostly works" is, uh, I haven't prioritized it
<gchristensen> good question
bennofs_ has quit [Ping timeout: 240 seconds]
hexa- has quit [Quit: WeeChat 2.9]
hexa- has joined #nixos-dev
orivej has quit [Ping timeout: 252 seconds]
cole-h has quit [Quit: Goodbye]
cole-h has joined #nixos-dev
jonringer has quit [Remote host closed the connection]
abathur has quit [Quit: abathur]
tomberek has quit [Quit: Connection closed]
justanotheruser has quit [Ping timeout: 260 seconds]
tomberek has joined #nixos-dev
abathur has joined #nixos-dev
pmy has quit [Ping timeout: 252 seconds]
AlwaysLivid has quit [Remote host closed the connection]
AlwaysLivid has joined #nixos-dev
bennofs__ has quit [Read error: Connection reset by peer]
bennofs_ has joined #nixos-dev
<rajivr> There is a patch that is currently in the staging branch (https://github.com/NixOS/nixpkgs/pull/117914) that I was hoping to see land in unstable. I need it because mobile-nixos uses unstable, and I would like to use mobile-nixos cache for my cross-compilation work.
<{^_^}> #117914 (by Mindavi, 4 weeks ago, merged): gtk-doc + json-glib: fix cross-compilation
<rajivr> On Hydra, I noticed that the staging branch seems to be blocked since Oct last year. (https://hydra.nixos.org/jobset/nixpkgs/staging#tabs-evaluations)
<rajivr> I was wondering it there was some way to get this patch onto staging-next and eventually to master? (I am assuming RFC 26 workflow https://github.com/NixOS/rfcs/blob/master/rfcs/0026-staging-workflow.md )
<samueldr> hydra doesn't actually run against staging rajivr
<Mic92> One thing that would be really great is a syntax checker that just adds annotations for error messages in the right line. For example here: https://github.com/NixOS/nixpkgs/pull/120691/files
<samueldr> (unless needed, manually)
<samueldr> staging-next is used instead
* samueldr digs for relevant doc
<samueldr> rajivr: you might also like https://nixpk.gs/pr-tracker.html?pr=117914
<rajivr> samueldr: Thanks for the quick reply! :-) How to go from staging to staging next for this PR?
<rajivr> In RFC26 it says - "staging-next is branched from staging"
<samueldr> once a staging-next stabilisation round is done, and that staging-next is merged into master, the current state of staging becomes staging-next
<samueldr> you can build Mobile NixOS against staging or staging-next, or even a git branch with your required fixes
<samueldr> I'd even accept contributions clearly stating they need a fix not yet in master, maybe only waiting for the thing to land in master to merge the contribution :)
<rajivr> I see. Thanks. Is there some way to track the "staging-next" stabilization round?
<samueldr> yes
<rajivr> My main motivation for seeing this land in "master" and "nixpkgs-unstable", is to use the cross-compilation tools. Mobile-nixos is not my primary target. I am experimenting on Xilinx ZynqMP and Raspberry Pi (aarch64, armv6l)
<rajivr> But I am learning a lot from your work on Mobile NixOS, so thank you again! :-)
<samueldr> ah
<samueldr> staging-next was merged 19 hours ago
<samueldr> that's why I couldn't find the open PR :)
<samueldr> so in ~1-2 weeks depending on your luck it should be merged hopefully :)
<rajivr> I see. Thanks! :-)
<aaronjanse> Mic92 Bet
<aaronjanse> But I need to focus on exams, then I can add more LSP features
<Mic92> aaronjanse: Makes sense. The MVP would just take nix-instantiate and convert its error message to what github actions expect as a format and print that to terminal. Does not need to be superfancy to be useful.
<aaronjanse> Oh I already have a partial Nix evaluator written in Rust to do this
<aaronjanse> It's needed for my hover feature and autocomplete for stuff like `with pkgs; <type here>`
<ivan> cc supersandro2000
<aaronjanse> ^^ Mic92
<Mic92> aaronjanse: does it use rnix?
<aaronjanse> It uses rnix-parser
<aaronjanse> If you want screenshots, I'd be happy to send a couple Mic92
<Mic92> sure
<aaronjanse> Here I'm hovering over "gcc"
<aaronjanse> Here I'm typing "vim"
<aaronjanse> (my screenshot utility hides my cursor etc :-/)
<Mic92> aaronjanse: yes. nice. I find this more useful than the nixos option in emacs, that I disabled for speed-reason.
<aaronjanse> Right now it caches evaluation across document edits, so `pkgs` isn't re-evaluated as you type in that list
<aaronjanse> Furthermore, as you type and hover more, it'll populate that cache with more evaluated info
<aaronjanse> Mic92: Oh and it also has goto, so if you click on `vim` it'll go to `vim =` in the big package list in nixpkgs. Then you can click on the path there to the derivation. It's also pretty fun for exploring stuff like the GCC bootstrap
<Mic92> aaronjanse: is it this one? https://github.com/aaronjanse/vscode-nix-lsp
<aaronjanse> Ohh, nah that's just a vscode extension to support rnix-lsp before nix ide supported it
<aaronjanse> That just uses the parse tree rather than evaluating, so it can't do stuff like autocompleting from nixpkgs
<aaronjanse> Still very cool
<aaronjanse> Mic92: I hope to open-source this week after further cleaning up code. I'll ping you when I do
cole-h has quit [Ping timeout: 245 seconds]
evanjs has quit [Read error: Connection reset by peer]
evanjs has joined #nixos-dev
_ris has joined #nixos-dev
ris has quit [Read error: Connection reset by peer]
midchildan_ has quit [Read error: Connection reset by peer]
thoughtpolice has quit [Read error: Connection reset by peer]
steveeJ has quit [Read error: Connection reset by peer]
raboof has quit [Read error: Connection reset by peer]
chrisaw has quit [Read error: Connection reset by peer]
dmj` has quit [Read error: Connection reset by peer]
davidtwco has quit [Read error: Connection reset by peer]
davidtwco has joined #nixos-dev
midchildan_ has joined #nixos-dev
thoughtpolice has joined #nixos-dev
steveeJ has joined #nixos-dev
raboof has joined #nixos-dev
chrisaw has joined #nixos-dev
dmj` has joined #nixos-dev
__monty__ has joined #nixos-dev
supersandro2000 has quit [Quit: The Lounge - https://thelounge.chat]
supersandro2000 has joined #nixos-dev
orivej has joined #nixos-dev
tomberek has quit [Quit: Connection closed]
pmy has joined #nixos-dev
<yorick> infinisil: are there any docs on the hydra github status plugin?
<infinisil> Nope!
<yorick> do you have an example?
<infinisil> Unless I missed them
<yorick> my perl isn't the best
<infinisil> Currently on phone, I think I have an example though, remind me in like an hour?
<yorick> ok
AlwaysLivid has quit [Ping timeout: 240 seconds]
<infinisil> That's hydra.conf
<yorick> okay
edwtjo has quit [Ping timeout: 240 seconds]
edwtjo has joined #nixos-dev
edwtjo has quit [Changing host]
edwtjo has joined #nixos-dev
pmy has quit [Ping timeout: 240 seconds]
pmy has joined #nixos-dev
pmy has quit [Ping timeout: 252 seconds]
evils has quit [Ping timeout: 240 seconds]
evils has joined #nixos-dev
<domenkozar[m]> are there some heavy flakes users here that would have time/energy to review a proposal for changing one design decision in flakes?
<ma27[m]> domenkozar: using it for quite a bit of (personal only) stuff (and contributed a bit to it). Can't promise that I'll have the time for a thorough review, but if you can share a link, I'm happy to look at it (asynchronously though) :)
jpo has quit [Ping timeout: 260 seconds]
jdnixx-M has quit [Quit: Bridge terminating on SIGTERM]
ky0ko1 has quit [Quit: Bridge terminating on SIGTERM]
<domenkozar[m]> PMed :)
jonringer has joined #nixos-dev
jonringer has quit [Remote host closed the connection]
jonringer has joined #nixos-dev
copumpkin has joined #nixos-dev
jdnixx-M has joined #nixos-dev
rj has joined #nixos-dev
ky0ko has joined #nixos-dev
plumm has quit [Quit: Textual IRC Client: www.textualapp.com]
<infinisil> domenkozar[m]: Am also interested, but same as ma27[m], I don't have a lot of time
plumm has joined #nixos-dev
rj has quit [Ping timeout: 240 seconds]
pmy has joined #nixos-dev
rj has joined #nixos-dev
tomberek has joined #nixos-dev
abathur has quit [Quit: abathur]
cole-h has joined #nixos-dev
justanotheruser has joined #nixos-dev
<domenkozar[m]> PM'ed as well
<domenkozar[m]> I'm turning https://github.com/cachix/pre-commit-hooks.nix into a flake, started 10am and still going
<domenkozar[m]> kind of stuck, flakes disallow some builtin functions that are used in nixpkgs
<domenkozar[m]> like builtins.storePath
<domenkozar[m]> which is used for types.package
<domenkozar[m]> O_O
<{^_^}> #120752 (by domenkozar, 9 seconds ago, open): types.packages breaks with flakes
rj has quit [Ping timeout: 240 seconds]
rj has joined #nixos-dev
<sterni> domenkozar[m]: builtins.storePath x is never called if isDerivation x == true iirc
<sterni> are you passing storepaths?
<domenkozar[m]> I hope not?
<domenkozar[m]> ah
<domenkozar[m]> I'm using callPackage
<domenkozar[m]> which adds overrideDerivation
<sterni> domenkozar[m]: https://github.com/NixOS/nixpkgs/blob/d01c15e4d4c00f3feabea0e9ea944d2d36429d36/lib/types.nix#L336 as long as isDerivation you should not run into this evaluation error at least
<sterni> however this is still pretty bad because you can get an eval error with flakes even if it typechecks
<sterni> which is what the type check wants to prevent in the first place
<domenkozar[m]> overall I wonder if anyone is using flakes :D
<gchristensen> people definitely are
<gchristensen> you only need to spend a few minutes in #nixos to see it
<gchristensen> a lot of newcomers are coming to use flakes, too
<sterni> yeah was about to say
<sterni> measured by the amount of ppl who have their first nix problem with flakes a fair amount probably
<domenkozar[m]> so I verified, I'm passing a list of derivations to types.package
<domenkozar[m]> well it's lazyAttrsOf types.package
<domenkozar[m]> ahh, it's duplicated :facepalm:
<sterni> > lib.types.package.check [ hello lr ]
<{^_^}> false
<sterni> > lib.types.package.check [ hello ]
<{^_^}> true
<sterni> domenkozar[m]: that shouldn't even typecheck o_O
<domenkozar[m]> well it does :D
<domenkozar[m]> so there's a few things going on
<domenkozar[m]> first is saving everyone about an hour of work with https://github.com/NixOS/nix/issues/4745
<{^_^}> nix#4745 (by domenkozar, 49 minutes ago, open): `error: ...is not allowed in pure evaluation mode` should show exactly where it happened
<domenkozar[m]> and then, builtins.storePath shouldn't be used in nixpkgs if we intend to use it as a flake
<sterni> domenkozar[m]: have you tried with non-lazy attrsOf?
<domenkozar[m]> I want to use lazy version
<domenkozar[m]> I don't think that's the problematic part :)
<sterni> I think this hasn't been flagged so far since type checking is only intended to be done at machine eval time right?
<sterni> usually you wouldn't need them for flake eval right
pmy has quit [Ping timeout: 265 seconds]
<domenkozar[m]> you would in checks
<domenkozar[m]> but maybe not a lot of people are building their machines on CI
hexa- has quit [Quit: WeeChat 2.9]
<sterni> yeah tests is the place pretty much
<domenkozar[m]> gchristensen: https://monitoring.nix.ci/ seems to be empty to me, what am I missing?
hexa- has joined #nixos-dev
<domenkozar[m]> trying to check if ofborg has a darwin builder now
<hexa-> the hardware is allocated, it is not yet configured
<domenkozar[m]> I guess I'm writing a github actions tomorrow to build things from nixpkgs
<domenkozar[m]> thanks hexa-
<gchristensen> hm?
<domenkozar[m]> something like @github build git
<gchristensen> :( ah
<gchristensen> maybe I can get the time today to setup the new machine and beat you to it
<domenkozar[m]> that would be awesome
<domenkozar[m]> I only want to get stuff done
<gchristensen> though like I've said in the past I'm not opposed to moving away from ofborg where the alternatives are viable and give very strong/clear signals
tomberek has quit [Quit: Connection closed]
<sterni> domenkozar[m]: would that mean building on github actions?
pmy has joined #nixos-dev
rajivr has quit [Quit: Connection closed for inactivity]
_ris has quit []
<domenkozar[m]> Yes
<sterni> hmm, I wonder if this will really work out if you accidentally hit a larger rebuild
AkechiShiro has joined #nixos-dev
Synthetica has joined #nixos-dev
<domenkozar[m]> afaik ofborg also has a timeout
<sterni> my impression has been that the machines doing ofborg builds are much faster than the github action containers (?)
<sterni> builds could be half feasible though
<sterni> eval on github actions is certainly impossible
<gchristensen> the machines doing build are fairly generously allocated
<domenkozar[m]> sterni: github will allow bigger machines in a few months
<domenkozar[m]> either way, you can host your own agents with it and have a fraction of complexity
ris has joined #nixos-dev
<Mic92> we also have github actions runner packaged now.
<Mic92> If they come with nix pre-installed that would also make the jobs run faster.
<sterni> that's cool
Jackneill has quit [Read error: Connection reset by peer]
bennofs_ has quit [Read error: Connection reset by peer]
bennofs_ has joined #nixos-dev
Guest80259 is now known as LinuxHackerman
LinuxHackerman is now known as Guest80427
Guest80427 has joined #nixos-dev
Guest80427 has quit [Changing host]
Jackneill has joined #nixos-dev
Guest80427 is now known as LinuxHackerman
justanotheruser has quit [Ping timeout: 245 seconds]
ashkitten has quit [Quit: WeeChat 3.1]
ashkitten has joined #nixos-dev
justanotheruser has joined #nixos-dev
<domenkozar[m]> Mic92: there's one pretty serious issue still left to solve: https://github.com/NixOS/nixpkgs/issues/120263
<{^_^}> #120263 (by veehaitch, 3 days ago, open): github-runner: outdated runner fails silently
<ivan> wish people would take a moment to cc me when messing with my package
<lukegb> doesn't ofborg cc you
<ivan> well it did not
* ivan wonders what was broken with tornado_4 being used https://github.com/NixOS/nixpkgs/commit/792c220f480e615403507d2822f7c9f9597fb7e0
<samueldr> hm, no PR lined to the commit
<samueldr> linked*
<ivan> I guess I can just edit-war these changes since the fixers didn't explain anything
<lukegb> hm, wasn't that 8 months ago
<lukegb> iirc it's something along the lines of in general we don't want python modules using aliased versions of things, because then there's the possibility of ending up with multiple different versions of the same package in your pythonpath, which causes explosions
<lukegb> python applications requiring specific versions is fine, though
<lukegb> (because they're leaves)
<ivan> ah I see thanks
<lukegb> judging by the date on the commit and the tags I think it was late in the runup to 20.09 which might explain why it was merged in a hurry
<ivan> undoing that one since it looks genuinely wrong
<lukegb> hah
<lukegb> I think having it use the system lmdb makes sense
<lukegb> I agree that propogated is a typo
<lukegb> that said - it looks like they want a patched lmdb so maybe not.
<ivan> ludios_wpull is a web crawler that doesn't even depend on lmdb (grab-site does)
<ivan> I'll see if things work after I undo it
<lukegb> the checkInputs change is probably worth keeping
<ivan> yeah
<lukegb> if you do swap back to using the bundled lmdb please leave a comment
<ivan> bundled lmdb pros: it would actually be working right now https://github.com/jnwatson/py-lmdb/issues/278
<{^_^}> jnwatson/py-lmdb#278 (by dbermond, 10 weeks ago, closed): Test failure
<lukegb> that's more of an argument for patching our lmdb so it actually functions, though
<ivan> oh I see the LMDB_0.9.29 tag in https://git.openldap.org/openldap/openldap/-/tags
<ivan> it just wasn't listed elsewhere
<lukegb> yeah, we're on 0.9.28 still though I think
justanotheruser has quit [Ping timeout: 245 seconds]
<ivan> yep working now
kraem[m] has joined #nixos-dev
<{^_^}> #120785 (by ivan, 7 seconds ago, open): Fix grab-site and python3Packages.lmdb
<lukegb> hmm, so there are aarch64-darwin builders - but no aarch64-darwin builds yet?
<lukegb> oh wait I was looking in the wrong place
<lukegb> ignore me :P
cptchaos83 has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
cptchaos83 has joined #nixos-dev
jess has quit []
rj has quit [Ping timeout: 240 seconds]
justanotheruser has joined #nixos-dev
__monty__ has quit [Quit: leaving]
tomberek has joined #nixos-dev
supersandro2000 is now known as Guest4333
Guest4333 has quit [Killed (verne.freenode.net (Nickname regained by services))]
supersandro2000 has joined #nixos-dev
Synthetica has quit [Quit: Connection closed for inactivity]