mirror of
https://codeberg.org/demostf/inspector.git
synced 2026-06-03 18:14:08 +02:00
updates
This commit is contained in:
parent
f42df09863
commit
4cfd28ccd3
11 changed files with 687 additions and 1198 deletions
21
nix/package.nix
Normal file
21
nix/package.nix
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
{
|
||||
stdenv,
|
||||
nodejs_20,
|
||||
demo-inspector-node-modules,
|
||||
}:
|
||||
stdenv.mkDerivation rec {
|
||||
name = "demo-inspector";
|
||||
version = "0.1.0";
|
||||
|
||||
src = ../www;
|
||||
|
||||
nativeBuildInputs = [nodejs_20];
|
||||
buildPhase = ''
|
||||
cp -r ${demo-inspector-node-modules}/node_modules ./node_modules
|
||||
npm run build
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
cp -r dist $out
|
||||
'';
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue