2024-01-17 15:25:52 +01:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
stdenv,
|
|
|
|
direnv,
|
|
|
|
writeShellApplication,
|
|
|
|
}:
|
2024-01-18 12:03:52 +01:00
|
|
|
stdenv.writeShellApplication
|
2024-01-17 15:25:52 +01:00
|
|
|
{
|
|
|
|
name = "dvd";
|
|
|
|
|
|
|
|
runtimeInputs = [echo direnv];
|
|
|
|
|
|
|
|
text = ''
|
|
|
|
echo "use flake \"github:the-nix-way/dev-templates?dir=$1\"" >> .envrc
|
|
|
|
direnv allow
|
|
|
|
'';
|
|
|
|
}
|