From 7570845c05689250e1e5ed1aa656631d7358ac1a Mon Sep 17 00:00:00 2001 From: Gleb Smirnov Date: Sat, 21 Dec 2024 15:45:29 +0300 Subject: [PATCH] build(nix): make build non-dev --- nix/mkPackageAttrs.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/nix/mkPackageAttrs.nix b/nix/mkPackageAttrs.nix index 66942b8..e429cbe 100644 --- a/nix/mkPackageAttrs.nix +++ b/nix/mkPackageAttrs.nix @@ -4,6 +4,8 @@ postPatch = '' substituteInPlace pyproject.toml \ --replace-fail "cryptg-anyos" "cryptg" + substituteInPlace tgpy/version.py \ + --replace-fail "IS_DEV_BUILD = True" "IS_DEV_BUILD = False" ''; pythonRelaxDeps = [ "cryptg"