Skip to content

Instantly share code, notes, and snippets.

@Tombert
Created June 16, 2024 18:01
Show Gist options
  • Save Tombert/f0bee5a88ba574620790b6c5c8fae56c to your computer and use it in GitHub Desktop.
Save Tombert/f0bee5a88ba574620790b6c5c8fae56c to your computer and use it in GitHub Desktop.
Sonic Robo Blast 2 launcher
{
description = "Launch Sonic Robo Blast 2";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
};
outputs = { self, nixpkgs, ... }: let
pkgs = import nixpkgs { system = "x86_64-linux"; };
srb2 = {
type = "app";
program = "${pkgs.srb2}/bin/srb2";
};
in {
apps.x86_64-linux = {
srb = srb2;
};
};
}
#!/bin/sh
unset LD_PRELOAD
export STEAM_RUNTIME=1
unset LD_LIBRARY_PATH
nix run .#srb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment