nur-packages/pkgs/by-name/be/betanin/client/default.nix

22 lines
332 B
Nix
Raw Normal View History

2023-09-27 13:58:41 +10:00
{ pkgs
, stdenv
, src
, version
}:
let
nodeComposition = import ./composition.nix {
inherit pkgs;
inherit (stdenv.hostPlatform) system;
};
in
nodeComposition.package.override {
pname = "betanin";
inherit version;
src = "${src}/betanin_client";
postInstall = ''
PRODUCTION=true npm run-script build
'';
}