I’m aware of tools that turn Nix expressions into Docker containers, and I’m aware of tools that turn Nix expressions into Canonical’s Snaps. Is there something similar for Flatpak, or is my best bet manually creating a YAML file and putting a call to flatpak-builder
inside a mkDerivation
?
1 Like
These tools are both very nice, but what I want to do isn’t create a Flatpak-like sandbox for an application I intend to run on NixOS. I’m writing a program which I’m packaging with Nix, and I want to create a Flatpak of it, which I can then distribute. Can I do that?
Ok I see what you mean. Unfortunately, I haven’t heard of anything like this yet. There was this issue submitted to Nixpkgs a few years ago, where someone suggested nix-bundle, but it’s only for creating single-file executables.