Commit Graph

161687 Commits

Author SHA1 Message Date
Matthew Bauer
6d90a8b894 top-level/stage.nix: add static overlay
Adds the static overlay that can be used to build Nixpkgs statically.
Can be used like:

  nix build pkgsStatic.hello

Not all packages build, as some rely on dynamic linking.
2018-12-04 21:56:03 -06:00
Matthew Bauer
53a67891ab ncurses: make shared linking optinoal
when enableShared = false, we set --without-shared flag.
2018-12-04 21:16:43 -06:00
Matthew Bauer
e999def159 zlib: clean up static/shared distincion
This is kind of a mess, but basically:

- static=true, shared=true means to build statically but move it to
  the static output
- static=true, shared=false means to build statically and leave it in
  the main output
- static=false, shared=true means to not build static at all

Confusingly, the old default was static=true, shared=true even though
static=false? Still can’t figure out what was meant by that.
2018-12-04 21:14:41 -06:00
Matthew Bauer
5e06294276 darwin/libiconv: fix static/shared logic
The conditional was incorrect - postInstall script should only hsppen
when enableShared = true.
2018-12-04 21:13:24 -06:00
Matthew Bauer
8726f6a558 stdenv/adapters.nix: fixup makeStaticBinaries
- makeStaticBinaries don’t work on Darwin (no stable ABI!)
- Need to make sure NIX_CFLAGS_LINK appends
- isStatic is not used anymore
2018-12-04 21:12:17 -06:00
Matthew Bauer
b966d3c583 treewide: remove static packages
Nixpkgs is meant to link everything dynamically. We don’t want to
expose static packages at the top level. If some package needs
statically built binaries, it should use a custom override.
2018-12-04 21:10:45 -06:00
Matthew Bauer
a3a6ad7a01 stdenv: implement crossOverlays
crossOverlays only apply to the packages being built, not the build
packages. It is useful when you don’t care what is used to build your
packages, just what is being built. The idea relies heavily on the
cross compiling infrastructure. Using this implies that we need to
create a cross stdenv.
2018-12-04 21:06:46 -06:00
Matthew Bauer
9d8de9ffaa c-ares: don’t set configure flags
These aren’t needed with dontDisableStatic
2018-12-04 20:58:19 -06:00
worldofpeace
572b514582
Merge pull request #51229 from marsam/feature/fedpkg-cleanup
fedpkg: remove unneeded patch
2018-12-04 21:15:32 -05:00
Austin Seipp
3aa9091162 buildRustCreate: export RUSTDOC during cargo config
See https://github.com/NixOS/nixpkgs/pull/50452#issuecomment-443455411

Signed-off-by: Austin Seipp <aseipp@pobox.com>
2018-12-04 19:51:51 -06:00
Austin Seipp
2a22554092 nixos/cockroachdb: simplify dataDir management, tweaks
This cleans up the CockroachDB expression, with a few suggestions from
@aszlig.

However, it brought up the note of using systemd's StateDirectory=
directive, which is a nice feature for managing long-term data files,
especially for UID/GID assigned services. However, it can only manage
directories under /var/lib (for global services), so it has to introduce
a special path to make use of it at all in the case someone wants a path
at a different root.

While the dataDir directive at the NixOS level is _occasionally_ useful,
I've gone ahead and removed it for now, as this expression is so new,
and it makes the expression cleaner, while other kinks can be worked out
and people can test drive it.

CockroachDB's dataDir directive, instead, has been replaced with
systemd's StateDirectory management to place the data under
/var/lib/cockroachdb for all uses.

There's an included RequiresMountsFor= clause like usual though, so if
people want dependencies for any kind of mounted device at boot
time/before database startup, it's easy to specify using their own
mount/filesystems clause.

This can also be reverted if necessary, but, we can see if anyone ever
actually wants that later on before doing it -- it's a backwards
compatible change, anyway.

