Nixpkgs: Post 20.09 cleanup

Created on 27 Oct 2020  路  12Comments  路  Source: NixOS/nixpkgs

release-20.09 release process

Most helpful comment

EDIT sorry. I wanted to close the edit box instead of the issue...

All 12 comments

I am looking at allowing the broken (or any metadata for that matter) from within all-packages.nix. Is that what you are thinking, @jonringer ?

I was more taking inspiration from pythonPackages. Where you ask python3Packages.isPyPy or something like that. In the case of kernels, it would be linuxPackages.isZen or linuxPackages.kernel.isZen. And so this way on kernel modules, I could something like:

  meta.broken = with kernel; isHardened || isZen || isXen;

for more context, the remaining modules i need to mark broken are listed: https://github.com/NixOS/nixpkgs/issues/100111#issuecomment-716957919

My initial impression is that we have something like:

  passthru = {
    isZen = false;
    isXen = false;
    isHardened = false;
    isLibre = false;
    kernelOlder = lib.versionOlder kernel.version;
    kernelAtLeast = lib.versionAtLeast kernel.version;
  };

and just override what is true in the various flavors

Ah, I see, this is more about the kernel modules. Makes sense. I won't be able to do this immediately but we should do this, for sure.

I just updated a system to the latest 20.09 channel version and realized the libtensorflow-bin package has been marked as broken even thought it builds just fine (and is actually cached by hydra). What metric did you use to decide something should be broken? (I somehow lost track of the conversation across multiple issues & PRs).

@andir I went off https://hydra.nixos.org/eval/1622004?full=1#tabs-still-fail

looks like it was an accidental casualty when marking the python tensorflow packages as broken.

Ah, I see, this is more about the kernel modules. Makes sense. I won't be able to do this immediately but we should do this, for sure.

I'll try to make a PR when I have free time

EDIT sorry. I wanted to close the edit box instead of the issue...

ive done that before in a "this week in nix" PR

@NeQuissimus do you mind taking a quick look at the PR?

A lot of my forward ports for python are captured in https://github.com/NixOS/nixpkgs/pull/101636, checking that off

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ob7 picture ob7  路  3Comments

ayyess picture ayyess  路  3Comments

lverns picture lverns  路  3Comments

langston-barrett picture langston-barrett  路  3Comments

spacekitteh picture spacekitteh  路  3Comments