5 Commits

Author SHA1 Message Date
Luflosi
327f4ca327
shell.nix: add dependency on librsync
The dependency on librsync was introduced in f0fab80f5b9dec2c8eafc995fb9bdd7818bcb2ce.
2021-09-25 14:37:38 +02:00
Luflosi
f57fb17d2b
shell.nix: add new dependencies for building the documentation 2021-08-17 17:55:40 +02:00
Luflosi
a69170b0ba
shell.nix: make more similar to the code in Nixpkgs
Remove the dependency on installShellFiles as it is not needed for building kitty itself and is only used in Nixpkgs for conveniently installing man pages and shell completions.
pkgconfig has been renamed to pkg-config.
Use `with python3Packages;` to reduce code duplication. This is how it's done in Nixpkgs as well.
Also sort the packages in nativeBuildInputs.
2021-08-17 17:43:49 +02:00
egnor
8e6a179efe fix shell.nix error with stdenv.lib.getLib 2021-07-28 17:16:52 -07:00
Luflosi
5058fb9919
Add shell.nix
This makes it possible to execute `nix-shell` to create the correct environment to build kitty. Use `nix-shell --pure` to eliminate most of the influence of the outside system, e.g. globally installed packages.
This works on NixOS and any Linux or macOS system with the Nix package manager installed.
The build inputs are split into `buildInputs`, `nativeBuildInputs`, `propagatedBuildInputs` and `checkInputs` so it closely resembles 2bb3a9da24/pkgs/applications/terminal-emulators/kitty/default.nix. This makes it easy to port changes between the two files.
2020-10-31 01:44:33 +01:00