summary refs log tree commit diff
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2004-04-03 15:45:42 +0000
committerEelco Dolstra <eelco.dolstra@logicblox.com>2004-04-03 15:45:42 +0000
commit0d4967fc35631ebfe9869739d01e713d60bd21ff (patch)
tree9b1dad29fd8b3f1c2a15b4619314ef6015f884bd
parent1550034ac40a680a5947011d84827244c95a67f4 (diff)
downloadnixlib-0d4967fc35631ebfe9869739d01e713d60bd21ff.tar
nixlib-0d4967fc35631ebfe9869739d01e713d60bd21ff.tar.gz
nixlib-0d4967fc35631ebfe9869739d01e713d60bd21ff.tar.bz2
nixlib-0d4967fc35631ebfe9869739d01e713d60bd21ff.tar.lz
nixlib-0d4967fc35631ebfe9869739d01e713d60bd21ff.tar.xz
nixlib-0d4967fc35631ebfe9869739d01e713d60bd21ff.tar.zst
nixlib-0d4967fc35631ebfe9869739d01e713d60bd21ff.zip
* Build Firefox in nixpkgs.
* Some TODOs.

svn path=/nixpkgs/trunk/; revision=910
-rw-r--r--pkgs/TODO31
-rw-r--r--pkgs/system/populate-cache.nix2
2 files changed, 31 insertions, 2 deletions
diff --git a/pkgs/TODO b/pkgs/TODO
index 608e8bf6284d..60b614d687c9 100644
--- a/pkgs/TODO
+++ b/pkgs/TODO
@@ -6,4 +6,33 @@
 
 * In setup.sh: add configureFlagsArray or something
 
-* Inform freedesktop people that Xaw requires Xpm.
\ No newline at end of file
+* Inform freedesktop people that Xaw requires Xpm.
+
+* Only add --rpath FOO/lib if FOO/lib is actually used, otherwise we
+  get lots of unneccesarily retained dependencies.
+
+* After building gcc, filter out this sillyness in .../lib/libsupc++.la and .../lib/libstdc++.la:
+
+    /nix/store/fd3dba2a24f0242af8ea7e896380be7e-gcc-3.3.3/lib/libsupc++.la:dependency_libs='
+-L/tmp/nix-26124-33/build/i686-pc-linux-gnu/libstdc++-v3/src
+-L/tmp/nix-26124-33/build/i686-pc-linux-gnu/libstdc++-v3/src/.libs -lm
+-L/tmp/nix-26124-33/build/gcc
+-L/nix/store/e173bb830ba5f727ae63e0673d929bc7-gcc-3.3.3/bin
+-L/nix/store/23ef1e01b61105fee5ef8b47faf30675-glibc-2.3.2/lib
+-L/nix/store/6d3bf84aeb18d6d92a25ce9692b0f4d2-gcc-3.3.3/lib -lgcc_s
+-lc -lgcc_s'
+
+    /nix/store/fd3dba2a24f0242af8ea7e896380be7e-gcc-3.3.3/lib/libstdc++.la:dependency_libs='
+-L/tmp/nix-26124-33/build/i686-pc-linux-gnu/libstdc++-v3/src
+-L/tmp/nix-26124-33/build/i686-pc-linux-gnu/libstdc++-v3/src/.libs -lm
+-lm -lm -L/tmp/nix-26124-33/build/gcc
+-L/nix/store/e173bb830ba5f727ae63e0673d929bc7-gcc-3.3.3/bin
+-L/nix/store/23ef1e01b61105fee5ef8b47faf30675-glibc-2.3.2/lib
+-L/nix/store/6d3bf84aeb18d6d92a25ce9692b0f4d2-gcc-3.3.3/lib -lgcc_s
+-lc -lgcc_s -lm -lgcc_s -lc -lgcc_s'
+
+  in particular references to /tmp/nix... and to /nix/store/...-
+
+  i.e., basically all -L... switches
+
+  this causes lots of unneccesarily retained dependencies
diff --git a/pkgs/system/populate-cache.nix b/pkgs/system/populate-cache.nix
index 8f7011384b97..dd7c32b9d43f 100644
--- a/pkgs/system/populate-cache.nix
+++ b/pkgs/system/populate-cache.nix
@@ -41,7 +41,7 @@ let {
       pkgs.subversion
       pkgs.pan
       pkgs.sylpheed
-#      pkgs.firefox
+      pkgs.firefox
       pkgs.MPlayer
       pkgs.MPlayerPlugin
 #      pkgs.vlc