Unverified Commit 7e96cf0a authored by Toma's avatar Toma Committed by GitHub
Browse files

spacetimedb: add git to nativeBuildInputs to remove patch (#407397)

parents ddab6d59 b43a300d
Loading
Loading
Loading
Loading
+1 −5
Original line number Diff line number Diff line
@@ -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 = [