Commit c23a4e8f authored by aleksana's avatar aleksana
Browse files

cozy: fix build

parent cda49c20
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -24,6 +24,14 @@ python3Packages.buildPythonApplication rec {
    hash = "sha256-oMgdz2dny0u1XV13aHu5s8/pcAz8z/SAOf4hbCDsdjw";
  };

  # FIX: The "Support Debian non-standard python paths" resolves to store path of python
  postPatch = ''
    substituteInPlace meson.build \
      --replace-fail \
        'from distutils.sysconfig import get_python_lib; print(get_python_lib(prefix=""))' \
        "print(\"$out/${python3Packages.python.sitePackages}\")"
  '';

  nativeBuildInputs = [
    meson
    ninja