This repository has no description
0

Configure Feed

Select the types of activity you want to include in your feed.

superconfig / tools / memhack / flake-module.nix
622 B 27 lines
1{ ... }: 2{ 3 perSystem = 4 { pkgs, ... }: 5 let 6 memhack-repl = pkgs.writeShellApplication { 7 name = "memhack-repl"; 8 runtimeInputs = [ 9 pkgs.python3 10 ]; 11 text = ''exec python3 ${./memhack-repl.py} "$@"''; 12 }; 13 in 14 { 15 packages.memhack = 16 (pkgs.writeShellApplication { 17 name = "memhack"; 18 runtimeInputs = [ 19 pkgs.procps 20 pkgs.fzf 21 memhack-repl 22 ]; 23 text = builtins.readFile ./memhack.sh; 24 }).overrideAttrs 25 { passthru.usage = builtins.readFile ./usage.kdl; }; 26 }; 27}