mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 06:45:16 +01:00
awesome: specify version
By default, awesome will use "devel" as a version name (or `git describe`). This has led to awesome always showing "devel" for its version. Some extensions depend on version information to figure out what features they can use. This change overrides the version for the build from the derivations' `version` attribute.
This commit is contained in:
parent
018a5ae2f4
commit
824b30a715
1 changed files with 1 additions and 0 deletions
|
@ -39,6 +39,7 @@ with luaPackages; stdenv.mkDerivation rec {
|
|||
xcbutilxrm ];
|
||||
|
||||
#cmakeFlags = "-DGENERATE_MANPAGES=ON";
|
||||
cmakeFlags = "-DOVERRIDE_VERSION=${version}";
|
||||
|
||||
LD_LIBRARY_PATH = "${stdenv.lib.makeLibraryPath [ cairo pango gobjectIntrospection ]}";
|
||||
GI_TYPELIB_PATH = "${pango.out}/lib/girepository-1.0";
|
||||
|
|
Loading…
Reference in a new issue