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 packaging-existing-software.md #1024

Merged
merged 2 commits into from
Jul 19, 2024

Conversation

olga-mcbfe
Copy link
Contributor

update version of nixpkgs used to avoid multiple-hour cache build for first-time users trying to learn Nix

update version of nixpkgs used to avoid multiple-hour cache build for first-time users trying to learn Nix
@fricklerhandwerk
Copy link
Collaborator

Thanks! Eventually all of these versions should be set automatically and all the examples tested to be working, but we're (by far) not there yet.

Although an old Nixpkgs release should not necessarily require you to build anything locally, all of that stuff is cached. Did you set up any custom cache configuration?

@fricklerhandwerk fricklerhandwerk enabled auto-merge (squash) July 19, 2024 00:29
@fricklerhandwerk fricklerhandwerk merged commit fc292e2 into NixOS:master Jul 19, 2024
5 checks passed
@willbush
Copy link
Member

@fricklerhandwerk Think a Github action could update these pretty easy, but not sure how to test it easily. Guess we would need something like mdbook test, but for nix?

@fricklerhandwerk
Copy link
Collaborator

Updating is by far the easy part.

not sure how to test it easily

This is a discussion we had many times, and there are multiple attempts to build a testing framework, taking it from various angles. Someone needs to make these ideas usable by adopting, finishing, or implementing the respective pieces of technology. Here are a few recent notes relating to @djacu's contribution to the module system tutorial: https://discourse.nixos.org/t/2024-05-16-documentation-team-meeting-notes-128/45537

@olga-mcbfe
Copy link
Contributor Author

Although an old Nixpkgs release should not necessarily require you to build anything locally, all of that stuff is cached. Did you set up any custom cache configuration?

I just installed nix and started to follow this tutorial. As far as I know I didn't have any custom cache configuration

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