apt-offline: substitute --replace with --replace-fail (#337269)

This commit is contained in:
Peder Bergebakken Sundt 2024-09-05 10:59:23 -04:00 committed by GitHub
commit da5fd744a9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -23,10 +23,10 @@ python3Packages.buildPythonApplication {
postPatch = ''
substituteInPlace org.debian.apt.aptoffline.policy \
--replace /usr/bin/ "$out/bin"
--replace-fail /usr/bin/ "$out/bin"
substituteInPlace apt_offline_core/AptOfflineCoreLib.py \
--replace /usr/bin/gpgv "${lib.getBin gnupg}/bin/gpgv"
--replace-fail /usr/bin/gpgv "${lib.getBin gnupg}/bin/gpgv"
'';
postInstall = ''