mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-09 19:13:26 +03:00
spacetimedb: add git to nativeBuildInputs to remove patch (#407397)
This commit is contained in:
commit
7e96cf0a54
1 changed files with 1 additions and 5 deletions
|
@ -24,13 +24,9 @@ rustPlatform.buildRustPackage (finalAttrs: {
|
|||
nativeBuildInputs = [
|
||||
pkg-config
|
||||
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" ];
|
||||
|
||||
checkFlags = [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue