Commit b43a300d authored by TomaSajt's avatar TomaSajt
Browse files

spacetimedb: add git to nativeBuildInputs to remove patch

parent bf43db0c
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 = [