summary refs log tree commit diff
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2013-10-01 13:53:56 +0200
committerEelco Dolstra <eelco.dolstra@logicblox.com>2013-10-01 13:53:56 +0200
commited5fbf00824bbb1ffa920418a900f1997cc07bf9 (patch)
tree16b9e80b8f30bc4659340fe4209aec3899139366
parent869be5611deaa5f09e67e5d2f08394361715af62 (diff)
downloadnixlib-ed5fbf00824bbb1ffa920418a900f1997cc07bf9.tar
nixlib-ed5fbf00824bbb1ffa920418a900f1997cc07bf9.tar.gz
nixlib-ed5fbf00824bbb1ffa920418a900f1997cc07bf9.tar.bz2
nixlib-ed5fbf00824bbb1ffa920418a900f1997cc07bf9.tar.lz
nixlib-ed5fbf00824bbb1ffa920418a900f1997cc07bf9.tar.xz
nixlib-ed5fbf00824bbb1ffa920418a900f1997cc07bf9.tar.zst
nixlib-ed5fbf00824bbb1ffa920418a900f1997cc07bf9.zip
Don't spam the user
-rw-r--r--modules/programs/shell.nix3
1 files changed, 0 insertions, 3 deletions
diff --git a/modules/programs/shell.nix b/modules/programs/shell.nix
index d5f43a86a942..679c4979dfa9 100644
--- a/modules/programs/shell.nix
+++ b/modules/programs/shell.nix
@@ -29,7 +29,6 @@ in
         fi
 
         if ! test -L $HOME/.nix-profile; then
-            echo "creating $HOME/.nix-profile" >&2
             if test "$USER" != root; then
                 ln -s $NIX_USER_PROFILE_DIR/profile $HOME/.nix-profile
             else
@@ -40,7 +39,6 @@ in
 
         # Subscribe the root user to the NixOS channel by default.
         if [ "$USER" = root -a ! -e $HOME/.nix-channels ]; then
-            echo "creating $HOME/.nix-channels with nixos-unstable subscription" >&2
             echo "http://nixos.org/channels/nixos-unstable nixos" > $HOME/.nix-channels
         fi
 
@@ -53,7 +51,6 @@ in
 
         # Set up a default Nix expression from which to install stuff.
         if [ ! -e $HOME/.nix-defexpr -o -L $HOME/.nix-defexpr ]; then
-            echo "creating $HOME/.nix-defexpr" >&2
             rm -f $HOME/.nix-defexpr
             mkdir $HOME/.nix-defexpr
             if [ "$USER" != root ]; then