-
-
Notifications
You must be signed in to change notification settings - Fork 14.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
hermit-fb: init at 0-unstable-2024-05-01 #265212
base: master
Are you sure you want to change the base?
Conversation
227ac1a
to
e49365a
Compare
|
Superseeding #212278 |
]; | ||
|
||
meta = with lib; { | ||
description = "Hermit launches linux x86_64 programs in a special, hermetically isolated sandbox to control their execution. Hermit translates normal, nondeterministic behavior, into deterministic, repeatable behavior. This can be used for various applications, including replay-debugging, reproducible artifacts, chaos mode concurrency testing and bug analysis"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we change this to a one line description, eventually having the complete one in longDescription
?
7e8a325
to
7d16666
Compare
homepage = "https://github.com/facebookexperimental/hermit.git"; | ||
license = licenses.bsd3; | ||
maintainers = with maintainers; [ matthewcroughan ]; | ||
mainProgram = "hermit"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
mainProgram = "hermit"; | |
mainProgram = "hermit"; | |
platforms = [ "x86_64-linux" ]; |
ln -s ${./Cargo.lock} Cargo.lock | ||
''; | ||
|
||
RUSTC_BOOTSTRAP=1; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
RUSTC_BOOTSTRAP=1; | |
env.RUSTC_BOOTSTRAP = 1; |
@@ -0,0 +1,52 @@ | |||
{ lib | |||
, rustPlatform |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please format with the new formatter.
hash = "sha256-uzOczLGGSaAILwaDh0WKgs/JeMo3B6tOkNhEIhtBORQ="; | ||
}; | ||
|
||
cargoLock = { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Now that #349360 is available, there is no need to copy the lockfile here.
Description of changes
Adds
hermit
from Facebook to nixpkgs. I have named ithermit-fb
due to a naming clash with thehermit
font.Things done
nix.conf
? (See Nix manual)sandbox = relaxed
sandbox = true
nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)