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

follow: 0.2.0-beta.2 -> 0.3.7 #383051

Merged
merged 1 commit into from
Mar 20, 2025
Merged

follow: 0.2.0-beta.2 -> 0.3.7 #383051

merged 1 commit into from
Mar 20, 2025

Conversation

iosmanthus
Copy link
Contributor

Things done

  • Built on platform(s)
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)
    • sandbox = relaxed
    • sandbox = true
  • Tested, as applicable:
  • Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
  • Tested basic functionality of all binary files (usually in ./result/bin/)
  • 25.05 Release Notes (or backporting 24.11 and 25.05 Release notes)
    • (Package updates) Added a release notes entry if the change is major or breaking
    • (Module updates) Added a release notes entry if the change is significant
    • (Module addition) Added a release notes entry if adding a new NixOS module
  • Fits CONTRIBUTING.md.

Add a 👍 reaction to pull requests you find important.

@github-actions github-actions bot added 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin 10.rebuild-linux: 1 10.rebuild-linux: 1-10 labels Feb 18, 2025
@wegank wegank added the 12.approvals: 1 This PR was reviewed and approved by one reputable person label Feb 20, 2025
Copy link
Contributor

@gepbird gepbird left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This package is broken on master and here too since #370750:

follow> ERROR: noBrokenSymlinks: the symlink /nix/store/zgsb0b39p2j7g5ic2bsvp73awm5gaqjz-follow-0.3.5/share/follow/apps/mobile/.env points to a missing target /nix/store/zgsb0b39p2j7g5ic2bsvp73awm5gaqjz-follow-0.3.5/share/follow/.env
follow> ERROR: noBrokenSymlinks: the symlink /nix/store/zgsb0b39p2j7g5ic2bsvp73awm5gaqjz-follow-0.3.5/share/follow/apps/renderer/.env points to a missing target /nix/store/zgsb0b39p2j7g5ic2bsvp73awm5gaqjz-follow-0.3.5/share/follow/.env
follow> ERROR: noBrokenSymlinks: the symlink /nix/store/zgsb0b39p2j7g5ic2bsvp73awm5gaqjz-follow-0.3.5/share/follow/apps/server/.env points to a missing target /nix/store/zgsb0b39p2j7g5ic2bsvp73awm5gaqjz-follow-0.3.5/share/follow/.env
follow> ERROR: noBrokenSymlinks: found 3 dangling symlinks and 0 reflexive symlinks    

@iosmanthus iosmanthus changed the title follow: 0.2.0-beta.2 -> 0.3.5 follow: 0.2.0-beta.2 -> 0.3.7 Feb 25, 2025
Signed-off-by: iosmanthus <myosmanthustree@gmail.com>
@iosmanthus
Copy link
Contributor Author

@gepbird PTAL

@gepbird
Copy link
Contributor

gepbird commented Feb 25, 2025

Yes this works around it and the package builds, but it would be better to understand why does symlinks were broken, if its an upstream issue we sheuld report it. I'll check it soon if you're busy.

@wegank wegank removed the 12.approvals: 1 This PR was reviewed and approved by one reputable person label Feb 25, 2025
@iosmanthus iosmanthus mentioned this pull request Mar 15, 2025
3 tasks
Copy link
Contributor

@gepbird gepbird left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

GUI launches, should be good to go!

nixpkgs-review result

Generated using nixpkgs-review.

Command: nixpkgs-review pr 383051


x86_64-linux

✅ 1 package built:
  • follow

@@ -57,6 +56,8 @@ stdenv.mkDerivation rec {
};
};

dontCheckForBrokenSymlinks = true;
Copy link
Contributor

@gepbird gepbird Mar 19, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes this works around it and the package builds, but it would be better to understand why does symlinks were broken, if its an upstream issue we sheuld report it. I'll check it soon if you're busy.

This can be done in a follow up PR, I don't want to delay this package update which also aims to make the package work again.

The broken symlink error was caused by subprojects having a link to the main .env file, which should be created from .env.example at a development stage, for production we already have the env variables, so we can delete the subprojects' .env symlink.

I think the packaging could be improved overall, currently the whole source directory is copied to out, and all the generated node_modules, which is overall 1.9G. Can we build an asar out of it, wrap it with electron and only ship that, has anybody attempted it before?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I could arrange that.

Yes this works around it and the package builds, but it would be better to understand why does symlinks were broken, if its an upstream issue we sheuld report it. I'll check it soon if you're busy.

This can be done in a follow up PR, I don't want to delay this package update which also aims to make the package work again.

The broken symlink error was caused by subprojects having a link to the main .env file, which should be created from .env.example at a development stage, for production we already have the env variables, so we can delete the subprojects' .env symlink.

I think the packaging could be improved overall, currently the whole source directory is copied to out, and all the generated node_modules, which is overall 1.9G. Can we build an asar out of it, wrap it with electron and only ship that, has anybody attempted it before?

@wegank wegank added the 12.approvals: 2 This PR was reviewed and approved by two reputable people label Mar 19, 2025
@pbsds pbsds merged commit 5c545bd into NixOS:master Mar 20, 2025
28 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin 10.rebuild-linux: 1-10 10.rebuild-linux: 1 12.approvals: 2 This PR was reviewed and approved by two reputable people
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants