Update Firejail
This commit is contained in:
parent
79254bba65
commit
f3b947bfeb
|
@ -3,11 +3,11 @@ let
|
|||
s = # Generated upstream information
|
||||
rec {
|
||||
baseName="firejail";
|
||||
version="0.9.14";
|
||||
version="0.9.16";
|
||||
name="${baseName}-${version}";
|
||||
hash="0mwlvxl4fcfqvw7scldh4wz0i3b22cf5a2aglaxc9i1c3jld3w9l";
|
||||
url="http://softlayer-ams.dl.sourceforge.net/project/firejail/firejail/firejail-0.9.14-rc1.tar.bz2";
|
||||
sha256="0mwlvxl4fcfqvw7scldh4wz0i3b22cf5a2aglaxc9i1c3jld3w9l";
|
||||
hash="1213ln6rqb1w0ba98zwi5p40f7gzpz4rqn621zz72v0z1q1vfkrp";
|
||||
url="mirror://sourceforge/project/firejail/firejail/firejail-0.9.16-rc1.tar.bz2";
|
||||
sha256="1213ln6rqb1w0ba98zwi5p40f7gzpz4rqn621zz72v0z1q1vfkrp";
|
||||
};
|
||||
buildInputs = [
|
||||
];
|
||||
|
@ -25,6 +25,10 @@ stdenv.mkDerivation {
|
|||
sed -e '/ \/run/iif(vrcs!=NULL){symlink(vrcs, "/var/run/current-system")\;free(vrcs)\;}' -i ./src/firejail/fs_var.c
|
||||
'';
|
||||
|
||||
preBuild = ''
|
||||
sed -e "s@/etc/@$out/etc/@g" -i Makefile
|
||||
'';
|
||||
|
||||
meta = {
|
||||
inherit (s) version;
|
||||
description = ''Namespace-based sandboxing tool for Linux'';
|
||||
|
|
Loading…
Reference in New Issue