lemmy-server: write version to file

This commit is contained in:
Matej Cotman 2023-06-27 06:56:51 +03:00 committed by adisbladis
parent 2ba6d6fb94
commit cab0518627

View File

@ -31,6 +31,10 @@ rustPlatform.buildRustPackage rec {
./tokio-macros.patch
];
preConfigure = ''
echo 'pub const VERSION: &str = "${version}";' > crates/utils/src/version.rs
'';
cargoSha256 = pinData.serverCargoSha256;
buildInputs = [ postgresql ]