Files
NixOsConfig/pkgs/dev-shell/default.nix
T
faumaray 079cceb554 update
Signed-off-by: faumaray <faumaray@gmail.com>
2026-10-29 16:02:14 +03:00

30 lines
598 B
Nix

# `dev`: enter, combine and auto-activate the dev shells of this flake
# (modules/dev/shells). nix and direnv are taken from the system PATH on purpose.
{
lib,
writeShellApplication,
coreutils,
git,
gnugrep,
gnused,
jq,
util-linux,
}:
writeShellApplication {
name = "dev";
runtimeInputs = [
coreutils
git
gnugrep
gnused
jq
util-linux # column
];
text = builtins.readFile ./dev.sh;
meta = {
description = "Enter, combine and auto-activate (direnv) the dev shells of a flake";
mainProgram = "dev";
platforms = lib.platforms.linux;
};
}