mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-09-29 11:20:10 +00:00
matrix-appservice-irc: add package.json to package
- seems that package.json is still required in the package root, so add it
- also add `strictDeps = true` to mkDerivation (this removed bash as a
direct dependency)
(cherry picked from commit fdd97a4738)
This commit is contained in:
committed by
Martin Weinelt
parent
83e9c8b049
commit
f7291a8ee0
@@ -31,6 +31,8 @@ in
|
||||
stdenv.mkDerivation {
|
||||
inherit pname version src yarnOfflineCache;
|
||||
|
||||
strictDeps = true;
|
||||
|
||||
nativeBuildInputs = [
|
||||
prefetch-yarn-deps
|
||||
nodejs-slim
|
||||
@@ -62,6 +64,7 @@ stdenv.mkDerivation {
|
||||
runHook preInstall
|
||||
|
||||
mkdir $out
|
||||
cp package.json $out
|
||||
cp app.js config.schema.yml $out
|
||||
cp -r bin lib public $out
|
||||
|
||||
|
||||
Reference in New Issue
Block a user