John Ericson
c26252af3e
lib, stdenv: Check meta.platforms
against host platform and be open world
...
First, we need check against the host platform, not the build platform.
That's simple enough.
Second, we move away from exahustive finite case analysis (i.e.
exhaustively listing all platforms the package builds on). That only
work in a closed-world setting, where we know all platforms we might
build one. But with cross compilation, we may be building for arbitrary
platforms, So we need fancier filters. This is the closed world to open
world change.
The solution is instead of having a list of systems (strings in the form
"foo-bar"), we have a list of of systems or "patterns", i.e. attributes
that partially match the output of the parsers in `lib.systems.parse`.
The "check meta" logic treats the systems strings as an exact whitelist
just as before, but treats the patterns as a fuzzy whitelist,
intersecting the actual `hostPlatform` with the pattern and then
checking for equality. (This is done using `matchAttrs`).
The default convenience lists for `meta.platforms` are now changed to be
lists of patterns (usually a single pattern) in
`lib/systems/for-meta.nix` for maximum flexibility under this new
system.
Fixes #30902
2018-03-15 00:44:34 -04:00
John Ericson
4c52e34ca6
stdenv: Clean up check meta args
2018-03-14 18:58:07 -04:00
John Ericson
f79f80dbf2
treewide: get rid of platforms.allBut
...
Negative reasoning like `allBut` is a bad idea with an open world of
platforms. Concretely, if we add a new, quite different sort of
platform, existing packages with `allBut` will claim they work on it
even though they probably won't.
2018-03-14 18:44:42 -04:00
John Ericson
2d1d83d836
pond: Simplify platform logic
2018-03-12 18:55:42 -04:00
John Ericson
b152dcf852
pharo: Tighten source and simplify meta.platforms
2018-03-12 18:55:41 -04:00
John Ericson
c208ca6387
robo3t: Simplify meta.platforms and don't refer to glibc directly
2018-03-12 18:55:41 -04:00
John Ericson
94cbd14120
nethack: Fix platform logic
2018-03-12 18:55:41 -04:00
John Ericson
59c656a421
dvdisaster: Fix sse2 logic for cross and improved meta.platforms
2018-03-12 18:55:41 -04:00
John Ericson
79d8353b5e
treewide: Make shouldUsePackages
copypasta use meta.available
...
The old way depended on old list-of-strings `meta.platforms`, and was
not good for cross.
2018-03-12 18:55:41 -04:00
John Ericson
eeb8419c6a
ceph: Fix --with-file-aio logic for new meta.platforms and cross
2018-03-12 18:55:41 -04:00
John Ericson
dde80d705e
qtbase: Fix x86_64-conditional logic
...
Now works with cross and old and new meta checks alike.
2018-03-12 18:55:41 -04:00
zimbatm
1bc5bf4beb
Merge pull request #36283 from aneeshusa/fix-vagrant-2.0.2
...
Fix vagrant 2.0.2
2018-03-05 18:03:02 +00:00
Frederik Rietdijk
8bcdb39a27
Merge pull request #27678 from volth/restore-bridge-slaves-dynamically-added-by-libvirt
...
nixos/networking-scripted: restore bridge slaves dynamically added by…
2018-03-05 17:31:22 +00:00
Franz Pletz
4ff4ef51b7
pythonPackages.wsproto: init at 0.11.0
2018-03-05 18:06:30 +01:00
Franz Pletz
92cbfd8555
pythonPackages.h11: init at 0.7.0
2018-03-05 18:06:29 +01:00
Franz Pletz
cda1e6c21b
urbanterror: 4.3.2 -> 4.3.3 for CVE-2017-6903
2018-03-05 18:06:29 +01:00
Franz Pletz
1a0f84d0b8
wireshark: 2.4.4 -> 2.4.5
2018-03-05 18:06:29 +01:00
Franz Pletz
d21e682dde
virtmanager: 1.5.0 -> 1.5.1
2018-03-05 18:06:29 +01:00
Graham Christensen
bc6e650e94
Merge pull request #36347 from grahamc/fix-null-fields
...
maintainers: remove null fields
2018-03-05 11:53:06 -05:00
Tim Steinbach
1d1275ef8b
linux: 4.16-rc3 -> 4.16-rc4
2018-03-05 11:30:23 -05:00
Graham Christensen
5e8bdb8972
maintainers: remove null fields
2018-03-05 11:14:35 -05:00
Dino Dai Zovi
ddf13e6646
nixos/initrd-network: add udhcpc.extraArgs option ( #36305 )
...
This can be used to fix issues where udhcpc times out before
acquiring a lease. For example of these issues, see:
https://bugs.alpinelinux.org/issues/3105#note-8
Signed-off-by: Dino A. Dai Zovi <ddz@theta44.org>
2018-03-05 15:53:59 +00:00
Peter Simons
18055971cb
hackage: update database snapshot to latest version
2018-03-05 16:45:07 +01:00
Peter Simons
6568cbc1bb
hackage-packages.nix: automatic Haskell package set update
...
This update was generated by hackage2nix v2.8.2-8-g0aa23ac from Hackage revision
4caf6826b1
.
2018-03-05 16:45:01 +01:00
Peter Simons
ff45358a3c
LTS Haskell 10.8
2018-03-05 16:44:23 +01:00
Peter Simons
3d8694ee2d
ghcjs: mark build broken
2018-03-05 16:44:23 +01:00
Peter Simons
1b0c67259e
haskell: cosmetic changes to the generic builder
2018-03-05 16:44:23 +01:00
Franz Pletz
830ccafedc
youtubeDL: 2018.02.22 -> 2018.03.03
2018-03-05 15:55:55 +01:00
Franz Pletz
ee6394bbba
sslh: 1.19 -> 1.19c
2018-03-05 15:55:39 +01:00
Franz Pletz
ad52dee190
mpd: 0.20.15 -> 0.20.18
2018-03-05 15:49:26 +01:00
Franz Pletz
94db63f5d4
nginxMainline: 1.13.8 -> 1.13.9
2018-03-05 15:49:07 +01:00
Franz Pletz
e406460533
mbedtls: 2.6.1 -> 2.7.1
2018-03-05 15:48:54 +01:00
Franz Pletz
48bd537814
batman-adv: 2017.4 -> 2018.0
2018-03-05 15:43:42 +01:00
lewo
91280690af
Merge pull request #36337 from sifmelcara/add/powerlines
...
powerline-go: init at 1.8.2
2018-03-05 15:06:44 +01:00
Vladimír Čunát
71f899c2c3
Merge #34461 : mesa -> libGL* rename
...
This will just bit rot otherwise. Almost nothing gets rebuilt.
2018-03-05 14:59:40 +01:00
Jörg Thalheim
9b7d93edc9
Merge pull request #36307 from Mic92/keepassxc
...
keepassxc: enable ssh agent sockets
2018-03-05 13:54:59 +00:00
Vladimír Čunát
04c31a5de1
libGL rename: fallout after a week on master
...
and a few nitpicks.
2018-03-05 14:53:38 +01:00
Vladimír Čunát
565bd805e6
Merge branch 'master'
2018-03-05 14:53:27 +01:00
Piotr Bogdan
cc4677c36e
libcdio082: remove
2018-03-05 14:12:28 +01:00
Piotr Bogdan
7125190b04
cmus: use libcdio-paranoia
2018-03-05 14:12:27 +01:00
Piotr Bogdan
2cc7ac19b6
abcde: switch to libcdio-paranoia
2018-03-05 14:12:26 +01:00
Piotr Bogdan
92377b06a2
libcdio-paranoia: init at release-10.2+0.94+2
2018-03-05 14:12:23 +01:00
Herwig Hochleitner
039428d3b2
wine: 3.0 -> 3.3
2018-03-05 14:06:43 +01:00
Franz Pletz
54a02314ad
altcoins.dero: 0.11.5 -> 0.11.6
2018-03-05 14:03:45 +01:00
Peter Hoeg
6343398dee
Merge pull request #35894 from sorokin/qtox-no-opencv
...
qtox: remove opencv dependency
2018-03-05 20:17:13 +08:00
Vladimír Čunát
a373fe8322
makeInitrd: explain why we don't use closureInfo
...
/cc #36268 .
2018-03-05 13:04:55 +01:00
mingchuan
60646c10d5
powerline-go: init at 1.8.2
2018-03-05 19:51:44 +08:00
Eelco Dolstra
165b32d386
Revert "makeInitrd: Use closureInfo"
...
This reverts commit 776a5e6ebf
.
Fixes #36268 .
2018-03-05 12:49:59 +01:00
Jörg Thalheim
97693915e1
Merge pull request #36334 from chrisburr/patch-2
...
libpqxx: Add dependency on doxygen and xmlto
2018-03-05 11:33:52 +00:00
Moritz Ulrich
5b66c2b421
pythonPackages.mt-940: init at 4.10.0.
2018-03-05 12:25:57 +01:00