mirror of
https://github.com/kittywitch/katgba.git
synced 2025-12-22 00:09:17 -08:00
shell: add rainbow label
This commit is contained in:
parent
cdaa9c1514
commit
cd75ebcf4f
2 changed files with 12 additions and 5 deletions
|
|
@ -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
11
shell.nix
Normal 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
|
||||
];
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue