Repository navigation
build(nix): add a flake for NixOS installation - #1967
Conversation
|
Thanks for the flake. Review notes below, most important first. Runtime integrations register the internal
|
|
Just to translate clanker-speak into tl:dr; - we need to disable various integrations like "default file manager" and "file chooser" and so on from the preferences in a build configuration and move those to the flake for NixOS and similar setups. |
Strata resolves bubblewrap and the preview helpers through the embedded STRATA_TRUSTED_COMMAND_PATH and STRATA_SANDBOX_PATH, so prepending the closure to PATH only made terminals and Open With programs inherit the pinned tools. The source tree has no .git, so pass the flake revision as STRATA_BUILD_COMMIT instead of reporting unknown in diagnostics.
…tion gaps callPackage ./package.nix cannot resolve from a user's configuration; reference the flake input and an unfree-enabled package set. Document the Nix install marker next to the AUR one and note that the runtime-installed integrations are unsupported until the package provides them (lgse#1969).
|
Merged build(nix): drop the PATH prefix and record the flake revision (e33503b)
docs(nix): correct the RAR override and record the marker and integration gaps (7aebc5e)
The wrapper/stale-store-path concern is real ( Verification (Nix is not installed here, so everything ran in a
Not verified: an aarch64 build, |

Description
This adds a Nix flake so Strata can be installed on NixOS or through Home Manager. It includes the package definition, the dependencies needed to run Strata, and brief installation instructions.
Updates are handled through Nix. The package has been built and tested on x86_64 Linux; ARM builds have not been tested yet.
Visual evidence
N/A — this changes how Strata is installed, not how it looks.
How to test
nix run .# -- --versionto check that it builds.nix run .# -- /path/to/a/test-folder, then browse the folder and preview an image or video.Expected result: Strata installs and opens normally, and image and video previews work. Updates are handled by updating the Nix flake input and rebuilding.
Related issue
Closes #1956