summaryrefslogtreecommitdiffstats
path: root/lib/devShell.nix
diff options
context:
space:
mode:
authorLibravatar Alexander Foremny <aforemny@posteo.de>2025-09-06 14:58:08 +0200
committerLibravatar Alexander Foremny <aforemny@posteo.de>2025-09-06 15:05:13 +0200
commit294ab87d692889cbf7536af37523053b83fb7bf4 (patch)
treeaa12354ef049976f54adfee9e2f34dc8d49ddceb /lib/devShell.nix
parenteba6e440861a9f94f6837bb6b37fd2ef7e4e0446 (diff)
add lib/devShell.nix
Diffstat (limited to 'lib/devShell.nix')
-rw-r--r--lib/devShell.nix13
1 files changed, 13 insertions, 0 deletions
diff --git a/lib/devShell.nix b/lib/devShell.nix
new file mode 100644
index 0000000..110b857
--- /dev/null
+++ b/lib/devShell.nix
@@ -0,0 +1,13 @@
+{ config, lib, pkgs, ... }:
+{
+ options = {
+ devShell = lib.mkOption {
+ type = lib.types.attrsOf lib.types.unspecified;
+ default = pkgs.mkShell {};
+ };
+ outputs.devShell = lib.mkOption {
+ type = lib.types.package;
+ };
+ };
+ config.outputs.devShell = config.devShell;
+}