Commit Graph
151591 Commits
Author SHA1 Message Date
John Ericson f2bb59e710 stdenv linux, stdenv cross: Harmonize extraNativeBuildInputs
Want to make sure these are the same per host platform, without duplication.
2018-09-18 16:27:04 -04:00
John Ericson 2111e7b742 mkDerivation: Make separateDebugInfo assertion lazier to match other assertions
This is needed to access attributes of derivations on platforms where
they cannot be built.
2018-09-18 16:25:19 -04:00
John Ericson 6769437186 androidndk: Add Darwin support
Also switch Linux to using the official sha1 hashes for consistency.
They are gotten from https://developer.android.com/ndk/downloads/.
2018-09-17 22:34:37 -04:00
John Ericson 8da28de0e8 haskell infra: "late bind" buildHaskellPackages
This way it can be overridden.
2018-09-17 16:01:26 -04:00
John Ericson 1ad73bb3ca ios-depoy: Add missing rsync dep 2018-09-15 14:48:03 -04:00
John Ericson b8ce6a31f5 elf-header: Init at <libc version>
A little shim derivation to get this header for Darwin, where it is
needed for cross compilation.

There's no real reason to do glibc and musl like that, but as I'm
maintaining it I suppose I can go overboard like that.
2018-09-15 01:14:31 -04:00
John Ericson 2205beaa8c glibc: Expose the version 2018-09-15 01:14:31 -04:00
John Ericson 846b44b2e9 glibc, kernel-headers: Fix some eval errors on Darwin
Need to get the source to get elf.h
2018-09-15 01:07:06 -04:00
John Ericson d7e3dbef66 glibc: Use lib.enableFeature and friends 2018-09-11 17:14:55 -04:00
John Ericson 9f9723b179 nixpkgs module: Fix defaulting of localSystem and system
Take two of #40708 (4fe2898608).

That PR attempted to bidirectionally default `config.nixpkgs.system` and
`config.nixpkgs.localSystem.system` to each be updated by the other. But
this is not possible with the way the module system works. Divergence in
certain cases in inevitable.

This PR is more conservative and just has `system` default `localSystem`
and `localSystem` make the final call as-is. This solves a number of
issues.

 - `localSystem` completely overrides `system`, just like with nixpkgs
 proper. There is no need to specify `localSystem.system` to clobber the
 old system.

 - `config.nixpkgs.localSystem` is exactly what is passed to nixpkgs. No
 spooky steps.

 - `config.nixpkgs.localSystem` is elaborated just as nixpkgs would so
 that all attributes are available, not just the ones the user
 specified.

The remaining issue is just that `config.nixpkgs.system` doesn't update
based on `config.nixpkgs.localSystem.system`. It should never be
referred to lest it is a bogus stale value because
`config.nixpkgs.localSystem` overwrites it.

Fixes #46320
2018-09-07 16:43:56 -04:00
John Ericson 8ae27030aa doc: Add changelog entry for new definition of system and stdenv.system
See the previous commit for details.
2018-09-06 09:24:08 -04:00
John Ericson 773233ca77 top-level, stdenv: Make system and stdenv.system describe the hostPlatform.
Intuitively, one cares mainly about the host platform: Platforms differ
in meaningful ways but compilation is morally a pure process and
probably doesn't care, or those difference are already abstracted away.
@Dezgeg also empirically confirmed that > 95% of checks are indeed of
the host platform.

Yet these attributes in the old cross infrastructure were defined to be
the build platform, for expediency. And this was never before changed.
(For native builds build and host coincide, so it isn't clear what the
intention was.)

Fixing this doesn't affect native builds, since again they coincide. It
also doesn't affect cross builds of anything in Nixpkgs, as these are no
longer used. It could affect external cross builds, but I deem that
unlikely as anyone thinking about cross would use more explicit
attributes for clarity, all the more so because the rarity of inspecting
the build platform.
2018-09-06 08:33:51 -04:00
John Ericson e51f736076 top-level: Deprecate top-level {build,host,target}Platform
I don't know when we can/should remove them, but this at least gets
people to stop using them. The preferred alternatives also date back to
17.09 so writing forward-compatable code without extra conditions is
easy.

