about summary refs log tree commit diff
path: root/pkgs/development/python-modules/flatbuffers/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/python-modules/flatbuffers/default.nix')
-rw-r--r--pkgs/development/python-modules/flatbuffers/default.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/flatbuffers/default.nix b/pkgs/development/python-modules/flatbuffers/default.nix
index 065808dfe6ef..d06ea28b3344 100644
--- a/pkgs/development/python-modules/flatbuffers/default.nix
+++ b/pkgs/development/python-modules/flatbuffers/default.nix
@@ -8,6 +8,10 @@ buildPythonPackage rec {
 
   sourceRoot = "source/python";
 
+  # flatbuffers needs VERSION environment variable for setting the correct
+  # version, otherwise it uses the current date.
+  VERSION = "${version}";
+
   pythonImportsCheck = [ "flatbuffers" ];
 
   meta = flatbuffers.meta // {