Commit Graph
100 Commits
Author SHA1 Message Date
Domen Kožar 991654fa4a haskell: add combinator to enable DWARF debugging
Tested using:

$ cat test-strip.nix
with (import ./. {});
with haskell.lib;

haskell.packages.ghc802.override {
  overrides = self: super: {
    microlens = enableDWARFDebugging super.microlens;
  };
}

$ nix-build -A microlens test-strip.nix
$ objdump -t <path-to-so-file>
2017-09-02 11:25:50 +01:00
Domen Kožar 97a4088d33 Add lib.mod: integer modulus 2017-08-30 14:32:27 +02:00
Domen Kožar 37c340728e servant-auth: tests pass for a while now 2017-08-21 14:42:05 +02:00
Domen Kožar 105864a24d purescript: fix building #28296 2017-08-16 15:44:28 +02:00
Domen Kožar a082215df5 hydra: 2017-07-24 -> 2017-07-27 2017-08-08 10:50:50 +02:00
Domen Kožar 71bebd5254 {fs,h}notify: move to configuration-nix.nix 2017-08-06 10:42:37 +02:00
Domen Kožar 8e16cee256 double-conversion: remove patch superseeded by ghc patch
https://github.com/NixOS/nixpkgs/pull/27584
2017-08-06 10:42:37 +02:00
Domen Kožar 073b30563d ghc-mod: fix build to cope with new split-output work 2017-07-27 09:12:41 +02:00
Domen Kožar aafe3d29c1 ghc: apply a patch to fix common gold linker problem
It would otherwise result into undefined referenecs for some functions
in the base when using the gold linker:

   error: undefined reference to 'sqrt'

Fixes https://github.com/bos/double-conversion/pull/17

Previously ghc option -optl=-lm was used for packages depending on
such functions, but that could result into

   fatal error: cannot mix -r with dynamic object /nix/store/7crrmih8c52r8fbnqb933dxrsp44md93-glibc-2.25/lib/libm.so.6

in some situations like profiling builds.

Patch was prepared by Michael Bishop and Niklas Hambüchen.

Closes https://github.com/NixOS/nixpkgs/pull/27584.
2017-07-26 10:19:57 +02:00
Domen Kožar 407acb80fc ghc821: 8.2.1-rc3 -> 8.2.1
(cherry picked from commit 0901dd50a2ed0d12b2bee8fdb147fdce5c1c5d69)
Signed-off-by: Domen Kožar <domen@dev.si>
2017-07-23 16:36:37 +02:00
Domen Kožar e8c72a46f5 bashInteractive: add a warning not to be renamed/removed 2017-07-20 13:53:29 +02:00
Domen Kožar d03178aae3 Point to the new mailing list by replacing the old link 2017-07-18 13:44:10 +02:00
Domen Kožar 0eb4f6fd25 Merge commit 'a889454869e4f7d5ba6067ebcc0ba7fcd26e4417'
Merge staging. It includes fixes for cc-wrapper parsing speed and
some other minor things.

http://hydra.nixos.org/eval/1375094
2017-07-14 11:55:41 +02:00
Domen Kožar e211504db6 Get rid of some usages of osx_private_sdk
For example this reduces haskell closure on
darwin for some packages for almost 500MB.
2017-07-09 22:48:04 +02:00
Domen Kožar 0945a5b462 Add pythonPackages.google-compute-engine 2017-07-04 09:54:00 +02:00
Domen Kožar 5015dea12a stack2nix: depend on stack binary as well 2017-06-28 16:35:08 +02:00
Domen Kožar 8de4530b4a Add static binary for stack2nix 2017-06-28 16:21:42 +02:00
Domen Kožar 4dadb12a63 hydra: restart daemons on config change
https://github.com/NixOS/hydra/pull/491
2017-06-27 17:09:13 +02:00
Domen Kožar 05f94c8c13 hydra: 2017-06-21 -> 2017-06-22 2017-06-22 16:48:43 +02:00
Domen Kožar bb9e23837a haskellPackages: make configuration-{nix,common}.nix configurable
The motivation is to be able to get rid of common configuration
when initial packages differs since common configuration assumes
a very specific version set.

