I’m currently using a shell.nix file to produce a FHS environment to run a closed source binary
{ pkgs ? import <nixpkgs> {} }:
(pkgs.buildFHSUserEnv {
name = "etx-env";
targetPkgs = pkgs: (with pkgs;
[ gdk-pixbuf
glib
glibc
gtk3-x11
libkrb5
]) ++ (with pkgs.xorg;
[ libX11
libXcursor
libXrandr
libXext
]);
runScript = "bash";
}).env
What’s the flakes way to achieve the same and what’s the command equivalent to “nix-shell” in this case?