shell: add rainbow label

This commit is contained in:
Kat Inskip 2025-07-24 20:59:57 -07:00
parent cdaa9c1514
commit cd75ebcf4f
Signed by: kat
GPG key ID: 465E64DECEA8CF0F
2 changed files with 12 additions and 5 deletions

View file

@ -64,11 +64,7 @@
katgba = pkgs.callPackage ./package.nix { inherit craneLib rustToolchain rustTriple; };
in {
devShells = let
katgba-emu = pkgs.mkShell {
nativeBuildInputs = [
self.packages.${pkgs.system}.katgba-emu
];
};
katgba-emu = import ./shell.nix { inherit self pkgs; };
in {
default = katgba-emu;
inherit katgba-emu;

11
shell.nix Normal file
View file

@ -0,0 +1,11 @@
{pkgs, self}: let
inherit (pkgs) lib mkShell toilet;
inherit (lib.meta) getExe;
in mkShell {
shellHook = ''
${getExe toilet} --gay --font mono9 "katgba"
'';
nativeBuildInputs = [
self.packages.${pkgs.system}.katgba-emu
];
}