Beginning with these as they are the least controversial.
2018-09-05 11:53:51 -04:00
John Ericson 51907d257c stdenv, neovim: Use lib.warn for deprecation warnings 2018-09-05 11:40:29 -04:00
John Ericson 06cd7c15a3 mkDerivation: Fix cross compilation
Derivations where drawing their `system` attribute from `hostPlatform`
instead of `buildPlatform`. Fix that, and add an explanatory commment.

Fixes #45993
2018-09-03 23:18:24 -04:00
Graham Christensen 61deecdc34 nixos docs: more IDs 2018-09-02 15:56:24 -04:00
Mario Rodasandxeji a3872f66b7 racket-minimal: fix hash (#45952) 2018-09-02 21:51:49 +02:00
Graham Christensen ff23dd110b nixos docs: more IDs 2018-09-02 15:47:59 -04:00
Jan Malakhovskiandxeji a402c8f295 fbreader: 0.99.4 -> 0.99.6, switch to fetchFromGitHub, add more build options (#45840)
This, apparently, is not an official release (it's tagged, but the tarball is not
available on the official site), but this repo is the official repo mentioned on
the official site.

This fixes a bunch of very annoying bugs present in 0.99.4, e.g.

```
$ FBReader filename
```

does not crash anymore. Yay!
2018-09-02 21:47:06 +02:00
Milan Svobodaandxeji ae76e51f86 FreeOrion 0.4.7.1 -> 0.4.8 (#45943) 2018-09-02 21:42:47 +02:00
Samuel Dionne-RielandGitHub a92cfb5725 Merge pull request #45912 from xeji/p/dhcpcd
dhcpcd: 6.11.5 -> 7.0.8
2018-09-02 15:28:15 -04:00
Christopher Birkbeckandxeji 0dd7a0f266 Added an example for environment.variable. (#45956) 2018-09-02 21:21:14 +02:00
Roman Volosatovsandxeji 720c163a55 kitty: Add terminfo attr (#45953) 2018-09-02 21:07:31 +02:00
Kenny Shenandxeji 1c95066639 gnu-pw-mgr: 2.3.3 -> 2.4.2 (#45951) 2018-09-02 21:05:05 +02:00
xejiandGitHub f3794f3069 Merge pull request #45955 from romildo/upd.dtkwidget
dtkwidget: init at 2.0.9.3
2018-09-02 21:04:28 +02:00
xejiandGitHub 87ba30b5c7 Merge pull request #45939 from rnhmjoj/scc
sc-controller: 0.4.3 -> 0.4.4
2018-09-02 20:58:13 +02:00
Graham ChristensenandGitHub 146f8bac7e Merge pull request #45911 from samueldr/fix/nixos-help-browser
nixos/manual: nixos-help knows about colon-separated BROWSER
2018-09-02 14:30:22 -04:00
Graham ChristensenandGitHub f14b6cb6ec Merge pull request #44526 from samueldr/feature/actiavation-failure-identification
nixos/activation: Identifies the snippet that failed
2018-09-02 14:28:10 -04:00
José Romildo Malaquias de7a1c8e46 dtkwidget: init at 2.0.9.3 2018-09-02 15:21:18 -03:00
José Romildo Malaquias c48a234ab1 dtkcore: only define QT_HOST_DATA if it is empty, enable parallel building 2018-09-02 15:20:55 -03:00
rnhmjoj 8670ee4689 sc-controller: fix missing libbluetooth.so 2018-09-02 20:05:54 +02:00
Jan TojnarandGitHub e2a731fc5c Merge pull request #45949 from jtojnar/gcolor3
gcolor3: 2.2 → 2.3
2018-09-02 18:24:23 +01:00
Jan Tojnar 87f3a2a406 gcolor3: 2.2 → 2.3 2018-09-02 18:53:04 +02:00
Michael Weiss 85e46d12b3 android-studio: Refactor the code & minor improvements 2018-09-02 18:45:40 +02:00
Yorickandxeji 1ee3ad6732 wireguard: change preStop to postStop, require network.target (#45569)
* wireguard: change preStop to postStop, require network.target

* wireguard service: network.target -> network-online.target
2018-09-02 17:07:55 +02:00
Ryan MulliganandGitHub 7b54a50e97 Merge pull request #45730 from Helkafen/snakemake
snakemake: init at 5.2.2
2018-09-02 07:54:13 -07:00
R. RyanTMandxeji c2a984c450 itk: 4.13.0 -> 4.13.1 (#45827)
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
itk
2018-09-02 16:43:46 +02:00
Michael WeissandGitHub 044c16a978 Merge pull request #45853 from bkchr/android_studio_desktop
android-studio: Add desktop item
2018-09-02 16:27:46 +02:00
Peter SimonsandGitHub b35b8baddd Merge pull request #45348 from shlevy/shellFor-all-build-inputs
haskellPackages.shellFor: fix after recent getHaskellBuildInputs fix.
2018-09-02 16:11:43 +02:00
Michael Weiss 1ef5b1780f iputils: Code refactoring and fixes
- Fix the cross-compiling check and add openssl for ninfod
- Add "AS-IS, SUN MICROSYSTEMS license" to meta.licenses
- Install igp (see man pg3)
2018-09-02 15:56:35 +02:00
Michael Weiss a9629064d8 iputils: Drop unnecessary dependencies 2018-09-02 15:56:32 +02:00
volthandxeji a9a8043b9b install-grub.pl: avoid double '/' in menu.lst and grub.conf (#45907)
Although double '/' in paths is not a problem for GRUB supplied with nixpkgs, sometimes NixOS's grub.conf read by external GRUB and there are versions of GRUB which fail
2018-09-02 14:34:55 +02:00
xejiandGitHub 6a7cd78884 Merge pull request #45818 from jglukasik/master
ipfs-cluster: init at v0.5.0
2018-09-02 13:52:48 +02:00
Uli Baum 13c3986b7a nixos/tests/networking.*.macvlan: disable reverse path check
Generated reverse path filtering rules for the macvlan interface
seem to be incorrect, causing the test to fail - sometimes or always,
depending on the dhcpcd version used.
- Disable reverse path checking temporarily to avoid blocking the channel
- Print more diagnostic information for debugging
2018-09-02 12:26:28 +02:00
Gabriel Ebner 4d3ed9f5d5 gpxsee: 4.19 -> 5.17 2018-09-02 12:17:22 +02:00
Robert Schütz e5bd748795 home-assistant: 0.77.1 -> 0.77.2 2018-09-02 09:45:31 +02:00
xejiandGitHub 224a5503ca nixos/release.nix: disable blivet test (#45931)
- has been broken since 2017-07-24
- no attempts to fix it
- it tests an outdated blivet version (Oct 2014)
2018-09-02 09:37:48 +02:00
Daniël de Kokandxeji ffde2e71bc backblaze-b2: 1.1.0 -> 1.3.6 (#45929)
Changelog: https://github.com/Backblaze/B2_Command_Line_Tool#release-history
2018-09-02 08:45:09 +02:00
xejiandGitHub a3434cf4e5 Merge pull request #45921 from markuskowa/homepages
Cleanup homepage links
2018-09-02 08:39:30 +02:00
Sarah BrofeldtandGitHub 3e537206f0 Merge pull request #45928 from jD91mZM2/cargo-tree
cargo-tree: 0.19.0 -> 0.20.0
2018-09-02 08:28:17 +02:00