add gum-wrapper
get it?
This commit is contained in:
parent
86806ff5a0
commit
3adeee7333
1 changed files with 10 additions and 0 deletions
10
flake.nix
10
flake.nix
|
@ -21,6 +21,16 @@
|
||||||
${./skins/classic.bmp} \
|
${./skins/classic.bmp} \
|
||||||
$@
|
$@
|
||||||
'';
|
'';
|
||||||
|
# get it? GET IT?
|
||||||
|
gum-wrapper = pkgs.writeShellScriptBin "mineschemer-gum-wrapper" ''
|
||||||
|
LD_LIBRARY_PATH="${pkgs.raylib}/lib" \
|
||||||
|
${pkgs.chez}/bin/scheme \
|
||||||
|
--script ${./main.scm} \
|
||||||
|
${./skins/classic.bmp} \
|
||||||
|
$(${pkgs.gum}/bin/gum input --prompt="mines: " --placeholder="must be a natural number") \
|
||||||
|
$(${pkgs.gum}/bin/gum input --prompt="width: " --placeholder="must be a natural number") \
|
||||||
|
$(${pkgs.gum}/bin/gum input --prompt="height: " --placeholder="must be a natural number")
|
||||||
|
'';
|
||||||
});
|
});
|
||||||
|
|
||||||
devShells = forEachSupportedSystem ({ pkgs }: {
|
devShells = forEachSupportedSystem ({ pkgs }: {
|
||||||
|
|
Loading…
Reference in a new issue