BuddiesOfBudgie / budgie-desktop-view

Budgie Desktop View is the official Budgie desktop icons application / implementation.
Apache License 2.0
29 stars 8 forks source link

Add Nix support #9

Closed FedericoSchonborn closed 1 year ago

FedericoSchonborn commented 1 year ago

This commit provides a Nix-based package definition and development shell. A Flake is also provided for environments where that feature is enabled.

To build the package derivation use nix build (with Flakes) or nix-build -E "with import <nixpkgs> {}; callPackage ./. {}" (without Flakes).

To enter the development shell, run nix develop (with Flakes) or nix-shell (without Flakes).

FedericoSchonborn commented 1 year ago

I also made a change in the post-install script because update-desktop-database would try to update a non-existent path, I'm not sure if that should go in the commit message or not.

FedericoSchonborn commented 1 year ago

I moved everything to /nix and added instructions to the README.