Signed-off-by: Austin Seipp <aseipp@pobox.com>
2018-12-04 19:44:16 -06:00
Florian Klink
0834e98ece
Merge pull request #51393 from arianvp/container-names
nixos/containers: Add assertion for container name length
2018-12-05 01:25:16 +01:00
Tim Steinbach
16f42b3694 kafka: Add 2.1 2018-12-05 00:06:07 +00:00
Tim Steinbach
7c5d43f4f5 kafka: Add test for 2.0 2018-12-05 00:06:07 +00:00
Tim Steinbach
17a7e0d89e kafka: 2.0.0 -> 2.0.1 2018-12-05 00:06:07 +00:00
Philipp
169e279711 kodi-cli: init at 1.1.1
* kodi-cli: init at 1.1.1 (#50892)

* kodi-cli: nitpicks

nitpicks applied are:

  - The pname thing
    staging-next has been merged.

  - Moved to tools/misc
    applications/video is more appropriate for video applications.
    This is a script used to interact with one.

  - Changed platforms to unix
    This script can only be used where kodi is present.
2018-12-05 00:27:26 +01:00
Travis Athougies
b682e03e12 libgpg-error: enable Aarch32 support for musl
* Add ARM32 musl support for libgpg-error (#51013)
* libgpg-error: link headers instead of copying
2018-12-05 00:25:54 +01:00
Florian Klink
478654da76
Merge pull request #51526 from mayflower/gitlab-11-5-1
gitlab: 11.5.0 -> 11.5.1
2018-12-04 23:15:17 +01:00
Dmitry Kalinkin
aa85911be5
Merge pull request #49716 from eadwu/vscode/insiders
vscode,vscode-insiders: fix insiders build
2018-12-04 16:55:25 -05:00
Edmund Wu
d41e868e02
vscode,vscode-extensions: fix insiders build 2018-12-04 16:51:47 -05:00
Renaud
b38dd07eaa
nsjail: fix path to new{u|g}idmap (#51523) 2018-12-04 22:47:48 +01:00
Peter Simons
059c61d001 haskell-esqueleto: mark the build as broken 2018-12-04 22:08:46 +01:00
Peter Simons
82bb8cb934 haskell-hspec-core: use latest version when compiling with ghc-8.6.x 2018-12-04 22:08:46 +01:00
Peter Simons
63f5ed9f96 xmobar: disable the failing test suite to fix the build
The test suite tries to access the ALSA system and fails.
2018-12-04 22:08:46 +01:00
Peter Simons
d5726e6ad9 haskell-brick: update ghc-8.6.x override for the new version 2018-12-04 22:08:46 +01:00
Peter Simons
697a421fdc haskell-shelly: enable the test suite again 2018-12-04 22:08:46 +01:00
Peter Simons
72b7f7f65b hledger: update overrides for version 1.12 2018-12-04 22:08:46 +01:00
Peter Simons
752b1484e4 hackage-packages.nix: automatic Haskell package set update
This update was generated by hackage2nix v2.12-4-g121c563 from Hackage revision
b55c0469b4.
2018-12-04 22:08:46 +01:00
Peter Simons
187e892a61 LTS Haskell 12.21 2018-12-04 22:08:45 +01:00
Robin Gloster
c2b54dcee5
gitlab-shell: fix hard-coded path 2018-12-04 21:27:23 +01:00
Robin Gloster
88b63b2505
gitlab: 11.5.0 -> 11.5.1 2018-12-04 21:27:23 +01:00
Dmitry Kalinkin
c64e5ccc2f
Merge pull request #51419 from eadwu/vscode-extensions.ms-python.python/2018.11.0
vscode-extensions.ms-python.python: 2018.10.1 -> 2018.11.0
2018-12-04 15:23:01 -05:00
Dmitry Kalinkin
9dec684c89
Merge pull request #51420 from eadwu/vscode-extensions.WakaTime.vscode-wakatime/1.2.4
vscode-extensions.WakaTime.vscode-wakatime: 1.2.3 -> 1.2.4
2018-12-04 15:21:28 -05:00
Jörg Thalheim
8c74bea7b8
Merge pull request #51353 from krebs/nix-writers
build-support writers: content can be string or file
2018-12-04 20:13:36 +00:00
Renaud
c2dec0b9f7
Merge pull request #51521 from romildo/upd.zafiro-icons
zafiro-icons: 0.7.2 -> 0.7.3
2018-12-04 21:08:57 +01:00
José Romildo Malaquias
e728ff5ade zafiro-icons: 0.7.2 -> 0.7.3 2018-12-04 17:45:41 -02:00
worldofpeace
e7ff7b9318
Merge pull request #51253 from worldofpeace/pywbem-update
pythonPackages.pywbem: 0.10.0 -> 0.12.6
2018-12-04 12:58:19 -05:00
Jörg Thalheim
a995836356
dino: enable parallel building 2018-12-04 17:19:27 +00:00
Johan Thomsen
7f06f36ffb kubernetes: 1.12.2 -> 1.12.3 (#51482) 2018-12-04 18:02:34 +01:00
Eelco Dolstra
fca4fbeba9
Revert "libgit2: 0.26.6 -> 0.26.8"
This reverts commit 28b4b4b1e49309e465e0c35adb655007a08c2f23.

Fixes #51416.
2018-12-04 17:50:45 +01:00
lassulus
995defbb9b build-support writers: content can be string or file 2018-12-04 16:40:32 +01:00
Alexey Shmalko
33b9aa4f35
Merge pull request #51272 from binarin/anki-python3.7-fix
anki: 2.1.6-beta1 -> 2.1.6-beta2, fix python 3.7
2018-12-04 16:26:25 +02:00
Jörg Thalheim
fc02ed8b30
Merge pull request #51385 from symphorien/pyflame
pyflame: init at 1.6.7
2018-12-04 14:11:09 +00:00
Renaud
b6cc4ae367
Merge pull request #51494 from romildo/upd.nordic-polar
nordic-polar: init at 1.3.0
2018-12-04 15:07:56 +01:00
Renaud
911aa08afc
Merge pull request #51492 from romildo/upd.materia-theme
materia-theme: 20181115 -> 20181125
2018-12-04 15:06:12 +01:00
Jörg Thalheim
2758a38701
Merge pull request #51504 from alyssais/patch-2
doc: reminder to upgrade linux-libre with linux
2018-12-04 13:53:13 +00:00
Alexey Shmalko
dd818c8d8f
Merge pull request #51499 from kylewlacy/plex-media-player_2-23-0
plex-media-player: 2.14.1 -> 2.23.0
2018-12-04 15:13:53 +02:00
Alexey Shmalko
48daad824e
Merge pull request #51507 from timokau/spotify-1.0.94
spotify: 1.0.93.242.gc2341a27-15 -> 1.0.94.262.g3d5c231c-9
2018-12-04 15:01:34 +02:00
José Romildo Malaquias
c46915c9c1 materia-theme: move to pkgs/data/themes 2018-12-04 10:56:57 -02:00
José Romildo Malaquias
eff0cf020f materia-theme: 20181115 -> 20181125 2018-12-04 10:50:48 -02:00