k 5: fix proot signal 11 error with wrapper
This commit is contained in:
parent
4e7fdf429f
commit
954477b867
@ -45,12 +45,11 @@ with import <stockholm/lib>;
|
|||||||
buildbot-worker = callPackage ./buildbot/worker.nix {};
|
buildbot-worker = callPackage ./buildbot/worker.nix {};
|
||||||
|
|
||||||
# https://github.com/proot-me/PRoot/issues/106
|
# https://github.com/proot-me/PRoot/issues/106
|
||||||
proot = overrideDerivation pkgs.proot (oldAttrs: {
|
proot = pkgs.writeScriptBin "proot" ''
|
||||||
patches = singleton (pkgs.fetchurl {
|
#!${pkgs.dash}/bin/dash
|
||||||
url = https://github.com/openmole/PRoot/commit/10119a1f1fd7dea012464ae176c2b5fc3eb18928.diff;
|
export PROOT_NO_SECCOMP=1
|
||||||
sha256 = "0cmd95mz8p5ifjvfvi4g9zzyxqddbscxin2j3a9zbmbjl2wi458g";
|
exec ${pkgs.proot}/bin/proot "$@"
|
||||||
});
|
'';
|
||||||
});
|
|
||||||
|
|
||||||
# XXX symlinkJoin changed arguments somewhere around nixpkgs d541e0d
|
# XXX symlinkJoin changed arguments somewhere around nixpkgs d541e0d
|
||||||
symlinkJoin = { name, paths, ... }@args: let
|
symlinkJoin = { name, paths, ... }@args: let
|
||||||
|
Loading…
Reference in New Issue
Block a user