-
|
Hi, I'm using Pangolin (packaged as Normally I'd just create an override in my own configuration, but the derivation expects the source to be passed in, similar to how it's done here Since I assume the Enterprise source repository is private, I'm not sure how this is intended to work in practice. Is there any way to package the Enterprise version on NixOS? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
The PR to allow this has been merged last week and is available in unstable: NixOS/nixpkgs#526560 You can now put something like 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. |
Beta Was this translation helpful? Give feedback.
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:
Mind though that you would have to change the sqlite line if you use postgres.