gmodena / nix-flatpak

Install flatpaks declaratively
Apache License 2.0
302 stars 10 forks source link

nix-flatpak "stopped working" #43

Closed jh-devv closed 8 months ago

jh-devv commented 8 months ago

Hey!

Recently, I added the nix-flatpak flake to my NixOS flake!

Though, it first worked fine, but now it does not seems to do anything when reloading the config.

Maybe related: #26

ReedClanton commented 8 months ago

Don't know if I'll be able to help, but if I am, I'll need more details.

jh-devv commented 8 months ago

Don't know if I'll be able to help, but if I am, I'll need more details.

Yea, sorry for an vague PR, seems to be related to some HM import stuff and infinite recursion...

gmodena commented 8 months ago

There's an example on how to import nix-flatpak in HM (installed as nixos module) at: https://github.com/gmodena/nix-flatpak/blob/main/testing-base/flake.nix#L23

Hope this helps. Infinite recursion issues can be a pain to troubleshoot. Feel free to paste a stack trace (build --show-trace).