cc @jmitchell @peti
2017-06-22 13:25:53 +02:00
Domen Kožar 7bd918b364 hydra-evaluator: depend on jq 2017-06-21 15:35:07 +02:00
Domen Kožar be4a4ef701 hydra: 2017-04-26 -> 2017-06-21 2017-06-21 15:30:02 +02:00
Domen Kožar f237eeb6a8 moreutils: address comment on 14a320ace8 2017-06-21 13:44:17 +02:00
Domen Kožar 14a320ace8 moreutils: fix build on darwin 2017-06-20 16:42:49 +02:00
Domen Kožar 53c5b9163e vulnix: fix eval 2017-06-20 14:12:56 +02:00
Domen Kožar 843b3faa18 Revert "cli53: 0.4.4 -> 0.8.8"
This reverts commit c25b145815.
2017-06-20 14:04:14 +02:00
Domen Kožar 8ae8e51dc3 Revert "fix eval"
This reverts commit 650f64c779.
2017-06-20 14:03:57 +02:00
Domen Kožar 650f64c779 fix eval 2017-06-20 14:01:53 +02:00
Domen Kožar 56be4bee34 cabal-install: fix closure size on OSX 2017-06-19 13:55:05 +02:00
Domen Kožar af4056f22b chromium: apply patch to fix chromecast 2017-06-17 17:23:02 +02:00
Domen Kožar 525c10ecbd hackage2nix: purescript{,-bridge} compiles now 2017-06-15 13:35:52 +02:00
Domen Kožar 72f530ba33 Fix #26441 second try: avoid infinite recursion 2017-06-15 10:22:25 +02:00
Domen Kožar 7c455b5b7e Revert "Fix #26441: avoid infinite recursion"
This reverts commit 9cad7076d1.

See https://github.com/NixOS/nixpkgs/commit/9cad7076d1bc5475a857fd2c6e9a56d9ed254252#commitcomment-22548331
2017-06-15 10:19:29 +02:00
Domen Kožar 9cad7076d1 Fix #26441: avoid infinite recursion 2017-06-14 10:33:37 +02:00
Domen Kožar 5e75c73559 nixopsUnstable: 2017-05-15 -> 2017-05-22 2017-05-22 15:52:50 +02:00
Domen Kožar 395496a62a nixopsUnstable: correct tarball
(cherry picked from commit 3e47e6251930294711d625a8123b7f395dd16b58)
Signed-off-by: Domen Kožar <domen@dev.si>
2017-05-18 15:39:47 +02:00
Domen Kožar 8ae6797c0e nixopsUnstable: 1.5 -> 2017-05-15 2017-05-18 11:40:41 +02:00
Domen Kožar 14f5a3d760 nixos datadog module: add processConfig option 2017-05-04 13:25:45 +02:00
Domen Kožar eacb230a56 hlint: add as statically linked haskell binary 2017-05-03 14:02:56 +02:00
Domen Kožar 767aad2aaa hydra: 2017-03-21 -> 2017-04-26 2017-05-02 09:36:35 +02:00
Domen Kožar 330e800496 nixos: hydra: sync with upstream hydra module 2017-04-28 14:51:25 +02:00
Domen Kožar 9f11d17ed2 add papertrail at 0.10.1
Thank you @grahamc <3
2017-04-24 17:05:03 +02:00
Domen Kožar 635822da82 nixos: escape brackets in systemd units
One day we should just whitelist instead of blacklist chars.

