all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
blob 3f0d846bd0f67a33832a9c0fcebf2cda1db64667 410 bytes (raw)
name: gnu/packages/patches/inxi-path.patch 	 # note: path name is non-authoritative(*)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
 
Use dynamic PATH.

--- a/inxi
+++ b/inxi
@@ -75,5 +75,5 @@ my ($b_sysctl_disk,$b_update,$b_weather) = (1,1,1);
 ## System
 my ($bsd_type,$language,$os) = ('','','');
 my ($cpu_sleep,$dl_timeout,$limit,$ps_count,$usb_level) = (0.35,4,10,5,0);
-my @paths = qw(/sbin /bin /usr/sbin /usr/bin /usr/local/sbin /usr/local/bin /usr/X11R6/bin);
+my @paths = split /:/, $ENV{'PATH'};
 my $sensors_cpu_nu = 0;

 ## Tools

debug log:

solving 3f0d846bd ...
found 3f0d846bd in https://yhetil.org/guix/20180416123830.28716-1-ambrevar@gmail.com/

applying [1/1] https://yhetil.org/guix/20180416123830.28716-1-ambrevar@gmail.com/
diff --git a/gnu/packages/patches/inxi-path.patch b/gnu/packages/patches/inxi-path.patch
new file mode 100644
index 000000000..3f0d846bd

Checking patch gnu/packages/patches/inxi-path.patch...
Applied patch gnu/packages/patches/inxi-path.patch cleanly.

index at:
100644 3f0d846bd0f67a33832a9c0fcebf2cda1db64667	gnu/packages/patches/inxi-path.patch

(*) Git path names are given by the tree(s) the blob belongs to.
    Blobs themselves have no identifier aside from the hash of its contents.^

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.