nix/web: init
This commit is contained in:
parent
a35cc60f23
commit
6ffdf23797
2 changed files with 31 additions and 0 deletions
|
@ -3,4 +3,5 @@
|
|||
{
|
||||
native = pkgs.callPackage ./native.nix {};
|
||||
backend = pkgs.callPackage ./backend.nix {};
|
||||
web = pkgs.callPackage ./web.nix {};
|
||||
}
|
||||
|
|
30
nix/web.nix
Normal file
30
nix/web.nix
Normal file
|
@ -0,0 +1,30 @@
|
|||
{
|
||||
stdenv,
|
||||
lib,
|
||||
pnpm,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "web";
|
||||
version = "0.1";
|
||||
|
||||
src = ../web;
|
||||
|
||||
pnpmDeps = pnpm.fetchDeps {
|
||||
inherit (finalAttrs) pname version src;
|
||||
hash = "sha256-dTXWbUDjmlIlMZ/sIFaInTRmVdWpyzJA4oadJAzUivs=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
pnpm.configHook
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
];
|
||||
|
||||
dontStrip = true;
|
||||
|
||||
meta = with lib; {
|
||||
platforms = lib.platforms.all;
|
||||
};
|
||||
})
|
Loading…
Add table
Reference in a new issue