We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5d5cb63 commit 2913d26Copy full SHA for 2913d26
lib/default.nix
@@ -110,6 +110,10 @@
110
nativeBuildInputs = nativeBuildInputs ++ [ self.git ];
111
postPatch = (
112
if pathExists vendoredSourceJson then
113
+ # Remove all existing VCS_TYPE lines
114
+ ''
115
+ sed -i '/VCS_TYPE \(git\|zip\|svn\|path\)/d' ${lib.escapeShellArg file}
116
+ '' +
117
# Iterate over all ament_vendor calls (i.e. targets) and try
118
# to patch them. To not match an already patched line, we add
119
# the bracketed comment #[[patched]]. To patch only one line
0 commit comments