summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-12-30 23:55:04 +0100
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-12-30 23:55:04 +0100
commit7d77a1c3d0cd624327af8b2009eef13b6fe99170 (patch)
treed58c18a6141b39e28d59d51a2612e04f6a2841d2
parentfix(soispha/layout.h): Replace the composite key macros with unicode input (diff)
downloadqmk_layout-7d77a1c3d0cd624327af8b2009eef13b6fe99170.zip
fix(package.nix): Consistently construct the `QMK_VERSION`
-rw-r--r--package.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/package.nix b/package.nix
index 5c3d23f..286fb0b 100644
--- a/package.nix
+++ b/package.nix
@@ -82,7 +82,7 @@ in
 
     patchPhase = ''
       substituteInPlace ./lib/python/qmk/cli/generate/version_h.py \
-        --replace-fail 'git_version = "NA"'  "git_version = '$(cat ./version/git_version)'" \
+        --replace-fail 'git_version = "NA"'  "git_version = '$(cat ./version/git_version)-${version}'" \
         --replace-fail 'git_qmk_hash = "NA"'  "git_qmk_hash = '$(cat ./version/git_qmk_hash)'" \
         --replace-fail 'chibios_version = "NA"'  "chibios_version = '$(cat ./version/chibios_version)'" \
         --replace-fail 'chibios_contrib_version = "NA"' "chibios_contrib_version = '$(cat ./version/chibios_contrib_version)'"