summaryrefslogtreecommitdiff
path: root/templates/full/nix/shell.nix
diff options
context:
space:
mode:
Diffstat (limited to 'templates/full/nix/shell.nix')
-rw-r--r--templates/full/nix/shell.nix17
1 files changed, 17 insertions, 0 deletions
diff --git a/templates/full/nix/shell.nix b/templates/full/nix/shell.nix
new file mode 100644
index 0000000..66cd1a4
--- /dev/null
+++ b/templates/full/nix/shell.nix
@@ -0,0 +1,17 @@
+{
+ perSystem = {
+ pkgs,
+ self',
+ ...
+ }: {
+ devShells = {
+ default = pkgs.mkShell {
+ packages = [
+ self'.formatter
+ ];
+
+ inputsFrom = [self'.packages.hello];
+ };
+ };
+ };
+}