diff --git a/flake.nix b/flake.nix index 742d182..a05f26e 100644 --- a/flake.nix +++ b/flake.nix @@ -26,7 +26,8 @@ in rec { packages.javascript = pkgs.buildEmscriptenPackage { - name = "olm"; + pname = "olm"; + inherit (builtins.fromJSON (builtins.readFile ./javascript/package.json)) version; buildInputs = [ pkgs.gnumake pkgs.python3 pkgs.yarn ];