mirror of
https://gitlab.com/rensa-nix/devshell.git
synced 2025-12-12 06:10:07 +01:00
chore: initial commit
This commit is contained in:
commit
fbacfc149b
21 changed files with 748 additions and 0 deletions
17
.nix/repo/devShells.nix
Normal file
17
.nix/repo/devShells.nix
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
{
|
||||
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"];
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue