Commit Graph
100 Commits
Author SHA1 Message Date
Bas van Dijk b63491ffbc Merge pull request #78482 from ggreif/master
llvmPackages_10: init at rc2
2020-02-25 14:08:39 +01:00
Bas van Dijk ce9b4f7460 Merge pull request #80705 from basvandijk/remove-myself-from-haskell-codeowners
.github/CODEOWNERS: remove myself from the Haskell code owners
2020-02-21 10:53:43 +01:00
Bas van Dijk de8bc79c42 .github/CODEOWNERS: remove myself from the Haskell code owners 2020-02-21 10:01:41 +01:00
Bas van Dijk 4e0a6bc4be symlinkJoin: fix "bash: Argument list too long" error
When the `paths` argument is too big `symlinkJoin` will fail with:

```
while setting up the build environment: executing '/nix/store/rm1hz1lybxangc8sdl7xvzs5dcvigvf7-bash-4.4-p23/bin/bash': Argument list too long
```

This is fixed by passing `paths` as a file instead of as an
environment variable.
2020-02-17 11:45:44 +01:00
Bas van Dijk b30dc0ff89 expect: patch configure after the autoreconf phase, not before it
Fixes: #79863
2020-02-16 15:46:01 -08:00
Bas van Dijk a7ae4cbd00 Merge pull request #79361 from bbigras/grpcurl
grpcurl: 1.0.0 -> 1.4.0
2020-02-07 11:32:43 +01:00
Bas van Dijk b7ccd536c8 Merge pull request #79431 from basvandijk/fix-servant-docs-sha256
haskellPackages.servant: fix sha256
2020-02-07 10:21:56 +01:00
Bas van Dijk 1cbb793ec8 haskellPackages.servant: fix sha256
My build server which isn't using cache.nixos.org discovered an
outdated hash in servant:

