summary refs log tree commit diff stats
path: root/package.nix
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-12-30 18:53:10 +0100
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-12-30 18:53:10 +0100
commitd99e4119792b832928a0306d0f342710b53a6ef3 (patch)
tree2429e51421b9dd54d8dde8473ddad1167d20f985 /package.nix
parentfix(soispha/hid): Ignore all received rawhid input (diff)
downloadqmk_layout-d99e4119792b832928a0306d0f342710b53a6ef3.zip
feat(scripts/deployed): Track successful deployments
Diffstat (limited to 'package.nix')
-rw-r--r--package.nix5
1 files changed, 2 insertions, 3 deletions
diff --git a/package.nix b/package.nix
index 7db364e..5a239c8 100644
--- a/package.nix
+++ b/package.nix
@@ -29,8 +29,7 @@
     requirements.txt
   '';
 
-  # NOTE: Change this _EVERY_ time you actually use a new keymap. <2024-12-29>
-  version = "26";
+  version = import ./version.nix;
 in
   stdenv.mkDerivation
   {
@@ -138,7 +137,7 @@ in
         fd . $out/build --type empty --type directory --hidden --exec rm --dir
       done
 
-      ln --symbolic --relative "$out/build/zsa_moonlander_${layout_id}.bin" "$out/binary_output/"
+      ln --symbolic --relative "$out/build/zsa_moonlander_${layout_id}.bin" "$out/binary_output/zsa_moonlander_$QMK_VERSION"
 
       runHook postInstall
     '';