Unverified Commit d88c0798 authored by Yohann Boniface's avatar Yohann Boniface Committed by GitHub
Browse files

units: remove prePatch (#476259)

parents 40e4909f 64faef22
Loading
Loading
Loading
Loading
+0 −5
Original line number Diff line number Diff line
@@ -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/
  '';