help-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Hi Guix, ??adding the package names to package list in system conf


From: Efraim Flashner
Subject: Re: Hi Guix, ??adding the package names to package list in system configuration file, we could install these packages system wide and they will be available for all users. ??for packages that are located in user profile, we could check for available updates using `guix pull`. ??but I didn't find any similar concept for system wide installed packages. ??is it possible to check for system wide installed packages without reconfiguring the system? ?
Date: Wed, 16 Oct 2019 09:07:48 +0300
User-agent: Mutt/1.12.2 (2019-09-21)

On Wed, Oct 16, 2019 at 12:21:52AM +0330, Reza Alizadeh Majd wrote:
> > I'm not sure I understand your question, so let me rephrase and please tell 
> > me 
> > if it's not what you wanted to ask. When you upgrade the distribution with 
> > guix 
> > pull, you can get a list of what could be upgraded using, say, guix package 
> > -n 
> > -u. Your question was, I think, how to do that for globally available 
> > packages.
> >
> > If that is your question, the answer is quite simple. The set of globally 
> > installed packages is installed in a separate profile from the user 
> > profile. 
> > You can use the same command as before, specifying that other profile, to 
> > get 
> > the same result, with globally installed packages:
> > 
> > guix package -p /run/current-system/profile -n -u
> 
> 
> Hi Julien, 
> 
> Sorry if I couldn't describe my issue well. yes thats exactly what I meant to 
> say.
> so as I understand: 
> 
> 1.  we can get list of upgradable packages using:   `guix package -n -u`
> 
> 2. globally available packages are located in system profile located 
> in `/run/current-system/profile` and we can't check for upgrades just by
> pointing the profile location. 
> 

This is pretty cool, I never tried doing that before.

(ins)efraim@E5400 ~/workspace/guix$ ./pre-inst-env guix package -p 
/run/current-system/profile -n -u

The following derivation would be built:
   /gnu/store/mznyxwxi62ca8rlkmfbq66vb0m7wlz7p-profile.drv
2.6 MB would be downloaded:
   /gnu/store/qyzlsaiqfggbk0j505h4m57wyyqvjnxv-grep-3.3
   /gnu/store/1gyi4i5lbpr7apm74p08dwy11fhzh4j7-sed-4.7
   /gnu/store/nmy9vns5xavx4c77kij5yb85k7axx06w-findutils-4.6.0
   /gnu/store/gh02bsk1w007gv4sl3b5rj18ziqgxm6f-diffutils-3.7
   /gnu/store/c2vas7isbs7iwjsr7wr09iwdsw9vvy25-ed-1.15
   /gnu/store/8ap398fd00xqa9ng9yzv8amkni7fzpi9-patch-2.7.6
   /gnu/store/bf18yhnd9h5qlfsw8s4c849k424ph1qh-libsigsegv-2.12
   /gnu/store/hn8kdxgd1yjqwmc32p4xjkzkhhw82g6f-gawk-5.0.1
The following profile hooks would be built:
   /gnu/store/hc51jygkiadkq8z5337jl80cpr3f8i3a-manual-database.drv
   /gnu/store/hn2ybg56m2qas1bz782b08yr6hpahb96-xdg-desktop-database.drv
   /gnu/store/j2lnvm506d9vlyksfdwnpkv1cp1n9l1c-xdg-mime-database.drv
   /gnu/store/nh6361wwkgncxzqbgfyl37n66c6hz1pz-fonts-dir.drv
   /gnu/store/q3bn0518lzmbm3mbd24r9h3flriabyxs-ca-certificate-bundle.drv
   /gnu/store/sl5yc24v3xrbrqajfrrxszw16xnz7jns-glib-schemas.drv
   /gnu/store/ybqjn15ixigjfl3g0qyinvabii8iba6g-info-dir.drv

-- 
Efraim Flashner   <address@hidden>   אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]