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> that pytest bump broke a lot...
<supersandro2000> or more like it spittet out new warnings which are treated as errors
<ma27[m]> niksnut: in case you have the time to, would you mind leaving an answer to my latest comments in https://github.com/NixOS/nix/pull/4440? :)
<{^_^}> nix#4440 (by Ma27, 9 weeks ago, open): [WIP] Miscellaneous improvements for positioning in eval-errors
justanotheruser has quit [Ping timeout: 272 seconds]
rj has quit [Ping timeout: 268 seconds]
rj has joined #nixos-dev
justanotheruser has joined #nixos-dev
bennofs_ has joined #nixos-dev
bennofs__ has quit [Ping timeout: 246 seconds]
srk has quit [Remote host closed the connection]
srk has joined #nixos-dev
justanotheruser has quit [Ping timeout: 260 seconds]
supersandro2000 has quit [Disconnected by services]
supersandro2000 has joined #nixos-dev
rajivr has joined #nixos-dev
rj has quit [Ping timeout: 268 seconds]
justanotheruser has joined #nixos-dev
rj has joined #nixos-dev
justan0theruser has joined #nixos-dev
justanotheruser has quit [Ping timeout: 264 seconds]
justan0theruser has quit [Ping timeout: 264 seconds]
justan0theruser has joined #nixos-dev
rj has quit [Ping timeout: 268 seconds]
rj has joined #nixos-dev
justan0theruser has quit [Read error: Connection reset by peer]
mkaito has quit [Quit: WeeChat 3.1]
justan0theruser has joined #nixos-dev
rj has quit [Ping timeout: 268 seconds]
Emantor has quit [Quit: ZNC - http://znc.in]
Emantor has joined #nixos-dev
justan0theruser has quit [Ping timeout: 272 seconds]
justan0theruser has joined #nixos-dev
justan0theruser has quit [Ping timeout: 272 seconds]
justan0theruser has joined #nixos-dev
evils has quit [Ping timeout: 245 seconds]
orivej has joined #nixos-dev
cole-h has joined #nixos-dev
AlwaysLivid has quit [Ping timeout: 268 seconds]
cole-h has quit [Ping timeout: 276 seconds]
orivej has quit [Ping timeout: 276 seconds]
__monty__ has joined #nixos-dev
AlwaysLivid has joined #nixos-dev
AlwaysLivid has quit [Remote host closed the connection]
AlwaysLivid has joined #nixos-dev
jonringer has quit [Ping timeout: 264 seconds]
mkaito has joined #nixos-dev
mkaito has joined #nixos-dev
mkaito has quit [Changing host]
orivej has joined #nixos-dev
ris has joined #nixos-dev
<sterni> can somebody tell me why installables only have their default / bin output associated with them when they reach CmdRun / CmdShell it seems to iterate over all store paths everywhere, but I can't find the point where it filters the output paths of the derivation
<sterni> (context: I want to set MANPATH for CmdShell, but that involves having the man and/or devman output for some packages)
<gchristensen> sterni: I think it is just taking the first output, so maybe look for a `head` or something
AlwaysLivid has quit [Ping timeout: 268 seconds]
AlwaysLivid has joined #nixos-dev
<sterni> gchristensen: hm that might be a good shout yeah, it doesn't seem to filter the outputs or do a lookup for sure
<siraben> State of packaging https://sourceforge.net/p/sevenzip/discussion/45797/thread/cec5e63147/ , looks like the developer doesn't know much about Linux packaging so it may change over time.
FRidh has joined #nixos-dev
<dottedmag> Folks, I'm preparing a number of changes to packages that use libcrypt.so. All the changes are identical: add "withLibxcrypt ? false, libxcrypt" to the package parameters, add "++ lib.optional withLibxcrypt libxcrypt" to the buildInputs. What's the best way to submit it? A PR per package, or a single PR with every package's change in a separate commit?
<{^_^}> #116054 (by anna328p, 1 day ago, open): 7zz: init at 21.01
tv has quit [*.net *.split]
charukiewicz has quit [*.net *.split]
andi- has quit [*.net *.split]
samueldr has quit [*.net *.split]
pie_ has quit [*.net *.split]
grfn has quit [*.net *.split]
euank has quit [*.net *.split]
teehemkay has quit [*.net *.split]
AtnNn has quit [*.net *.split]
AtnNn has joined #nixos-dev
pie_ has joined #nixos-dev
teehemkay has joined #nixos-dev
grfn has joined #nixos-dev
tv has joined #nixos-dev
charukiewicz has joined #nixos-dev
andi- has joined #nixos-dev
samueldr has joined #nixos-dev
euank has joined #nixos-dev
<supersandro2000> Would it be a good idea to add a lib.optional(s)Null?
<supersandro2000> The workaround somtimes used to avoid rebuilds (eg https://github.com/NixOS/nixpkgs/commit/2e0b261da8c4a08d642bcbf115ffbca5d69ff481) is quite ugly to be honest
<FRidh> supersandro2000: it happens not just with lists, but also strings
<das_j> FRidh: Thank you. Do we have to wait for staging to be merged before picking to staging-20.09?
<FRidh> das_j: no need. Small chance on significant regressions, right?
<das_j> The openssh project is not known for significant regressions imo
<supersandro2000> FRidh: lib.optionalStringsNull ?
<supersandro2000> I am trying to list all packages that are cross compilable with ``nix-env -f . -qa --attr pkgs.pkgsCross.aarch64-multiplatform.pkgs``
<supersandro2000> which errors with ``error: attribute 'runtimeShell' missing, at nixpkgs/pkgs/top-level/all-packages.nix:524:79``
<supersandro2000> Anyone has an idea how to do that?
<siraben> supersandro2000: wouldn't that return all packages?
<siraben> Also that line seems to be `makeWrapper = makeSetupHook { deps = [ dieHook ]; substitutions = { shell = targetPackages.runtimeShell; }; }`
<supersandro2000> siraben: yeah, that exactly what I want
<siraben> but you'll just get back all packags?
<supersandro2000> yeah I need that
<supersandro2000> but with the drv and paths for cross
<supersandro2000> ``nix-env -f . -qa --attr pkgs.pkgsCross.aarch64-multiplatform`` works. I could have sworn I tried that yesterday
<siraben> check your history
<sterni> supersandro2000: why does disabledTests default to null and not [] in the first place?
<supersandro2000> I am currently trying to fix nixpkgs-review reports for cross which are currently totally broken because they use nix-env results without cross
<supersandro2000> sterni: because lib.optionals returns [] when false
<supersandro2000> I should have that commit in the branch I have checked out
<sterni> supersandro2000: no I mean in buildPythonPackage, doesn't make sense that disabledTests would be null if it is not given
<supersandro2000> okay I tried that exact command yesterday but when adding --out-path it falls apart
<supersandro2000> and I need the outpath..
<sterni> changing that would require a mass rebuild, but it would be the saner solution it seems to me
<FRidh> sterni: disabledTests is not part of the interface of buildPythonPackage but a env var used by a hook
<supersandro2000> sterni: it is null but when you conditionally disable tests it is [] and not null
<sterni> FRidh: oh…
<supersandro2000> which causes rebuilds
<sterni> supersandro2000: yeah I understand that point, that was not the point
<FRidh> good that you mentioned this, because this is relevant for https://github.com/NixOS/rfcs/pull/67
<{^_^}> rfcs#67 (by FRidh, 51 weeks ago, open): [RFC 0067] Common override interface derivations
AlwaysLivid has quit [Remote host closed the connection]
AlwaysLivid has joined #nixos-dev
<supersandro2000> I am strugling with nix a bit right now. Could I just just assign pkgs to targetPackages to solve the eval error?
<supersandro2000> I have created https://github.com/NixOS/nixpkgs/issues/116207
<{^_^}> #116207 (by SuperSandro2000, 18 seconds ago, open): nix-env can't list out paths for pkgsCross.*
<supersandro2000> for that issue.
evils has joined #nixos-dev
bgamari has quit [Quit: ZNC 1.8.1 - https://znc.in]
bgamari has joined #nixos-dev
cole-h has joined #nixos-dev
<das_j> umm does anyone remember how __structuredAttrs works for lists? Do they just turn into bash arrays?
<supersandro2000> FRidh: The test I disabled in https://github.com/NixOS/nixpkgs/pull/115564#discussion_r593766115 needs to be disabled for amd64, not only aarch64. I don't think we can avoid the mass rebuild.
jonringer has joined #nixos-dev
<FRidh> supersandro2000: I saw your note. Tests succeed on my machine.
<supersandro2000> FRidh: for hexa- even other tests fail. I think we might want to revisit that in the next staging cycle.
<supersandro2000> if it passes in hydra it is good for now. that staging cycle takes already way to long
<FRidh> 5 days?
<FRidh> previous one was long
<tazjin> why do we even have maintainers if everything now gets merged after a few hours if the build is green?
<tazjin> I guess there might be a split between people in this community who want to be like arch-style users (update and ignore breakage) and those who would prefer to have some time to test things
<supersandro2000> FRidh: oh, probably missed the last merge
AlwaysLivid has quit [Ping timeout: 268 seconds]
AlwaysLivid has joined #nixos-dev
cole-h has quit [Ping timeout: 256 seconds]
v0|d has joined #nixos-dev
rajivr has quit [Quit: Connection closed for inactivity]
pbb has quit [Remote host closed the connection]
pbb has joined #nixos-dev
orivej has quit [Ping timeout: 245 seconds]
orivej has joined #nixos-dev
srk has quit [Remote host closed the connection]
srk has joined #nixos-dev
teto has joined #nixos-dev
orivej has quit [Ping timeout: 246 seconds]
jonringer has quit [Ping timeout: 264 seconds]
pingiun_ is now known as pingiun
WilliButz has quit [Remote host closed the connection]
aminechikhaoui has quit [Quit: The Lounge - https://thelounge.github.io]
WilliButz has joined #nixos-dev
FRidh has quit [Quit: Konversation terminated!]
cole-h has joined #nixos-dev
__monty__ has quit [Quit: leaving]
jonringer has joined #nixos-dev
zhaofeng is now known as zhaofeng_ircclou
sorki has joined #nixos-dev
srk has quit [Ping timeout: 268 seconds]