Fixes https://github.com/NixOS/nixops/issues/614
2017-04-12 15:56:26 +02:00
Domen Kožar 99632d5466 Nix, Hydra: bump to 2017-03-21 2017-03-25 13:00:49 +01:00
Domen Kožar c3c9412c7d git, openssl, curl: Respect $NIX_SSL_CERT_FILE
Slightly modified version of 942dbf89c6
2017-03-20 14:11:20 +01:00
Domen Kožar a17e8e7e72 servant-auth-server, servant-swagger: enable hydra build 2017-03-16 15:13:04 +01:00
Domen Kožar 9ab1d08bb0 Add sphinxcontrib-openapi at 0.3.0 2017-03-13 13:25:03 +01:00
Domen Kožar 28d2066063 sphinxcontrib-httpdomain: 1.3.0 -> 1.5.0 2017-03-13 13:25:03 +01:00
Domen Kožar f32fc9b03e setuptools_scm: 1.11.1 -> 1.15.0 2017-03-13 13:25:03 +01:00
Domen Kožar bd4285a4cb Remove Dockerfile
One can generate a new layer with nix-channel --update
from https://hub.docker.com/r/nixos/nix/

This file wasn't maintained.
2017-03-11 19:41:18 +01:00
Domen Kožar f67a89e248 haskell: use new justStaticExecutables and add purescript 2017-03-07 18:15:07 +01:00
Domen Kožar db23fe1581 haskell: add justStaticExecutables combinator 2017-03-07 18:13:59 +01:00
Domen Kožar fb40889ddb mk-python-derivation: remove me as maintainer
The time has come ...
2017-03-03 14:37:28 +01:00
Domen Kožar a32a00eb81 haskellPackages.http-api-data: dontCheck
(cherry picked from commit 2f4003b56163ebf4b9f0b1ea6ed3c0a974a3fcd7)
Signed-off-by: Domen Kožar <domen@dev.si>
2017-03-03 11:46:09 +01:00
Domen Kožar bfe15ec83f electron: 1.4.13 -> 1.4.15 2017-03-02 12:56:05 +01:00
Domen Kožar 7ed28a0b78 R: fix bio3d build 2017-02-27 13:51:55 +01:00
Domen Kožar afb7d04dd6 elmPackages: fix #22932 2017-02-23 22:58:40 +01:00
Domen Kožar 5fc89a6778 language-ecmascript: jailbreak 2017-02-19 20:30:13 +01:00
Domen Kožar 1b02439b61 servant-server: disable testsuite 2017-02-13 14:54:55 +01:00
Domen Kožar 01ca916411 haskell: distribute servant-{elm,docs,auth,auth-server} and logging-effect 2017-02-08 06:11:04 +01:00
Domen Kožar f031f3105a GHC 8.0.2: use -split-sections
-split-sections replaced -split-objs with following upsides:

1) -split-objs adds considerable overhead to compile time

2) combined with stripping, it causes issues when cross-compiling

For upstream see https://ghc.haskell.org/trac/ghc/ticket/8405

This is supported only for Linux/Windows using ld linker.

GHC master also turns on -split-sections by default.

Example using stack:

Without splitting

  $ du /nix/store/5paayhibayr73zqfaj458g4k4mv108jn-stack-1.3.2
  4       /nix/store/5paayhibayr73zqfaj458g4k4mv108jn-stack-1.3.2/share/bash-completion/completions
  4       /nix/store/5paayhibayr73zqfaj458g4k4mv108jn-stack-1.3.2/share/bash-completion
  4       /nix/store/5paayhibayr73zqfaj458g4k4mv108jn-stack-1.3.2/share
  23416   /nix/store/5paayhibayr73zqfaj458g4k4mv108jn-stack-1.3.2/bin
  23420   /nix/store/5paayhibayr73zqfaj458g4k4mv108jn-stack-1.3.2

