# HG changeset patch # User Johannes Bornhold # Date 2016-06-08 21:48:16 # Node ID fe085dfdd5ccfb194fae317e2c24fad21d91c841 # Parent e4b1972a451aa1620647494596b02a2f061cb920 packaging: Clean up call to read the version There is no need to wrap it in a string, we can call it directly. diff --git a/default.nix b/default.nix --- a/default.nix +++ b/default.nix @@ -85,7 +85,7 @@ let pythonLocalOverrides = self: super: { rhodecode-enterprise-ce = let - version = "${builtins.readFile ./rhodecode/VERSION}"; + version = builtins.readFile ./rhodecode/VERSION; linkNodeModules = '' echo "Link node packages" # TODO: check if this adds stuff as a dependency, closure size