Commit graph

18287 commits

Author SHA1 Message Date
John Ericson
295315cc87 binutilsCross: Remove and use binutils instead always
See previous commit for what was done to `binutils` to make this
possible.

There were some uses of `forcedNativePackages` added. The
combination of overrides with that attribute is highly spooky: it's
often important that if an overridden package comes from it, the
replaced arguments for that package come from it. Long term this
package set and all the spookiness should be gone and irrelevant:

  "Move along, nothing to see here!"

No hashes should be changed with this commit
2017-04-25 21:36:19 -04:00
John Ericson
85b4d30c0b binutils: Respect the targetPlatform
Use `buildPackages.binutils` to get build = host != target binutils,
i.e. the old `binutilsCross`, and use
`buildPackages.buildPackages.binutils` to get build = host = target
binutils, i.e. the old `binutils`.

`buildPackages` chains like this are supposed to remove the need for
all such `*Cross` derivations. We start with binutils because it's
comparatively easy.

No hashes of cross-tests should be changed
2017-04-25 21:31:50 -04:00
John Ericson
a7068ace35 Rewrite a few stdenv.cross uses that *should* be targetPlatform
The previous commit redefines `stdenv.cross` for the sake of normal
libaries, the most common use-case of that attribute. Some compilers
however relied on the old definition so we have them use
`targetPlatform` instead. This special casing is fine because we
eventually want to remove `stdenv.cross` and use either `hostPlatform`
or `targetPlatform` instead.
2017-04-24 16:31:45 -04:00
John Ericson
bef5278664 top-level: Common subexpression elimination for cc-wrapper usage
- `ccWrapperFun` can be used in a few more places instead of
   duplicating its definition.

 - `ccWrapper` parameter on `wrapCC` is always substituted with
   `ccWrapperFun` so just get rid of that parameter.
2017-04-24 13:57:27 -04:00
Thomas Tuegel
e019978d02 Merge pull request #23922 from gnidorah/master
mytetra: init at 1.42.2
2017-04-22 15:06:44 -05:00
Benno Fünfstück
cfcceaee27 Merge pull request #24473 from jgertm/tj/xsv
xsv: init at 0.11.0
2017-04-22 00:26:10 +02:00
Benno Fünfstück
1db5cf49d3 Merge pull request #24479 from Ma27/init/lambda-mod-zsh-theme
lambda-mod-zsh-theme: init at eceee68cf46bba9f7f42887c2128b48e8861e31b
2017-04-22 00:10:14 +02:00
Benno Fünfstück
a0e60af067 Merge pull request #24819 from dbrock/ethrun
ethrun: init at 0.1.0
2017-04-21 23:54:07 +02:00
Vincent Laporte
59c70e446c jbuilder: 1.0+beta5 -> 1.0+beta7 2017-04-21 07:02:31 +00:00
Jörg Thalheim
d15f26ec69
dino: init at unstable-2017-04-20 2017-04-20 15:16:55 +02:00
Unknown
2f66670162 buildtorrent: init at 0.8 2017-04-20 03:42:49 +02:00
aszlig
b017935103
vlc: Fix build for Qt >= 5.7.0
This basically does something similar than the AUR build:

https://aur.archlinux.org/packages/vlc-qt5/

On our side, all there is to do is to force compiling using C++11 mode
and use a patch that the AUR package took from the following upstream
patchwork URL:

https://patches.videolan.org/patch/14061/

Instead of passing CXXFLAGS to the configure script, I'm using sed here
to make sure we don't override flags figured out by configure.

For example if ./configure is used with CXXFLAGS=-std=c++11 appended or
prepended, we have something like:

... -I../include   -std=c++11 -Wall -Wextra -Wsign-compare ...

While if we don't do that at all, we have something like:

... -I../include   -g -O2 -Wall -Wextra -Wsign-compare ...

Another way would be to use NIX_CFLAGS_COMPILE, but that would affect
even compilation of C code and thus resulting in a bunch of warnings
like this:

cc1: warning: command line option '-std=c++11' is valid for C++/ObjC++
              but not for C

So with our approach the flags during build look much better:

... -I../include   -std=c++11 -g -O2 -Wall -Wextra -Wsign-compare ...

Another thing I've changed is that the vlc_qt5 attribute in
all-packages.nix now uses the latest Qt 5 version, because the build for
Qt >= 5.7.0 is now no longer broken.

I've also ordered the preConfigure attribute before the configureFlags
attribute, because it makes more sense in terms of context (pre ->
configure -> post).

