- Notifications
You must be signed in to change notification settings - Fork914
fix(flake.nix): add procps to nix dogfood image#16607
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Changes fromall commits
File filter
Filter by extension
Conversations
Uh oh!
There was an error while loading.Please reload this page.
Jump to
Uh oh!
There was an error while loading.Please reload this page.
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -281,6 +281,7 @@ | ||
unzip | ||
zip | ||
gzip | ||
procps # free | ||
]) | ||
++ oldAttrs.buildInputs; | ||
}); | ||
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -50,6 +50,10 @@ let | ||
experimental-features = nix-command flakes | ||
''; | ||
etcReleaseName = writeTextDir "etc/coderniximage-release" '' | ||
0.0.0 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others.Learn more. nit: wonder if it would make sense to have some kind of versioning here? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others.Learn more. I agree. It would make sense to get some versioning here. Right now, we're not versioning the dogfood images, so this file is mostly a stub/placeholder for the system info go library not to fail. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others.Learn more. I could add the output of There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others.Learn more. That or git SHA would probably be fine! | ||
''; | ||
etcPamdSudoFile = writeText "pam-sudo" '' | ||
# Allow root to bypass authentication (optional) | ||
auth sufficient pam_rootok.so | ||
@@ -271,6 +275,7 @@ let | ||
etcNixConf | ||
etcSudoers | ||
etcPamdSudo | ||
etcReleaseName | ||
(fakeNss.override { | ||
# Allows programs to look up the build user's home directory | ||
# https://github.com/NixOS/nix/blob/ffe155abd36366a870482625543f9bf924a58281/src/libstore/build/local-derivation-goal.cc#L906-L910 | ||
Uh oh!
There was an error while loading.Please reload this page.