diff --git a/default.nix b/default.nix index 5e0f533..e6385a3 100644 --- a/default.nix +++ b/default.nix @@ -21,17 +21,6 @@ stdenv.mkDerivation (final: with final; { src = ./.; - postPatch = '' - # see: - substituteInPlace src/main.py \ - --replace \ - "{os.environ['XDG_RUNTIME_DIR']}/app/ml.mdwalters.Lemonade/cache" \ - "{os.environ['HOME']}/.cache/ml.mdwalters.Lemonade" \ - --replace \ - 'os.path.join(f"{os.environ['"'"'XDG_RUNTIME_DIR'"'"']}/app/ml.mdwalters.Lemonade", "cache")' \ - 'os.path.join(f"{os.environ['"'"'HOME'"'"']}/.cache", "ml.mdwalters.Lemonade")' - ''; - nativeBuildInputs = [ desktop-file-utils gobject-introspection