[Nix-dev] nix-env points ~/.nix-profile to symlinks in home

Miroslav Puda pakanek at gmail.com
Fri Jul 18 15:58:59 CEST 2014


nix-env is making weird symlinks named gtksourceview* in my $HOME. Is 
that normal? btw. I have segfaults in mousepad text editor (reported on 
github) and it might be related to gtksourceview - coincidence?

$ nixos-version
14.04.368.6756ec2 (Baboon)

$ ll ~ | grep gtk
lrwxrwxrwx 1 mirpa users 20 Jul 18 11:07 gtksourceview -> 
gtksourceview-2-link
lrwxrwxrwx 1 mirpa users 60 Jul 17 18:07 gtksourceview-1-link -> 
/nix/store/m5cz49rrf9f1h5b7zyfamcvgc72ym0h6-user-environment
lrwxrwxrwx 1 mirpa users 60 Jul 18 11:07 gtksourceview-2-link -> 
/nix/store/kk6sn9lp0cv2lakd7m6vr641h5vbfmi6-user-environment

$ ll -a ~ | grep nix-profile
lrwxrwxrwx 1 mirpa users 13 Jul 16 07:02 .nix-profile -> gtksourceview

$ which wine; which htop
/home/mirpa/.nix-profile/bin/wine
/home/mirpa/.nix-profile/bin/htop

$ rm gtksourceview*

$ htop
The program ‘htop’ is currently not installed. You can install it by typing:
nix-env -i htop

$ ll ~ | grep gtk

$ nix-env -i htop
installing `htop-1.0.2'
building path(s) 
`/nix/store/h2dd3ab9a7fwlz782jvikmqwj7691fxq-user-environment'
created 2 symlinks in user environment

$ ll ~ | grep gtk
lrwxrwxrwx 1 mirpa users 20 Jul 18 15:38 gtksourceview -> 
gtksourceview-1-link
lrwxrwxrwx 1 mirpa users 60 Jul 18 15:38 gtksourceview-1-link -> 
/nix/store/h2dd3ab9a7fwlz782jvikmqwj7691fxq-user-environment

$ winecfg
The program ‘winecfg’ is currently not installed. You can install it by 
typing:
nix-env -i wine

$ nix-env -i wine
installing `wine-1.6.2'
building path(s) 
`/nix/store/8kbak59xd23347f5rdxdfz88vi60cfmk-user-environment'
created 62 symlinks in user environment

$ ll ~ | grep gtk
lrwxrwxrwx 1 mirpa users 20 Jul 18 15:39 gtksourceview -> 
gtksourceview-2-link
lrwxrwxrwx 1 mirpa users 60 Jul 18 15:38 gtksourceview-1-link -> 
/nix/store/h2dd3ab9a7fwlz782jvikmqwj7691fxq-user-environment
lrwxrwxrwx 1 mirpa users 60 Jul 18 15:39 gtksourceview-2-link -> 
/nix/store/8kbak59xd23347f5rdxdfz88vi60cfmk-user-environment



More information about the nix-dev mailing list