The comment thread sparked a few new questions for me.
That will likely soon stop working because steam-run is no longer a grab bag for literally every library out there.
What recently changed with steam-run?
Is using pkgs.appimageTools.defaultFhsEnvArgs
with pkgs.buildFHSUserEnv
a suitable alternative?
#!/usr/bin/env nix-shell
{ pkgs ? import <nixpkgs> { } }:
(
let base = pkgs.appimageTools.defaultFhsEnvArgs; in
pkgs.buildFHSUserEnv (base // {
name = "FHS";
targetPkgs = pkgs: (with pkgs; [
/* add additional packages here e.g */
pcre
tzdata
]);
runScript = "bash";
extraOutputsToInstall = [ "dev" ];
})
).env
Appreciate the detailed context, and thank you for your work!