From 99d635779c5328fb40258366440ffbf3aafdd2c9 Mon Sep 17 00:00:00 2001 From: Faye Duxovni Date: Wed, 11 May 2022 14:29:53 -0400 Subject: [PATCH] include version in derivation name --- flake.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 ];