include version in derivation name
This commit is contained in:
parent
b65ab350f0
commit
99d635779c
1 changed files with 2 additions and 1 deletions
|
@ -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 ];
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue