Skip to content

harsh: add new module#8745

Open
MelihDarcanxyz wants to merge 4 commits intonix-community:masterfrom
MelihDarcanxyz:master
Open

harsh: add new module#8745
MelihDarcanxyz wants to merge 4 commits intonix-community:masterfrom
MelihDarcanxyz:master

Conversation

@MelihDarcanxyz
Copy link

harsh: CLI habit tracking for geeks

add harsh module

A minimalist, command-line tool for tracking, understanding, and forging habits. Simple text files, informative graphs, zero friction. Habit tracking for geeks.

Checklist

  • Change is backwards compatible.

  • Code formatted with nix fmt or
    nix-shell -p treefmt nixfmt deadnix keep-sorted nixf-diagnose --run treefmt.

  • Code tested through nix run .#tests -- test-all or
    nix-shell --pure tests -A run.all.

  • Test cases updated/added. See example.

  • Commit messages are formatted like

    {component}: {description}
    
    {long description}
    

    See CONTRIBUTING for more information and recent commit messages for examples.

  • If this PR adds a new module

    • Added myself as module maintainer. See example.
    • Generate a news entry. See News
    • Basic tests added. See Tests
  • If this PR adds an exciting new feature or contains a breaking change.

    • Generate a news entry. See News

@MelihDarcanxyz
Copy link
Author

nix-shell -p nixpkgs-fmt --run "nixpkgs-fmt modules/programs/harsh.nix"
0 / 1 have been reformatted
nix-shell -p nixpkgs-fmt --run "nixpkgs-fmt tests/modules/programs/harsh/harsh.nix"
0 / 1 have been reformatted

I did the formatting with this, getting build errors about formatting. Any ideas?

@khaneliman
Copy link
Collaborator

nix-shell -p nixpkgs-fmt --run "nixpkgs-fmt modules/programs/harsh.nix"
0 / 1 have been reformatted
nix-shell -p nixpkgs-fmt --run "nixpkgs-fmt tests/modules/programs/harsh/harsh.nix"
0 / 1 have been reformatted

I did the formatting with this, getting build errors about formatting. Any ideas?

If you're on a channel config that's very out of date it might be grabbing an old revision of nixpkgs-fmt. It's been updated heavily since it became stable, even.

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.

2 participants