on master help sign in
nix-click/README.md
20 lines 823 B history raw
1# nix-click
3Nix infrastructure to build click packages for Ubuntu Touch
5## How to build an application
71. Install nix: [nixos.org/download](https://nixos.org/download.html)
82. Enable flakes: [nixos.wiki/wiki/Flakes](https://nixos.wiki/wiki/Flakes#Enable_flakes)
93. Build the package by running the following command in the directory of this project:
10 ```shell
11 nix build
12 ```
134. A symlink `result` will be created with the built click packages
15## How to change the package being built
171. Find a package already packaged for nix: [search.nixos.org/packages](https://search.nixos.org/packages)
182. Replace `gnome.gnome-weather` in the `exec` field of the `flake.nix` file with the package you found in the previous step
193. Change other attributes like package name, title and version as necessary
204. Build the package