summary refs log tree commit diff
path: root/pkgs/build-support/gcc-wrapper
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2007-05-31 13:00:49 +0000
committerEelco Dolstra <eelco.dolstra@logicblox.com>2007-05-31 13:00:49 +0000
commit13567556bf0cea954a0fdef6296d05c7be5eaa3c (patch)
tree836fcc8cfd2069e37c5ba744dbab75d94d7a577f /pkgs/build-support/gcc-wrapper
parente9ed8e88008155a5651efe61b764917c4e5069de (diff)
downloadnixlib-13567556bf0cea954a0fdef6296d05c7be5eaa3c.tar
nixlib-13567556bf0cea954a0fdef6296d05c7be5eaa3c.tar.gz
nixlib-13567556bf0cea954a0fdef6296d05c7be5eaa3c.tar.bz2
nixlib-13567556bf0cea954a0fdef6296d05c7be5eaa3c.tar.lz
nixlib-13567556bf0cea954a0fdef6296d05c7be5eaa3c.tar.xz
nixlib-13567556bf0cea954a0fdef6296d05c7be5eaa3c.tar.zst
nixlib-13567556bf0cea954a0fdef6296d05c7be5eaa3c.zip
* Give the real GCC a lower priority than the GCC wrapper so that both
  can be installed in a user environment without conflict.  This is
  useful if you need gcov (which isn't symlinked in the GCC wrapper).

svn path=/nixpkgs/trunk/; revision=8809
Diffstat (limited to 'pkgs/build-support/gcc-wrapper')
-rw-r--r--pkgs/build-support/gcc-wrapper/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/build-support/gcc-wrapper/default.nix b/pkgs/build-support/gcc-wrapper/default.nix
index b93747058309..6e67bbf74e6b 100644
--- a/pkgs/build-support/gcc-wrapper/default.nix
+++ b/pkgs/build-support/gcc-wrapper/default.nix
@@ -28,7 +28,7 @@ stdenv.mkDerivation {
   langF77 = if nativeTools then false else gcc.langF77;
   shell = if shell == "" then stdenv.shell else shell;
   
-  meta = if gcc != null && (gcc ? meta) then gcc.meta else
+  meta = if gcc != null && (gcc ? meta) then removeAttrs gcc.meta ["priority"] else
     { description = "System C compiler wrapper";
     };