mirror of
https://gitlab.com/rensa-nix/devshell.git
synced 2025-12-11 22:00:08 +01:00
17 lines
317 B
Nix
17 lines
317 B
Nix
{
|
|
inputs,
|
|
cell,
|
|
}: let
|
|
devshell = import "${inputs.self}/lib" {
|
|
pkgs = inputs.nixpkgs;
|
|
};
|
|
in {
|
|
default = devshell.mkShell {
|
|
packages = [inputs.nixpkgs.alejandra];
|
|
env."HELLO".value = "world!";
|
|
enterShellCommands.test = {
|
|
text = "echo Hello $HELLO";
|
|
deps = ["env"];
|
|
};
|
|
};
|
|
}
|