10 lines
285 B
Nix
10 lines
285 B
Nix
with import <nixpkgs> {} ;
|
|
let p = callPackage ./. {};
|
|
in (p.overrideAttrs (o:{
|
|
nativeBuildInputs = with pkgs; [gdb socat];
|
|
shellHook = ''
|
|
export LUA_PATH=`lua -e 'print(package.path)'`
|
|
export LUA_CPATH=`lua -e 'print(package.cpath)'`
|
|
'';
|
|
})).override { debug = true; }
|