summaryrefslogtreecommitdiffstats
path: root/krebs/5pkgs/override/default.nix
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2020-05-01 11:58:42 +0200
committertv <tv@krebsco.de>2020-05-01 11:58:42 +0200
commita269f84b1d11cf51b4c1344e78e8813e29867e6b (patch)
treeadf3b615daf774fb0a05f7a87db11b2fc38f80bf /krebs/5pkgs/override/default.nix
parentb0549ee61b60d658751e1088810acd307847fec6 (diff)
proot: move to override overlay
Diffstat (limited to 'krebs/5pkgs/override/default.nix')
-rw-r--r--krebs/5pkgs/override/default.nix10
1 files changed, 10 insertions, 0 deletions
diff --git a/krebs/5pkgs/override/default.nix b/krebs/5pkgs/override/default.nix
new file mode 100644
index 000000000..5199d90d8
--- /dev/null
+++ b/krebs/5pkgs/override/default.nix
@@ -0,0 +1,10 @@
+with import <stockholm/lib>;
+self: super: {
+
+ # https://github.com/proot-me/PRoot/issues/106
+ proot = self.writeDashBin "proot" ''
+ export PROOT_NO_SECCOMP=1
+ exec ${super.proot}/bin/proot "$@"
+ '';
+
+}