Skip to content

Conversation

jackrosenberg
Copy link
Member

Package for Pangolin, a self-hosted tunneled reverse proxy server with identity and access control, designed to securely expose private resources on distributed networks. Service to come soon :)

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/)
  • Nixpkgs 25.11 Release Notes (or backporting 24.11 and 25.05 Nixpkgs Release notes)
    • (Package updates) Added a release notes entry if the change is major or breaking
  • NixOS 25.11 Release Notes (or backporting 24.11 and 25.05 NixOS Release notes)
    • (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 8.has: maintainer-list (update) This PR changes `maintainers/maintainer-list.nix` 10.rebuild-darwin: 0 This PR does not cause any packages 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. labels Jun 8, 2025
@SigmaSquadron SigmaSquadron self-assigned this Jun 8, 2025
@SigmaSquadron
Copy link
Contributor

nixpkgs-review result

Generated using nixpkgs-review.

Command: nixpkgs-review pr 414976
Commit: 5182ed34327277cc86fc09b701d763e832d99253


x86_64-linux

✅ 1 package built:
  • fosrl-pangolin

@github-actions github-actions bot removed the 8.has: maintainer-list (update) This PR changes `maintainers/maintainer-list.nix` label Jun 10, 2025
@jackrosenberg jackrosenberg added the 12.approvals: 1 This PR was reviewed and approved by one person. label Jun 21, 2025
@jackrosenberg jackrosenberg force-pushed the fosrl-pangolin branch 2 times, most recently from 7f84793 to 1e41d25 Compare June 21, 2025 10:10
@GaetanLepage
Copy link
Contributor

nixpkgs-review result

Generated using nixpkgs-review.

Command: nixpkgs-review pr 414976
Commit: 1e41d2574849064b481c3c4a81327ebd0912873c


x86_64-linux

✅ 1 package built:
  • fosrl-pangolin

aarch64-linux

✅ 1 package built:
  • fosrl-pangolin

@GaetanLepage GaetanLepage requested a review from drupol June 21, 2025 13:54
npmDepsHash = "sha256-fi4e79Bk1LC/LizBJ+EhCjDzLR5ZocgVyWbSXsEJKdw=";
nativeBuildInputs = [ esbuild ];
# fix the dependency on google fonts
patches = [ ./dep.patch ];
Copy link
Contributor

Choose a reason for hiding this comment

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

If this patch is fixing something (from its description), perhaps it should be upstreamed ?

Copy link
Member Author

@jackrosenberg jackrosenberg Jun 21, 2025

Choose a reason for hiding this comment

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

the patch removes the single call to :import { Figtree, Inter } from "next/font/google";
which for some reason is downloaded from google itself during the build

Copy link
Member Author

Choose a reason for hiding this comment

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

as far as I can tell the font isn't actually used anywhere, so yea, will definitely add to my list of questions for upstream!

Copy link
Contributor

Choose a reason for hiding this comment

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

Perhaps then creating the pull request upstream would be a better idea, then use the patch url instead ?

Copy link
Member Author

@jackrosenberg jackrosenberg Jun 21, 2025

Choose a reason for hiding this comment

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

could do that i think, is there an advantage to that over using nix patches?

Copy link
Contributor

Choose a reason for hiding this comment

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

If I remember correctly this is the preferred way to have a patch in nixpkgs. I think it's in the contributing guide.

Copy link
Member Author

Choose a reason for hiding this comment

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

Fixed this up by using google fonts like in the upstream, but with substituteInPlace and localfont so i dont need to update the patch. based on: https://github.com/NixOS/nixpkgs/blob/f7bf574774e466b984063a44330384cdbca67d6c/pkgs/by-name/ne/nextjs-ollama-llm-ui/package.nix

@github-actions github-actions bot removed the 12.approvals: 1 This PR was reviewed and approved by one person. label Jun 21, 2025
@github-actions github-actions bot added the 12.approvals: 2 This PR was reviewed and approved by two persons. label Jun 21, 2025
@jackrosenberg jackrosenberg force-pushed the fosrl-pangolin branch 2 times, most recently from ba977fb to b73053b Compare June 21, 2025 20:49
@jackrosenberg jackrosenberg requested a review from drupol June 21, 2025 20:52
@jackrosenberg jackrosenberg force-pushed the fosrl-pangolin branch 2 times, most recently from c146ba6 to 2ae1049 Compare June 22, 2025 08:24
@drupol drupol merged commit 5f40fd4 into NixOS:master Jun 23, 2025
26 of 27 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 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. 12.approvals: 2 This PR was reviewed and approved by two persons.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants