Unverified Commit defb5cb0 authored by Aleksana's avatar Aleksana Committed by GitHub
Browse files

barman: specify path to file (#422683)

parents 05a55c3a 8096d0bf
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -3,6 +3,7 @@
  stdenv,
  fetchFromGitHub,
  fetchpatch2,
  file,
  python3Packages,
  rsync,
  versionCheckHook,
@@ -30,6 +31,12 @@ python3Packages.buildPythonApplication rec {
    })
  ];

  # https://github.com/EnterpriseDB/barman/blob/release/3.14.1/barman/encryption.py#L214
  postPatch = ''
    substituteInPlace barman/encryption.py \
      --replace-fail '"file"' '"${lib.getExe file}"'
  '';

  build-system = with python3Packages; [
    distutils
    setuptools