Commit Graph

35 Commits

Author SHA1 Message Date
Profpatsch
4a7f99d55d treewide: with stdenv.lib; in meta -> with lib;
Part of: https://github.com/NixOS/nixpkgs/issues/108938

meta = with stdenv.lib;

is a widely used pattern. We want to slowly remove
the `stdenv.lib` indirection and encourage people
to use `lib` directly. Thus let’s start with the meta
field.

This used a rewriting script to mostly automatically
replace all occurances of this pattern, and add the
`lib` argument to the package header if it doesn’t
exist yet.

The script in its current form is available at
https://cs.tvl.fyi/depot@2f807d7f141068d2d60676a89213eaa5353ca6e0/-/blob/users/Profpatsch/nixpkgs-rewriter/default.nix
2021-01-11 10:38:22 +01:00
Graham Christensen
bc49a0815a
utillinux: rename to util-linux 2020-11-24 12:42:06 -05:00
Jan Tojnar
2874eebfd2
Merge branch 'staging-next' into staging 2020-04-29 08:35:47 +02:00
Colin
4007ceb6af
treewide get rid of go 1.12 (#83253)
* treewide Drop unneeded go 1.12 overrides

* Fix packr to be go module compatible.

I updated to version 2.8.0 which is the latest on master.
Then due to the 2 different sets of go modules which are used, I split
the build into two different derivations, then merged them togethor
using symlinkJoin to have the same output structure as the existing derivation.

* Remove consul dependency on go1.12

I updated the consul version to 1.7.2 and flipped it to building using
modules.

* Remove go1.12 from perkeep.

Update the version to the latest unstable on master.

* Update scaleway-cli to not be pinned to go1.12

Switched the version to 1.20

* Update prometheus-varnish-exporter to not depend on go1.12

* Update lnd to build with go1.12

Updated the version
Forced only building subpackages with main to prevent panics over
multiple modules in one repo

* Remove go1.12 from openshift

Had to update the version to 4.1.0 and do a bit of munging to get this
to work

* Remove go1.12 completely.

These are no longer needed.

* Update bazel-watcher and make it build with go 1.14
2020-04-28 20:16:20 -04:00
zowoq
b5dc07a4b4 treewide: use $out instead of $bin with buildGoPackage 2020-04-28 20:30:29 +10:00
zowoq
7516cc7226 openshift: use installShellFiles 2020-04-27 21:06:12 +10:00
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Jörg Thalheim
ea87180984
openshift: fix build with strict deps 2020-03-18 11:29:40 +00:00
Joachim Fasting
bad07dfac5
tree-wide: replace uses of splitString "." with lib.versions
Quoting from the splitString docstring:

   NOTE: this function is not performant and should never be used.

This replaces trivial uses of splitString for splitting version
strings with the (potentially builtin) splitVersion.
2019-09-26 17:42:49 +02:00
volth
46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00
Robert Helgesson
c18bb57627
openshift: remove obsolete comment 2019-03-19 23:24:37 +01:00
Freezeboy
8f87a61de2 Replace platforms.linux with platforms.darwin for expressions that compile on darwin too (too restrictive platforms) 2019-02-18 10:56:58 +01:00
Vincent Demeester
e4bc05f460
openshift: migrate to using buildGoPackage
This means `openshift` becomes a multi-output derivation :
`openshift.bin` and `openshift`

Signed-off-by: Vincent Demeester <vincent@sbr.pm>
2018-12-20 18:45:54 +01:00
Vincent Demeester
37b50c08eb
openshift: use go instead of go_1_10
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
2018-11-12 18:17:33 +01:00
Vincent Demeester
1ccea556a1 openshift: 3.10 -> 3.11
Using go 1.10 instead of 1.9

Signed-off-by: Vincent Demeester <vincent@sbr.pm>
2018-11-12 18:16:57 +01:00
Jens Binkert
f5cf11b2f1 openshift: 3.9.0 -> 3.10.0 (#44484) 2018-08-05 16:28:45 +02:00
volth
52f53c69ce pkgs/*: remove unreferenced function arguments 2018-07-21 02:48:04 +00:00
Jens Binkert
78ae380773 openshift: fix mkdir command (#41274) 2018-05-31 09:04:17 +02:00
Jörg Thalheim
fccf7f1181 openshift: simplify shell completion installation 2018-05-19 11:47:39 +01:00
Jens Binkert
6f20bc3ef6 openshift: add {bash,zsh}-completion 2018-05-19 10:33:33 +02:00
Jens Binkert
fd09c3dcae Fix openshift oc cluster up mount 2018-04-02 11:25:54 +02:00
Jens Binkert
fbf29e5f55 openshift: 3.6.0 -> 3.9.0 2018-03-31 17:22:27 +02:00
Maarten Hoogendoorn
d27f710b87 mount is in utillinux 2017-09-10 16:07:50 +02:00
Maarten Hoogendoorn
a3dde7776b Fix oc cluster up
The command `oc cluster up` mainly runs code though Docker containers.

However, in pkg/bootstrap/docker/host/host.go, nsenter is used to run
some commands on the host. For this to work on NixOS, we need to provide
the absolute path to the required programs.
2017-08-18 17:06:50 +02:00
Maarten Hoogendoorn
f8a72662cf openshift: 1.5.0 -> 3.6.0
- Updated from 1.5.0 to 3.6.0 (this is just the next version, but Red
  Hat did quite the version bump there)
- Added 'v' to the version; it is used by `oc cluster up` to determine
  which image should be downloaded.
- Added myself as a maintainer.
2017-08-17 16:57:43 +02:00
Pascal Bach
37a2949ab4 openshift: copy symlinks into $bin/bin 2017-05-04 22:34:10 +02:00
Jörg Thalheim
878a1662d7
openshift: use buildGoPackage 2017-05-01 22:07:41 +02:00
Pascal Bach
239d352080 openshift: 1.3.2 -> 1.5.0 2017-04-30 23:17:30 +02:00
Pascal Bach
3d94be77dd openshift: 1.3.1 -> 1.3.2 2016-12-16 23:33:23 +01:00
Pascal Bach
0364fbe633 openshift: 1.3.0 -> 1.3.1 2016-11-10 01:45:08 +01:00
Franz Pletz
a6d4ea4c2c
treewide: remove executable flags from .nix files 2016-09-27 22:15:00 +02:00
Pascal Bach
40b77eeea3 openshift: 1.0.1 -> 1.3.0 (#18937) 2016-09-25 01:57:35 +02:00
Tuomas Tynkkynen
bac26e08db Fix lots of fetchgit hashes (fallout from #15469) 2016-06-03 17:17:08 +03:00
Eelco Dolstra
8fc039188e Mark some packages with undownloadable source as broken 2015-09-01 12:00:04 +02:00
Jaka Hudoklin
4e33dd4e99 openshift: init at 1.0.1 2015-07-08 12:18:06 +02:00