Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Maintainer team wanted for looking after pkgsStatic #103290

Open
expipiplus1 opened this issue Nov 10, 2020 · 14 comments
Open

Maintainer team wanted for looking after pkgsStatic #103290

expipiplus1 opened this issue Nov 10, 2020 · 14 comments
Labels
2.status: stale https://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md 6.topic: static

Comments

@expipiplus1
Copy link
Contributor

It would be great to have pkgsStatic (or pkgsSharedStatic) a little better cared for in nixpkgs, see #89425, to stop things constantly bitrotting, breakages in pkgsStatic would have to block channel updates, but for this, there would need to be some people willing to maintain this package set.

I'm willing to be part of this team, would anyone else be willing?

If the burden of keeping pkgsStatic not breaking is too much, then this doesn't have to continue, but I think it's worth trying.

@domenkozar
Copy link
Member

cc @matthewbauer @Mic92

@expipiplus1
Copy link
Contributor Author

@nh2 interested?

@FRidh
Copy link
Member

FRidh commented Nov 10, 2020

Aside from a team it is important to decide what packages are considered blocking and should be built by Hydra.

pkgsStatic is listed in the RFC as Tier 4 (x86_64-linux, gcc+musl — static). To upgrade to Tier 3 we could make the stdenv blocking. To go to Tier 2, we need to start building a lot more on Hydra, at which point we need to consider resources.

So, what packages to build, and what to block on?

cc @7c6f434c

@7c6f434c
Copy link
Member

7c6f434c commented Nov 10, 2020 via email

@nh2
Copy link
Contributor

nh2 commented Nov 10, 2020

I'm up for participating in such team, mainly for a pkgsSharedStatic as suggested in #61575.

I think build automation is important, and I could chip in another 30 EUR/month Hetzner build server from the extra funds that my static-haskell-nix OpenCollective provides (which is targeted at static Haskell builds, but to do them I need a healthy pkgsSharedStatic equivalent).

@symphorien
Copy link
Member

Maybe it could start with "ensuring when someone fixes a package, it does not regress"

@7c6f434c
Copy link
Member

I think that no-regressions doesn't even apply to The Tier-1 Platform…

@symphorien
Copy link
Member

I was more thinking of a notification on regression, like the emails hydra used to send.

@Mic92
Copy link
Member

Mic92 commented Nov 12, 2020

I will pass on this one. I am not using pkgsStatic actively to recognize breakages.

@expipiplus1
Copy link
Contributor Author

expipiplus1 commented Nov 18, 2020

So, what packages to build, and what to block on?

Most of the work in fixing these packages seems to stem from bespoke build systems used by packages. Packages which use well understood build systems seem to fare much better, for example Haskell package. Standard usage of autotools and CMake also seem to cope well. Perhaps to get a good bang-for-our-buck the dependencies to build CMake project, Haskell packages and sensible autotools projects would be a good start. I don't know much about other packaging ecosystems in nixpkgs, but I suspect that if we get one Rust package building then the rest probably fall out, similar for other languages maybe,

I was more thinking of a notification on regression, like the emails hydra used to send.

Where would be the best place to start on this? Alternatively is it possible to use github issues for this, i.e. the build failure triggers the creation of an issue in which the interested parties are @-mentioned?

mainly for a pkgsSharedStatic as suggested

@nh2 I believe that the closest we have at the moment is in the static-haskell-nix repo, what would it take to get pkgsSharedStatic in nixpkgs?

In terms of building packages for distribution to non-nixos systems, pkgsSharedStatic is sufficient. But I'm sure that some people are interested in this for reasons beyond that for which a package set with no dynamic linking is better suited.

@Mic92
Copy link
Member

Mic92 commented Nov 18, 2020

I was more thinking of a notification on regression, like the emails hydra used to send.

Where would be the best place to start on this? Alternatively is it possible to use github issues for this, i.e. the build failure triggers the creation of an issue in which the interested parties are @-mentioned?

I could think of a github action that is run periodically and just checks hydra. Github actions also have the API credentials to open issues.

@teburd
Copy link
Contributor

teburd commented Dec 15, 2020

I'm happy to help, as I see a lot of use for pkgsStatic/pkgsMusl for building embedded and docker images using nix

@pjjw
Copy link
Contributor

pjjw commented Jan 21, 2021

hi, yeah, just found this issue but have been going through a number of things trying to get pkgsMusl working again for essentially the same set of packages in release-small. so i'm interested in this and working on it, i guess.

@stale
Copy link

stale bot commented Jul 20, 2021

I marked this as stale due to inactivity. → More info

@stale stale bot added the 2.status: stale https://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md label Jul 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2.status: stale https://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md 6.topic: static
Projects
None yet
Development

No branches or pull requests

10 participants