dotfiles/nix/overlays/shh/default.nix

14 lines
293 B
Nix
Raw Normal View History

final: prev:
let
ghc = prev.haskellPackages.ghcWithPackages (p: with p; [shh shh-extras word8]);
in
{
magic_rb = prev.magic_rb or {} // {
shh = prev.writeShellScriptBin "shh" ''
export PATH=${ghc}/bin:${prev.haskellPackages.shh}/bin:$PATH
exec shh $@
'';
};
}