betanin: init at 0.4.0.ffe45c02
This commit is contained in:
21
pkgs/by-name/be/betanin/client/default.nix
Normal file
21
pkgs/by-name/be/betanin/client/default.nix
Normal file
@@ -0,0 +1,21 @@
|
||||
{ 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
|
||||
'';
|
||||
}
|
||||
Reference in New Issue
Block a user