Skip to content

Instantly share code, notes, and snippets.

@bendlas
Last active August 24, 2023 21:56
Show Gist options
  • Save bendlas/8c883058188b7f8fb951451502889de7 to your computer and use it in GitHub Desktop.
Save bendlas/8c883058188b7f8fb951451502889de7 to your computer and use it in GitHub Desktop.
Patched steam-run with https://github.com/containers/bubblewrap/pull/402 to enable SIGINT and SIGTERM
{
# patch steam-run to pass through SIGINT through bwrap
# https://github.com/containers/bubblewrap/pull/402
nixpkgs.config.packageOverrides = pkgs: {
steam-run = (pkgs.steamPackages.override {
buildFHSEnv = pkgs.buildFHSEnv.override {
bubblewrap = pkgs.bubblewrap.overrideDerivation (drv: {
patches = (drv.patches or []) ++ [(pkgs.fetchpatch {
url = "https://github.com/containers/bubblewrap/pull/402.patch";
sha256 = "sha256-0gHpmaHxxKXIzeUaRcFjkl0Du9Hy6xsfS++quc7D+iI=";
})];
});
};
}).steam-fhsenv.run;
};
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment