Commit Graph
156163 Commits
Author SHA1 Message Date
Jan Tojnar be382109ad gst_all_1.gst-plugins-bad: add more plug-ins 2018-07-10 12:18:01 +02:00
Jan Tojnar af64892fe6 pulseeffects: init at 4.1.3 2018-07-10 12:18:01 +02:00
Jan Tojnar 28b6f74c3f gnome3.gconf: remove 2018-07-10 12:14:40 +02:00
Jan Tojnar 373bdced7f gnome2.GConf: 2.32.4 → 3.2.6
Update and clean up the expression. For example, GTK was only used for
removed utility and examples.
2018-07-10 12:14:40 +02:00
adisbladis 47ecb64e43 firefox-beta-bin: 62.0b6 -> 62.0b7 2018-07-10 18:06:09 +08:00
adisbladis 68010cf5ef firefox-devedition-bin: 62.0b6 -> 62.0b7 2018-07-10 18:05:46 +08:00
adisbladis 8585cb3409 Merge pull request #43115 from talyz/master
linux: Temporary fix for issue #42755
2018-07-10 18:04:55 +08:00
Robert Hensing 873465eede Merge pull request #42923 from Gabriel439/gabriel/readDirectory
Add `pkgs.haskell.lib.packagesFromDirectory` utility
2018-07-10 11:30:11 +02:00
Robert Schütz 1789ee279e pythonPackages.guessit_2_0: remove 2018-07-10 11:25:18 +02:00
Robert Schütz 3ea10ab2d8 flexget: pin guessit==2.1.4 2018-07-10 11:24:24 +02:00
Pascal Wittmann c2af5149c8 Merge pull request #43261 from vbgl/ocaml-iri-0.4.0
ocamlPackages.iri: init at 0.4.0
2018-07-10 10:48:54 +02:00
xeji 51d0309651 Merge pull request #38324 from rvl/znc-uri-prefix
znc: add uriPrefix option
2018-07-10 09:38:50 +02:00
Bastian Köcher ea475c1da5 androidndk: Use callPackage to support overriding the fullNdk option 2018-07-10 09:09:34 +02:00
Michael Raskin 81c18c1b07 Merge pull request #43230 from timokau/gf2x-1.2
gf2x: 1.1 -> 1.2
2018-07-10 03:50:45 +00:00
Tim Steinbach 9371f6ad37 linux: 4.18-rc3 -> 4.18-rc4 2018-07-09 20:11:10 -04:00
Uri Baghin ed98822350 bazel-deps: init at 2018-05-31 (#43018) 2018-07-09 22:38:45 +00:00
John Ericson 547ef77aa7 Merge pull request #43264 from obsidiansystems/splice-more
haskell infra: Use splicing like normal `callPackage`
2018-07-09 18:34:29 -04:00
xeji c4adce71d8 Merge pull request #42200 from qolii/cryptsetup_2_0_3_libressl_2_7__v2
Cryptsetup: 2.0.2 -> 2.0.3. Also, add upstream libressl-2.7 patch.
2018-07-10 00:09:55 +02:00
John Ericson 740cfffcb2 haskell infra: Fix built-time overrides
These should all come from `buildHaskellPackages`
2018-07-09 18:09:17 -04:00
Will Dietz 301559c1ea Merge pull request #43267 from dtzWill/fix/pciutils-3.6.0-musl
pciutils: use standardized equivalent for canonicalize_file_name
2018-07-09 17:08:48 -05:00
Matthew Bauer 2bb4088f51 Merge pull request #43081 into master
Closes #43081
2018-07-09 17:46:10 -04:00
Matthew Bauer 97605d3e57 Merge pull request #43085 from matthewbauer/dwarf-fortress
Dwarf Fortress refactors
2018-07-09 17:40:16 -04:00
Matthew Bauer c7e7cd7b9c Merge pull request #43259 from matthewbauer/unixtools-refactor
unixtools refactor
2018-07-09 17:20:39 -04:00
Matthew Bauer 81f78e6d3d Merge pull request #43256 from matthewbauer/xcbuild-refactor
xcbuild refactor
2018-07-09 17:16:50 -04:00
Matthew Bauer 2621171e58 xcbuild: add alias
You can now refer to it as xcodebuild. This is meant to be more
discoverable for not familiar with xcbuild. xcodebuild should work in
the same way as the xcodebuild that comes with Xcode.app, but it is
built entirely with free software.
2018-07-09 17:13:58 -04:00
Matthew Bauer 0534ceac81 xcbuild: move setup hook to xcbuildHook
Not every package that needs xcbuild will want to use its build phase.
I have moved the xcbuild setup hook to the new attribute xcbuildHook.
This means that dontUseXcbuild is no longer needed. If you just need
to call xcbuild on its own you can just refer to xcbuild.
2018-07-09 17:13:58 -04:00
Daiderd Jordan 63aed85367 Merge pull request #42894 from LnL7/darwin-python37
python37: fix darwin build
2018-07-09 23:12:11 +02:00
Matthew Bauer 35b2c0edf2 xcbuild: refactor
This reworks some of xcbuild logic to make it more compatible with
Apple’s SDK.

- Add a fake version of xcrun & xcode-select
- Cleanup platform generation. Clang does not like having 20 char
  hashes in sysroot so it is much easier to just build the parent
  directory for each runCommand. This is a little awkward but I have
  renamed everything with an added ‘s’ to make the distinction more clear.
- Cleaned up wrapper.nix in some different ways
- Reuse some versioning logic so that we don’t end up with two
  different versions of Xcode or SDK reported.
2018-07-09 17:10:20 -04:00
Uli Baum 6f0c92fda9 meson: set auto_features=disabled 2018-07-09 23:06:25 +02:00
Nadrieril ceb9110aad passff-host: init at 1.0.2 2018-07-09 21:52:54 +01:00
John Ericson f27f491784 Haskell infra: Do callPackage splicing 2018-07-09 16:39:37 -04:00
volth 79b97aab7f options.i18n.inputMethod.package: fix type (#43239) 2018-07-09 22:37:27 +02:00
Daiderd Jordan 0c4595a9b6 python37: fix darwin build 2018-07-09 22:34:55 +02:00
R. RyanTM b32b22e245 mate.mate-user-guide: 1.20.1 -> 1.21.0 (#43173)
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.

This update was made based on information from https://repology.org/metapackage/mate-user-guide/versions.

These checks were done:

- built on NixOS

- 0 of 0 passed binary check by having a zero exit code.
- 0 of 0 passed binary check by having the new version present in output.
- directory tree listing: https://gist.github.com/e4cc1dd609c5e947c5c71615994b8bb9
- du listing: https://gist.github.com/56b98015d6d99b9978906a8d770bcfb0
2018-07-09 22:33:55 +02:00
R. RyanTM db8bebf816 wayland-protocols: 1.14 -> 1.15 (#43151)
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.

This update was made based on information from https://repology.org/metapackage/wayland-protocols/versions.

These checks were done:

- built on NixOS

- 0 of 0 passed binary check by having a zero exit code.
- 0 of 0 passed binary check by having the new version present in output.
- found 1.15 with grep in /nix/store/acbjqscvbj2a369m2cmx5waxpab9b3fp-wayland-protocols-1.15
- directory tree listing: https://gist.github.com/ed6b2fe913e7aa8189e99f99b8d56511
- du listing: https://gist.github.com/f55c3123eacd3a802f5007f3d8f49d3d
2018-07-09 22:33:28 +02:00
Will Dietz f8db20fb3a pciutils: use standardized equivalent for canonicalize_file_name
Fixes w/musl.
2018-07-09 15:30:56 -05:00
R. RyanTM d9b1c16ee8 spidermonkey_52: 52.8.1 -> 52.9.0 (#42957)
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.

This update was made based on information from https://repology.org/metapackage/spidermonkey/versions.

These checks were done:

- built on NixOS
- /nix/store/sxcxd6f05aqpiw7jgrpyi8qmgxjy2r4x-spidermonkey-52.9.0/bin/js52 passed the binary check.
- /nix/store/sxcxd6f05aqpiw7jgrpyi8qmgxjy2r4x-spidermonkey-52.9.0/bin/js52-config passed the binary check.
- 2 of 2 passed binary check by having a zero exit code.
- 2 of 2 passed binary check by having the new version present in output.
- found 52.9.0 with grep in /nix/store/sxcxd6f05aqpiw7jgrpyi8qmgxjy2r4x-spidermonkey-52.9.0
- directory tree listing: https://gist.github.com/6e6d8bcfc14e1e59028ad1397d75fce1
- du listing: https://gist.github.com/f69575b0d92d2b3ffec1c4dda0afa0e6
2018-07-09 22:30:18 +02:00
R. RyanTM 271e4780cf shared-mime-info: 1.9 -> 1.10 (#42948)
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.

This update was made based on information from https://repology.org/metapackage/shared-mime-info/versions.

These checks were done:

- built on NixOS
- /nix/store/3lvy4cp08h73b9cb5sw8nl5n3nxlahry-shared-mime-info-1.10/bin/update-mime-database passed the binary check.
- 1 of 1 passed binary check by having a zero exit code.
- 0 of 1 passed binary check by having the new version present in output.
- found 1.10 with grep in /nix/store/3lvy4cp08h73b9cb5sw8nl5n3nxlahry-shared-mime-info-1.10
- directory tree listing: https://gist.github.com/f14528d0cfdffdfd9120e68517e35c73
- du listing: https://gist.github.com/aeb5692bf3cce624ed41c38c8735082f
2018-07-09 22:29:38 +02:00
Matthew Bauer 3108f1eeaf Merge remote-tracking branch 'Baughn/nix-df' into dwarf-fortress 2018-07-09 16:24:21 -04:00
Matthew Bauer 812b0ec62e dwarf-fortress: recurse into themes
Now the output of “nix-env” should be:

$ nix-env -qa -f . -A dwarf-fortress-packages
afro-graphics-44.10
autoreiv-44.03
cla-44.xx-v25
dwarf-fortress-0.43.05
dwarf-fortress-0.44.05
dwarf-fortress-0.44.09
dwarf-fortress-0.44.10
dwarf-fortress-0.44.11
dwarf-fortress-0.44.12
dwarf-therapist-40.1.0
gemset-44.10a
ironhand-44.10
jolly-bastion-44.10
legends-browser-1.17.1
mayday-44.10
obsidian-44.10
phoebus-44.10
rally-ho-44.10
soundsense-2016-1_196
spacefox-44.10a
taffer-44.10a
tergel-44.03
wanderlust-44.10
2018-07-09 16:18:17 -04:00
Matthew Bauer 530427c7ab dwarf-fortress: refactors
This will make it easier for people to access old versions.

You can now access attributes like:

- dwarf-fortress_0_44_11
- dwarf-fortress_0_43_05
- etc.
2018-07-09 16:13:52 -04:00
Matthew Bauer cdd0ac7e54 dwarf-fortress: support older versions as well
game.json now contains a dictionary of old game hashes. I have added
them for the last 3 releases.

- add script to generate hashes

  Makes it much easier to update game.json file.

- add updateScript meta

  This adds some info on the ./update.sh updateScript now available.

- cleanup updateScript

  - Add some more systems
  - Correctly detect source extensions (.zip or .tar.bz2)
  - Proper bash quoting

- fix update.sh

  - correctly detect latest df version
  - append to game.json instead of overwriting it

- update hashes for 44.12
2018-07-09 16:13:53 -04:00
aszlig 739c835515 stdenv-setup: Remove superfluous check for /bin/sh
The line was essentially checking whether /bin/sh exists and is
executable and if that's the case, the isScript function returns
successfully.

When asking the author of this line on IRC it seems that even they can't
remember or imagine what this was supposed to be.

In summary: Whenever /bin/sh doesn't exist during a build, *any* file
given to isScript is reported as being a script even if it isn't.

This is kinda counter-intuitive and not something what somebody would
expect from a function called "isScript".

Signed-off-by: aszlig <aszlig@nix.build>
Cc: @edolstra
2018-07-09 20:43:34 +02:00
Pascal Wittmann d3a63b2b78 calibre: 3.27.0 -> 3.27.1 2018-07-09 19:31:15 +02:00
Vincent Laporte de1a8ddb3c ocamlPackages.iri: init at 0.4.0
iri is an OCaml implementation of Internationalized Resource Identifiers
(IRIs).

Homepage: https://framagit.org/zoggy/ocaml-iri
2018-07-09 17:15:43 +00:00
Vincent Laporte 131e9f59e8 ocamlPackages.ppx_tools_versioned: remove spurious dependency to camlp4 2018-07-09 17:15:33 +00:00
Ambroz Bizjak f26153754a nixos/xserver: Implement configuration of NVIDIA Optimus via PRIME
This adds configuration options which automate the configuration of NVIDIA Optimus using PRIME. This allows using the NVIDIA proprietary driver on Optimus laptops, in order to render using the NVIDIA GPU while outputting to displays connected only to the integrated Intel GPU. It also adds an option for enabling kernel modesetting for the NVIDIA driver (via a kernel command line flag); this is particularly useful together with Optimus/PRIME because it fixes tearing on PRIME-connected screens.

The user still needs to enable the Optimus/PRIME feature and specify the bus IDs of the Intel and NVIDIA GPUs, but this is still much easier for users and more reliable. The implementation handles both the X configuration file as well as getting display managers to run certain necessary `xrandr` commands just after X has started.

Configuration of commands run after X startup is done using a new configuration option `services.xserver.displayManager.setupCommands`. Support for this option is implemented for LightDM, GDM and SDDM; all of these have been tested with this feature including logging into a Plasma session.

Note: support of `setupCommands` for GDM is implemented by making GDM run the session executable via a wrapper; the wrapper will run the `setupCommands` before execing. This seemed like the simplest and most reliable approach, and solves running these commands both for GDM's X server and user X servers (GDM starts separate X servers for itself and user sessions). An alternative approach would be with autostart files but that seems harder to set up and less reliable.

Note that some simple features for X configuration file generation (in `xserver.nix`) are added which are used in the implementation:
- `services.xserver.extraConfig`: Allows adding arbitrary new sections. This is used to add the Device section for the Intel GPU.
- `deviceSection` and `screenSection` within `services.xserver.drivers`. This allows the nvidia configuration module to add additional contents into the `Device` and `Screen` sections of the "nvidia" driver, and not into such sections for other drivers that may be enabled.
2018-07-09 18:46:13 +02:00
John Ericson 0eb142cd46 top-level: Expose splicePackages for newScope users
Otherwise extra packages in scope can't be made to work for cross. As
much as I think splicing is an evil trick, I think it's best to do this
and at least have it work consistently for now.

It would seems simpler to expose a `newScopeWithSplicing`, but there's a
few attrs (like `buildPackages` or `buildHaskellPackages`) that
shouldn't be spliced. Users should instead splice, override the splicing
on those packages, and apply `newScope` to that.
2018-07-09 12:33:43 -04:00
John Ericson 48ccdf322d lib: Use lib.fixed-points.extends to avoid repetition 2018-07-09 12:33:43 -04:00
John Ericson 0299641c91 haskell generic-builder: Make test and benchmark tool depends nativeBuildInputs
This was reverted in 6e07a3a19a with the
other commits in the PR, as the number of overrides added in that PR was deemed
excessive. But this commit adds no overrides, and is valuable on its
own, so I am adding it back.

(cherry picked from commit 359e0ce4bb)
2018-07-09 12:30:18 -04:00