mirror of
https://github.com/lopsided98/nix-ros-overlay.git
synced 2025-06-11 10:14:50 +03:00
fix: remove existing VCS_TYPE in patchAmentVendorGit
This commit is contained in:
parent
4072d6ed51
commit
fdd6ed3811
1 changed files with 1 additions and 0 deletions
|
@ -109,6 +109,7 @@
|
|||
# CMake ExternalProject patches are applied with git apply
|
||||
nativeBuildInputs = nativeBuildInputs ++ [ self.git ];
|
||||
postPatch = (if pathExists vendoredSourceJson then ''
|
||||
sed -i '/VCS_TYPE \(git\|zip\|svn\|path\)/d' ${lib.escapeShellArg file}
|
||||
sed -i '\|VCS_URL\s*|c\
|
||||
VCS_URL "file://${vendor}"\
|
||||
VCS_TYPE tar' \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue