Commit Graph
43 Commits
Author SHA1 Message Date
Matthew Bauer 090985a443 firefox: remove --disable-xcode-checks
Apparently it's not needed anymore!
2018-08-22 13:26:05 -05:00
Matthew Bauer 14d689fe5f c-ares: fix android build
https://hydra.nixos.org/build/79244764
2018-08-10 16:06:15 -04:00
Matthew Bauer 68b5f51d6f brightnessctl: also install udev rules
Fixes #44877
2018-08-10 13:44:58 -04:00
Matthew Bauer 0b124c1e91 aliases: add nixos-rebuild
Fixes #44135
2018-08-10 12:25:42 -04:00
Matthew Bauer e575275de7 windows: Cleanups 2018-08-10 12:05:04 -04:00
Matthew Bauer f32e9a34c8 windows: add more meta
‘platforms.windows’ includes all windows platforms. Should prefer this
to using assertions.
2018-08-10 11:51:18 -04:00
Matthew Bauer 8c025c67d5 Revert "Revert "Revert "release: disallow aliases"""
This reverts commit 0d8076b99c.

This has been causing people issues so it’s easiest to leave it off
for now. Eventually I will do an RFC or some other PR where we can
have more discussion on benefits of doing this in CI.

Fixes #44299

I still think it’s still worth keeping aliases out of Nixpkgs but we
don’t need to block evaluation on it.
2018-08-08 13:04:06 -04:00
Matthew Bauer 29b5ca82ee nethack: remove debug symbols
These were adding gcc to the closure
2018-08-08 11:37:34 -04:00
Matthew Bauer b744586c7b putty: build on windows 2018-08-07 14:17:11 -04:00
Matthew Bauer 0fb3edecee gccCrossMingw2: remove 2018-08-07 14:17:06 -04:00
Matthew Bauer 744665e3c4 mingw: add osvi.patch
This is apparently a typo that has not been fixed.

Also remove unused configureFlags.
2018-08-07 14:17:01 -04:00
Matthew Bauer 9cee386f38 windows: refactor 2018-08-07 14:16:55 -04:00
Matthew Bauer c6d55e92bb firefoxPackages: add licenses
tor-browser is bsd3
firefox is mpl20
2018-08-06 10:15:59 -04:00
Matthew Bauer e62996f65c cmake: add bsd3 license 2018-08-06 10:15:55 -04:00
Matthew Bauer 4a5cbdf5ea android: add licenses
androidndk is apache 2.0
androidsdk is unfree
2018-08-06 10:15:49 -04:00
Matthew Bauer b32d0a41d0 llvm: fix triple setting
llvm is a library so it should just need to know about build & host.
GCC will already have a cross compiler built.

/cc @Ericson2314 @dtzWill
2018-08-02 17:04:47 -04:00
Matthew Bauer 1461b90bed llvm: fix triple setting
llvm is a library so it should just need to know about build & host.
GCC will already have a cross compiler built.

/cc @Ericson2314 @dtzWill
2018-08-02 16:53:03 -04:00
Matthew Bauer 26d6ff5981 libtasn1: fix on cross
perl should be a native build input
2018-08-02 16:51:48 -04:00
Matthew Bauer 3c0ac73e4a lzip: support windows cross 2018-08-02 16:51:48 -04:00
Matthew Bauer f06942327a patch-shebangs: respect cross compilation
This hopefully makes patchShebangs respect cross compilation. It
introduces the concept of the HOST_PATH. Nothing is ever executed on
it but instead used as a way to get the proper path using ‘command
-v’. Needs more testing.

/cc @ericson2314 @dtzwill

Fixes #33956
Fixes #21138
2018-07-31 15:38:35 -04:00
Matthew Bauer a22797d356 systems: fix netbsd triple parsing
binutils expects x86_64-unknown-netbsd<version> (only 3 parts!). Any other combo seems to fail.

Also handle darwin versions similarly.

/cc @Ericson2314
2018-07-28 19:54:09 -04:00
Matthew Bauer 96ce1e03a4 {cc,bintools}-wrapper: also replace . in config
Some configs will have dots for version numbers. To normalize we can
just use _ again.
2018-07-28 19:54:09 -04:00
Matthew Bauer 53bf234c85 fortune: remove gcc from closure
Fixup is only run on $out/bin not $out/games. Luckily fortune is
relocatable so just moving it to $out/bin works & reduces closure size.
2018-07-27 19:39:33 -04:00
Matthew Bauer 0e707034b5 st: fix patches passing 2018-07-27 19:39:15 -04:00
Matthew Bauer d14dedfa2a aliases: add callPackage_i686
This was removed in PR #42874.
2018-07-27 19:37:57 -04:00
Matthew Bauer cd91d1ad9f setup.sh: add HOST_PATH
HOST_PATH contains the path of the host package. This will include the
packages listed in buildInputs & depsHostHost. Use this to find
runtime commands that the host needs.

