Commit graph

38748 commits

Author SHA1 Message Date
John Ericson d5fe466566 openspades: Fix Darwin build 2018-12-20 12:17:27 -05:00
Matthew Bauer dd78e629aa treewide: use "buildPackages" darwin for bootstrap_cmds
These are almost always from buildPackages. Another issue where
splicing doesn’t seem to pick them up correctly.

(cherry picked from commit 9ab67898f7)
2018-12-15 12:44:12 -05:00
Vaibhav Sagar cb5a7bdc3a lz4: fix pkgsStatic build 2018-12-13 18:00:26 -05:00
Matthew Bauer 3c36dccd7c 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.

(cherry picked from commit 6d90a8b894)
2018-12-13 14:04:34 -05:00
Matthew Bauer e84255296f 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.

(cherry picked from commit a3a6ad7a01)
2018-12-13 14:04:33 -05:00
Robert Hensing 2a1c0dde8f haskellPackages: Add shell completions + improve docs
This adds the remaining parts of #42657 on top of #49477, renames the
function to a better name, and improves the docs
2018-11-08 11:28:11 -05:00
John Ericson 8d99a3455b release-lib: Fix pkgsFor 2018-11-05 11:27:50 -05:00
John Ericson 984df7ca06 top-level: libcCrossChooser: More or fallback hack
This fixes some eval errors in release-cross.nix
2018-11-01 16:16:58 -04:00
John Ericson 24e2bc18b6 release-lib: Fallback on uncached rather than error for unknown crossSystem
The `ensureUnaffected` the tests purposefully use an absurd crossSystem.
Also sheevaplug and pogoplug share the same config.
2018-11-01 16:15:56 -04:00
John Ericson 79c713bc14 release-lib: Cache cross nixpkgs evals too
This will help with release-cross.nix eval time. It also allowed me to
share code between the cross and native helpers.
2018-11-01 15:35:08 -04:00
John Ericson c34f5176f1 haskell-lib: Factor out shell completion scripts helper 2018-10-30 14:49:58 -04:00
John Ericson 88cd633ea4 xorg: Don't use deprecated item 2018-10-18 11:54:20 -04:00
Andrew Childs 47bf3f3d3f xorg: don't splice scope attributes into main package set 2018-10-11 15:03:07 -04:00
Andrew Childs fb9604c4b7 xorg: simplify argument passing into xorg and overrides 2018-10-11 15:03:06 -04:00
Andrew Childs 9454f71fef xorg: allow overriding via overrideScope 2018-10-11 13:41:27 -04:00
John Ericson dc214ed99b __splicedPackages: Don't include xorg
For historical reasons, callPackage has the xorg packages in scope. This
unstable building block is more versatile without the xorg hack baked in.
2018-10-11 13:27:31 -04:00
John Ericson 5ba8458ebd ghcjs-{7.10, 8.0}: Expose the good .override
The per-version `default.nix`es just fill in default arguments. It is
much more useful to have the `.override` from the inner `callPackage`,
for finer control. Converting the outer `callPackage` to a plain import
makes the inner one the only one, revealing its `.override`.
2018-09-27 18:48:13 -04:00
John Ericson 94d12f3e7c ghcjs-{7.10, 8.0}: Make symmetrical
There's no reason other than misleading branch names to prefer one over
another.
2018-09-27 18:37:10 -04:00
John Ericson 21c2437cc6 ghc: Sphinx is a build-time dependency 2018-09-25 16:29:03 -04:00
John Ericson e6a476c862 ghc, ghcjs: Get rid of extraneous alex, happy, and hscolour args
The compilers themselves can pull them from `bootPkgs`, where they
should always come from anyways. This enforces that, simplifies that
code, and allows use to avoid more `rec { ... }` too.
2018-09-24 20:00:39 -04:00
John Ericson 5779fdb3d0 haskellPackages: Avoid outer rec { .. }
This is much nicer for overlays. For example, if someone binds a new
compiler / package set, its integer-simple variation will automatically
appear.
2018-09-24 18:42:04 -04:00
John Ericson 28a323e331 gccCrossStageStatic: Don't use MUSL, or any libc when targetting linux
Only the regular GCC is built with a libc dependency.
2018-09-18 16:27:04 -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 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
Jan Malakhovski 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
Ryan Mulligan 7b54a50e97
Merge pull request #45730 from Helkafen/snakemake
snakemake: init at 5.2.2
2018-09-02 07:54:13 -07:00
xeji 6a7cd78884
Merge pull request #45818 from jglukasik/master
ipfs-cluster: init at v0.5.0
2018-09-02 13:52:48 +02:00
greydot 028b64ab08 qcomicbook: init at 0.9.1. (#44074) 2018-09-01 23:39:38 +02:00
Tobias Happ e6a3ad775f pythonPackages.dependency-injector: init at 3.13.1 (#45871) 2018-09-01 17:29:47 +02:00
Vladimír Čunát 342d3db703
Merge branch 'staging-next'
The failure diff seems good-enough on Hydra now.
2018-09-01 17:02:15 +02:00
Kevin Cox 1f073bc40b
Merge pull request #45903 from kevincox/cargo-web-init
cargo-web: init at 0.6.15
2018-09-01 14:44:17 +01:00
Kevin Cox 0a6420cbac
cargo-web: init at 0.6.15 2018-09-01 14:20:58 +01:00
Sebastian Meric de Bellefon 93ce77af40 python.pkgs.snakemake: init at 5.2.2 2018-09-01 09:18:19 -04:00
Michael Weiss 173e48d5dd pythonPackages.glances: 2.11.1 -> 3.0 2018-09-01 14:50:37 +02:00
Daiderd Jordan 9e2e667d05
Merge pull request #44640 from LnL7/beam-erlangR20
beam-packages: default erlangR19 -> erlangR20
2018-09-01 14:24:11 +02:00
Jörg Thalheim b29aff5a05
Merge pull request #45705 from manveru/ruby-2.5-default
ruby: default to version 2.5
2018-09-01 11:17:13 +01:00
Frederik Rietdijk 4134048b6f Merge master into staging-next 2018-09-01 10:41:58 +02:00
Jörg Thalheim 4a74aca868
Merge pull request #45700 from Mic92/node-packages-v8
nodePackages: 6_x -> 8_x
2018-09-01 09:09:24 +01:00
Daiderd Jordan 85fdbf6123
cuter: use erlangR19 and cleanp expression
It fails to build using R20 and there's no new release available.
2018-08-31 22:27:13 +02:00
Robert Schütz dc707e41e4 python.pkgs.pyqrcode: init at 1.2.1 2018-08-31 19:07:35 +02:00
Robert Schütz 09cced6725 python.pkgs.pyotp: init at 2.2.6 2018-08-31 19:07:35 +02:00
lewo fc39e5c645
Merge pull request #41920 from fgaz/drawpile
drawpile: init at 2.0.10
2018-08-31 18:37:37 +02:00
Robert Schütz 93550cbddf Merge branch 'master' into staging-next 2018-08-31 17:32:48 +02:00
John Ericson 2c4a75e9ef
Merge pull request #45820 from obsidiansystems/dont-use-obsolete-platform-aliases
treewide: Dont use obsolete platform aliases
2018-08-31 09:56:10 -04:00
Silvan Mosberger f7606a82ed
Merge pull request #43437 from MostAwesomeDude/cozy
Cozy
2018-08-31 15:29:41 +02:00
Sebastian Meric de Bellefon c49e507bbc python.pkgs.ratelimiter: init at 1.2.0.post0 2018-08-31 08:57:28 -04:00
xeji 4db15ba7b8
Merge pull request #45748 from xeji/p/nfs-232
nfs-utils: 2.1.1 -> 2.3.2, integrate libnfsidmap
2018-08-31 14:23:56 +02:00
Matt McHenry 297a82f3eb perl: Text-Unaccent: fixup build (#45768)
workaround as mentioned at https://rt.cpan.org/Public/Bug/Display.html?id=124815
2018-08-31 11:32:20 +01:00
Rob Vermaas 195d81c45f julia: add 0.7 and 1.0 2018-08-31 10:57:33 +02:00