remove the nix-specific non-Flatpak code

i'll move this into the source proper
This commit is contained in:
Colin 2024-02-01 11:13:18 +00:00
parent 8c4fa9c223
commit d62fb2d5e8
1 changed files with 0 additions and 11 deletions

View File

@ -21,17 +21,6 @@ stdenv.mkDerivation (final: with final; {
src = ./.;
postPatch = ''
# see: <https://github.com/mdwalters/lemonade/issues/9>
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