mirror of
https://git.sr.ht/~magic_rb/dotfiles
synced 2024-11-30 03:56:12 +01:00
ce73f39891
Signed-off-by: Magic_RB <magic_rb@redalder.org>
14 lines
293 B
Nix
14 lines
293 B
Nix
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 $@
|
|
'';
|
|
};
|
|
}
|