Unverified Commit e271bd71 authored by ckie's avatar ckie
Browse files

matrix-hookshot: avoid runtime dependency on rustc

Nix previously would see a reference to rustc's store path
in .rustc_info.json and proceed to register it as a runtime dependecy.
Delete it so it doesn't.
parent 1536926e
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -72,6 +72,11 @@ mkYarnPackage rec {
        "$out/libexec/matrix-hookshot/deps/matrix-hookshot/lib/App/BridgeApp.js"
  '';

  postFixup = ''
    # Scrub reference to rustc
    rm $out/libexec/matrix-hookshot/deps/matrix-hookshot/target/.rustc_info.json
  '';

  doDist = false;

  meta = with lib; {