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

Update README #1271

Merged
merged 3 commits into from
Nov 26, 2024
Merged

Update README #1271

merged 3 commits into from
Nov 26, 2024

Conversation

ahoneybun
Copy link
Contributor

This updates the README based on my experience setting up Hydra locally.

@ahoneybun
Copy link
Contributor Author

Please note that the example/hello.nix does not build:

command `git rev-parse nixos-22.11' failed with exit status 32768 in /var/lib/hydra/scm/git/2d3d69c75e2540382d11cba6a4ed672c4aa6c4cc82c1370ec91087d6b5393c06 at /nix/store/lrvmarjxpvcrcsbr8569m8gkgrzsy23r-hydra-2022-10-22/libexec/hydra/lib/Hydra/Helper/Nix.pm line 460.

@ahoneybun
Copy link
Contributor Author

I think we should also update somewhere on how to remove old builds and ones that fail, I know this works but it's not ideal:

  1. Remove the gcroots:
rm /nix/var/nix/gcroots/hydra/*
  1. Then remove the garbage:
nix-collect-garbage

README.md Outdated
@@ -57,7 +57,7 @@ We have to add two inputs for this jobset. One for _nixpkgs_ and one for _hydra_

- **Input name**: `nixpkgs`
- **Type**: `Git checkout`
- **Value**: `https://github.com/nixos/nixpkgs-channels nixos-20.03`
- **Value**: `https://github.com/nixos/nixpkgs-channels nixos-22.11`
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
- **Value**: `https://github.com/nixos/nixpkgs-channels nixos-22.11`
- **Value**: `https://github.com/NixOS/nixpkgs nixos-22.11`

or maybe even go with

Suggested change
- **Value**: `https://github.com/nixos/nixpkgs-channels nixos-22.11`
- **Value**: `https://github.com/NixOS/nixpkgs nixos-23.05`

Both should fix the issue you reported

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should be good in the latest commit and I also rebased to clean up the history.

Copy link
Contributor Author

@ahoneybun ahoneybun Nov 25, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure what was going on my head but I removed the '-channels' part that broke things and it is 24.05 now.

@tomberek
Copy link
Contributor

I cannot merge. @Ericson2314 ? @Mic92 ?

@dasJ
Copy link
Member

dasJ commented Nov 26, 2024

What about someone who has been merging things for years?

@dasJ dasJ merged commit 9de9cb0 into NixOS:master Nov 26, 2024
1 check passed
@ahoneybun ahoneybun deleted the update-readme branch November 26, 2024 14:22
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.

4 participants