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

nix hash path, text hashing for nix store add, and preparatory refactors #9815

Merged
merged 1 commit into from
Feb 22, 2024

Commits on Feb 21, 2024

  1. nix hash path, and preperatory refactors

    - `nix store add` supports text hashing
    
      With functional test ensuring it matches `builtins.toFile`.
    
    - Factored-out flags for both commands
    
    - Move all common reusable flags to `libcmd`
    
      - They are not part of the *definition* of the CLI infra, just a usag
        of it.
    
      - The `libstore` flag couldn't go in `args.hh` in libutil anyways,
        would be awkward for it to live alone
    
    - Shuffle around `Cmd*` hierarchy so flags for deprecated commands don't
      end up on the new ones
    Ericson2314 committed Feb 21, 2024
    Configuration menu
    Copy the full SHA
    efd36b4 View commit details
    Browse the repository at this point in the history