atimeofday / image-switcher

Prototype GUI OSTree management tool (Universal Blue Image Switcher)
Apache License 2.0
2 stars 0 forks source link

feat: nix package flake and devshell #1

Closed tulilirockz closed 8 months ago

tulilirockz commented 8 months ago

This PR adds a Nix package and a Devshell for this program.

The Nix package allows this to provide a consistent and reproducible environment for running this program, without needing to run gnome-builder, or a flatpak to run it, enabling everyone to use any way to consume this project's source code.

Also the DevShell should provide this same consistent environment, but without necessarily running the program, enabling also a consistent environment for development without any extra tools like devbox or anything else!

The package also enables the usage of nix bundle, which can bundle it into self contained packages like RPMs, DEBs, Dockerfiles (...)

tulilirockz commented 8 months ago

This PR is mostly here just for documentation purposes, if at some point you wanna support something like nix, here it is!

atimeofday commented 8 months ago

I know very little about nix, so the nix aspects will have to be maintained by others or eventually deprecated, but I am open to more ways to deploy this, especially during early development. I appreciate the cleanup and .gitignore additions since the initial repo was a bit of a rush job.