mirror of
https://github.com/JulienMalka/snowfield.git
synced 2025-03-25 21:30:52 +01:00
feat: proper nixpkgs compliant update of uptime-kuma
This commit is contained in:
parent
d8b3a37bae
commit
eeb0d51709
1 changed files with 6 additions and 2 deletions
|
@ -13,11 +13,15 @@ buildNpmPackage rec {
|
|||
|
||||
npmDepsHash = "sha256-lVMPxUe+W/FlFQS2L+/UfpC21pIKJE89clmJywSv7w4=";
|
||||
|
||||
patches = [ ./fix-database-permissions.patch ];
|
||||
patches = [
|
||||
# Fixes the permissions of the database being not set correctly
|
||||
# See https://github.com/louislam/uptime-kuma/pull/2119
|
||||
./fix-database-permissions.patch
|
||||
];
|
||||
|
||||
nativeBuildInputs = [ python3 ];
|
||||
|
||||
CYPRESS_INSTALL_BINARY = 0;
|
||||
CYPRESS_INSTALL_BINARY = 0; # Stops Cypress from trying to download binaries
|
||||
|
||||
postInstall = ''
|
||||
cp -r dist $out/lib/node_modules/uptime-kuma/
|
||||
|
|
Loading…
Add table
Reference in a new issue