Commit Graph
100 Commits
Author SHA1 Message Date
Eelco Dolstra c3255fe8ec fetchzip and friends: Set "name" to "source" by default
This makes them produce the same store paths as builtins.fetchgit,
builtins.fetchTarball etc. See
https://github.com/NixOS/nix/commit/65b5f177b5fbb1b0778ede047a13a3cee9c59cfe.
2017-10-30 17:17:07 +01:00
Eelco Dolstra 8f349a3bf3 Add function closureInfo to replace pathsFromGraph
Unlike pathsFromGraph, on Nix 1.12, this function produces a
registration file containing correct NAR hash/size information.

https://hydra.nixos.org/build/62832723
2017-10-25 15:38:14 +02:00
Eelco Dolstra 5939af52b3 pathsFromGraph: Remove obsolete printManifest feature 2017-10-25 15:38:11 +02:00
Eelco Dolstra db8a4a4ef5 nixUnstable: 1.12pre5619_346aeee1 -> 1.12pre5639_fda7b95c 2017-10-11 14:18:05 +02:00
Eelco Dolstra 67c3eab348 linux: 4.9.53 -> 4.9.54 2017-10-10 12:41:50 +02:00
Eelco Dolstra 9df79de1a1 Enable command-not-found
5a5db609e5 disabled it by default, which
may have been unintentional. mkEnableOption considered harmful.
2017-10-10 12:26:24 +02:00
Eelco Dolstra 30a1b94926 gdb: Remove --with-separate-debug-dir
We don't need this anymore since NixOS now sets $NIX_DEBUG_INFO_DIRS.
2017-10-10 12:05:00 +02:00
Eelco Dolstra ee9a15b323 Set $NIX_DEBUG_INFO_DIRS when environment.enableDebugInfo is enabled
This allows it to co-exist with other debug info directories, such as
the one used by dwarffs
(https://github.com/edolstra/dwarffs/blob/master/module.nix).
2017-10-10 12:04:57 +02:00
Eelco Dolstra 9b3aa19a88 Add NixOS 17.09 AMIs
Fixes #29976.
2017-10-03 16:56:59 +02:00
Eelco Dolstra 6c72efe0ba Don't generate instance-store AMIs
These are obsolete, use EBS AMIs instead.
2017-09-28 17:33:13 +02:00
Eelco Dolstra ba22ad45fe ibus-wrapper: Fix build 2017-09-27 20:28:13 +02:00
Eelco Dolstra 3378dbbeed Revert "Revert "ibus: Move ibus-setup to .dev""
This reverts commit e0771a2410.
2017-09-27 20:28:13 +02:00
Eelco Dolstra 79d547b4bb nix-daemon: Bump the default number of build users
While it's annoying to pollute the user database with a lot of nixbld*
users, 10 users is really too low for many modern systems.
2017-09-27 17:13:16 +02:00
Eelco Dolstra 28299f669a Add even more dev outputs 2017-09-27 12:08:48 +02:00
Eelco Dolstra 65b04b8bef network-manager-applet: Don't depend on webkitgtk by default
This added significant bloat to non-Gnome systems.
2017-09-27 12:08:33 +02:00
Eelco Dolstra af44f99dca ibus: Move ibus-setup to .dev
This removes python3.buildEnv from the runtime closure.
2017-09-26 23:14:39 +02:00
Eelco Dolstra c03326445b firefox: Remove about:buildconfig
Storing the build configuration caused Firefox to retain a dependency
on gcc, glibc.dev and icu4c.dev.

This reduces the size of the firefox closure from 587 to 415 MiB.
2017-09-26 23:14:35 +02:00
Eelco Dolstra 8ccce8de89 Add more dev outputs 2017-09-25 19:52:10 +02:00
Eelco Dolstra cf599d3f99 emacs: Clear the environment while dumping
This reduces the closure size of Emacs from 575 to 279 MiB. Dumping
Emacs had a chance of leaking parts of the environment (such as $PATH)
into the dumped executable. This hopefully fixes it. (It's a bit hard
to tell since the effect is not deterministic.)
2017-09-25 19:38:44 +02:00
Eelco Dolstra 60aaced9a0 Add some dev outputs 2017-09-25 16:05:10 +02:00
Eelco Dolstra b0280f598e postgresql: Add dev output
This reduces the closure size of postgresql.out by 72 MiB.
2017-09-25 16:04:39 +02:00
Eelco Dolstra b790a31204 kdoctools: Move bin stuff to the "out" output
In particular, this moves share/kf5 to the "out" output. This prevents
kdelibs4support from pulling kdoctools.dev into its closure (via
share/kf5/kdoctools/customization/dtd/kdex.dtd, which references
${kdoctools}/share/kf5).

This reduces the closure size of kdelibs4support by 156 MiB.
2017-09-25 16:04:32 +02:00
Eelco Dolstra afc0218ecd blender: Fix CUDA support
CUDA toolkit 8 doesn't support gcc 6, so we have to build opensubdiv
and blender with gcc 5.
2017-09-16 22:45:22 +02:00
Eelco Dolstra bb1c9b027d cudatoolkit: Move libcudart to a separate output
This prevents opensubdiv (and thus blender) from having all of
cudatoolkit in its closure.
2017-09-16 22:45:14 +02:00
Eelco Dolstra 63f3b35204 opencollada: 1.3 -> 1.6.59 2017-09-16 22:44:39 +02:00
Eelco Dolstra 9f740f1f7c openimage: 1.7.12 -> 1.7.17 2017-09-16 22:44:35 +02:00
Eelco Dolstra 6dad1f70ce nix: 1.11.14 -> 1.11.15 2017-09-15 16:38:33 +02:00
Eelco Dolstra b86fd340f0 nixUnstable: 1.12pre5511_c94f3d55 -> 1.12pre5619_346aeee1 2017-09-15 11:27:32 +02:00
Eelco Dolstra e3b562e0e2 blender: 2.78c -> 2.79 2017-09-13 09:54:42 +02:00
Eelco Dolstra bcd382f032 tribler: 7.0.0-beta -> 7.0.0-rc2
Also, fix the xcb plugin error
(https://github.com/NixOS/nixpkgs/issues/24256) and add service-identity which is a required dependency now.
2017-09-10 12:07:24 +02:00
Eelco Dolstra 79c9adce65 nifskope: Fix build
https://hydra.nixos.org/build/60608938
2017-09-10 10:56:35 +02:00
Eelco Dolstra 0061fae2e6 genericBuild: Communicate the current build phase to Nix
This allows the progress bar to show e.g.

  [1/9/59 built] building bison-3.0.4 (configurePhase): checking for strdup... yes
2017-09-07 22:24:27 +02:00
Eelco Dolstra 6b3cef2246 Remove tracePhases
This has not been used in a long time.
2017-09-07 22:15:37 +02:00
Eelco Dolstra ec8d41f08c Revert "Merge pull request #28557 from obsidiansystems/binutils-wrapper"
This reverts commit 0a944b345e, reversing
changes made to 61733ed6cc.

I dislike these massive stdenv changes with unclear motivation,
especially when they involve gratuitous mass renames like NIX_CC ->
NIX_BINUTILS. The previous such rename (NIX_GCC -> NIX_CC) caused
months of pain, so let's not do that again.
2017-09-07 12:51:21 +02:00
Eelco Dolstra 24646266bb Set ownership of CODEOWNERS 2017-09-07 12:19:54 +02:00
Eelco Dolstra adb8a0a7e1 Change owner of stdenv and lib 2017-09-07 12:17:36 +02:00
Eelco Dolstra a602e1aa70 pythonPackages.libarchive-c: Disable failing test
https://github.com/NixOS/nixpkgs/commit/f9f9749fd2a7b75bea9660a60634965de98bac88#commitcomment-24028305
(cherry picked from commit 22d4630e683b9e0fddf34fdc276fc08014e4ae61)
2017-09-07 09:28:03 +02:00
Eelco Dolstra 79954b9d1f nix: 1.11.13 -> 1.11.14 2017-08-31 11:00:09 +02:00
Eelco Dolstra 9eb901b70d Merge remote-tracking branch 'origin/gcc-6' into staging 2017-08-14 11:38:00 +02:00
Eelco Dolstra 9bcee1051a strigi: Build on gcc 6
https://hydra.nixos.org/build/56882669
2017-07-31 11:09:33 +02:00
Eelco Dolstra cc9bfd2cf8 elfutils: Respect $NIX_DEBUG_INFO_DIRS
This makes eu-stack and eu-addr2line do the right thing in a
nix-shell (if the appropriate debug outputs are present).
2017-07-28 16:38:26 +02:00
Eelco Dolstra 340bd1ed2e elfutils: 0.168 -> 0.169 2017-07-28 16:38:26 +02:00
Eelco Dolstra 5c5b71df5e Add a setup hook to fill NIX_DEBUG_INFO_DIRS
This setup hook is propagated by gdb. Thus, a typical use is:

  $ nix-shell -p gdb nix nix.debug sqlite.debug ...

and gdb will be able find the debug symbols of nix etc. automatically.
2017-07-28 16:38:26 +02:00
Eelco Dolstra 5b09152898 gdb: Look for .build-id files in NIX_DEBUG_INFO_DIRS
This allows us to provide a setup hook that makes debug outputs
findable by gdb.
2017-07-28 16:38:22 +02:00
Eelco Dolstra 63d7b6ee29 makeImageFromDebDist: Add extraDebs arguments
This allows adding packages that are not part of the distribution, e.g.g

  extraDebs = [
    (pkgs.fetchurl {
      name = "openjdk.deb";
      url = http://ppa.launchpad.net/openjdk-r/ppa/ubuntu/pool/main/o/openjdk-8/openjdk-8-jdk-headless_8u111-b14-3~14.04.1_amd64.deb;
      sha256 = "1n5ibpkx9pjmc4nr052rls1yqbq7ckav2rabixjhd4yxbyhjl0ap";
    })
  ];
2017-07-27 20:34:24 +02:00
Eelco Dolstra a7c8f5e419 debian: 8.8 -> 8.9 2017-07-26 20:02:17 +02:00
Eelco Dolstra 61764cbba4 Revert "docbook-xsl: Install dbtoepub"
This reverts commit 4e32f5bda3.

IMHO, it's not desirable to make docbook-xsl (and by extension a
gazillion packages that depend on it) pull in Ruby. (For example, I
just noticed that wget depends on ruby now...)
2017-07-26 11:35:03 +02:00
Eelco Dolstra 47821f1cf0 cc-wrapper: More quadratic performance fixes
This eliminates the slow lookup of whether we've already seen an rpath
/ library path entry.

Issue #27609.
2017-07-25 18:46:49 +02:00
Eelco Dolstra 70d4d22806 cc-wrapper: Add a "man" output
... and propagate cc.man from there.
2017-07-25 16:12:58 +02:00
Eelco Dolstra b9c403c531 stdenvLinux: Remove bootstrapTools from closure
The "expand-response-params" program had an unnecessary reference to
bootstrapTools, bloating the closure from 205 to 314 MiB.
2017-07-25 14:21:17 +02:00
Eelco Dolstra ecaef62bd9 cdrdao: Fix build on gcc 6
http://hydra.nixos.org/build/56889707
2017-07-25 12:01:38 +02:00
Eelco Dolstra dac08b2a98 clucene-core: Fix build on gcc 6
http://hydra.nixos.org/build/56895322
2017-07-25 11:55:50 +02:00
Eelco Dolstra d65e528a37 Merge remote-tracking branch 'origin/master' into gcc-6 2017-07-24 18:27:24 +02:00
Eelco Dolstra aa4a92d2df cc-wrapper/ld-wrapper: Minor speedup in string concatenation
There is still a O(n) pattern match in ld-wrapper, so we should
probably rewrite that code to use associative arrays.
2017-07-24 14:48:26 +02:00
Eelco Dolstra 6669a3b477 stdenv: Remove log nesting
Nix/Hydra no longer support pretty printing of logs, so this is no
longer useful.
2017-07-24 14:30:46 +02:00
Eelco Dolstra 9f345ce2c7 gnumake41: Remove unused version 2017-07-24 14:27:12 +02:00
Eelco Dolstra 8cfe77444b gnumake40: Remove unused version 2017-07-24 14:27:11 +02:00
Eelco Dolstra 969d7b0451 gnumake380: Remove
This hasn't been used in a long time.
2017-07-24 14:27:11 +02:00
Eelco Dolstra 91dc811566 diffoscope: Move all required tools into pythonPath
Alternative fix for #27534 that prevents the use of a double wrapper
(creating even uglier script names than usual, like
..diffoscope-wrapped-wrapped).

This was my bad in 96d7f35e96.
2017-07-21 15:15:12 +02:00
Eelco Dolstra 3e68facc72 Revert "diffoscope: wrap executable and include tools in PATH"
This reverts commit 23ad77b998.

Double wrapper scripts considered harmful.
2017-07-21 15:15:04 +02:00
Eelco Dolstra 8a31137441 nixUnstable: 1.12pre5506_3162ad5f -> 1.12pre5511_c94f3d55 2017-07-21 12:52:57 +02:00
Eelco Dolstra a13802b2c8 Merge remote-tracking branch 'origin/master' into gcc-6 2017-07-21 11:05:58 +02:00
Eelco Dolstra 17642b5fd0 nix: 1.11.12 -> 1.11.13 2017-07-18 10:54:01 +02:00
Eelco Dolstra 40cf34aaae nix: 1.11.11 -> 1.11.12 2017-07-13 16:37:11 +02:00
Eelco Dolstra 88d9d2de5b Use LLVM 4 on all platforms 2017-07-12 19:08:56 +02:00
Eelco Dolstra 222c2b34d9 apr-util: 1.5.4 -> 1.6.0 2017-07-12 16:43:03 +02:00
Eelco Dolstra 770b2b6912 apr: 1.5.2 -> 1.6.2 2017-07-12 16:43:02 +02:00
Eelco Dolstra 7b52b0c067 youtube-dl: 2017.06.18 -> 2017.07.09 2017-07-09 21:23:13 +02:00
Eelco Dolstra 8fc5beb855 httpd: 2.4.25 -> 2.4.26
CVE-2017-3167, CVE-2017-3169, CVE-2017-7659, CVE-2017-7668,  CVE-2017-7679
2017-07-07 17:24:13 +02:00
Eelco Dolstra 707703185d nixos-rebuild: Respect empty NIX_REMOTE
Fixes #11384.

Note: in Nix 1.12, you can set NIX_REMOTE to "local" to avoid
ambiguity.
2017-07-07 11:58:10 +02:00
Eelco Dolstra 942422a646 Merge branch 'glibc' of https://github.com/rnhmjoj/nixpkgs into staging 2017-07-06 15:14:57 +02:00
Eelco Dolstra c23dcd72a0 Enable some more debug info 2017-07-05 16:04:54 +02:00
Eelco Dolstra 07176ed6f1 gcc: 6.3.0 -> 6.4.0 2017-07-04 18:39:18 +02:00
Eelco Dolstra 6feedb4492 Forks::Super: Build on Hydra 2017-06-29 15:00:44 +02:00
Eelco Dolstra 32e492251b systemd: Apply fix for CVE-2017-9445 2017-06-28 14:08:05 +02:00
Eelco Dolstra 5446934b41 nix: 1.11.10 -> 1.11.11
(cherry picked from commit 7b1e936b24ca60810cdb6d46b68300cd179836f1)
2017-06-19 19:03:39 +02:00
Eelco Dolstra c1e5ca92b7 aws-sdk-cpp: Better fix for the failing credentials test 2017-06-19 10:58:37 +02:00
Eelco Dolstra ac8451508b aws-sdk-cpp: 1.0.127 -> 1.0.153 2017-06-16 19:18:28 +02:00
Eelco Dolstra 672d2dfbb8 aws-sdk-cpp: Fix credentials test
These require a home directory.

http://hydra.nixos.org/build/54519006
2017-06-16 19:18:24 +02:00
Eelco Dolstra 0bffe03828 nix: 1.11.9 -> 1.11.10 2017-06-12 20:13:27 +02:00
Eelco Dolstra 63e9d1c51e perf: Fix perf annotate
This command requires objdump, so make sure it can find it.
2017-06-12 13:23:18 +02:00
Eelco Dolstra 0996ea8a68 NixOS VM tests: Don't create a setgid group in vde_switch
Nix no longer allows this for security reasons.

http://hydra.nixos.org/build/53993125
2017-06-07 11:57:36 +02:00
Eelco Dolstra 338cdea332 Merge branch 'master2' of https://github.com/gnidorah/nixpkgs into staging 2017-06-07 11:46:17 +02:00
Eelco Dolstra fad6fc3dae icu: Trivial improvement 2017-06-07 11:46:03 +02:00
Eelco Dolstra 3d4a8e1f84 nixUnstable: 1.12pre5350_7689181e -> 1.12pre5413_b4b1f452 2017-06-06 15:06:42 +02:00
Eelco Dolstra 1318120484 Fix indentation 2017-05-30 18:11:37 +02:00
Eelco Dolstra 8a07319e7f ixgbevf: 4.0.3 -> 4.1.2
This fixes

  error: assertion failed at /home/eelco/Dev/nixpkgs-stable/pkgs/os-specific/linux/ixgbevf/default.nix:3:1
  (use ‘--show-trace’ to show detailed location information)

deploying a >=4.10 kernel to EC2. (We could probably also drop the
ixgbevf package with recent kernels, since the ixgbevf module included
in the kernel source tree is recent enough according to Amazon's
recommendation.)
2017-05-24 14:51:39 +02:00
Eelco Dolstra 3b44cd731c aws-sdk-cpp: 1.0.60 -> 1.0.127 2017-05-22 14:36:20 +02:00
Eelco Dolstra e2700861fb shadow: Fix hash 2017-05-08 16:56:05 +02:00
Eelco Dolstra 234cdc02eb nixUnstable: 1.12pre5344_eba840c8 -> 1.12pre5350_7689181e 2017-05-08 16:50:58 +02:00
Eelco Dolstra 31c2d20621 debian: 8.7 -> 8.8 2017-05-08 16:02:38 +02:00
Eelco Dolstra 7f6abddcd7 shadow: Fix using default shell in useradd
This caused "useradd xyzzy" to produce a user with no shell:

  xyzzy:x:1002:100::/home/xyzzy:

https://github.com/shadow-maint/shadow/pull/33
2017-05-08 15:10:50 +02:00
Eelco Dolstra d53540dd32 nixUnstable: 1.12pre5308_2f21d522 -> 1.12pre5344_eba840c8 2017-05-04 20:45:20 +02:00
Eelco Dolstra 94d164dd7f Add a setup hook for detecting $TMPDIR references in RPATHs and wrapper scripts 2017-05-04 20:23:57 +02:00
Eelco Dolstra 3b8f8951db Merge remote-tracking branch 'origin/master' into staging 2017-05-04 20:23:38 +02:00
Eelco Dolstra d46e78ed0f libseccomp: Fix RPATH
Ensure that bin/scmp_sys_resolver doesn't have $TMPDIR in its RPATH.

I can't reproduce the issue reported in
98edb24368 that required the addition of
a wrapper script. It seems to work fine without.
2017-05-04 20:23:13 +02:00
Eelco Dolstra b7ed6ef9e1 man-pages: 4.09 -> 4.11 2017-05-04 15:56:06 +02:00
Eelco Dolstra 7d3f1d9c56 hydra: preHook -> shellHook
Upstream https://github.com/NixOS/hydra/commit/8abc595d1c95cc4adf9d1e81cdd1b187731c3de3.
2017-05-04 15:34:25 +02:00
Eelco Dolstra 20d846bcdd nixUnstable.perlBindings: Fix Nix::Config generation
The configure script calls nix-instantiate, which fails if /nix/var
doesn't exist (e.g. in a sandbox). This caused a bogus Nix::Config
module to be generated, causing issues in Hydra.
2017-05-03 17:39:43 +02:00
Eelco Dolstra e042db5e41 nixUnstable: 1.12pre5152_915f62fa -> 1.12pre5308_2f21d522 2017-04-28 17:55:53 +02:00