```
trying https://github.com/haskell-servant/servant/archive/v0.16.2.tar.gz
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   132    0   132    0     0    616      0 --:--:-- --:--:-- --:--:--   616
100  295k    0  295k    0     0   269k      0 --:--:--  0:00:01 --:--:--  384k
unpacking source archive /build/v0.16.2.tar.gz
hash mismatch in fixed-output derivation '/nix/store/i6qgxlqf599wl11rd44jasgmwb78wr6c-source':
  wanted: sha256:0kqglih3rv12nmkzxvalhfaaafk4b2irvv9x5xmc48i1ns71y23l
  got:    sha256:0xk3czk3jhqjxhy0g8r2248m8yxgvmqhgn955k92z0h7p02lfs89
```
2020-02-07 10:12:49 +01:00
Bas van Dijk 97eda56797 Merge pull request #79381 from basvandijk/libuv-1.34.2-staging
libuv: 1.34.1 -> 1.34.2
2020-02-07 08:27:51 +01:00
Bas van Dijk 21ad5c123b libuv: 1.34.1 -> 1.34.2 2020-02-06 22:12:38 +01:00
Bas van Dijk 5ff1a53a32 Merge pull request #78769 from basvandijk/staging-perlPackages.TimeDate/use-fetchpatch
perlPackages.TimeDate: use fetchpatch instead of storing the patch
2020-02-01 11:05:58 +01:00
Bas van Dijk e5274c97cc perlPackages.TimeDate: use fetchpatch instead of storing the patch 2020-01-29 12:29:43 +01:00
Bas van Dijk 5afe978e00 Merge pull request #77741 from knl/elasticsearch-curator-now-supports-el7
Enable elasticsearch-curator on elasticsearch 7
2020-01-15 10:47:15 +01:00
Bas van Dijk b0b37569a7 Merge pull request #77669 from basvandijk/hydra-sync-buildMachinesFiles-with-upstream
hydra: only set buildMachinesFiles when nix.buildMachines is defined
2020-01-15 09:39:25 +01:00
Bas van Dijk b517409c6b Merge pull request #77668 from basvandijk/hydra-rm-option-build-use-substitutes
hydra: remove the build-use-substitutes option
2020-01-15 09:30:18 +01:00
Bas van Dijk ad554b3e4e hydra: only set buildMachinesFiles when nix.buildMachines is defined
This applies [hydra PR #432](https://github.com/NixOS/hydra/pull/432)
to the NixOS module in nixpkgs:

```
commit 4efd078977e5ea20e1104783efc324cba11690bc
Author: Bas van Dijk <v.dijk.bas@gmail.com>
Date:   Sun Dec 11 15:35:38 2016 +0100

    Only set buildMachinesFiles when nix.buildMachines is defined
```
2020-01-14 12:32:40 +01:00
Bas van Dijk f34aaa6646 hydra: remove the build-use-substitutes option
The following commit from 2016 in hydra removed the `--option
build-use-substitutes` from the hydra-queue-runner service:

```
commit ee2e9f5335c8c0288c102975b506f6b275793cfe
Author: Eelco Dolstra <edolstra@gmail.com>
Date:	Fri Oct 7 20:23:05 2016 +0200

    Update to reflect BinaryCacheStore changes

    BinaryCacheStore no longer implements buildPaths() and ensurePath(),
    so we need to use copyPath() / copyClosure().
```

It would be better if the hydra module in NixOS matches the upstream
module.
2020-01-14 12:14:25 +01:00
Bas van Dijk d6cf06b950 tracecmd: 2.8.3 -> 2.9-dev & kernelshark: 0.9.8 -> 1.1.0 2019-10-31 16:07:39 -05:00
Bas van Dijk 1a55b2b6b0 Merge pull request #72356 from basvandijk/cargo-audit-0.10.0
cargo-audit: 0.9.3 -> 0.10.0
2019-10-31 11:58:58 +01:00
Bas van Dijk e2b084951c cargo-audit: 0.9.3 -> 0.10.0
0.10.0 (2019-10-13)

* Upgrade rustsec to v0.16; new self-audit system (#155)
* Upgrade to Abscissa v0.4; MSRV 1.36 (#154)
2019-10-31 10:10:35 +01:00
Bas van Dijk 240c8bb70a Merge pull request #69965 from r-ryantm/auto-update/strongswan
strongswan: 5.8.0 -> 5.8.1
2019-10-26 13:46:40 +02:00
Bas van Dijk ce14f092ea Merge pull request #71821 from knl/add-isomd5sum
isomd5sum: init at 1.2.3
2019-10-25 10:15:25 +02:00
Bas van Dijk 60302e5793 Merge pull request #70440 from basvandijk/thanos-0.7.0
thanos: 0.6.1 -> 0.7.0
2019-10-05 11:35:26 +02:00
Bas van Dijk 82259b5d54 thanos: 0.6.1 -> 0.7.0 2019-10-05 10:35:52 +02:00
Bas van Dijk 761df21d6f Merge pull request #70321 from nmattia/nm-no-unwind-for-cxxabi
libcxxabi: don't depend on libunwind
2019-10-04 10:17:06 +02:00
Bas van Dijk 4941a8b8e2 cargo-audit: init at 0.9.1
cargo-audit is a subcommand for cargo which audits Cargo.lock files for crates
with security vulnerabilities
2019-10-01 16:44:28 +02:00
Bas van Dijk 4c5cad9f63 Merge pull request #69483 from nmattia/nm-libpfm-static
libpfm: enable static build
2019-09-26 12:51:18 +02:00
Bas van Dijk 37831d6d35 Merge pull request #67930 from basvandijk/applyPatches
trivial-builders: add the applyPatches function
2019-09-03 08:00:22 +02:00
Bas van Dijk 05393ca217 trivial-builders: add the applyPatches function
applyPatches applies a list of patches to a source directory.

For example to patch nixpkgs you can use:

  applyPatches {
    src = pkgs.path;
    patches = [
      (pkgs.fetchpatch {
        url = "https://github.com/NixOS/nixpkgs/commit/1f770d20550a413e508e081ddc08464e9d08ba3d.patch";
        sha256 = "1nlzx171y3r3jbk0qhvnl711kmdk57jlq4na8f8bs8wz2pbffymr";
      })
    ];
  }
2019-09-02 11:18:52 +02:00
Bas van Dijk 09b1501d7c thanos: 0.6.0 -> 0.6.1 2019-08-28 00:00:14 +02:00
Bas van Dijk cbf76c739a Merge pull request #66728 from symphorien/rust-rls
rls: tie version to rustc's
2019-08-21 16:38:19 +02:00
Bas van Dijk 06734a93e9 rustfmt: fix build on aarch64 2019-08-19 15:23:41 +02:00
Bas van Dijk b9c4bef090 Merge pull request #66713 from basvandijk/rustfmt-from-rust-src
rustfmt: use the src as defined by the git submodule in rust
2019-08-19 15:14:23 +02:00
Bas van Dijk 4e5d4d5509 rustfmt: enable tests 2019-08-19 15:09:15 +02:00
Bas van Dijkandsymphorien dc374218c9 rustfmt: make sure to test rustfmt instead of rustc
Co-Authored-By: symphorien <symphorien@users.noreply.github.com>
2019-08-19 12:54:40 +02:00
Bas van Dijk 16cb2611d9 rustfmt: use the src as defined by the git submodule in rust
This commit makes sure rustc and rustfmt are compatible by setting
rustfmt's src to the rustfmt git submodule as defined in:

https://github.com/rust-lang/rust/tree/1.36.0/src/tools
2019-08-16 12:54:05 +02:00
Bas van Dijk 682e6fafa4 rustPackages.clippy: init at rust-1.36.0 2019-08-16 09:18:32 +02:00
Bas van Dijk fae25242e9 Merge pull request #66327 from basvandijk/parameterizable-nixos-generate-config
nixos-generate-config: enable overriding configuration.nix
2019-08-09 14:39:34 +02:00
Bas van Dijk 810388afd2 nixos-generate-config: enable overriding configuration.nix 2019-08-08 17:00:10 +02:00
Bas van Dijk 69c7aee5fd Merge pull request #66257 from knl/dont-force-hostname-in-sets
Make hostname in tests overridable
2019-08-07 12:12:15 +02:00
Bas van Dijk 9ff408a2a4 Merge pull request #60500 from basvandijk/thanos-init
thanos: init at 0.6.0 & NixOS module
2019-07-28 19:14:55 +02:00
Bas van Dijk 0a59be7136 thanos: 0.5.0 -> 0.6.0 2019-07-28 13:28:27 +02:00
Bas van Dijk 6a59dc35f6 nixos/tests/prometheus-2.nix: increase diskSize of the store machine
This is to fix the following error in the test on aarch64-linux:

store# [  126.911144] thanos[739]: level=error ts=2019-06-16T14:00:26.59870538Z caller=main.go:182 msg="running command failed" err="error executing compaction: first pass of downsampling failed: create dir: mkdir /var/lib/thanos-compact/downsample: no space left on device"
store# [  126.942655] systemd[1]: thanos-compact.service: Main process exited, code=exited, status=1/FAILURE
2019-07-28 13:28:27 +02:00
Bas van Dijk e753322c48 thanos: remove bzr because 0.5.0 apparently doesn't need it anymore
I'll leave in the support for overrideModAttrs because that can be
useful for other go packages.
2019-07-28 13:28:27 +02:00
Bas van Dijk aefb0aa912 thanos: 0.5.0-rc.0 -> 0.5.0 2019-07-28 13:28:27 +02:00
Bas van Dijk dc69b3e6ad nixos/thanos: code style: don't use a space before a colon 2019-07-28 13:28:27 +02:00
Bas van Dijk e32e0e6e02 nixos/thanos: assert that prometheus2 is running and has labels set 2019-07-28 13:28:27 +02:00
Bas van Dijk 7f093a2e8e thanos: don't use URL literals (RFC-0045) 2019-07-28 13:28:27 +02:00
Bas van Dijk 13da811853 nixos/thanos: allow overriding arguments to the thanos subcommands 2019-07-28 13:28:27 +02:00
Bas van Dijk 2d0243c187 thanos: 0.4.0 -> 0.5.0-rc.0 2019-07-28 13:28:27 +02:00
Bas van Dijk ebc65a5f21 nixos/thanos: add module for the thanos service 2019-07-28 13:28:27 +02:00
Bas van Dijk 4a6e47126c thanos: init at 0.4.0 2019-07-28 13:28:27 +02:00
Bas van Dijk 8d6fbef92a buildGoModule: support overriding the go-modules derivation 2019-07-28 13:28:27 +02:00
Bas van Dijk 1ff227a979 Merge pull request #60367 from basvandijk/trace-cmd-and-kernelshark
kernelshark: init at 0.9.8 & trace-cmd: 2.6 -> 2.8.3
2019-07-28 11:33:17 +02:00
Bas van Dijk c9c895062f trace-cmd/kernelshark: downgrade to the trace-cmd-stable-v2.8 branch 2019-07-27 20:33:33 +02:00
Bas van Dijk 7803c04c7c kernelshark: 0.9.8-f97e28a -> 1.0.0 2019-07-27 20:02:58 +02:00
Bas van Dijk d9e3118ab0 kernelshark: remove doxygen and graphviz because they aren't used 2019-07-25 22:17:43 +02:00
Bas van Dijk 585de35cd6 kernelshark: install documentation 2019-07-25 22:13:17 +02:00
Bas van Dijk 4542cca0b2 trace-cmd: 2.8-0c957d2 -> 2.9-dev-1517dc3 2019-07-25 21:36:09 +02:00
Bas van Dijk d1466e7006 trace-cmd: 2.8-c8d9e1a -> 2.8-0c957d2 2019-07-25 21:36:09 +02:00
Bas van Dijk fa5a346244 kernelshark: init at 0.9.8-c8d9e1a 2019-07-25 21:36:09 +02:00
Bas van Dijk a9b4881f94 trace-cmd: 2.6 -> 2.8-c8d9e1a 2019-07-25 21:36:09 +02:00
Bas van Dijk 58ea28eb2c lib: allow sourceByRegex to be composed after cleanSourceWith
`sourceByRegex src regexes` should include a source file if one of the
regular expressions `regexes` matches the path of that file relative
to `src`.

However to compute this relative path `sourceByRegex` uses:

```
relPath = lib.removePrefix (toString src + "/") (toString path);
```

Note that `toString path` evaluates to an absolute file somewhere
under `src` and not under `/nix/store`.

The problem is that this doesn't work if `src` is a `cleanSourceWith`
invocation as well because `toString src` will then evaluate to
`src.outPath` which will evaluate to `builtins.filterSource ...` which
evaluates to a path in `/nix/store` which is not a prefix of `path`.

The solution is to replace `src` with `origSrc` where

```
origSrc = if isFiltered then src.origSrc else src;
isFiltered = src ? _isLibCleanSourceWith;
```

Test this by executing the following from the nixpkgs repo:

```
(cat << 'EOI'
let
  pkgs = import ./. {};
in pkgs.runCommand "test-sourceByRegex" {
  test_sourceByRegex =
    let
      src1 = pkgs.lib.sourceByRegex ./.  [ "^test-sourceByRegex.nix$" ];
      src2 = pkgs.lib.sourceByRegex src1 [ "^test-sourceByRegex.nix$" ];
    in src2 + "/test-sourceByRegex.nix";
} ''
 cp $test_sourceByRegex $out
''
EOI
) > test-sourceByRegex.nix
nix-build test-sourceByRegex.nix
```
2019-07-19 16:23:11 +02:00
Bas van Dijk 5853fdb9ec Merge pull request #63721 from basvandijk/libressl-openssl-license
libressl: add openssl license
2019-07-01 15:52:10 +02:00
Bas van Dijk 6ecce7167a Merge pull request #63772 from basvandijk/cargo-license-homepage
cargo-license: add meta.homepage
2019-06-25 15:33:56 +02:00
Bas van Dijk b95c4ce302 cargo-license: add meta.homepage 2019-06-25 15:31:55 +02:00
Bas van Dijk 474da44339 Merge pull request #63706 from basvandijk/cargo-license-0.2.0
cargo-license: init at 0.2.0
2019-06-24 11:32:41 +02:00
Bas van Dijk 4099a9ad38 libressl: add openssl license
LibreSSL is also licensed under the OpenSSL license. See:

https://cvsweb.openbsd.org/cgi-bin/cvsweb/~checkout~/src/lib/libssl/LICENSE?rev=1.12&content-type=text/plain
2019-06-24 10:16:02 +02:00
Bas van Dijk 7720379005 cargo-license: init at 0.2.0 2019-06-24 00:20:57 +02:00
Bas van Dijk cee35739ff mkshell: improve mergeInputs
mergeInputs is now simply defined in terms of `concatLists` and
`catAttrs` instead of a more complicated `foldr`.

Note that the order of PATH has also changed. For example running the
following with nix-shell:

  let
    pkgs = import <nixpkgs> {};

    shell1 = pkgs.mkShell {
      buildInputs = [ pkgs.htop ];
    };

    shell2 = pkgs.mkShell {
      buildInputs = [ pkgs.hello ];
    };

    shell3 = pkgs.mkShell {
      inputsFrom = [ shell1 shell2 ];
      buildInputs = [ pkgs.tree ];
    };

  in shell3

Results in the following PATH:

$ echo $PATH
...
/nix/store/yifq4bikf7m07160bpia7z48ciqddbfi-tree-1.8.0/bin:
/nix/store/vhxqk81234ivqw1a7j200a1c69k8mywi-htop-2.2.0/bin:
/nix/store/n9vm3m58y1n3rg3mlll17wanc9hln58k-hello-2.10/bin
...

Previously the order was:

/nix/store/n9vm3m58y1n3rg3mlll17wanc9hln58k-hello-2.10/bin
/nix/store/vhxqk81234ivqw1a7j200a1c69k8mywi-htop-2.2.0/bin:
/nix/store/yifq4bikf7m07160bpia7z48ciqddbfi-tree-1.8.0/bin:

I think the new order makes more sense because it allows to override
the PATH in the outermost mkShell.
2019-06-23 22:20:10 +02:00
Bas van Dijk 76ef802d3d mkShell: compose shellHooks
Running the following expression with nix-shell:

  let
    pkgs = import <nixpkgs> {};

    shell1 = pkgs.mkShell {
      shellHook = ''
        echo shell1
      '';
    };

    shell2 = pkgs.mkShell {
      shellHook = ''
        echo shell2
      '';
    };

    shell3 = pkgs.mkShell {
      inputsFrom = [ shell1 shell2 ];
      shellHook = ''
        echo shell3
      '';
    };
  in shell3

Will now results in:
shell2
shell1
shell3

Note that packages in the front of inputsFrom have precedence over
packages in the back. The outermost mkShell has precedence over all.
2019-06-23 22:13:57 +02:00
Bas van Dijk 3e9f9a64d1 Merge pull request #63521 from basvandijk/cargo-graph-0.2.0-d895af1
cargo-graph: init at 0.2.0-d895af1
2019-06-20 09:25:02 +02:00
Bas van Dijk c2f3f169f9 cargo-graph: init at 0.2.0-d895af1 2019-06-20 08:39:00 +02:00
Bas van Dijk ad96121365 Merge pull request #63333 from knl/enable-fsevents-api-for-fswatch
fswatch: Enable FSEvents API on Darwin
2019-06-18 09:26:20 +02:00
Bas van Dijk 0bc377d47d Merge pull request #63160 from basvandijk/opencv-4.1.0
opencv: 4.0.1 -> 4.1.0
2019-06-16 08:57:30 +02:00
Bas van Dijk bf5e3c24d0 Merge pull request #63162 from basvandijk/opencv-3.4.6
opencv: 3.4.5 -> 3.4.6
2019-06-16 08:55:49 +02:00
Bas van Dijk 9f52f0e6b8 opencv: 3.4.5 -> 3.4.6 2019-06-15 16:54:31 +02:00
Bas van Dijk baf54b6b8b opencv: 4.0.1 -> 4.1.0 2019-06-15 16:17:51 +02:00
Bas van Dijk b71fa33328 Merge pull request #62655 from basvandijk/terraform-provider-elasticsearch-0.7.0
terraform-provider-elasticsearch: 0.6.0 -> 0.7.0
2019-06-04 14:12:25 +02:00
Bas van Dijk 6b4279e792 terraform-provider-elasticsearch: 0.6.0 -> 0.7.0 2019-06-04 12:34:24 +02:00
Bas van Dijk f6ba5b91e8 Merge pull request #62616 from basvandijk/strongswan-5.8.0
strongswan: 5.7.2 -> 5.8.0
2019-06-03 23:43:20 +02:00
Bas van Dijk 1959799d51 strongswan: 5.7.2 -> 5.8.0 2019-06-03 18:01:55 +02:00
Bas van Dijk ea061fd71d Merge pull request #62122 from basvandijk/terraform-provider-elasticsearch-0.6.0
terraform-provider-elasticsearch: init at 0.6.0
2019-05-27 19:34:15 +02:00
Bas van Dijk d19b0b2ddf terraform-provider-elasticsearch: init at 0.6.0 2019-05-27 17:48:36 +02:00
Bas van Dijk a4354df1f1 Merge pull request #61633 from basvandijk/elasticsearch-curator-5.7.6
elasticsearch-curator: 5.6.0 -> 5.7.6 & upgrades of dependencies (based on staging)
2019-05-24 16:02:39 +02:00
Bas van Dijk 72fc6f7e5c libbytesize: 1.4 -> 2.0 2019-05-24 15:59:09 +02:00
Bas van Dijk 3df8bed953 pythonPackages.elasticsearch-dsl: 6.3.1 -> 7.0.0 2019-05-24 12:54:13 +02:00
Bas van Dijk e5f4e17ad4 elasticsearch-curator: 5.6.0 -> 5.7.6 2019-05-24 12:54:13 +02:00
Bas van Dijk 4812547618 pythonPackages.elasticsearch: 6.3.1 -> 7.0.1 2019-05-24 12:54:13 +02:00
Bas van Dijk f12f9afa2a awscli: 1.16.106 -> 1.16.160 2019-05-24 12:54:13 +02:00
Bas van Dijk adef5b9c97 pythonPackages.boto3: 1.9.96 -> 1.9.150 2019-05-24 12:54:13 +02:00
Bas van Dijk 6efa24ee07 pythonPackages.botocore: 1.12.96 -> 1.12.150 2019-05-24 12:54:13 +02:00
Bas van Dijk c404cfd801 pythonPackages.certifi: 2018.11.29 -> 2019.3.9 2019-05-24 12:54:13 +02:00
Bas van Dijk edb1668130 Merge pull request #61939 from basvandijk/terraform-0.12
terraform: 0.11.13 -> 0.11.14 & 0.12.0-rc1 -> 0.12.0
2019-05-23 14:54:17 +02:00
Bas van Dijk 8669561bde terraform_0_12: 0.12.0-rc1 -> 0.12.0 2019-05-23 11:07:23 +02:00
Bas van Dijk 2bcc8de182 terraform_0_11: 0.11.13 -> 0.11.14 2019-05-23 11:06:57 +02:00
Bas van Dijk 240ae5eb87 Merge pull request #61604 from basvandijk/tinydns-nixos-test
nixos: add test for tinydns
2019-05-17 01:48:40 +02:00
Bas van Dijk 71fdb69314 nixos: add test for tinydns 2019-05-16 23:46:17 +02:00
Bas van Dijk cc3d0f4acf Merge pull request #61255 from basvandijk/elk-old-upgrades
elk5: 5.6.9 -> 5.6.16 & elk6: 6.7.1 -> 6.7.2
2019-05-10 23:48:21 +02:00
Bas van Dijk 1a0818e941 elk6: 6.7.1 -> 6.7.2 2019-05-10 23:32:44 +02:00