eufon/shell.nix

16 lines
528 B
Nix
Raw Normal View History

2022-05-18 09:33:37 +00:00
with import <nixpkgs> {} ;
let p = callPackage ./. {};
in (p.overrideAttrs (o:{
2022-07-01 21:28:41 +00:00
nativeBuildInputs = with pkgs; [gdb socat];
2022-05-18 09:33:37 +00:00
shellHook = ''
export LUA_PATH=`lua -e 'print(package.path)'`
export LUA_CPATH=`lua -e 'print(package.cpath)'`
# this is a shell function mostly so that I can comment it out
# to experiment with starting sway or tinywl or something else
# to see how they behave if kiwmi is being weird
start_eufon(){
kiwmi -V -V -c init.lua;
}
2022-05-18 09:33:37 +00:00
'';
})).override { debug = true; }