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:
@@ -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; {
|
||||
|
||||
Reference in New Issue
Block a user