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 flake.lock in cronjob #403

Merged
merged 1 commit into from May 2, 2020
Merged

Update flake.lock in cronjob #403

merged 1 commit into from May 2, 2020

Conversation

@garbas
Copy link
Contributor

garbas commented Apr 20, 2020

No description provided.

@garbas garbas requested a review from samueldr Apr 21, 2020
@garbas
Copy link
Contributor Author

garbas commented Apr 21, 2020

@samueldr Would this be a good strategy to go forward? To always regenerate flake.lock file on cron job and push changes to master. Should we also do this on master branch?

update.sh Outdated Show resolved Hide resolved
@garbas garbas force-pushed the update-nixpkgs-on-cron branch from b965026 to 8e88b31 Apr 29, 2020
@garbas garbas force-pushed the update-nixpkgs-on-cron branch from 8e88b31 to 8beb284 Apr 29, 2020
@worldofpeace
Copy link
Member

worldofpeace commented Apr 29, 2020

@garbas I'm currently updating the docs with how to update nixos-homepage.
Is it possible to trigger this job manually?
This is important when you release nixos, because you have to be sure you get the exact revision of nixpkgs right.

@edolstra
Copy link
Member

edolstra commented Apr 30, 2020

@worldofpeace You can run nix flake update --update-input released-nixpkgs --commit-lock-file.

@worldofpeace
Copy link
Member

worldofpeace commented Apr 30, 2020

Thanks @edolstra, will embed that in NixOS/nixpkgs#86368

@garbas garbas merged commit 2649c0a into master May 2, 2020
1 check passed
1 check passed
build-and-deploy
Details
@worldofpeace worldofpeace deleted the update-nixpkgs-on-cron branch May 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

3 participants
You can’t perform that action at this time.