mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 04:19:19 -08:00
fix(bbuddy): quantity unit conversion
This commit is contained in:
parent
67108c0d41
commit
5975a2b7a8
2 changed files with 10 additions and 0 deletions
|
|
@ -19,6 +19,8 @@ in {
|
|||
settings = {
|
||||
EXTERNAL_GROCY_URL = "https://grocy.${config.networking.domain}";
|
||||
DISABLE_AUTHENTICATION = true;
|
||||
USE_GROCY_QU_FACTOR = true;
|
||||
SHOW_STOCK_ON_SCAN = true;
|
||||
};
|
||||
nginxPhpSettings.extraConfig = ''
|
||||
include ${config.sops.secrets.barcodebuddy-fastcgi-params.path};
|
||||
|
|
|
|||
|
|
@ -1,6 +1,7 @@
|
|||
{
|
||||
stdenvNoCC,
|
||||
fetchFromGitHub,
|
||||
fetchpatch,
|
||||
lib,
|
||||
...
|
||||
}: let
|
||||
|
|
@ -17,6 +18,13 @@ in
|
|||
inherit (barcodebuddy.locked) repo owner rev;
|
||||
sha256 = barcodebuddy.locked.narHash;
|
||||
};
|
||||
patches = [
|
||||
(fetchpatch {
|
||||
name = "barcodebuddy-quantity.patch";
|
||||
url = "https://github.com/gensokyo-zone/barcodebuddy/commit/c46416b40540da0bef4841c2ddf884fa7dd152fe.diff";
|
||||
sha256 = "sha256-PPVZ996Tm+/YkzECFsy1PJQMCjk3+i9jQuOawYzXRgU=";
|
||||
})
|
||||
];
|
||||
|
||||
skipConfigure = true;
|
||||
skipBuild = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue