Skip to content

mhabit: init at 1.16.22+91 #426803

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

yzhou216
Copy link
Contributor

@yzhou216 yzhou216 commented Jul 20, 2025

Resolves #426236

"Table Habit" is an app that helps you establish and track your own micro habit. It includes a complete set of growth curves and charts to help you build habits more effectively, and keeps your data in sync across devices (currently via WebDAV, with more options coming soon).

Things done

Draft... Doesn't build yet, and it looks like there's something wrong with the flutter_gen dependency not declared correctly by upstream.

  • Built on platform:
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • Tested, as applicable:
  • Ran nixpkgs-review on this PR. See nixpkgs-review usage.
  • Tested basic functionality of all binary files, usually in ./result/bin/.
  • Nixpkgs Release Notes
    • Package update: when the change is major or breaking.
  • NixOS Release Notes
    • Module addition: when adding a new NixOS module.
    • Module update: when the change is significant.
  • Fits CONTRIBUTING.md, pkgs/README.md, maintainers/README.md and others READMEs.

Add a 👍 reaction to pull requests you find important.

@nixpkgs-ci nixpkgs-ci bot added the 12.first-time contribution This PR is the author's first one; please be gentle! label Jul 20, 2025
@nixpkgs-ci nixpkgs-ci bot removed the 12.first-time contribution This PR is the author's first one; please be gentle! label Jul 27, 2025
@qzylinra
Copy link
Contributor

please add

  postPatch = ''
    substituteInPlace pubspec.yaml \
      --replace-fail "generate: true" "generate: false"
  '';

  preBuild = ''
    substituteInPlace pubspec.yaml \
      --replace-fail "generate: false" "generate: true"
  '';

related code
https://github.com/NixOS/nixpkgs/blob/84ac628079fb0174624475f29d75207a1357cd20/pkgs/development/compilers/flutter/build-support/build-flutter-application.nix#L112C1-L127C9

@yzhou216
Copy link
Contributor Author

please add

  postPatch = ''
    substituteInPlace pubspec.yaml \
      --replace-fail "generate: true" "generate: false"
  '';

  preBuild = ''
    substituteInPlace pubspec.yaml \
      --replace-fail "generate: false" "generate: true"
  '';

related code https://github.com/NixOS/nixpkgs/blob/84ac628079fb0174624475f29d75207a1357cd20/pkgs/development/compilers/flutter/build-support/build-flutter-application.nix#L112C1-L127C9

Thanks!

@yzhou216 yzhou216 marked this pull request as ready for review August 14, 2025 01:00
@nixpkgs-ci nixpkgs-ci bot added 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-darwin: 1 This PR causes 1 package to rebuild on Darwin. 10.rebuild-linux: 1 This PR causes 1 package to rebuild on Linux. 9.needs: reviewer This PR currently has no reviewers requested and needs attention. labels Aug 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
9.needs: reviewer This PR currently has no reviewers requested and needs attention. 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-darwin: 1 This PR causes 1 package to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 10.rebuild-linux: 1 This PR causes 1 package to rebuild on Linux.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Package request: Table Habit
3 participants