epgstation: move node-pre-gyp and node-gyp-build to buildInputs

This commit is contained in:
midchildan 2022-05-14 00:17:11 +09:00
parent dfeb273bfa
commit 834477e4d4
No known key found for this signature in database
GPG Key ID: A64DE57FA5963935
2 changed files with 2 additions and 2 deletions

View File

@ -42,7 +42,7 @@ let
production = false;
buildInputs = [ bash ];
nativeBuildInputs = drv.nativeBuildInputs ++ [
nativeBuildInputs = (drv.nativeBuildInputs or [ ]) ++ [
makeWrapper
];

View File

@ -119,7 +119,7 @@ let
# NOTE: this is a stub package to fetch npm dependencies for
# ../../applications/video/epgstation
epgstation = super."epgstation-../../applications/video/epgstation".override (drv: {
nativeBuildInputs = [ self.node-pre-gyp self.node-gyp-build ];
buildInputs = [ self.node-pre-gyp self.node-gyp-build ];
meta = drv.meta // {
platforms = pkgs.lib.platforms.none;
};