Skip to content

nix-store: document --add-fixed #2724

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

Merged
merged 1 commit into from
Jul 2, 2019
Merged

Conversation

LnL7
Copy link
Member

@LnL7 LnL7 commented Mar 14, 2019

OPERATION --ADD-FIXED
   Synopsis
       nix-store [--recursive] --add-fixed algorithm paths...

   Description
       The operation --add-fixed adds the specified paths to the Nix store. Unlike --add
       paths are registred using the specified hashing algorithm, resulting in the same
       output path as a fixed output derivation. This can be used for sources that are not
       available from a public url or broke since the download expression was written.

       This operation has the following options:

       --recursive
           Use recursive instead of flat hashing mode, used when adding directories
	   to the store.

   Example
           $ nix-store --add-fixed sha256 ./hello-2.10.tar.gz
           /nix/store/3x7dwzq014bblazs7kq20p9hyzz0qh8g-hello-2.10.tar.gz

@LnL7 LnL7 force-pushed the manpage-add-fixed branch from 2829087 to f493274 Compare March 23, 2019 19:22
@LnL7
Copy link
Member Author

LnL7 commented May 12, 2019

ping

@grahamc grahamc force-pushed the manpage-add-fixed branch from f493274 to a3c77c1 Compare July 2, 2019 13:12
@edolstra edolstra merged commit 7c0b0db into NixOS:master Jul 2, 2019
@LnL7 LnL7 deleted the manpage-add-fixed branch July 2, 2019 16:42
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