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

Add a flake with a NixOS module to generate files #8

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

nlewo
Copy link
Member

@nlewo nlewo commented Feb 27, 2023

We previously used a buildkite agent to run scripts. However, this agent has been removed by nix-community admins.

Instead of running a buildkite agent and using GitHub to serve produced artefacts, it seems we could run scripts thanks to a systemd periodic task and serve artefacts with Nginx: nix-community/infra#445

In this PR, a flake exposes the nixpkgs-swh-generate program and a NixOS module running this program each days.

I'm currently testing this PR on my server (it only generates the list of sources for the hello attribute): http://nixpkgs-swh.abesis.fr

The URL used by the Software fetcher will have to be updated (it is currently https://nix-community.github.io/nixpkgs-swh/sources-unstable-full.json).

@nlewo
Copy link
Member Author

nlewo commented Mar 1, 2023

@ardumont We will have to update to URL used by the SWH nixguix component (because i'm planning to leave GitHub Pages). I'm not able to find it in your GitLab instance and i don't remember where it is configured ;)

Would you be ok to update this URL (once i provided it) on the SHW side?

@ardumont
Copy link

ardumont commented Mar 6, 2023

@nlewo hello ;)

@ardumont We will have to update to URL used by the SWH nixguix component (because i'm planning to leave GitHub Pages).

ack

I'm not able to find it in your GitLab instance and i don't remember where it is configured ;)

That one is not declared in the code, it's in the scheduler db iirc.

Would you be ok to update this URL (once i provided it) on the SHW side?

Sure thing, i'll update it when it's ready.

Thanks in advance.

@ardumont
Copy link

ardumont commented Mar 6, 2023

(and cool for the flake work ;)

@zowoq
Copy link

zowoq commented Feb 10, 2025

I pushed a couple of minor fixes, I think they should be self explanatory.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants