summaryrefslogtreecommitdiff
path: root/templates/standard/shell.nix
diff options
context:
space:
mode:
Diffstat (limited to 'templates/standard/shell.nix')
-rw-r--r--templates/standard/shell.nix16
1 files changed, 16 insertions, 0 deletions
diff --git a/templates/standard/shell.nix b/templates/standard/shell.nix
new file mode 100644
index 0000000..ded42bb
--- /dev/null
+++ b/templates/standard/shell.nix
@@ -0,0 +1,16 @@
+{
+ pkgs ? import nixpkgs {
+ inherit system;
+ config = { };
+ overlays = [ ];
+ },
+ nixpkgs ? <nixpkgs>,
+ system ? builtins.currentSystem,
+ hello ? (import ./default.nix { inherit pkgs; }).hello,
+}:
+
+pkgs.mkShell {
+ packages = [ pkgs.bash ];
+
+ inputsFrom = [ hello ];
+}