nixos-shell VS nixos-fhs-compat

Compare nixos-shell vs nixos-fhs-compat and see what are their differences.

nixos-shell

Spawns lightweight nixos vms in a shell (by Mic92)

nixos-fhs-compat

LSB&FHS compatibility for NixOS. Intended for containers and VMs. (by balsoft)
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
nixos-shell nixos-fhs-compat
6 7
564 51
- -
6.1 0.0
about 1 month ago over 1 year ago
Nix Nix
MIT License -
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

nixos-shell

Posts with mentions or reviews of nixos-shell. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-03-08.

nixos-fhs-compat

Posts with mentions or reviews of nixos-fhs-compat. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-11-18.
  • Why can't things "just work" on NixOS?
    3 projects | /r/NixOS | 18 Nov 2022
    You can, in theory, use https://github.com/balsoft/nixos-fhs-compat for this.
  • Arch + NixOS at once?
    4 projects | /r/NixOS | 3 Mar 2022
    There's also nix-alien to run random binaries and nixos-fhs-compat to FHS your OS (might need some tweaking).
  • The Curse of NixOS
    3 projects | /r/NixOS | 24 Jan 2022
  • Containers with easy graphics acceleration?
    3 projects | /r/NixOS | 24 Aug 2021
    Thanks, it was fun working with containers in NixOS! I tweaked the config a little bit so that the DISPLAY variable is automatically set and I also added nixos-fhs-compat's modules so that the guest OS uses FHS. Overall, a very slick setup if you want to run GPU-accelerated software quickly or what to do software development in a more traditional environment.
  • Way to install apps in their own FHS environment.
    3 projects | /r/NixOS | 11 Mar 2021
    There's buildFHSUserEnv as the proper way to run those apps, and there's also a massive hack that I don't really recommend using on your host: https://github.com/balsoft/nixos-fhs-compat . If you want to use it, do it with something similar to this: https://github.com/balsoft/kalinix/blob/master/scripts/run-container and then run your vscode/android studio/etc inside that container. The final option is to just run another distro with docker or lxc, set up X11/Wayland passthru to it and run stubborn applications that way.
  • Do we need an alternative to the Filesystem Hierarchy Standard?
    2 projects | /r/linux | 28 Feb 2021
    The root filesystem only contains two FHS-y symbolic links by default: /bin/sh and /usr/bin/env (and some /etc stuff that is hardcoded in some applications and wasn't considered to be worth patching). All the other files are kept in non-FHS-compliant locations (/nix/var/nix/profiles/per-user/*/default and /run/current-system/sw or /nix/var/nix/profiles/system). This means, for example, that binaries from other Linux distros won't run unless they have been statically compiled with musl (because there's no dynamic linker at /lib/ld-linux.so.2). There's this hack courtesy of Matthew Bauer that links stuff to FHS locations: https://github.com/balsoft/nixos-fhs-compat , but it's not supported upstream and it doesn't change how all the internal Nix stuff works, it's only a wrapper to allow running FHS and LSP-reliant binaries.

What are some alternatives?

When comparing nixos-shell and nixos-fhs-compat you can also consider the following projects:

nix-darwin - nix modules for darwin

distrobox - Use any linux distribution inside your terminal. Enable both backward and forward compatibility with software and freedom to use whatever distribution you’re more comfortable with. Mirror available at: https://gitlab.com/89luca89/distrobox

nixos-generators - Collection of image builders [maintainer=@Lassulus]

nix-alien - Run unpatched binaries on Nix/NixOS

poetry2nix - Convert poetry projects to nix automagically [maintainer=@adisbladis]

kalinix - A pentesting/CTF toolbox with the help of Nix

NUR - Nix User Repository: User contributed nix packages [maintainer=@Mic92]

nixpkgs - Nix Packages collection & NixOS

nix-bundle - Bundle Nix derivations to run anywhere!

nixos - My system configuration

runix

nixos