Commit Graph
100 Commits
Author SHA1 Message Date
Jonas Chevalier 9b09b16cab Merge pull request #106657 from zimbatm/terraform-providers-updates
###### Motivation for this change
2020-12-11 13:11:38 +00:00
zimbatm 0dc2e6d068 terraform-providers.postgresql: 1.7.1 -> 1.8.1
This also changes the origin of the code. Hashicorp decided to stop
maintaining that provider and passed on the buck to cyrilgdn.
2020-12-11 12:08:20 +01:00
zimbatm e1c709b87b terraform-providers.aws: 3.15.0 -> 3.20.0 2020-12-11 12:00:03 +01:00
Jonas Chevalier 7ff5e241a2 krank: build statically (#106451)
Avoid pulling all of GHC just to run krank
2020-12-10 00:28:57 +00:00
zimbatm 6da39cde64 sysdig: fix bash-completion location
In order to support auto-loading, the bash-completion scripts should
live in $out/share/bash-completion.
2020-12-02 12:30:25 +01:00
Jonas Chevalier 5851c31127 terraform-providers: handle go modules (#104667)
* terraform-providers: handle go modules

More and more terraform providers are switching from vendored
dependencies to Go modules.

Let's say that you update the "aws" provider and it fails. You can run
it again with:

    ./update-provider aws --vendor

Any package that has the "vendorSha256" key will be considered as a go
module package.

The script now also supports adding new providers by using the
<owner>/<repo> format. Eg:

     ./update-provider hetznercloud/hcloud --vendor

* address comment

Fixes https://github.com/NixOS/nixpkgs/pull/104667#discussion_r529788569

* support the null use-case

* escape provider name as well

* fix typo
2020-12-01 11:05:00 +01:00
zimbatm 74f08a53a1 awscli2: fix bash completion name
The bash completion name should map the binary name, so that it can be
loaded by the bash-completion package automatically.
2020-11-30 18:40:14 +01:00
zimbatm bbc9af1f0a tree-wide: do not use pkgs.extend in nixpkgs
Each invocation of pkgs.extends adds 130MB of allocation to the hydra
evaluator. We are already struggling with the amount of memory nixpkgs
requires.

`pkgs.extend` is a useful escape-hatch, but should be not be used inside
of nixpkgs directly.
2020-11-30 14:24:40 +01:00
zimbatm 12d78f7469 goreleaser: 0.145.0 -> 0.147.2 2020-11-27 10:16:57 +01:00
Jonas Chevalier fbeebf8b49 Merge pull request #104771 from zimbatm/terraform-providers.postgresql-1.7.1
terraform-providers.postgresql: 1.6.0 -> 1.7.1
2020-11-24 15:28:25 +01:00
zimbatm 688c8c0333 terraform-providers.postgresql: 1.6.0 -> 1.7.1 2020-11-24 15:21:52 +01:00
Jonas Chevalier fc813a0872 Merge pull request #104366 from leenaars/sylk293
Sylk: 2.9.2 -> 2.9.3
2020-11-22 11:26:25 +01:00
Jonas Chevalier 04320e77e1 gopls: 0.5.1 -> 0.5.3 (#104065) 2020-11-17 18:43:25 +01:00
Jonas Chevalier a7cb88c3de tree-wide: unify Bash completions outputs (#103421)
Use $out/share/bash-completion/completions to store the Bash completions
2020-11-12 21:22:18 +00:00
zimbatm 1eaf05fbaf terraform-providers.linuxbox: init at 0.3.11 2020-11-04 19:23:08 +01:00
zimbatm 5ff35fab0f fixup! nss: make reproducible (#102156)
Fixes a precedence issue from fe9f55907e

`lib.optionalString <cond> 'text' + 'text2'` will always have 'text2' as
part of the result.
2020-11-02 11:55:11 +01:00
zimbatm 6cc483b6c2 autogen: make reproducible (#102280) 2020-10-31 23:27:12 +01:00
zimbatm c409f69480 pythonPackages.pip: make reproducible (#102222)
The previous attempt wasn't covering all of the bases. It relied on
invoking that pip-install-hook, and didn't apply to pip itself.

The core issue is that the generated .pyc files embed some of the
temporary paths, which are randomly generated. See
https://r13y.com/diff/bf8c3ca3148ebff9ecf41f294cc60b9f209c006d49699e356969ff32d736f1c6-8806a7cca91fdd300e48736bfcd57c4d0b54c1cc2fd61609f35143170862b59c.html

In this new attempt, the approach is to patch the TempFile
implementation directly, so that it creates stable temporary
directories. We also assume that if SOURCE_DATE_EPOCH is set, we are in
a scenario where reproducible builds are desirable and enter that
branch.

See also https://github.com/pypa/pip/issues/7808
2020-10-31 21:24:36 +01:00
zimbatm 7d834eff6c nixos/manual: make reproducible (#102234) 2020-10-31 21:18:16 +01:00
zimbatm 8f2be9ac36 nss: make reproducible (#102156)
According to
https://hg.mozilla.org/projects/nss/file/c1fad130dce2081a5d6ce9f539c72d999f59afce/build.sh#l129
the FIPS mode is not enabled by default. Yet we generate the .chk files
that are only meant to be used for that mode. I have a sense that those
have been cargo-culted around.

Adding FIPS is still possible but you have to explictily build the lib
with `pkgs.nss.override { enableFIPS = true; }`

More info on what FIPS is:
https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSS/NSS_Tech_Notes/nss_tech_note6

Other distros wrangling with the same issue:
https://bugzilla.opensuse.org/show_bug.cgi?id=1081723
2020-10-31 21:17:26 +01:00
zimbatm f155651d3f terraform-providers.time: init at 0.6.0 (#101406) 2020-10-29 18:07:44 +01:00
zimbatm 5dc3838d05 Merge pull request #101655 from zimbatm/ruby-r13y
ruby: make the build reproducible
2020-10-27 19:29:37 +01:00
zimbatm c3357d2cd9 buildRubyGem: remove Makefiles
The generated Makefile is not reproducible. The HDRS section is inode
dependent. "sitearchdir" and "sitelibdir" contains a timestamp and
random postfix. See https://r13y.com/diff/8350ec80865096f84705f3e000d97f151760e768bf626e52c84570413c5e1093-f9dea788fe62d683e90e12e166f29b778c39c699a5be39f9262e5cffb77d3e45.html

Instead of trying to make it reproducible, remove it entirely. It was
only useful for generating the .so file and it no longer needed.

See also https://bugs.ruby-lang.org/issues/15304

Fixes the rubyPackages.nokogiry reproducibility for example.
2020-10-27 14:20:09 +01:00
zimbatm 7aee32121a ruby: make the build reproducible
ext/io/console/io-console.gemspec was embedding a timestamp which made
the build not reproducible. Gems respect SOURCE_DATE_EPOCH so it's
enough to just delete that line if it exists.

This file has been fixed in
https://github.com/ruby/io-console/commit/679a941d05d869f5e575730f6581c027203b7b26#diff-d8422f096931c58d4463e2489f62a228b0f24f0492950ba88c8c89a0d741cfe6
And then ruby regularly merges that gem into their own repository. Ruby
master is fixed but none of the ruby releases have been fixed yet.

lib/ruby/gems/2.6.0/specifications/default/io-console-0.4.7.gemspec now
contains:

    s.date = "1980-01-01"
2020-10-27 14:20:08 +01:00
zimbatm ae66cd924c direnv: 2.23.0 -> 2.23.1 (#101487) 2020-10-23 21:39:29 +02:00
zimbatm 0f5cfbcaf8 direnv: 2.22.0 -> 2.23.0 (#100146) 2020-10-10 14:05:27 +00:00
zimbatm d8e4c8e612 Merge pull request #96641 from zimbatm/data-module-imports
nixos: Data module imports
2020-10-09 17:07:51 +00:00
zimbatm 0e354d87bc Merge pull request #100072 from zimbatm/tf-0.13-fixups
terraform-full: fix evaluation
2020-10-09 14:55:47 +00:00
zimbatm c79ff8ddca terraform: fix withPlugins
Move the providerSourceAddress fallback to the terraform.withPlugins
function. Since plugins can be arbitrary derivations, there is no
guarantee that this attribute will be exposed.

While doing that I also cleaned the toDrv function to only pass
attributes to the builder which are required by the build.

The Terraform 0.13 fallback slug has changed from
`nixpkgs/<provider-owner>/<provider-name>` to `nixpkgs/<provider-name>`
as the owner is also not always available. As a nixpkgs user, all I know
is that the provider is in nixpkgs and his name, the owner information
is not necessarily easy to get by.
2020-10-09 16:55:30 +02:00
zimbatm 3f49e5ba03 terraform-providers.keycloak: use pname
We will be relying on the pname to figure out where to link the plugin.
2020-10-09 12:43:13 +02:00
zimbatm be6e9f1e90 Merge pull request #99198 from timstott/terraform-013-compatible-providers
terraform-providers: Terraform 0.13 compatibility
2020-10-08 21:29:04 +00:00
zimbatm 8c67a84193 Merge pull request #99073 from flokli/terraform-providers-ct
terraform-providers.ct: 0.5.0 -> 0.6.1
2020-09-30 16:19:51 +00:00
zimbatm 7bfde4b334 Revert "st: enable build on darwin (#98668)"
This reverts commit 34133d5425.
2020-09-25 00:06:56 +02:00
zimbatm 3cf7f6d357 Merge pull request #98671 from r-ryantm/auto-update/bashmount
bashmount: 4.3.1 -> 4.3.2
2020-09-24 22:05:42 +00:00
zimbatm cc9b34a56b Merge pull request #98649 from cw789/elixir_cleanup
elixir_1_6: remove
2020-09-24 22:00:03 +00:00
zimbatm 4b64ea7e4f Merge pull request #98654 from ghuntley/bump-pulumi
pulumi: 2.6.1 -> 2.10.2
2020-09-24 21:49:55 +00:00
zimbatm 55e2c8318d Merge pull request #98682 from afontaine/bump-plexamp-3-2-0
plexamp: 3.1.1 -> 3.2.0
2020-09-24 21:48:33 +00:00
zimbatm f32bc5c953 Merge pull request #98554 from Luflosi/update/ipfs
ipfs: 0.6.0 -> 0.7.0
2020-09-24 20:42:07 +00:00
zimbatm 60d443d0cd awscli2: 2.0.46 -> 2.0.48 2020-09-14 15:14:28 +02:00
zimbatm ceac92ce05 Merge pull request #97892 from taku0/thunderbird-bin-78.2.2
thunderbird, thunderbird-bin: 78.2.1 -> 78.2.2
2020-09-14 00:43:27 +02:00
zimbatm 035627dff2 lib: allow to import JSON and TOML files
The vision here is that configuration tools can generate .json or .toml
files, which can be plugged into an existing configuration.

Eg:

    { lib, ... }:
    {
      imports = [
        (lib.modules.importJSON ./hardware-configuration.json)
      ];
    }
2020-09-12 16:37:50 +02:00
zimbatm 947a7d33f9 lib: add importTOML
Complements the `lib.importJSON`. `builtins.readTOML` has been
introduced in Nix 2.1.
2020-09-12 16:37:50 +02:00
zimbatm 6592980b19 direnv: 2.21.3 -> 2.22.0 (#97011) 2020-09-03 17:24:46 +02:00
zimbatm 2f5277d92e nix-build-uncached: remove the nix wrap (#96357)
Nix is one of those few things where it's actually better to use the
version that is on the host. This avoids having to deal with Nix
compatibility issues, and download a second version of Nix on hosts like
GitHub Actions.
2020-08-26 21:57:28 +02:00
zimbatm fcd447bfed pythonPackages.avro: 1.9.2 -> 1.10.0 (#95790)
pythonPackages.avro: 1.9.2 -> 1.10.0
2020-08-21 05:26:28 -07:00
zimbatm 718782b004 Merge pull request #95889 from erictapen/jellyfin-10.6.3
jellyfin: 10.6.2 -> 10.6.3
2020-08-21 11:07:38 +02:00
zimbatm bd960c6fbe Merge pull request #95895 from jonringer/fix-dracula
vimPlugins.dracula-vim: fix name
2020-08-21 11:02:54 +02:00
zimbatm 873cca6e03 obsidian: 0.7.3 -> 0.8.2 2020-08-19 08:55:07 +02:00
zimbatm a19e16756b Merge pull request #95659 from numtide/nixpkgs-fmt
nixpkgs-fmt: 0.9.0 -> 1.0.0
2020-08-18 15:23:55 +02:00
zimbatm 77da74c785 rustracerd: mark as broken (#95099)
It doesn't seem to be maintained upstream anymore?

Fixes the ycmd build.
2020-08-10 17:45:49 +00:00
zimbatm dad2f74082 Merge pull request #93884 from zowoq/gobetween
gobetween: 0.7.0 -> 0.8.0
2020-07-26 13:25:17 +00:00
zimbatm aaceace6e4 Merge pull request #93906 from magnetophon/mu
mu: 1.4.10 -> 1.4.12
2020-07-26 13:23:55 +00:00
zimbatm 93013cd8b3 Merge pull request #93871 from Chili-Man/terraform-0.12.29-update
terraform: 0.12.28 -> 0.12.29
2020-07-26 09:03:23 +00:00
zimbatm 4cb0342777 pipewire: 0.3.6 -> 0.3.7 2020-07-22 23:52:51 +02:00
zimbatm 390737910d gopls: 0.4.1 -> 0.4.3 2020-07-16 14:32:18 +02:00
zimbatm f0fb57a079 terraform_0_13: init at 0.13.0-beta3 2020-07-10 13:20:40 +02:00
zimbatm 6a6c47a823 Merge pull request #92433 from kampka/kops
kops: 1.16.3 -> 1.16.4 1.17.0 -> 1.17.1
2020-07-07 16:57:52 +02:00
zimbatm dca8595188 cloud-utils: 0.30 -> 0.31 2020-06-29 10:52:30 -07:00
zimbatm 05c54bd0e1 terraform: 0.12.26 -> 0.12.27 (#91614) 2020-06-26 17:59:12 +00:00
zimbatm 6cddce1d1d rebazel: init at 0.1.4 2020-06-15 19:41:10 +02:00
zimbatm 9494fdeeb3 Merge pull request #70327 from abbradar/synapse-plugins
Refactor Synapse plugins, add matrix-synapse-pam
2020-06-09 23:54:54 +02:00
zimbatm 3b1f33f300 Merge pull request #89833 from flokli/bump-terraform-providers
terraform-providers: update
2020-06-08 23:08:53 +02:00
zimbatm 09aad02e06 Merge pull request #89555 from flokli/terraform-provider-ct
terraform-providers.ct: init at 0.5.0
2020-06-05 20:06:46 +02:00
zimbatm 8db1c35e83 Merge pull request #89393 from wnklmnn/keepass
Keepass
2020-06-05 14:56:30 +02:00
zimbatm 383c5d09b9 gerrit: 3.1.4 -> 3.1.5 (#89288) 2020-06-03 09:45:51 +00:00
zimbatm 245ce6f61d Merge pull request #89386 from kampka/kops
kops: 1.16.2 -> 1.16.3, init at 1.17.0
2020-06-03 11:08:19 +02:00
zimbatm 9f15e95ff2 Merge pull request #89308 from LnL7/remove-sri-hashes
Remove sri hashes
2020-06-02 16:24:01 +02:00
zimbatm 19aac2413a confd: 0.9.0 -> 0.16.0 (#89180) 2020-05-29 16:14:06 +00:00
zimbatm bc3b694a39 direnv: fix missing BASH_PATH (#89165)
This was broken by the switch to go modules (#87932) which doesn't
respect makeFlags.

Fixes #89129
2020-05-29 14:02:49 +00:00
zimbatm 28357868f8 Merge pull request #88482 from r-ryantm/auto-update/fahcontrol
fahcontrol: 7.6.9 -> 7.6.13
2020-05-21 12:12:37 +02:00
zimbatm 1f6fcc7025 Merge pull request #88493 from r-ryantm/auto-update/fahviewer
fahviewer: 7.6.9 -> 7.6.13
2020-05-21 12:12:01 +02:00
zimbatm 9fbb82f46e Merge pull request #87913 from zowoq/go113
go_1_13: 1.13.8 -> 1.13.11, stop setting GOPATH
2020-05-16 12:39:53 +02:00
zimbatm 99efa7c85c Revert "Get rid of go 1.13 (#86036)"
This partially reverts commit 3e0aa4af2d.

See the discussion in the PR.
2020-05-15 19:26:53 +02:00
zimbatm 5cb26d71a7 mdsh: 0.4.0 -> 0.5.0 2020-05-08 23:25:31 +02:00
zimbatm 7e66125815 Merge pull request #87068 from kampka/kops
kops: 1.15.2 -> 1.15.3 and 1.16.1 -> 1.16.2
2020-05-06 10:54:33 +02:00
zimbatm 662ecb74aa vpsfree-client: init at 0.11.0 (#86046) 2020-05-02 19:11:23 +00:00
zimbatm e970627a71 Merge pull request #86178 from Mic92/gox
gox: 20181025 -> 1.0.1
2020-04-29 15:32:17 +02:00
zimbatm f3ce7c5582 Merge pull request #86053 from zimbatm/terraform-provider-vpsadmin
terraform-providers: updates and cleanups
2020-04-29 14:43:15 +02:00
zimbatm 1bf7f5f240 Merge pull request #85750 from zimbatm/srcOnly-docs
srcOnly: fix invocation and document
2020-04-27 14:49:55 +02:00
zimbatm 31ead7d030 srcOnly: rename buildInputs to nativeBuildInputs
The only reason to pass build inputs is to extend the unpackPhase with
custom unpack commands. Eg: add "unrar" to unpack rar sources. And those
should really be passed as native build inputs. Why? Because
nativeBuildInputs is for dependencies that are used at build time but
will not propagate as runtime dependencies. And also, cross-compilation.
2020-04-27 14:31:40 +02:00
zimbatm 018aadcfa1 terraform-providers.vpsadmin: init at 0.1.0 2020-04-26 13:35:16 +02:00
zimbatm 442f76893c terraform-providers.sops: init at 0.5.0 2020-04-26 13:21:15 +02:00
zimbatm 20f55a9fc0 terraform-providers.ibm: move to update-all script 2020-04-26 13:07:04 +02:00
zimbatm bb858898b1 terraform-providers: update-all 2020-04-26 12:56:28 +02:00
zimbatm bbbc419186 srcOnly: fix invocation and document
Previously, callPackage would try and fill the arguments such as `name`
and `src` which would cause problems if those existed as top-level
attributes. This also makes it clearer what part is the function
signature.

Then document the derivation inline in the code to explain the ellipsis
and various use-cases.
2020-04-22 14:06:28 +02:00
zimbatm 9ba63260fd Merge pull request #81812 from bignaux/standardnotes
standardnotes: 3.0.15 -> 3.3.3
2020-04-07 09:01:17 +00:00
zimbatm 3420bd63b9 nim: 1.0.6 -> 1.2.0 2020-04-04 01:15:27 +05:30
zimbatm 3e5149a79a terraform-providers: fix the google and google-beta providers 2020-04-02 17:53:05 +02:00
zimbatm 4ebd229369 google-compute-engine-oslogin: fix bash reference
This is the bash that is being called when logging into the VM. This
fixes prompt escaping issues and also restores tab completion to the
logged-in user.
2020-04-01 13:15:47 +02:00
zimbatm 5e37578dd9 .github/CODEOWNERS: remove myself from it
ofborg does a better job at assigning people
2020-04-01 13:05:38 +02:00
zimbatm d8f0c5407e Merge pull request #82929 from zimbatm/nixos-gerrit
nixos gerrit module
2020-03-26 12:47:15 +01:00
d37a0dca13 nixos: add gerrit module
Co-authored-by: edef <edef@edef.eu>
Co-authored-by: Florian Klink <flokli@flokli.de>
2020-03-26 09:28:42 +01:00
zimbatm 10c96e5b60 lib.generators: add toGitINI
This code was taken from the home-manager project.
2020-03-26 09:28:13 +01:00
zimbatm 8edcbd58f1 visualvm: 1.4.4 -> 2.0 (#82842)
* visualvm: 1.4.4 -> 2.0

* visualvm: gtk is part of the JVM disto
2020-03-19 13:13:23 +00:00
zimbatm 70519e57af Merge pull request #82733 from misuzu/zerotierone-armv7l-fix
zerotierone: fix build on armv7l via gcc9
2020-03-16 20:41:22 +01:00
zimbatm 3951e718b8 postgresqlPackages.repmgr: 4.4.0 -> 5.0.0 2020-03-15 22:07:10 +01:00
zimbatm 001be890f7 folding@home: 6.02 -> 7.5.1
The v7 series is very different.

This commit introduces the 3 packages: fahclient, fahcontrol and
fahviewer. It also rebuilds the NixOS module to map better with the new
client.
2020-03-14 13:01:26 -07:00
zimbatm b6fe12b1cc cryptpad: 3.0.1 -> 3.13.0 (#82602) 2020-03-14 19:51:44 +00:00
zimbatm cc90ececa7 environment.etc: fix typo 2020-03-09 12:01:41 +01:00
zimbatm 706f13a787 mdsh: 0.3.0 -> 0.4.0 (#81802) 2020-03-05 08:39:15 +00:00