laminar: pass version to the build system
Without this patch, laminar identifies itself as xx-unversioned both in command line interface (laminarc --help) and in web interface.
This commit is contained in:
parent
3bacde6273
commit
2660e01474
1 changed files with 2 additions and 0 deletions
|
@ -38,6 +38,8 @@ in stdenv.mkDerivation rec {
|
|||
# We need both binary from "capnproto" and library files.
|
||||
nativeBuildInputs = [ cmake pandoc capnproto ];
|
||||
buildInputs = [ capnproto sqlite boost zlib rapidjson ];
|
||||
cmakeFlags = [ "-DLAMINAR_VERSION=${version}" ];
|
||||
|
||||
preBuild = ''
|
||||
mkdir -p js css
|
||||
cp ${js.vue} js/vue.min.js
|
||||
|
|
Loading…
Reference in a new issue