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

Manual: update appendix on nar production/consumption #3184

Closed
wants to merge 1 commit into from

Conversation

bhipple
Copy link
Contributor

@bhipple bhipple commented Oct 31, 2019

The NAR produced by --export seems to work juts as well as the NAR produced by
--dump, except that it can also be safely imported into an existing nix
store and update the sqlite metadata. This commit changes the manual to
reference export/import by default.

See #3183 for a potential followup pending discussion.

The NAR produced by `--export` seems to work juts as well as the NAR produced by
`--dump`, except that it can *also* be safely imported into an existing nix
store and update the sqlite metadata. This commit changes the manual to
reference export/import by default.

See NixOS#3183 for a potential followup pending discussion.
@bhipple
Copy link
Contributor Author

bhipple commented Oct 31, 2019

Best I can tell, the --dump NAR is just an inferior version of the --export NAR, since the registration files for sqlite are plain-text and don't take up much space, e.g.:

$ nix-store --dump /nix/store/00crivbbz9skpjrjixaf7bczj02ihfza-sqlite-3.28.0/ > dump.nar
$ nix-store --export /nix/store/00crivbbz9skpjrjixaf7bczj02ihfza-sqlite-3.28.0/ > export.nar
$ ls -lh *.nar
-rw-r--r-- 1 bhipple users 1.2M Oct 31 07:15 dump.nar
-rw-r--r-- 1 bhipple users 1.2M Oct 31 07:15 export.nar

@bhipple bhipple changed the title Manual: update appendix on nar produciton/consumption Manual: update appendix on nar production/consumption Oct 31, 2019
@zimbatm
Copy link
Member

zimbatm commented Nov 4, 2019

related: #3183 (comment)

@stale
Copy link

stale bot commented Feb 13, 2021

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

@stale stale bot added the stale label Feb 13, 2021
@bhipple bhipple closed this Feb 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants