summary refs log tree commit diff stats
path: root/package.nix
diff options
context:
space:
mode:
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
     '';