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
supersandro2000 has quit [Disconnected by services]
supersandro2000 has joined #nixos-dev
<cole-h> s/in time/at all/
<cole-h> To the best of my knowledge, our darwin builder is still dead.
<cole-h> So it adds value for darwin, but not aarch / x86
<lukegb> Well, also it (tries to) build affected downstream packages, which ofborg doesn't do
tilpner_ has joined #nixos-dev
tilpner has quit [Ping timeout: 246 seconds]
tilpner_ is now known as tilpner
teto has quit [Ping timeout: 272 seconds]
<cole-h> It didn't catch lots of things, that's why fridh suggested to use hydra-eval-jobs as well.
<cole-h> "lots"
rajivr has joined #nixos-dev
<cole-h> Here's the hydra-eval-jobs incantation I'm using: `nix shell -f. hydra-unstable -c hydra-eval-jobs -I . pkgs/top-level/release.nix`
<cole-h> siraben: FWIW, that wouldn't have helped in this case
<cole-h> Since it's callPackaged from inside a callPackage and thus isn't a package Hydra is aware of.
orivej has joined #nixos-dev
scott9 has joined #nixos-dev
capisce has quit [Ping timeout: 246 seconds]
scott9 is now known as scott
scott has quit [Ping timeout: 264 seconds]
capisce has joined #nixos-dev
fzakaria has quit [Ping timeout: 264 seconds]
fzakaria has joined #nixos-dev
xwvvvvwx- has joined #nixos-dev
xwvvvvwx has quit [Read error: Connection reset by peer]
xwvvvvwx- is now known as xwvvvvwx
xwvvvvwx has quit [Remote host closed the connection]
xwvvvvwx has joined #nixos-dev
xwvvvvwx has joined #nixos-dev
kalbasit_ has joined #nixos-dev
<siraben> cole-h: Oh I see.
<kalbasit_> How to use Nix 2.4's `nix shell` to get `python3.withPackages(ps: [ ... ])`?
zimbatm has quit [Read error: Connection reset by peer]
zimbatm has joined #nixos-dev
copumpkin has joined #nixos-dev
abathur has quit [Quit: abathur]
abathur has joined #nixos-dev
<cole-h> --expr maybe
<siraben> What's the difference between nixpkgs-unstable and nixos-unstable?
<samueldr> nixos-unstable runs the tests for nixos, while nixpkgs doesn't; nixpkgs-unstable also waits for darwin builds, while nixos doesn't
<samueldr> well... "also waits" is not said right... the nixpkgs jobset also includes darwin builds, while nixos only has linux builds
<samueldr> if you're on NixOS, **do not** build your system against nixpkgs-* channels
<samueldr> while unlikely [citation needed], you might end up in a situation where your system is rendered unbootable, or worse!
<siraben> I see.
<siraben> Does Guix have a flakes equivalent?
kalbasit_ has quit [Ping timeout: 272 seconds]
cole-h has quit [Quit: Goodbye]
cole-h has joined #nixos-dev
<aterius> idts, this has been discussed a lot on their IRC if you want to look back over the record http://logs.guix.gnu.org/guix/search?query=flake
<aterius> The closest thing is a channel
AlwaysLivid has quit [Remote host closed the connection]
AlwaysLivid has joined #nixos-dev
<aterius> You can use guix describe --format=channels to get a declarative channel specification
<siraben> mjlbach: thanks, reading through that log was informative
<rajivr> Would it fair to think of store paths (`/nix/store/...`) term/value of hypothetical `derivation` type and `mkDerivation` as a function from `[derivation] -> derivation`?
saschagrunert has joined #nixos-dev
page has joined #nixos-dev
orivej has quit [Ping timeout: 240 seconds]
teto has joined #nixos-dev
<hexa-> hrm, just noticed we have a "dpulls" check on pull requests now. it has been asked about yesterday, but no answers came up afaict.
<siraben> yeah, what is that?
AlwaysLivid has quit [Remote host closed the connection]
AlwaysLivid has joined #nixos-dev
teto has quit [Ping timeout: 246 seconds]
<cole-h> It's a way to have PRs that depend on eachother without having the commits actually appear in the log
<siraben> supersandro2000: shit, how much did I break in pkgs/tools
<siraben> ofborg doesn't eval everything, hmm.
<siraben> should have used Profpatsch's hnix script!
<supersandro2000> siraben: I think this wouldn't be the first time such plugins are broken
teto has joined #nixos-dev
<supersandro2000> if they are not checked by CI or review then this probably happens every few months
Jackneill has quit [Ping timeout: 246 seconds]
Jackneill has joined #nixos-dev
<rnhmjoj> apparently NixOS is an amazing company
<Profpatsch> siraben: I think the moste important thing we need is a way to *actually* check that everything still evaluates. The ofborg check apparently does not do that. flokli mentioned there is a better way, but I didn’t understand what the idea is.
<cole-h> Making *everything* evaluate is hard, especially when packages have things `callPackage`d inside them (e.g. the beats plugins)
<Profpatsch> cole-h: We need to define what everything is first.
<Profpatsch> e.g. ideally there would be more tests so that all code paths are checked, but for stuff which doesn’t have an entry point we simply can’t reach it
<Profpatsch> e.g. if something only breaks when a *Support flag is flipped
cole-h has quit [Ping timeout: 260 seconds]
<V> siraben: I told you :p
<siraben> Some Nix static analysis would be great
<V> That it would
__monty__ has joined #nixos-dev
orivej has joined #nixos-dev
<niksnut> hexa-: looks like a mistake, it was only supposed to be enabled for the nix repo
<niksnut> or maybe somebody enabled it intentionally, but I can't find a record of that
<niksnut> we need version-controlled declarative github configuration...
jonringer has quit [Ping timeout: 264 seconds]
srk has quit [Remote host closed the connection]
srk has joined #nixos-dev
teto has quit [Ping timeout: 256 seconds]
<aterius> Does DynamicUser retain state in systemd services if you use StateDirectory?
<edef> define retain state
<aterius> As in, I need to generate keys on first run for a nixos module I'm writing
<edef> StateDirectory doesbn't get deleted, if that's what you're asking
<aterius> Ah perfect
<edef> in general there's no mechanism for deleting unused state directories
<edef> ie nothing will ever delete it, to my knowledge
<edef> aterius: ooh, is this the new Matrix homeserver?
<aterius> Yeah! It's almost there
<aterius> I mean, the PR works 100%, but dendrite is almost there haha
<edef> i've essentially given up on Matrix because the server running my homeserver isn't enjoying the load
<edef> is there a migration path?
<aterius> Yeah, hence why I'm packaging dendrite
<aterius> I think it's implemented but not documented?
<aterius> you can follow this (barren) issue https://github.com/matrix-org/dendrite/issues/1705
<{^_^}> matrix-org/dendrite#1705 (by Ralayax, 5 days ago, open): Migration process from Synapse
teto has joined #nixos-dev
<edef> kiinda wonder if we can make that smooth on NixOS down the line
<srk> aterius++
<{^_^}> aterius's karma got increased to 1
<aterius> Hmm, if I set StateDirectory and WorkingDirectory both to the configured dataDir, I get this error when I try to generate the keys
<aterius> ```
<aterius> ``
<aterius> matrix-dendriter-key-generator.service: Changing to the requested working directory failed: No such file or directory
<aterius> * ```
<aterius> ```
<aterius> matrix-dendriter-key-generator.service: Changing to the requested working directory failed: No such file or directory
<srk> is it created? maybe you need systemd.tmpfiles as well
<srk> hmm, I see it's also home of matrix-dendrite user
<aterius> I removed that user
<aterius> That version works, I'm trying to make it use DynamicUser instead
<rajivr> I am trying to get a better understanding of Hydra. Is there a place where I can find the list of `BuildProduct` `type` and `subtype` values? https://github.com/NixOS/hydra/blob/master/src/sql/hydra.sql#L327-L339
<edef> it should create StateDirectory on startup
<srk> maybe it tries to switch to WorkingDirectory before StateDirectory takes effect
<aterius> I tried manually writing to StateDirectory and it's claiming that it is immutable
teto has quit [Ping timeout: 246 seconds]
<aterius> Oh I see the issue
<srk> absolute vs relative?
<aterius> yep
<aterius> forgot to change it when I switched
<aterius> Cool, everything works. Just pushed the latest if anyone wants to try it out and provide feedback. No promises it won't break everything 😆
teto has joined #nixos-dev
<Thophane[m]1> <rajivr "I am trying to get a better unde"> I think they are free-form values
<rajivr> Thanks Thophane[m]1 . I am familiar with Koji, so I was looking for something like this. https://github.com/koji-project/koji/blob/master/docs/schema.sql#L760-L817
hax404 has quit [Remote host closed the connection]
hax404 has joined #nixos-dev
V has quit [Quit: No Ping reply in 180 seconds.]
V has joined #nixos-dev
orivej has quit [Ping timeout: 272 seconds]
delroth has quit [Ping timeout: 272 seconds]
teto has quit [*.net *.split]
xwvvvvwx has quit [*.net *.split]
rajivr has quit [*.net *.split]
dstzd has quit [*.net *.split]
asymmetric has quit [*.net *.split]
jared-w has quit [*.net *.split]
stigo has quit [*.net *.split]
ddima has quit [*.net *.split]
maralorn has quit [*.net *.split]
energizer has quit [*.net *.split]
pbogdan has quit [*.net *.split]
delroth has joined #nixos-dev
rajivr has joined #nixos-dev
xwvvvvwx has joined #nixos-dev
teto has joined #nixos-dev
asymmetric has joined #nixos-dev
dstzd has joined #nixos-dev
pbogdan has joined #nixos-dev
energizer has joined #nixos-dev
maralorn has joined #nixos-dev
ddima has joined #nixos-dev
stigo has joined #nixos-dev
jared-w has joined #nixos-dev
energizer has quit [Max SendQ exceeded]
energizer has joined #nixos-dev
<qyliss> siraben: how do you like the graph now?
puzzlewolf has quit [Ping timeout: 244 seconds]
immae has quit [Ping timeout: 244 seconds]
Ericson2314 has quit [Ping timeout: 244 seconds]
thefloweringash has quit [Ping timeout: 240 seconds]
ryantm has quit [Ping timeout: 258 seconds]
kraem has quit [Ping timeout: 240 seconds]
siraben has quit [Ping timeout: 240 seconds]
ma27[m] has quit [Ping timeout: 240 seconds]
Valodim[m] has quit [Ping timeout: 240 seconds]
aterius has quit [Ping timeout: 240 seconds]
roberth has quit [Ping timeout: 240 seconds]
michaelpj has quit [Ping timeout: 240 seconds]
emily has quit [Ping timeout: 240 seconds]
garbas[m] has quit [Ping timeout: 268 seconds]
maralorn has quit [Ping timeout: 246 seconds]
timokau[m] has quit [Ping timeout: 244 seconds]
bennofs[m] has quit [Ping timeout: 244 seconds]
Dandellion has quit [Ping timeout: 244 seconds]
danielrf[m] has quit [Ping timeout: 244 seconds]
aanderse has quit [Ping timeout: 244 seconds]
nh2[m] has quit [Ping timeout: 244 seconds]
Ox4A6F has quit [Ping timeout: 244 seconds]
philipp[m] has quit [Ping timeout: 244 seconds]
jtojnar has quit [Ping timeout: 258 seconds]
DamienCassou has quit [Ping timeout: 258 seconds]
zowoq[m] has quit [Ping timeout: 240 seconds]
regnat has quit [Ping timeout: 258 seconds]
Thophane[m]1 has quit [Ping timeout: 258 seconds]
domenkozar[m] has quit [Ping timeout: 268 seconds]
worldofpeace has quit [Ping timeout: 268 seconds]
Irenes[m] has quit [Ping timeout: 268 seconds]
bbigras has quit [Ping timeout: 240 seconds]
dtz has quit [Ping timeout: 240 seconds]
colemickens has quit [Ping timeout: 240 seconds]
JJJollyjim has quit [Ping timeout: 240 seconds]
symphorien[m] has quit [Ping timeout: 240 seconds]
jonge[m] has quit [Ping timeout: 240 seconds]
bk1603[m] has quit [Ping timeout: 244 seconds]
<V> Absolutely plummeting
<V> Looks good :)
<V> Is the "regenerating with a better regex" comment still relevant?
thefloweringash has joined #nixos-dev
immae has joined #nixos-dev
Ericson2314 has joined #nixos-dev
DamienCassou has joined #nixos-dev
ryantm has joined #nixos-dev
maralorn has joined #nixos-dev
domenkozar[m] has joined #nixos-dev
worldofpeace has joined #nixos-dev
Valodim[m] has joined #nixos-dev
garbas[m] has joined #nixos-dev
roberth has joined #nixos-dev
puzzlewolf has joined #nixos-dev
michaelpj has joined #nixos-dev
nh2[m] has joined #nixos-dev
timokau[m] has joined #nixos-dev
kraem has joined #nixos-dev
ma27[m] has joined #nixos-dev
philipp[m] has joined #nixos-dev
aanderse has joined #nixos-dev
aterius has joined #nixos-dev
<qyliss> V: just added it
<qyliss> V: I'm changing to [sS]tdenv[a-zA-Z0-9_'-]*\.lib\b
nh2[m] has quit [Ping timeout: 240 seconds]
<qyliss> so we don't include stdenv.cc.cc.lib or stdenv.libc
garbas[m] has quit [Ping timeout: 246 seconds]
roberth has quit [Ping timeout: 246 seconds]
aanderse has quit [Ping timeout: 258 seconds]
immae has quit [Ping timeout: 258 seconds]
timokau[m] has quit [Ping timeout: 244 seconds]
Valodim[m] has quit [Ping timeout: 244 seconds]
thefloweringash has quit [Ping timeout: 244 seconds]
<V> ah okay
michaelpj has quit [Ping timeout: 240 seconds]
kraem has quit [Ping timeout: 240 seconds]
worldofpeace has quit [Ping timeout: 240 seconds]
Ericson2314 has quit [Ping timeout: 240 seconds]
puzzlewolf has quit [Ping timeout: 258 seconds]
philipp[m] has quit [Ping timeout: 268 seconds]
ma27[m] has quit [Ping timeout: 268 seconds]
DamienCassou has quit [Ping timeout: 268 seconds]
ryantm has quit [Ping timeout: 268 seconds]
domenkozar[m] has quit [Ping timeout: 258 seconds]
maralorn has quit [Ping timeout: 258 seconds]
aterius has quit [Ping timeout: 268 seconds]
bennofs[m] has joined #nixos-dev
rnhmjoj has joined #nixos-dev
regnat has joined #nixos-dev
Thophane[m]1 has joined #nixos-dev
jtojnar has joined #nixos-dev
Ox4A6F has joined #nixos-dev
siraben has joined #nixos-dev
Dandellion has joined #nixos-dev
emily has joined #nixos-dev
Irenes[m] has joined #nixos-dev
dtz has joined #nixos-dev
zowoq[m] has joined #nixos-dev
symphorien[m] has joined #nixos-dev
jonge[m] has joined #nixos-dev
bk1603[m] has joined #nixos-dev
danielrf[m] has joined #nixos-dev
bbigras has joined #nixos-dev
colemickens has joined #nixos-dev
WilliButz has quit [Ping timeout: 260 seconds]
kraem has joined #nixos-dev
Valodim[m] has joined #nixos-dev
philipp[m] has joined #nixos-dev
immae has joined #nixos-dev
domenkozar[m] has joined #nixos-dev
Ericson2314 has joined #nixos-dev
michaelpj has joined #nixos-dev
DamienCassou has joined #nixos-dev
nh2[m] has joined #nixos-dev
roberth has joined #nixos-dev
timokau[m] has joined #nixos-dev
aterius has joined #nixos-dev
ryantm has joined #nixos-dev
puzzlewolf has joined #nixos-dev
ma27[m] has joined #nixos-dev
worldofpeace has joined #nixos-dev
garbas[m] has joined #nixos-dev
aanderse has joined #nixos-dev
thefloweringash has joined #nixos-dev
<rajivr> I am very new to Hydra and I am looking at this Hydra jobspec. https://hydra.nixos.org/jobset/nixpkgs/cross-trunk#tabs-configuration . I was wondering if the input `system` is used in some way? Looking at the parameters to https://github.com/NixOS/nixpkgs/blob/master/pkgs/top-level/release-cross.nix#L4-L10 it doesn't seem like `system` is passed as one of the input values to `release-cross.nix` function
WilliButz has joined #nixos-dev
maralorn has joined #nixos-dev
Jackneill has quit [Ping timeout: 265 seconds]
Jackneill has joined #nixos-dev
<domenkozar[m]> hmm volth@volth.com email doesn't work, anyone has an alternative?
<qyliss> did you try discourse?
<domenkozar[m]> trying that now
<domenkozar[m]> thanks
teto has quit [Quit: WeeChat 3.0]
<jtojnar> rnhmjoj: looks like parseDrvName strikes again
<jtojnar> hmm, where did this issue go? https://github.com/NixOS/nixos-homepage/issues/306
<symphorien[m]> opened by volth ?
<jtojnar> symphorien: no, I think someone moved the repos around
<jtojnar> wtf github
Jackneill has quit [Ping timeout: 272 seconds]
<rnhmjoj> jtojnar: are you talking about the vapoursynth issue?
<jtojnar> rnhmjoj: yeah
<rnhmjoj> uhm, vapoursynth.name returns "vapoursynth-R49"
Jackneill has joined #nixos-dev
<rnhmjoj> ok, i see the issue: { name = "/nix/store/b7f0cllsl77gs782jcy67bfycsv7kpp6-vapoursynth-R49.drv"; version = ""; }
<jtojnar> maybe just strip R from the version name
<jtojnar> but ideally, we would teach nix-env to recognize the pname and version attributes when provided
<rnhmjoj> how is the packages.json file generated? could it not extract the version before the package is instantiated?
<jtojnar> see the linked commit
<jtojnar> (it is done using nix-env -qa --json)
<rnhmjoj> others repositories are stripping the R, se i'll probably do that as well
<domenkozar[m]> did anyone manage to get --arg working with nixos-rebuild?
<domenkozar[m]> or is that not possible
<domenkozar[m]> doesn't seem so :)
<lukegb> anyone bored and want to merge #108741? :P
<{^_^}> https://github.com/NixOS/nixpkgs/pull/108741 (by lukegb, 1 week ago, open): envoy: init at 1.16.2
<lukegb> oh wait, I should find that thread
<siraben> qyliss: it looks great!
__monty__ has quit [Ping timeout: 256 seconds]
zimbatm has quit [Ping timeout: 256 seconds]
zimbatm has joined #nixos-dev
__monty__ has joined #nixos-dev
<siraben> Well it is a package repository after all, heh
<jtojnar> rnhmjoj: opened https://github.com/NixOS/nix/pull/4463
<{^_^}> nix#4463 (by jtojnar, 5 minutes ago, open): nix-env: Use pname and version attrs in -q
<supersandro2000> siraben: if you are under 70% you probably need to be a very picky repo
<supersandro2000> I think most repos have very high percentages
<supersandro2000> <§ jtojnar
<supersandro2000> <3 jtojnar
<{^_^}> jtojnar's karma got increased to 66
<abathur> gchristensen: I was so confused about why that link starts with "TRILLIAN LETS YOU"; did they not search that name first? :)
<gchristensen> hah
<gchristensen> when you're google, you can name your language Go and ignore the existing language Go and just carry on
<abathur> they're a good candidate for my shadowy global cabal that forces software projects to rename if they don't appear in the top X search results within N months
orivej has joined #nixos-dev
<abathur> they can rig the results and it's literally not on the first page
<abathur> it is the 2nd on p2 though :)
<gchristensen> :)
<abathur> well, the gh for it is
<gchristensen> grrr optimising a hydra query, I applied a change, and hydra decided right then that it was done running that particular query for a while
Jackneill has quit [Ping timeout: 272 seconds]
<supersandro2000> you don't want to be an open source web developer
<supersandro2000> learning every day
<supersandro2000> I only checked good repos...
saschagrunert has quit [Remote host closed the connection]
jonringer has joined #nixos-dev
<V> ouch
<gchristensen> niksnut: https://github.com/NixOS/hydra/pull/846 this reduces the query to determine a build is cached by about 264ms to less than 1ms
<{^_^}> hydra#846 (by grahamc, 1 minute ago, open): BuildOutputs: index path with HASH
<qyliss> gchristensen++
<{^_^}> gchristensen's karma got increased to 413
<V> woah, nice
cole-h has joined #nixos-dev
<gchristensen> why is my table broken? :/
<V> the markdown gods were angered by you typoing parallel
<gchristensen> lol
<V> that's an impressively small change for the speedup it's giving
<V> but such is the way with so many of these things
<V> see? fixing it made your tables work :p
<gchristensen> hydra's buildoutputs table is surely half a billion rows by now, and comparisons are faster when you have indexes :P
<srk> nice
<srk> hydra was migrated to aws?
<gchristensen> no, this is a different hydra
<srk> ah!
<srk> gchristensen++
<{^_^}> gchristensen's karma got increased to 414
<gchristensen> I don't the foundation could really afford to run our database in RDS
<gchristensen> it is on a pretty sizable hetzner machine
<srk> how much ~mem?
<gchristensen> 64g iirc
* srk afraid to ask about its actual size :)
<gchristensen> the db?
<infinisil> gchristensen++ Nice
<{^_^}> gchristensen's karma got increased to 415
<srk> yup, I wonder if hot-standbys or similar replicas could help with read-only performance
<gchristensen> iirc eelco'd rather delete really old data than add more servers
<gchristensen> unfortunately this performance insights page for this hydra doesn't show any more hydra queries which are outsized in call time
<gchristensen> just internal queries they're running
<srk> deleting old data might allow to add more servers :)
<gchristensen> hehe
abathur has quit [Quit: abathur]
abathur has joined #nixos-dev
rajivr has quit [Quit: Connection closed for inactivity]
cole-h has quit [Quit: Goodbye]
<supersandro2000> I've just added status merge conflict to 188 PRs.
kalbasit has joined #nixos-dev
cole-h has joined #nixos-dev
cole-h_ has joined #nixos-dev
cole-h has quit [Ping timeout: 256 seconds]
tv has quit [Quit: WeeChat 2.9]
mkaito has joined #nixos-dev
mkaito has joined #nixos-dev
tv has joined #nixos-dev
cole-h_ is now known as cole-h
cole-h has quit [Quit: Goodbye]
jav has joined #nixos-dev
<{^_^}> #109801 (by Mathnerd314, 2 hours ago, open): README.md: Add merge chance badge
cole-h has joined #nixos-dev
cole-h has quit [Client Quit]
<V> That seems extremely poorly designed
<V> Although I have no hard data to back this up with, my feeling is that pull requests follow the generational hypothesis
<V> And... this definitely doesn't seem to account for stale PRs
jav has quit [Quit: Leaving]
cole-h has joined #nixos-dev
cole-h has quit [Client Quit]
cole-h has joined #nixos-dev
dongcarl has quit [Quit: The Lounge - https://thelounge.chat]
dongcarl has joined #nixos-dev
<aterius> Really specific question, but has anyone ever dealt with compile_commands.json not including the appropriate header files when cmake is called from a nix-shell?
<aterius> Clangd is missing some headers
pmy_ has joined #nixos-dev
pmy has quit [Ping timeout: 272 seconds]
mkaito has quit [Quit: WeeChat 3.0]
AlwaysLivid has quit [Remote host closed the connection]
AlwaysLivid has joined #nixos-dev
__monty__ has quit [Quit: leaving]
abathur has quit [Read error: Connection reset by peer]
pmy_ has quit [Ping timeout: 256 seconds]
pmy_ has joined #nixos-dev
abathur has joined #nixos-dev
orivej has quit [Ping timeout: 256 seconds]
orivej has joined #nixos-dev