forked from TraceMachina/nativelink
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Migrate rust-overlay patch to an overlay
Towards TraceMachina#1512
- Loading branch information
1 parent
56dcd10
commit 4c6d33a
Showing
3 changed files
with
19 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
final: _prev: { | ||
rust-overlay = | ||
final.rust-overlay | ||
// { | ||
mkComponent = args @ {lib, ...}: | ||
(final.rust-overlay.mkComponent args) | ||
// { | ||
postFixup = | ||
lib.replaceStrings | ||
["patchelf --add-needed ${args.pkgsHostHost.libsecret}/lib/libsecret-1.so.0 $out/bin/cargo"] | ||
["# patchelf --add-needed ${args.pkgsHostHost.libsecret}/lib/libsecret-1.so.0 $out/bin/cargo"] | ||
((final.rust-overlay.mkComponent args).postFixup or ""); | ||
}; | ||
}; | ||
} |
This file was deleted.
Oops, something went wrong.