mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 15:03:28 +00:00
sandboxfs: remove
sandboxfs was an experiment to increase sandboxing performance in bazel,
but it never reached a stable release.
The author of sandboxfs left Google in 2020 and there have been no
updates to it since then.
bazel dropped sandboxfs in the bazel 7 release. To quote their release
notes:
The sandboxfs sandboxing strategy is removed. It hadn't been
maintained for a long time, it didn't work for most users and it was
not consistently faster while being complex to set up. sandboxfs
performance is heavily dependent on the specific setup (setup costs
are lower, but you have to pay a penalty for the use of each input)
and there are scenarios where it is faster and scenarios where it is
slower. Overall it is not worth its weight.
- 217fafe2b4
This commit is contained in:
parent
d2943a89bb
commit
f13547a8cb
@ -1,35 +0,0 @@
|
||||
{ stdenv
|
||||
, lib
|
||||
, rustPlatform
|
||||
, fetchCrate
|
||||
, pkg-config
|
||||
, installShellFiles
|
||||
, fuse
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "sandboxfs";
|
||||
version = "0.2.0";
|
||||
|
||||
src = fetchCrate {
|
||||
inherit pname version;
|
||||
sha256 = "sha256-nrrkFYAf7HqaGFruolNTkXzy4ID6/vipxd+fOCKYARM=";
|
||||
};
|
||||
|
||||
cargoSha256 = "sha256-izz10ePmEt2xxOyR4NODIMAcY9d4ODo677mq+DVf4RI=";
|
||||
|
||||
nativeBuildInputs = [ pkg-config installShellFiles ];
|
||||
|
||||
buildInputs = [ fuse ];
|
||||
|
||||
postInstall = "installManPage man/sandboxfs.1";
|
||||
|
||||
meta = with lib; {
|
||||
broken = stdenv.isDarwin;
|
||||
description = "Virtual file system for sandboxing";
|
||||
homepage = "https://github.com/bazelbuild/sandboxfs";
|
||||
license = with licenses; [ asl20 ];
|
||||
maintainers = with maintainers; [ jeremyschlatter ];
|
||||
mainProgram = "sandboxfs";
|
||||
};
|
||||
}
|
@ -1182,6 +1182,7 @@ mapAliases ({
|
||||
### S ###
|
||||
|
||||
s2n = s2n-tls; # Added 2021-03-03
|
||||
sandboxfs = throw "'sandboxfs' has been removed due to being unmaintained, consider using linux namespaces for sandboxing instead"; # Added 2024-06-06
|
||||
sane-backends-git = sane-backends; # Added 2021-02-19
|
||||
scantailor = scantailor-advanced; # Added 2022-05-26
|
||||
schildichat-web = throw ''
|
||||
|
@ -12690,8 +12690,6 @@ with pkgs;
|
||||
|
||||
sanctity = callPackage ../tools/misc/sanctity { };
|
||||
|
||||
sandboxfs = callPackage ../tools/filesystems/sandboxfs { };
|
||||
|
||||
sanjuuni = callPackage ../tools/graphics/sanjuuni { };
|
||||
|
||||
sasquatch = callPackage ../tools/filesystems/sasquatch { };
|
||||
|
Loading…
Reference in New Issue
Block a user