about summary refs log tree commit diff
path: root/pkgs/applications/networking/cluster/habitat/chroot-env.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/applications/networking/cluster/habitat/chroot-env.nix')
-rw-r--r--pkgs/applications/networking/cluster/habitat/chroot-env.nix9
1 files changed, 9 insertions, 0 deletions
diff --git a/pkgs/applications/networking/cluster/habitat/chroot-env.nix b/pkgs/applications/networking/cluster/habitat/chroot-env.nix
new file mode 100644
index 000000000000..7d6b3749904b
--- /dev/null
+++ b/pkgs/applications/networking/cluster/habitat/chroot-env.nix
@@ -0,0 +1,9 @@
+# TODO: Drop once https://github.com/habitat-sh/habitat/issues/994
+#       is resolved.
+{ habitat, libsodium, libarchive, openssl, buildFHSUserEnv }:
+
+buildFHSUserEnv {
+    name = "habitat-sh";
+    targetPkgs = pkgs: [ habitat libsodium libarchive openssl ];
+    runScript = "bash";
+}