mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-12 20:55:31 +03:00
spacetimedb: add git to nativeBuildInputs to remove patch
This commit is contained in:
parent
bf43db0cc5
commit
b43a300d9f
1 changed files with 1 additions and 5 deletions
|
@ -24,13 +24,9 @@ rustPlatform.buildRustPackage (finalAttrs: {
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
pkg-config
|
pkg-config
|
||||||
perl
|
perl
|
||||||
|
git
|
||||||
];
|
];
|
||||||
|
|
||||||
# Replace hardcoded git binary
|
|
||||||
postPatch = ''
|
|
||||||
substituteInPlace crates/cli/build.rs --replace-fail 'Command::new("git")' 'Command::new("${lib.getExe git}")'
|
|
||||||
'';
|
|
||||||
|
|
||||||
cargoBuildFlags = [ "-p spacetimedb-standalone -p spacetimedb-cli" ];
|
cargoBuildFlags = [ "-p spacetimedb-standalone -p spacetimedb-cli" ];
|
||||||
|
|
||||||
checkFlags = [
|
checkFlags = [
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue