diff options
author | tv <tv@krebsco.de> | 2020-05-01 11:58:42 +0200 |
---|---|---|
committer | tv <tv@krebsco.de> | 2020-05-01 11:58:42 +0200 |
commit | a269f84b1d11cf51b4c1344e78e8813e29867e6b (patch) | |
tree | adf3b615daf774fb0a05f7a87db11b2fc38f80bf | |
parent | b0549ee61b60d658751e1088810acd307847fec6 (diff) |
proot: move to override overlay
-rw-r--r-- | krebs/5pkgs/default.nix | 6 | ||||
-rw-r--r-- | krebs/5pkgs/override/default.nix | 10 |
2 files changed, 10 insertions, 6 deletions
diff --git a/krebs/5pkgs/default.nix b/krebs/5pkgs/default.nix index 4cdaedebf..ab25934c8 100644 --- a/krebs/5pkgs/default.nix +++ b/krebs/5pkgs/default.nix @@ -16,10 +16,4 @@ foldl' mergeAttrs {} reaktor2 = self.haskellPackages.reaktor2; ReaktorPlugins = self.callPackage ./simple/Reaktor/plugins.nix {}; - - # https://github.com/proot-me/PRoot/issues/106 - proot = self.writeDashBin "proot" '' - export PROOT_NO_SECCOMP=1 - exec ${super.proot}/bin/proot "$@" - ''; } 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 "$@" + ''; + +} |