Skip to content

Commit

Permalink
Add sed
Browse files Browse the repository at this point in the history
  • Loading branch information
Kentaro1043 committed Nov 8, 2024
1 parent 3df6af5 commit aad6c6c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions exec-container/interpreters/default.nix
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
{pkgs}: let
python = import ./python {inherit pkgs;};
bash = import ./bash {inherit pkgs;};
sed = import ./sed {inherit pkgs;};
in {
all = [
python.python311
python.python312
bash
sed
];
}
4 changes: 4 additions & 0 deletions exec-container/interpreters/sed/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{pkgs}: let
mySed = pkgs.gnused;
in
pkgs.writeShellScriptBin "sed" "exec ${mySed}/bin/sed $@"

0 comments on commit aad6c6c

Please sign in to comment.