With -split-objs

  $ du /nix/store/fypymm529adpx71gdzm0851xz42wdbz0-stack-1.3.2
  20632   /nix/store/fypymm529adpx71gdzm0851xz42wdbz0-stack-1.3.2/bin
  4 /nix/store/fypymm529adpx71gdzm0851xz42wdbz0-stack-1.3.2/share/bash-completion/completions
  4 /nix/store/fypymm529adpx71gdzm0851xz42wdbz0-stack-1.3.2/share/bash-completion
  4       /nix/store/fypymm529adpx71gdzm0851xz42wdbz0-stack-1.3.2/share
  20636   /nix/store/fypymm529adpx71gdzm0851xz42wdbz0-stack-1.3.2

With -split-sections

  $ du /nix/store/40l6krinx1zx41lr87c4m12hxj4ldf3x-stack-1.3.2
  4       /nix/store/40l6krinx1zx41lr87c4m12hxj4ldf3x-stack-1.3.2/share/bash-completion/completions
  4       /nix/store/40l6krinx1zx41lr87c4m12hxj4ldf3x-stack-1.3.2/share/bash-completion
  4       /nix/store/40l6krinx1zx41lr87c4m12hxj4ldf3x-stack-1.3.2/share
  20672   /nix/store/40l6krinx1zx41lr87c4m12hxj4ldf3x-stack-1.3.2/bin
  20676   /nix/store/40l6krinx1zx41lr87c4m12hxj4ldf3x-stack-1.3.2

Note: you currently need following overrides to build stack on 802:

   vector-algorithms = dontCheck super.vector-algorithms;
   path-io = doJailbreak super.path-io;
   stack = doJailbreak super.stack;

Note: Should also work on GHC 8.0.1, but I'm being careful here.
      We could backport later on.
2017-02-07 14:21:54 +01:00
Domen Kožar 0772e27bfd haskell.lib.buildStackProject: fix #22386 2017-02-03 10:07:10 +01:00
Domen Kožar 220adbb039 docs: fix link for python 2017-02-01 21:32:06 +01:00
Domen Kožar f4e67389cc buildStackProject: set GIT_SSL_CAINFO and LANG 2017-02-01 10:45:37 +01:00
Domen Kožar 4c22b9529b Add a script to get failures for hydra eval /cc @globin 2017-01-28 22:29:15 +01:00
Domen Kožar fa18c37c71 haskellPackages.cryptonite-openssl: redistribute 2017-01-28 11:20:30 +01:00
Domen Kožar 0056a3a9c4 haskellPackages.hspec-expectations-pretty-diff: fix build 2017-01-28 10:56:22 +01:00
Domen Kožar e5dcce837a nixos: fix terminal-server, fixes #21834 2017-01-12 16:41:33 +01:00
Domen Kožar 45a677b978 haskell.packages.ghc802: dontCheck vector-algorithms 2017-01-12 16:35:08 +01:00
Domen Kožar 60435691f7 haskellPackages.servant-auth: fix build 2017-01-12 11:47:14 +01:00
Domen Kožar 6462eb6bdd nodejs: set hiPrio for 6.x 2017-01-10 21:17:12 +01:00
Domen Kožar 464c79ea9f turtle_1_3_0: fix build 2017-01-09 18:19:25 +01:00
Domen Kožar 8940c68c09 hydra: 2016-04-15 -> 2016-12-09
Fixes #19396 #21424
2017-01-08 14:40:12 +01:00
Domen Kožar 372e04f189 libpqxx: use gnused_422 2017-01-07 20:16:17 +01:00
Domen Kožar 133ba5f08a GHC: 8.0.2-rc2 -> 8.0.2 2017-01-07 16:17:54 +01:00
Domen Kožar f3381f0be2 electron: 1.2.2 -> 1.4.13 2017-01-06 19:00:17 +01:00
Domen Kožar 28c06567f8 haskellPackages.hakyll: fix build 2017-01-05 10:24:07 +01:00
Domen Kožar 05fe17ea3c libvncserver: enable libgcrypt
This allows encrypted vnc sessions for remmina
2017-01-04 22:27:44 +01:00
Domen Kožar f10dfd692f haskellPackages.mysql: fix #19593 2017-01-04 16:41:42 +01:00
Domen Kožar 17b7eb22c3 haskellPackages.wai-app-file-cgi: fix #21498 2017-01-03 23:28:58 +01:00
Domen Kožar 663048f378 Revert "haskell: workaround for bug with dynamic libraries on darwin"
This reverts commit 19e2e7290a.

