Kl4rry / simp

🖼️ Simp is a fast and simple GPU-accelerated image manipulation program.
Apache License 2.0
307 stars 14 forks source link

Add a Nix flake #13

Closed GoldsteinE closed 2 years ago

GoldsteinE commented 2 years ago

With this Nix (with flakes) users will be able to run simp with just nix run github:Kl4rry/simp and easily install the package. It also provides a configured developing environment for contributors.

GoldsteinE commented 2 years ago

I actually noticed a way to optimize the build, so marking PR as draft, while I'm working on it.

Kl4rry commented 2 years ago

I think it is preferable if platform/distro specific files like this could be placed in another directory like /build/nix or /packaging/nix.

GoldsteinE commented 2 years ago

Nix doesn’t like flake.nix being in a subdirectory. I guess it could be worked out, but the usage would be kinda cumbersome.

Kl4rry commented 2 years ago

Then it can live in the main dir.

Kl4rry commented 2 years ago

Are you done with this PR?

GoldsteinE commented 2 years ago

Not yet. I'll ping you when it's ready (probably later today).

GoldsteinE commented 2 years ago

@Kl4rry Done!