Skip to content

LSB&FHS compatibility for NixOS. Intended for containers and VMs.

Notifications You must be signed in to change notification settings

sminf/nixos-fhs-compat

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

A library that implements support for LSB and FHS in NixOS.

⚠️ This library is only intended to be used in containers. Usage on a NixOS host system may result in irreproducibility and prevent you from contributing to nixpkgs. Use at your own risk.

TLDR

containers.fhs-compat.config = {...}: {
  imports = [ inputs.nixos-fhs-compat.nixosModules.combined ];
  environment.fhs.enable = true;
  environment.fhs.linkLibs = true;
  environment.lsb.enable = true;
  environment.lsb.support32Bit = true;
}

Credits

All the hard work was done by @matthewbauer

About

LSB&FHS compatibility for NixOS. Intended for containers and VMs.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Nix 100.0%