Created
June 16, 2024 18:01
-
-
Save Tombert/f0bee5a88ba574620790b6c5c8fae56c to your computer and use it in GitHub Desktop.
Sonic Robo Blast 2 launcher
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
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; | |
}; | |
}; | |
} | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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