slippi-launcher-bin: init

AppImage build
This commit is contained in:
2025-06-24 15:01:53 -06:00
parent 4e6643fc53
commit 4183e23bcb
3 changed files with 77 additions and 0 deletions

View File

@@ -19,5 +19,22 @@
lib.filterAttrs
(_: v: lib.isDerivation v)
self.legacyPackages.${system});
devShells.x86_64-linux.slippi =
let
pkgs = import inputs.nixpkgs { system = "x86_64-linux"; };
in self.packages.x86_64-linux.slippi-launcher.env.overrideAttrs
(final: prev: {
shellHook =
builtins.replaceStrings
["exec \"\${cmd[@]}\""]
[''
echo "''${cmd[-1]}"
unset cmd[-1]
cmd+=("$SHELL")
exec "''${cmd[@]}"
'']
prev.shellHook;
});
};
}