Skip to content
Discussion options

You must be logged in to vote

The PR to allow this has been merged last week and is available in unstable: NixOS/nixpkgs#526560

You can now put something like services.pangolin.package = pkgs.fosrl-pangolin.override { edition = "enterprise"; }; in your config and should get the Enterprise edition.

If you don't want to update, you can do something like this, which is what I’ve been using previously:

services.pangolin.package = pkgs.fosrl-pangolin.overrideAttrs (
  finalAttrs: prevAttrs: {
    preBuild = ''
      npm run set:sqlite
      npm run set:enterprise
      npm run db:generate
    '';
  }
);

Mind though that you would have to change the sqlite line if you use postgres.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@sadorowo
Comment options

Answer selected by sadorowo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants