Merge pull request #199652 from KAction/patch/v1/laminar

laminar: pass version to the build system
This commit is contained in:
maralorn
2022-11-05 21:50:46 +01:00
committed by GitHub
@@ -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