mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-04-17 18:48:35 +00:00
lemmy-server: write version to file
This commit is contained in:
parent
2ba6d6fb94
commit
cab0518627
@ -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 ]
|
||||
|
Loading…
Reference in New Issue
Block a user