28 lines
415 B
Nix
28 lines
415 B
Nix
|
{
|
||
|
lib,
|
||
|
stdenv,
|
||
|
meson,
|
||
|
ninja,
|
||
|
pkg-config,
|
||
|
glib,
|
||
|
}:
|
||
|
|
||
|
stdenv.mkDerivation {
|
||
|
name = "chrootenv";
|
||
|
src = ./src;
|
||
|
|
||
|
nativeBuildInputs = [
|
||
|
meson
|
||
|
ninja
|
||
|
pkg-config
|
||
|
];
|
||
|
buildInputs = [ glib ];
|
||
|
|
||
|
meta = with lib; {
|
||
|
description = "Setup mount/user namespace for FHS emulation";
|
||
|
license = licenses.mit;
|
||
|
maintainers = with maintainers; [ yana ];
|
||
|
platforms = platforms.linux;
|
||
|
};
|
||
|
}
|