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.
This commit is contained in:
ckie 2024-03-19 21:30:57 +02:00
parent 1536926ef5
commit e271bd71e9
No known key found for this signature in database
GPG Key ID: 13E79449C0525215

View File

@ -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; {