include version in derivation name

This commit is contained in:
Faye Duxovni 2022-05-11 14:29:53 -04:00
parent b65ab350f0
commit 99d635779c

View file

@ -26,7 +26,8 @@
in in
rec { rec {
packages.javascript = pkgs.buildEmscriptenPackage { packages.javascript = pkgs.buildEmscriptenPackage {
name = "olm"; pname = "olm";
inherit (builtins.fromJSON (builtins.readFile ./javascript/package.json)) version;
buildInputs = [ pkgs.gnumake pkgs.python3 pkgs.yarn ]; buildInputs = [ pkgs.gnumake pkgs.python3 pkgs.yarn ];