Tested by building on x86_64-linux with libsForQt56.vlc, libsForQt58.vlc
and vlc (the Qt 4 version, just to be sure I didn't accidentally break
it).

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
Cc: @ttuegel
2017-04-19 05:09:47 +02:00
Jörg Thalheim
dc017e634c Merge pull request #25001 from jb55/new/pidgin-carbons
pidgin-carbons: init at 0.1.3
2017-04-18 22:46:51 +02:00
William Casarin
36bd9d2463 pidgin-carbons: init at 0.1.3
Implements XMPP extension XEP-0280: Message Carbons for pidgin
2017-04-18 09:26:05 -07:00
Nick Hu
e0bf92950c fdr: fix Qt library dependency 2017-04-18 17:09:54 +01:00
Frederik Rietdijk
dd662792b1 kdeApplications.kolourpaint: init at 16.12.3 2017-04-18 14:18:19 +02:00
Jörg Thalheim
81e6e21175 Merge pull request #24521 from orivej/instead-launcher
instead-launcher: init at 0.6.3
2017-04-18 01:36:40 +02:00
John Ericson
f0b634c7e8 Merge pull request #24610 from Ericson2314/platform-normalization
Platform normalization
2017-04-17 17:28:01 -04:00
John Ericson
2227789392 lib: Collect system/platform related files
Previously, platforms was a random thing in top-level
2017-04-17 17:13:01 -04:00
jraygauthier
383706f36d digikam: add video support through libqtav (#24866)
* libqtav: init at unstable-2017-03-30

* digikam: add video support through `libqtav` dependency

Issue #24426.
2017-04-17 22:28:20 +02:00
Chris Hodapp
228f33b21d osm2pgsql: init at 0.92.1-unstable 2017-04-17 16:19:41 -04:00
Jörg Thalheim
1d84a914f5 Merge pull request #24385 from kuznero/master
fsharp: init at 4.1.7
2017-04-17 19:32:35 +02:00
Jörg Thalheim
e8f2046abc Merge pull request #24941 from amiloradovsky/dale
dale: init at 20170416
2017-04-17 19:24:18 +02:00
Jörg Thalheim
c7ac0f39b5 Merge pull request #24927 from Mic92/rustup
rustup: init at 1.2.0
2017-04-17 17:10:10 +02:00
Jörg Thalheim
10eef8c196
rustup: init at 1.2.0 2017-04-17 15:53:36 +02:00
Roman Kuznetsov
a0466f7f22 fsharp: 4.0.1.1 -> 4.1.7
Build F# with default mono version

Introduce separate fsharp41 packages
2017-04-17 10:39:38 +02:00
Andrew Miloradovsky
da9a147b7b dale: init at 20170416
Lisp-flavoured C. Dale is a system (no GC) programming language
that uses S-expressions for syntax and supports syntactic macros.
2017-04-17 01:03:14 +00:00
xNWDD
73a21ae6c9 jucipp: init at 1.2.3 (#24788)
* jucipp: init at 1.2.3

* jucipp: removed imagemagick dependency

was used earlier during package development to raster the icon,
decided it was better to wait for svgs to get fixed, forgot to clean

* juicipp: fix static libraries weren't linking
2017-04-16 20:56:08 +02:00
Jörg Thalheim
769de5629c Merge pull request #24932 from jb55/add/cargo-edit
cargo-edit: init at 0.1.6
2017-04-16 20:51:44 +02:00
Jörg Thalheim
69d77eaa28 Merge pull request #24848 from rzetterberg/master
gdrive: init at 2.1.0
2017-04-16 17:20:33 +02:00
Richard Zetterberg
e9380248dd gdrive: init at 2.1.0
Adds the go-based Google Drive CLI application "gdrive".
2017-04-16 14:48:01 +02:00
Vladimír Čunát
2065eea424
mesa: reduce usage of the attribute and explain why 2017-04-16 13:03:15 +02:00
Michael Raskin
c2da0fb22c clac: init at 20170416 2017-04-16 11:30:23 +02:00
Peter Hoeg
4ecafcf5b2 quaternion: init at 2017-04-15 2017-04-16 16:52:59 +08:00
sternenseemann
5b065a5ba5 glyr: init at 1.0.10 2017-04-15 18:40:23 +02:00
William Casarin
209e8e53fb cargo-edit: init at 0.1.6 2017-04-15 09:17:21 -07:00
Profpatsch
7df8e53d28 psc-package: init at 0.1.1 2017-04-15 16:10:13 +02:00
Michael Raskin
b454dcd0e0 safefile: init at 1.0.5 2017-04-15 10:59:16 +02:00
Yann Hodique
04b30942bf ghq: init at 0.7.4 2017-04-14 20:59:45 -07:00
Benjamin Staffin
8d07a8b381 Merge pull request #24883 from lucas8/fanficfare
fanficfare: init at 2.9.0
2017-04-14 19:08:16 -04:00
Vladimír Čunát
2090aa4f65
Merge: fixup a bad merge
For details see:
https://github.com/NixOS/nixpkgs/commit/24444513fb5#commitcomment-21767916
2017-04-14 19:11:17 +02:00
Peter Hoeg
862fc1b465 tensor: init at (post) 0.3 2017-04-14 19:05:01 +08:00
Eelco Dolstra
6a1f168b1e
flashplayer-standalone: 25.0.0.127 -> 25.0.0.148 2017-04-14 11:44:22 +02:00
Vladimír Čunát
24444513fb
Merge branch 'staging' 2017-04-14 10:32:13 +02:00
Jörg Thalheim
3f7af64de1 Merge pull request #24885 from sigma/pr/cayley
cayley: init at 0.6.1
2017-04-14 08:59:37 +02:00
lucas8
9d79418019 fanficfare: init at 2.9.0 2017-04-13 23:05:45 +02:00
Yann Hodique
798e358a02 cayley: init at 0.6.1 2017-04-13 08:35:25 -07:00
zimbatm
d4fbb4779b terraform: 0.9.2 -> 0.9.3 2017-04-13 15:27:19 +01:00
Jörg Thalheim
478e9cdae5 Merge pull request #24840 from matthiasbeyer/pr-23111-fixed
diamond: init at 0.8.36
2017-04-13 14:40:30 +02:00
Eelco Dolstra
d3c737a080
gcc-snapshot: 7-20161211 -> 7-20170409 2017-04-13 13:07:45 +02:00