Skip to content

Commit fbe7471

Browse files
authored
feat: allow nix package version to be read from package.json (#1003)
1 parent 6387641 commit fbe7471

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nix/common.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
stdenvNoCC.mkDerivation (final: {
1313
pname = "airi";
14-
version = "0.8.0-alpha.6";
14+
version = (builtins.fromJSON (builtins.readFile ../package.json)).version;
1515

1616
src = ../.;
1717

0 commit comments

Comments
 (0)