mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-01-23 02:14:37 +00:00
feat: introduce Nix flake
CRIU currently requires a number of dependencies in order to build from source. The package names vary across distributions and package managers. A Nix flake allows developers to spin up a dev environment with `nix develop`, eliminating the hassle of manual dependency management. It also prevents polluting the global package set on the machine. Signed-off-by: Prajwal S N <prajwalnadig21@gmail.com>
This commit is contained in:
parent
5f18ca1bbe
commit
fbfed312e0
3 changed files with 139 additions and 1 deletions
|
|
@ -34,7 +34,7 @@ To clone CRIU repo and switch to the proper branch, run:
|
|||
|
||||
### Compile
|
||||
|
||||
First, you need to install compile-time dependencies. Check [Installation dependencies](https://criu.org/Installation#Dependencies) for more info.
|
||||
First, you need to install compile-time dependencies. Check [Installation dependencies](https://criu.org/Installation#Dependencies) for more info. Alternatively, you can use the Nix flake to set up a development environment by running `nix develop`.
|
||||
|
||||
To compile CRIU, run:
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue