Federico Beffa <be...@ieee.org> skribis: > The question is: do we want to make a 'cc' symlink to 'gcc' in the > 'gcc' package?
So far we’ve resisted the temptation, and it’s rarely been an issue. :-) > From 355bae94512391434bb6c7e14e8632451654380b Mon Sep 17 00:00:00 2001 > From: Federico Beffa <be...@fbengineering.ch> > Date: Tue, 13 Jan 2015 16:25:29 +0100 > Subject: [PATCH] gnu: eudev: Add pre-build phase. > > * gnu/packages/linux.scm (eudev): Add 'pre-build phase to fix compilation with > 'gobject-introspection' 1.42.0. [...] > + (alist-cons-before > + 'build 'pre-build > + ;; The program 'g-ir-scanner' (part of the package > + ;; 'gobject-introspection'), to generate .gir files, makes some > + ;; library pre-processing. During that phase it looks for the C > + ;; compiler as either 'cc' or as defined by the environment variable > + ;; 'CC' (with code in 'giscanner/dumper.py'). > + (lambda* (#:key inputs #:allow-other-keys) > + (let ((gcc (string-append (assoc-ref inputs "gcc") "/bin/gcc"))) > + (setenv "CC" gcc))) I suspect this may be simplified with just: (setenv "CC" "gcc") Otherwise LGTM. Thanks, Ludo’.