See the correct fix in aa64994b48a29ea8d12323942f1743fa4133527a

General purpose solution will be once we implement
https://github.com/NixOS/nixpkgs/issues/21624
2017-01-03 23:10:24 +01:00
Domen Kožar af2cfc076f haskellPackages.z3: fix #16357 2017-01-03 23:10:24 +01:00
Domen Kožar 4bba954e13 rocksdb: properly fix #21215 2017-01-03 23:10:24 +01:00
Domen Kožar 4ce88d8674 rocksdb: build without debug 2017-01-03 23:10:24 +01:00
Domen Kožar 8b6b0aea72 Revert "rocksdb-haskell: just compile rocksdb statically to fix #21215"
This reverts commit 5e5df0fea2.
2017-01-03 23:10:24 +01:00
Domen Kožar d15c62a2a0 haskellPackages.Glob: jailbreak to support GHC 8.0.2-rc2 2016-12-29 18:00:56 +01:00
Domen Kožar 5e5df0fea2 rocksdb-haskell: just compile rocksdb statically to fix #21215 2016-12-18 22:17:37 +01:00
Domen Kožar d0250ad884 Haskell generic builder: enable parallel builds for GHC 8.0.2
This reverts https://github.com/NixOS/nixpkgs/pull/4554
2016-12-16 22:25:40 +01:00
Domen Kožar 8b9ced0181 rocksdb: build also static lib for rocksdb-haskell 2016-12-16 12:01:14 +01:00
Domen Kožar 63d930878b travis: also evaluate nixpkgs-unstable 2016-12-15 22:43:14 +01:00
Domen Kožar d5f92a319a rocksdb: compile as shared lib 2016-12-15 20:19:03 +01:00
Domen Kožar 77adcfb59f rocksdb: 4.1 -> 4.13 2016-12-15 18:05:25 +01:00
Domen Kožar 073cb330ca doc: remove last mention of <nixos> 2016-12-11 19:51:35 +01:00
Domen Kožar b6363c7bc8 make-disk-image: make store validity fix optional
This is useful for EC2 AMI generation to speedup the process.

In my case it removes 13min out of 45min when generating an image
on EC2.
2016-12-07 13:30:20 +01:00
Domen Kožar 00b3d6957a pythonPackages.chameleon: 2.15 -> 2.25 2016-12-07 13:30:20 +01:00
Domen Kožar e5cca82d79 make-disk-image: run tune2fs after umount to skip fsck
tune2fs marks the filesystem as clean to prevent resize2fs from
complaining.

But we were invoking it before we mounted the filesystem, so the
counters would increase to 1 and it broke the functionality.

By moving the call after the mount, I have confirmed it works by:

   $ nix-build nixos/tests/ec2.nix

cc @rbvermaa @edolstra
2016-12-07 13:30:20 +01:00
Domen Kožar d8e2eba828 haskellPackages.turtle: enable tests again (they pass) 2016-12-03 12:31:30 +01:00
Domen Kožar 75f131da02 acme: ensure nginx challenges directory is writeable 2016-11-29 15:56:01 +01:00
Domen Kožar 69e0740baa Merge pull request #20795 from cleverca22/netboot
make the /nix/store writable under netboot images
2016-11-29 15:47:39 +01:00
Domen Kožar 8b782f4bd4 Merge pull request #19990 from domenkozar/buildtheworld
Build all derivations on Linux, unless specified otherwise
2016-11-29 13:17:13 +01:00