sphalerite changed the topic of #nixos-dev to: NixOS Development (#nixos for questions) | NixOS 19.09 now in beta! https://discourse.nixos.org/t/nixos-19-09-feature-freeze/3707 | https://hydra.nixos.org/jobset/nixos/trunk-combined https://channels.nix.gsc.io/graph.html | https://r13y.com | 19.09 RMs: disasm, sphalerite | https://logs.nix.samueldr.com/nixos-dev
phreedom has quit [Ping timeout: 260 seconds]
phreedom has joined #nixos-dev
drakonis has quit [Ping timeout: 240 seconds]
drakonis has joined #nixos-dev
drakonis_ has quit [Ping timeout: 245 seconds]
drakonis1 has joined #nixos-dev
justanotheruser has quit [Ping timeout: 245 seconds]
justanotheruser has joined #nixos-dev
orivej has quit [Ping timeout: 245 seconds]
orivej has joined #nixos-dev
drakonis1 has quit [Quit: WeeChat 2.4]
drakonis_ has joined #nixos-dev
drakonis has quit [Ping timeout: 245 seconds]
orivej has quit [Ping timeout: 240 seconds]
drakonis_ has quit [Remote host closed the connection]
johanot has joined #nixos-dev
<Taneb> I was working on a fix for "xen" in 19.09. I got some of the way but I don't think I can do the rest. What should I do with my WIP?
<ddima> Taneb: maybe make an issue where you describe the root cause and your findins and a PR (or paste) with the WIP to help somebody pick up.
<ddima> and if you reference #68361 it might be easier to find for people
__monty__ has joined #nixos-dev
init_6 has joined #nixos-dev
marek has joined #nixos-dev
marek has quit [Changing host]
orivej has joined #nixos-dev
johanot has quit [Quit: WeeChat 2.4]
<globin> Taneb: might also want to just push it as a PR marked as WIP
qyliss has quit [Quit: bye]
qyliss has joined #nixos-dev
<jtojnar> could someone please point https://hydra.nixos.org/jobset/nixpkgs/gnome to gnome-3.34 branch?
jtojnar has quit [Read error: Connection reset by peer]
jtojnar has joined #nixos-dev
<worldofpeace> jtojnar: what was weird is that for certain things, like elementary's greeter, there were problems with it's theme being applied without that environment variable being set
<worldofpeace> not sure if I need to make their settings.ini globally available and everything will just work
jtojnar has quit [Read error: Connection reset by peer]
jtojnar has joined #nixos-dev
<jtojnar> worldofpeace: maybe something is stripping XDG_DATA_DIRS but not GTL_DATA_PREFIX
<jtojnar> worldofpeace: by the way, according to the gtkcssprovider.c, it can contain only single value, so profileRelativeEnvVars will not work
arianvp has quit [Quit: WeeChat 2.6]
arianvp has joined #nixos-dev
<worldofpeace> jtojnar: right, I'm going to try a couple of things later today. and the comments in the source are pretty helpful as documentation itself. but I'm this 🤞 close to having everything working.
FRidh has quit [Ping timeout: 276 seconds]
<worldofpeace> appears that making NIX_GSETTINGS_OVERRIDES_DIR set with sessionVariables fixed that issue. Do you think GTK_DATA_PREFIX could still be set in environment.nix jtojnar ?
<worldofpeace> but just a single value config.system.path
niksnut has quit [Read error: Connection reset by peer]
<jtojnar> worldofpeace: I would try removing it and see if anything breaks
<worldofpeace> maybe it was set before because of gtk2?
<jtojnar> worldofpeace: yeah, it appears to be so
<jtojnar> gtk2 does not seem to support finding themes in XDG_DATA_DIRS
<worldofpeace> Right, this time we can have it set globally so those things just work jtojnar
evanjs| has joined #nixos-dev
evanjs| has quit [Quit: ZNC 1.7.4 - https://znc.in]
evanjs| has joined #nixos-dev
evanjs- has quit [Ping timeout: 240 seconds]
evanjs- has joined #nixos-dev
evanjs| has quit [Client Quit]
niksnut has joined #nixos-dev
evanjs| has joined #nixos-dev
evanjs| has quit [Client Quit]
evanjs| has joined #nixos-dev
evanjs- has quit [Quit: ZNC 1.7.4 - https://znc.in]
evanjs| has quit [Client Quit]
evanjs- has joined #nixos-dev
evanjs| has joined #nixos-dev
<jtojnar> worldofpeace: I am not sure GTK_DATA_PREFIX is sufficient
<jtojnar> GTK_PATH probably also affects theme engines, which do not respect GTK_DATA_PREFIX afaict
<jtojnar> but GTK_EXEC_PREFIC
<worldofpeace> you mean GTK_EXE_PREFIX?
<ddima> Mic92: I think you might have forgotten to update the sha256 for the pylint 1.9 fix
<jtojnar> worldofpeace: yuo
<jtojnar> yup
drakonis has joined #nixos-dev
<Mic92> ddima: oh.
<worldofpeace> jtojnar: checked and all the lightdm greeter wrappers had that set also
<Mic92> ddima: fixed
<emily> speaking of which, is there any way to reliably detect forgetting to update the sha256?
<emily> I kind of wish there was at least a warning for using a cached fixed-output derivation if the parameters (like URL) have changed
<emily> because it leads to some really confusing issues.
pie_ has quit [Ping timeout: 240 seconds]
evanjs| has quit [Quit: ZNC 1.7.4 - https://znc.in]
<Taneb> Other than "building it on a different machine", I don't know of any
evanjs| has joined #nixos-dev
evanjs- has quit [Ping timeout: 246 seconds]
evanjs- has joined #nixos-dev
<jtojnar> worldofpeace: hopefully, there are no other variables covered by GTK_PATH but not either of these
<worldofpeace> jtojnar: what did you think of https://github.com/NixOS/nixpkgs/pull/68492#issuecomment-531267778 ?
evanjs| has quit [Quit: ZNC 1.7.4 - https://znc.in]
evanjs| has joined #nixos-dev
<jtojnar> emily: the whole point of fixed-output derivations is that it only depends on the hash https://nixos.org/nixos/nix-pills/nix-store-paths.html#idm140737315471440
<jtojnar> you would need Nix to support something like semi-fixed-output derivations, allowing you to include extra attributes into consideration
<emily> well, like I said even a warning on first use or such would be good enough, it just seems kind of bad that every fetch* breaks fairly invisibly if you update a package but forget to update the hash
<arianvp> when I want to package a rust binary in nixpkgs do I use carnix or buildRustPackage ?
<arianvp> both seem to have upsides and downsides. buildRustPackage is a fixe-doutput-derivation so pretty horrible for reproducibility
<jtojnar> emily: well Nix is pretty simple and stupid (in a good way) and there is no technical way to know the hash URL has changed but the hash did not
<arianvp> but carnix adds many many bytes to nixexprs.tar.gz
<jtojnar> emily: I would suggest using update-source-version command from common-updater-scripts (or better adding an updateScript and using update.nix). That way you cannot forget to update the hash
<infinisil> I miss you {^_^}
<jtojnar> worldofpeace: I guess I am confused by the duality, do we really need both /etc/environment and pam_env.so?
<jtojnar> or could we just use one of them for everything and deprecate the other
<jtojnar> that would solve the question whether and which way to add the values
<Profpatsch> infinisil: Graham is away for two weeks and everything collapses oO
<Profpatsch> We need to work on our bus-factor
<worldofpeace> jtojnar: I'm looking for that also, we could just do everything with pam_env.so. Though I'm thinking this is part of the deprecation process.
<worldofpeace> jtojnar: to followup with this change I'm planning to move environment.variables -> environment.sessionVariables.
<jtojnar> if pam_env.so is functionally superior to /etc/environment, is not `environment.variables = config.environment.sessionVariables;` superfluous?
<worldofpeace> Probably jtojnar, though I don't think I can go about doing this all in one go.
<jtojnar> worldofpeace: yeah, I agree. But it would answer https://github.com/NixOS/nixpkgs/pull/68492#issuecomment-531267778
evanjs| has quit [Ping timeout: 245 seconds]
justanotheruser has quit [Ping timeout: 246 seconds]
<emily> jtojnar: re update-source-version or updateScript: ok, yes, I'll accept that answer! I'd love to do this, I've been meaning to ask about how to do more (semi-)automated updates for the packages I maintain. but is there any documentation on the best way to go about this or what tools are usable inside nixpkgs? I couldn't find anything :(
<Taneb> Aaah, the most recent eval of 19.09 seems to have a lot more failures
justanotheruser has joined #nixos-dev
<jtojnar> emily: updateScripts are documented in stdenv chapter of the manual
<jtojnar> and you can get some usage info by running `nix-shell maintainers/scripts/update.nix` and `update-source-version`
evanjs| has joined #nixos-dev
<jtojnar> but no consolidated guide, I have writing one on my to-do list
<jtojnar> there are also some improvments I wanted to finish during the summer but did not get to it https://github.com/NixOS/nixpkgs/pull/59372
<emily> thanks for the advice!
<jtojnar> feel free to ping me if you have any questions
evanjs| has quit [Quit: ZNC 1.7.4 - https://znc.in]
evanjs| has joined #nixos-dev
drakonis has quit [Quit: WeeChat 2.4]
FRidh has joined #nixos-dev
<ajs124> Taneb: I was wondering what was up with that...
<Taneb> https://github.com/NixOS/nixpkgs/commit/76d54c72acaaa32e2c1f8b13002f0ceac3b7b06f seems to have wound up broken tests for pythonPackages.cryptography which took half of nixpkgs down with it
<Taneb> Let's see if this fixes it...
<globin> Taneb: working on it
<globin> and no that's not enough
<globin> is still broken upstream, I'm working on a patch
<Taneb> Aaargh
<Taneb> I'll leave it to you, if you don't mind
<globin> yeah sure
init_6 has quit []
ixxie has joined #nixos-dev
Jackneill has quit [Remote host closed the connection]
<globin> fix pushed to release-19.09 and bug opened upstream
<thoughtpolice> globin++
<globin> also pushed to staging
_ris has joined #nixos-dev
<worldofpeace> Anyone available to test if something builds on darwin?
evanjs| has quit [Quit: ZNC 1.7.4 - https://znc.in]
<worldofpeace> In particular it's https://github.com/NixOS/nixpkgs/pull/68313, there's some issues with darwin that I'd like to confirm to open a bug report. But I can't really go about claiming things in the report without actually knowing.
evanjs| has joined #nixos-dev
<Taneb> Someone ping me when {^_^}'s awake so I can give globin karma
ixxie has quit [Ping timeout: 240 seconds]
orivej has quit [Ping timeout: 265 seconds]
evanjs- has quit [Quit: ZNC 1.7.4 - https://znc.in]
evanjs| has quit [Ping timeout: 276 seconds]
evanjs- has joined #nixos-dev
orivej has joined #nixos-dev
<cransom> worldofpeace: result of nix-build -A pulseaudio from your PR - https://gist.github.com/cransom/6cf1076e15ab2ac42dd6feac596b945c
emily has quit [Excess Flood]
emily has joined #nixos-dev
FRidh has quit [Quit: Konversation terminated!]
layus[m] has quit [Remote host closed the connection]
roberth has quit [Read error: Connection reset by peer]
Ericson2314 has quit [Read error: Connection reset by peer]
ma27[m] has quit [Read error: Connection reset by peer]
abbradar[m] has quit [Read error: Connection reset by peer]
bennofs[m] has quit [Write error: Connection reset by peer]
domenkozar[m] has quit [Write error: Connection reset by peer]
dtz has quit [Write error: Connection reset by peer]
rycee has quit [Write error: Connection reset by peer]
thefloweringash has quit [Write error: Connection reset by peer]
nh2[m] has quit [Read error: Connection reset by peer]
timokau[m] has quit [Read error: Connection reset by peer]
worldofpeace has quit [Read error: Connection reset by peer]
codyopel has quit [Write error: Connection reset by peer]
jonge[m] has quit [Write error: Connection reset by peer]
yegortimoshenko has quit [Write error: Connection reset by peer]
matthewbauer has quit [Write error: Connection reset by peer]
vaibhavsagar has quit [Write error: Connection reset by peer]
alienpirate5 has quit [Write error: Connection reset by peer]
nocent has quit [Read error: Connection reset by peer]
arcnmx has quit [Write error: Connection reset by peer]
jtojnar has quit [Ping timeout: 246 seconds]
Ericson2314 has joined #nixos-dev
jtojnar has joined #nixos-dev
drakonis has joined #nixos-dev
bennofs[m] has joined #nixos-dev
alienpirate5 has joined #nixos-dev
abbradar[m] has joined #nixos-dev
domenkozar[m] has joined #nixos-dev
thefloweringash has joined #nixos-dev
arcnmx has joined #nixos-dev
dtz has joined #nixos-dev
timokau[m] has joined #nixos-dev
codyopel has joined #nixos-dev
worldofpeace has joined #nixos-dev
yegortimoshenko has joined #nixos-dev
rycee has joined #nixos-dev
vaibhavsagar has joined #nixos-dev
nocent has joined #nixos-dev
ma27[m] has joined #nixos-dev
jonge[m] has joined #nixos-dev
layus[m] has joined #nixos-dev
nh2[m] has joined #nixos-dev
roberth has joined #nixos-dev
matthewbauer has joined #nixos-dev
__monty__ has quit [Quit: leaving]
<qyliss> Does peti use IRC?
<simpson> I thought so? But I haven't seen them lately. Maybe they're only in some certain other channels?
<qyliss> hmm
<qyliss> shall check my logs
bgamari has quit [Remote host closed the connection]
bgamari has joined #nixos-dev
<qyliss> Doesn't look like we've seen them since April
<qyliss> I'll email them I guess
evanjs- has quit [Quit: ZNC 1.7.4 - https://znc.in]
evanjs- has joined #nixos-dev
<ddima> emily: wrt checking the hash - yeah, I was wondering the same. While it would be nice if there was a better mechanism "deeper inside" a pragmatic approach could be to whip up a git commit hook with a small linter. But I've not thought too much about it yet either.
evanjs- has quit [Ping timeout: 245 seconds]