For instance to find the runtime version of perl,

$ PATH="$HOST_PATH" command -v perl
/nix/store/...-perl-5.28.0-aarch64-unknown-linux-android/bin/perl

This path should not be executed directly (it will break for cross
compilation). Only use it to find the location of executables that
will be run by your host system. Your build tools will, as always, be
available on the default PATH.
2018-07-22 23:14:49 -04:00
Matthew Bauer 0d8076b99c Revert "Revert "release: disallow aliases""
This reverts commit d68322504a.
2018-07-21 22:08:53 -04:00
Matthew Bauer b98b4eac71 tests: add some cross tests 2018-07-21 17:00:05 -04:00
Matthew Bauer 09fed91ec8 file: build on windows 2018-07-21 17:00:05 -04:00
Matthew Bauer 53cb8dc09e windows.libgnurx: init 2018-07-21 17:00:05 -04:00
Matthew Bauer 522b61a069 openssl: work with mingw32 2018-07-21 17:00:05 -04:00
Matthew Bauer 3530c39b97 ncurses: add windows configure flags
these two flags are needed for windows support to work

- sp-funcs
- term-driver
2018-07-21 17:00:05 -04:00
Matthew Bauer ef087554d0 libxslt: runs on all platforms
Mingw/Windows support works out of the box.
2018-07-21 10:10:47 -04:00
Matthew Bauer 92daacc9b0 libxml2: support all platforms
Mingw/Windows support works out of the box.
2018-07-21 10:10:47 -04:00
Matthew Bauer 1e41fc8ded dejavu-fonts: supports everything
the .ttf file is cross platform.
2018-07-21 10:10:38 -04:00
Matthew Bauer 0467e8d1f6 libuv: fix apple patch url
The old url was subject to change on pushing to the PR. It now
references the correct commit.
2018-07-19 10:12:58 -04:00
Matthew Bauer dc24ab2776 gtkd: fixup from treewide commit
This was mistakenly replaced when it was already avoiding the alias.

Thanks @jtojnar
2018-07-19 09:57:29 -04:00
Matthew Bauer d68322504a Revert "release: disallow aliases"
This reverts commit 25c42e7736.

This commit is still causing evaluation errors (despite passing
OfBorg!)

Here is the current error:

error: undefined variable 'Log4Perl' at
/nix/store/n0gwyv3mcvm3hc9jrmkxjhmsrdjqzcqb-source/maintainers/scripts/nix-generate-from-cpan.nix:7:71

More investigation is needed

/cc @volth
2018-07-19 09:46:53 -04:00
Matthew Bauer 4ed7a4b993 treewide: preserve hashes from 76999cc40e
76999cc40e changed some hashes resulting in this PR being technically
a mass rebuild. To avoid this, I am restoring some of the hashes (even
though it seems silly). My main goal is to get this PR merged quickly
as treewide changes like this get out-of-date quickly.

This commit should be reverted on the next mass rebuild.
2018-07-19 00:09:01 -04:00
Matthew Bauer aab3182ca4 lollypop-portal: use callPackage
otherwise we get this error on evaluation:

derivation 'lollypop-portal' has invalid meta attribute 'override'
derivation 'lollypop-portal' has invalid meta attribute 'overrideDerivation'
2018-07-18 23:25:19 -04:00
Matthew Bauer 25c42e7736 release: disallow aliases
This will make hydra & ofborg ignore aliases when evluating
2018-07-18 23:25:19 -04:00
Matthew Bauer 76999cc40e treewide: remove aliases in nixpkgs
This makes the command ‘nix-env -qa -f. --arg config '{skipAliases =
true;}'’ work in Nixpkgs.

Misc...

- qtikz: use libsForQt5.callPackage

  This ensures we get the right poppler.

- rewrites:

  docbook5_xsl -> docbook_xsl_ns
  docbook_xml_xslt -> docbook_xsl

diffpdf: fixup
2018-07-18 23:25:20 -04:00
Matthew Bauer aae2171aea aliases: add forceSystem
Some uses of this still exist outside of Nixpkgs
2018-07-18 18:49:43 -04:00