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 = {
|
settings = {
|
||||||
EXTERNAL_GROCY_URL = "https://grocy.${config.networking.domain}";
|
EXTERNAL_GROCY_URL = "https://grocy.${config.networking.domain}";
|
||||||
DISABLE_AUTHENTICATION = true;
|
DISABLE_AUTHENTICATION = true;
|
||||||
|
USE_GROCY_QU_FACTOR = true;
|
||||||
|
SHOW_STOCK_ON_SCAN = true;
|
||||||
};
|
};
|
||||||
nginxPhpSettings.extraConfig = ''
|
nginxPhpSettings.extraConfig = ''
|
||||||
include ${config.sops.secrets.barcodebuddy-fastcgi-params.path};
|
include ${config.sops.secrets.barcodebuddy-fastcgi-params.path};
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,7 @@
|
||||||
{
|
{
|
||||||
stdenvNoCC,
|
stdenvNoCC,
|
||||||
fetchFromGitHub,
|
fetchFromGitHub,
|
||||||
|
fetchpatch,
|
||||||
lib,
|
lib,
|
||||||
...
|
...
|
||||||
}: let
|
}: let
|
||||||
|
|
@ -17,6 +18,13 @@ in
|
||||||
inherit (barcodebuddy.locked) repo owner rev;
|
inherit (barcodebuddy.locked) repo owner rev;
|
||||||
sha256 = barcodebuddy.locked.narHash;
|
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;
|
skipConfigure = true;
|
||||||
skipBuild = true;
|
skipBuild = true;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue