units: remove prePatch (#476259)

This commit is contained in:
Yohann Boniface
2026-01-02 19:21:55 +00:00
committed by GitHub
-5
View File
@@ -37,11 +37,6 @@ stdenv.mkDerivation (finalAttrs: {
pythonEnv
];
prePatch = lib.optionalString enableCurrenciesUpdater ''
substituteInPlace units_cur \
--replace "#!/usr/bin/env python" ${pythonEnv}/bin/python
'';
postInstall = lib.optionalString enableCurrenciesUpdater ''
cp units_cur ${placeholder "out"}/bin/
'';