mirror of
https://github.com/nix-community/docker-nixpkgs.git
synced 2026-01-11 20:30:37 -05:00
devcontainer: -direnv, +procps
it wasn't such a good idea to add direnv by default
This commit is contained in:
@@ -17,6 +17,7 @@
|
||||
, lib
|
||||
, nix
|
||||
, openssh
|
||||
, procps
|
||||
, sedutil
|
||||
, shadow
|
||||
, xz
|
||||
@@ -28,7 +29,11 @@ let
|
||||
# generate a user profile for the image
|
||||
profile = mkUserEnvironment {
|
||||
derivations = [
|
||||
# core utils
|
||||
coreutils
|
||||
procps
|
||||
gnugrep
|
||||
|
||||
# add /bin/sh
|
||||
bashInteractive
|
||||
nix
|
||||
@@ -46,10 +51,6 @@ let
|
||||
# for user management
|
||||
shadow
|
||||
|
||||
# more userland tools
|
||||
gnugrep
|
||||
direnv
|
||||
|
||||
# for the vscode extension
|
||||
gcc-unwrapped
|
||||
iproute
|
||||
|
||||
@@ -3,6 +3,4 @@ if [[ $- == *i* ]]; then
|
||||
|
||||
PS1='\[\033[0;32;40m\][nix]$\[\033[0m\] '
|
||||
|
||||
# setup direnv
|
||||
eval "$(direnv hook bash)"
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user