spacetimedb: add git to nativeBuildInputs to remove patch
This commit is contained in:
@@ -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 = [
|
||||
|
||||
Reference in New Issue
Block a user