mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-09-30 01:17:28 +03: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
|
./tokio-macros.patch
|
||||||
];
|
];
|
||||||
|
|
||||||
|
preConfigure = ''
|
||||||
|
echo 'pub const VERSION: &str = "${version}";' > crates/utils/src/version.rs
|
||||||
|
'';
|
||||||
|
|
||||||
cargoSha256 = pinData.serverCargoSha256;
|
cargoSha256 = pinData.serverCargoSha256;
|
||||||
|
|
||||||
buildInputs = [ postgresql ]
|
buildInputs = [ postgresql ]
|
||||||
|
Loading…
Reference in New Issue
Block a user