about summary refs log blame commit diff
path: root/scripts/nix-profile.sh.in
blob: 3a64caa04989f9d20ac4ee46b38375a1aafab54c (plain) (tree)
1
2
3
4
5
6
7
                            
 
                     
 
                                               
 
                                                 





                                                            
                                                                    
 

                                                                    
                                           
 
   
#if test -z "$NIX_SET"; then

#    export NIX_SET=1

    NIX_LINKS=@localstatedir@/nix/links/current

    export PATH=$NIX_LINKS/bin:@prefix@/bin:$PATH

    export LD_LIBRARY_PATH=$NIX_LINKS/lib:$LD_LIBRARY_PATH

    export LIBRARY_PATH=$NIX_LINKS/lib:$LIBRARY_PATH

    export C_INCLUDE_PATH=$NIX_LINKS/include:$C_INCLUDE_PATH
    export CPLUS_INCLUDE_PATH=$NIX_LINKS/include:$CPLUS_INCLUDE_PATH

    export PKG_CONFIG_PATH=$NIX_LINKS/lib/pkgconfig:$PKG_CONFIG_PATH

#    export MANPATH=$NIX_LINKS/man:$MANPATH

#fi