From a269f84b1d11cf51b4c1344e78e8813e29867e6b Mon Sep 17 00:00:00 2001 From: tv Date: Fri, 1 May 2020 11:58:42 +0200 Subject: proot: move to override overlay --- krebs/5pkgs/default.nix | 6 ------ krebs/5pkgs/override/default.nix | 10 ++++++++++ 2 files changed, 10 insertions(+), 6 deletions(-) create mode 100644 krebs/5pkgs/override/default.nix (limited to 'krebs/5pkgs') 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 ; +self: super: { + + # https://github.com/proot-me/PRoot/issues/106 + proot = self.writeDashBin "proot" '' + export PROOT_NO_SECCOMP=1 + exec ${super.proot}/bin/proot "$@" + ''; + +} -- cgit v1.2.3