30 lines
598 B
Nix
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;
|
|
};
|
|
}
|