Commit Graph

313 Commits

Author SHA1 Message Date
Ben Siraphob
badf51221d treewide: stdenv.lib -> lib 2021-01-16 17:58:11 +07:00
Ben Siraphob
8c5d37129f pkgs/tools: stdenv.lib -> lib 2021-01-15 17:12:36 +07:00
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
Phillip Cloud
6780f6c607 shipyard: init at 0.1.17 2021-01-06 05:44:09 -05:00
freezeboy
a63d6405ec amazon-ecs-cli: 1.20.0 -> 1.21.0 2020-12-29 14:34:19 +01:00
Sandro
9be22b3332
Merge pull request #106293 from Mic92/nixos-shell
nixos-shell: 0.1.1 -> 0.2
2020-12-09 02:29:12 +01:00
R. RyanTM
af3dc15a72 alpine-make-vm-image: 0.6.0 -> 0.7.0 2020-12-08 11:23:04 +00:00
Jörg Thalheim
0ed4d34f18
nixos-shell: 0.1.1 -> 0.2 2020-12-07 23:34:40 +01:00
Graham Christensen
bc49a0815a
utillinux: rename to util-linux 2020-11-24 12:42:06 -05:00
R. RyanTM
8330d13120 rootlesskit: 0.11.0 -> 0.11.1 2020-11-23 20:33:12 +01:00
Frederik Rietdijk
9fc4a4db5a Merge staging-next into staging 2020-11-13 20:59:08 +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
R. RyanTM
3417932f77 rootlesskit: 0.10.0 -> 0.11.0 2020-11-12 00:33:13 +00:00
Mario Rodas
d74dbb9254
Merge pull request #101839 from helsinki-systems/amazon-ecs-cli-1.20.0
amazon-ecs-cli: 1.18.1 -> 1.20.0
2020-10-27 19:25:52 -05:00
Scriptkiddi
a9f6f7c82d
amazon-ecs-cli: 1.18.1 -> 1.20.0 2020-10-27 11:58:52 +01:00
Ben Siraphob
683a87dbeb treewide: remove periods from end of package descriptions 2020-10-17 08:22:31 -07:00
Florian Klink
9d0d99f05b
Merge pull request #95746 from Mic92/cloud-init
cloud-init: 0.7.9 -> 20.2 (python3!)
2020-10-15 22:57:46 +02:00
Florian Klink
8310676560 cloud-init: 20.2 -> 20.3
required rebasing the patch, disabling some tests.

I also changed the hash to be in conventional format - the

hash mismatch in fixed-output derivation '/nix/store/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx-source':
  wanted: sha256:yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy
  got:    sha256:zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz

doesn't propose SRI syntax.
2020-10-15 01:09:00 +02:00
Jörg Thalheim
3ca2fd5520
cloud-init: 0.7.9 -> 20.2 2020-08-18 11:49:22 +01:00
zowoq
cea7cd902e buildGoModule packages: set doCheck = false 2020-08-10 16:02:30 +10:00
zowoq
afd895debb buildGoPackage packages: editorconfig fixes 2020-07-31 14:07:43 +10:00
R. RyanTM
93c55d7d2a govc: 0.23.0 -> 0.23.1 2020-07-05 01:36:41 +00:00
Alyssa Ross
9f93642b79 alpine-make-vm-image: init at 0.6.0 2020-07-04 01:27:18 +00:00
Eelco Dolstra
ed49c901dd
nixos-container: Pass through several Nix flags
Since nixos-container calls nix-env / nix-build, it's useful to
support various evaluation-related options.
2020-06-30 15:01:53 +02:00
Daniel KT
a4d4fbc3fd Bump linode-cli version
linode-cli version -> 2.15.0
linode api version -> 4.67.0
2020-06-23 16:30:51 -04:00
WilliButz
e200440bd0
Merge pull request #97756 from mayflower/xva-img
xva-img: init at 1.4.1
2020-09-11 15:23:35 +02:00
Linus Heckemann
9c170e66f0 xva-img: init at 1.4.1 2020-09-11 12:18:09 +02:00
Lassulus
8cf24c0380
Merge pull request #94305 from r-ryantm/auto-update/rootlesskit
rootlesskit: 0.3.0-alpha.2 -> 0.10.0
2020-09-10 19:24:10 +02:00
Sascha Grunert
1f74e97fe8 cri-tools: 1.18.0 -> 1.19.0
Signed-off-by: Sascha Grunert <sgrunert@suse.com>
2020-08-28 21:11:46 +10:00
zowoq
a83a88db05 buildGoPackage: remove platform.all from packages 2020-08-15 19:34:47 -07:00
R. RyanTM
b6d309c8cf rootlesskit: 0.3.0-alpha.2 -> 0.10.0 2020-07-31 08:30:20 +00:00
R. RyanTM
f5112ccf45 govc: 0.22.1 -> 0.23.0 2020-06-14 16:34:20 +00:00
Jörg Thalheim
9df4eba48b
Merge pull request #85673 from Mic92/nixos-shell 2020-05-24 08:08:59 +01:00
Florian Klink
927b7795cb
Merge pull request #88492 from flokli/current-system-systemctl
tree-wide: use systemctl of running system
2020-05-21 20:22:26 +02:00
Florian Klink
4f6cd4f6c6
Merge pull request #88507 from r-ryantm/auto-update/google-compute-engine-oslogin
google-compute-engine-oslogin: 20200325.00 -> 20200507.00
2020-05-21 18:53:04 +02:00
Florian Klink
5fdf6a6f92 google-compute-engine-oslogin: add test passthru 2020-05-21 18:49:26 +02:00
adisbladis
4fab50325f
google-compute-engine-oslogin: Remove myself as maintainer 2020-05-21 17:06:13 +01:00
R. RyanTM
444b84a8fb google-compute-engine-oslogin: 20200325.00 -> 20200507.00 2020-05-21 11:26:16 +00:00
Florian Klink
d69f95e2fe google-compute-engine: run systemctl of the currently running systemd 2020-05-21 10:35:34 +02:00
Aaron Andersen
a1ebd82176
Merge pull request #87893 from aanderse/govc
govc: 0.21.0 -> 0.22.1
2020-05-16 21:13:45 -04:00
Aaron Andersen
0666f6277b govc: 0.21.0 -> 0.22.1 2020-05-15 12:50:41 -04:00
zowoq
64ce60e2b3 cri-tools: switch to buildGoModule 2020-05-14 17:37:51 +10:00
zowoq
f8d9d72f0e cri-tools: install completion 2020-05-06 16:43:15 +10:00
Frederik Rietdijk
9875bbae75 Merge master into staging-next 2020-05-05 19:51:09 +02:00
Daniel KT
362a0a2eea linode-cli: pin linode openapi version
Pull linode openapi spec from a fixed version in github, and so the
sha256 hash will not break on each new release of the api spec.

Replaced the hash for the openapi spec with a working hash.

Attempting to install linode-cli was failing, with the following
message:

hash mismatch in fixed-output derivation '/nix/store/px3cdbcb84bvw6xslr1k6hszyxpdis6j-openapi.yaml':
  wanted: sha256:1l2fahdcmv7sp1qkwr5nv2vls8fypvlybwylqfzhyjmn7jqkw4hq
  got:    sha256:03ngzbq24zazfqmfd7xjmxixkcb9vv1jgamplsj633j7sjj708s0
cannot build derivation '/nix/store/49xrq47id66kwszyaqg1qapknc3i8mmx-linode-cli-2.14.1.drv': 1 dependencies couldn't be built
2020-05-04 16:08:56 -04:00
zimbatm
662ecb74aa
vpsfree-client: init at 0.11.0 (#86046) 2020-05-02 19:11:23 +00:00
Frederik Rietdijk
484ee79050 Merge staging-next into staging 2020-05-01 08:57:10 +02:00
Florian Klink
5506463c2f google-compute-engine-oslogin: 1.5.3 -> 20200325.00
Google moved their oslogin guest tools to another repository.
Point src to there, and bump to the latest version
There's now a Makefile, so we can avoid having our own custom
installPhase, and we also get manpages.

I successfully ran the oslogin tests, so assuming the google cloud
metadata server still behaves like in our test, logins should work.
I saw a nscd segfault, not sure if it's caused by this or was already
the case before.
It'd be great if someone could test this on an actual VM.
2020-04-29 14:36:35 +02:00
zowoq
b5dc07a4b4 treewide: use $out instead of $bin with buildGoPackage 2020-04-28 20:30:29 +10:00
zowoq
d8e8169bb0 cri-tools: update maintainers 2020-04-24 08:09:03 +10:00
Mario Rodas
f9ee56ff2e
Merge pull request #83936 from saschagrunert/cri-tools
cri-tools: v1.17.0 -> v1.18.0
2020-04-21 18:20:30 -05:00
Jörg Thalheim
f2a77c764d
nixos-shell: init at 0.1.1 2020-04-21 13:17:28 +01:00
Ryan Mulligan
ccd6892678 linode-cli: remove deprecated perl version, init python version at 2.14.1 2020-04-15 09:19:34 -07:00
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Frederik Rietdijk
92124ed660 Merge master into staging-next 2020-04-03 21:54:40 +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
Sascha Grunert
4c31f28fa1
cri-tools: v1.17.0 -> v1.18.0
Signed-off-by: Sascha Grunert <sgrunert@suse.com>
2020-04-01 10:01:22 +02:00
Frederik Rietdijk
46ec52f329 buildPython*: use pname 2020-03-30 17:07:41 +02:00
Thibault Gagnaux
99a2467722 amazon-ecs-cli: 1.18.0 -> 1.18.1 2020-03-27 13:32:40 -07:00
Maximilian Bosch
ebb6e385ea
Revert "nixos-container: use systemd-run instead of nsenter"
This reverts commit 7cb100b683.

See also #83432.

This appears to break at least the `container`-backend of `nixops`: when
running `switch-to-configuration` within `nixos-container run`, the
running `systemd`-instance gets reloaded which appears to kill the
`systemd-run` command and causes `nixos-container run` to hang.

The full issue is reported in the original PR[1].

[1] https://github.com/NixOS/nixpkgs/pull/67332#issuecomment-604145869

(cherry picked from commit 7f1ba606ac)
2020-03-26 17:55:12 +01:00
Danylo Hlynskyi
9336b084ae
Merge pull request #79736 from Ma27/minor-imperative-container-fixes
nixos-container: minor fixes
2020-02-22 21:26:04 +02:00
Sarah Zhang
a279b68571 Fixed typo 2020-02-12 16:22:47 +01:00
Maximilian Bosch
31bbcc21d3
nixos/nixos-container: use custom path if specified by --nixos-path 2020-02-11 14:44:38 +01:00
Maximilian Bosch
93943acbc5
nixos/nixos-container: ensure that the state-dir is cleaned up if a build fails 2020-02-11 14:42:30 +01:00
Eelco Dolstra
fb051f0dec nixos-{rebuild,container}: Use flakeref#attrpath syntax
This makes them consistent with the 'nix' command line.
2020-02-05 23:15:18 +01:00
Eelco Dolstra
20087bd553 nixos-container: Add flake support
E.g. to create a container that runs the NixOS homepage:

  $ nixos-container create homepage --flake nixos-homepage

And to upgrade it:

  $ nixos-container update homepage
2020-02-05 23:15:18 +01:00
Sascha Grunert
16bca7814a
cri-tools: 1.16.1 -> v1.17.0
Signed-off-by: Sascha Grunert <sgrunert@suse.com>
2019-12-16 09:48:03 +01:00
gege251
a1c8ec7c32
amazon-ecs-cli: enable on darwin 2019-12-15 22:16:34 -05:00
Renaud
0b6d3933cb
ec2-utils: fix meta.license
It's licensed under Apache License 2.0 (asl20) and not under
the Apple Public License 2.0 (apsl20)
2019-11-29 15:13:34 +01:00
R. RyanTM
1eb951d217 amazon-ecs-cli: 1.17.0 -> 1.18.0 2019-11-28 12:22:06 -08:00
Sarah Brofeldt
6a0486b206
Merge pull request #69098 from saschagrunert/cri-tools
cri-tools: 1.15.0 -> 1.16.1
2019-11-19 08:33:10 +01:00
Jörg Thalheim
b55a7a3a57
ec2-utils: init at 0.5.1, include in amazon-image profile (#67347)
ec2-utils: init at 0.5.1, include in amazon-image profile
2019-11-01 20:57:44 +00:00
R. RyanTM
99df22190c amazon-ecs-cli: 1.16.0 -> 1.17.0 (#71485)
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/amazon-ecs-cli/versions
2019-10-23 16:58:23 +02:00
Sascha Grunert
10fe9b16b8
cri-tools: 1.15.0 -> 1.16.1
Signed-off-by: Sascha Grunert <sgrunert@suse.com>
2019-10-02 11:28:28 +02:00
R. RyanTM
3970bded3e amazon-ecs-cli: 1.15.1 -> 1.16.0
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/amazon-ecs-cli/versions
2019-09-25 22:01:15 -07:00
Franz Pletz
a0a3f5c86c
Merge pull request #67332 from uvNikita/nixos-container/run
nixos-container: use systemd-run instead of nsenter
2019-09-14 13:22:35 +00:00
Vladimír Čunát
f21211ebfe
Merge branch 'master' into staging 2019-09-02 23:25:24 +02:00
Maximilian Bosch
ad70c1ca54
Merge pull request #67904 from sigma/pr/govmomi-0.21.0
govc: 0.20.0 -> 0.21.0
2019-09-01 23:34:27 +02:00
Yann Hodique
94387290a3 govc: 0.20.0 -> 0.21.0 2019-09-01 13:52:56 -07:00
Florian Klink
e95d4c734a google-compute-config.nix: use sysctl snippets from gce
We make them available at ${gce}/sysctl.d and add them to
environments.etc, like we do with the systemd ones.
2019-09-01 02:55:28 +02:00
Florian Klink
10f5f8c5d8 google-compute-engine: patch shebangs in $out/bin, properly patch systemctl 2019-09-01 01:23:18 +02:00
volth
08f68313a4 treewide: remove redundant rec 2019-08-28 11:07:32 +00:00
Andrew Childs
a5ca97028f ec2-utils: init at 0.5.1 2019-08-23 23:27:49 +09:00
Nikita Uvarov
7cb100b683
nixos-container: use systemd-run instead of nsenter
This is the first step for unprivileged nixos containers support.
Fixes #30019. See also #18825, #57083, and #67130.
2019-08-23 12:21:22 +02:00
volth
c814d72b51 treewide: name -> pname 2019-08-17 10:54:38 +00: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
Sascha Grunert
3efc04c41d
cri-tools: 1.14.0 -> 1.15.0
- Fix go build process to include critest as well.
- Fix GitHub repo location to be `kubernetes-sigs`
- Add me as maintainer

Signed-off-by: Sascha Grunert <sgrunert@suse.com>
2019-08-14 09:16:31 +02:00
Matthieu Coudron
f0ccd4002b mininet: 2.3.0d4 -> 2.3.0d6 2019-08-05 21:20:43 +09:00
Orivej Desh
a1d9aca602 google-compute-engine-oslogin: update /bin/bash substitution 2019-07-29 23:28:40 +00:00
Orivej Desh
cf979f246e google-compute-engine-oslogin: 1.4.3 -> 1.5.3 2019-07-29 16:01:50 +00:00
Meghea Iulian
6510c45b56 distrobuilder: 2018_10_04 -> 2019_10_07 2019-07-19 11:06:13 +03:00
R. RyanTM
6f8a7408d9 amazon-ecs-cli: 1.14.1 -> 1.15.1
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/amazon-ecs-cli/versions
2019-07-14 22:24:43 -07:00
worldofpeace
3f4a353737 treewide: use dontUnpack 2019-07-01 04:23:51 -04:00
volth
b3cc65f8b9 buildPerlPackage: name -> (pname, version) 2019-06-20 15:56:50 +00:00
volth
f3282c8d1e treewide: remove unused variables (#63177)
* treewide: remove unused variables

* making ofborg happy
2019-06-16 19:59:05 +00:00
Franz Pletz
ff05703611
Merge pull request #62701 from dtzWill/update/podman-cni-and-containers-oh-my
podman, cni{,-plugins}, cri*: updates
2019-06-07 11:54:52 +00:00
Will Dietz
159b0ccbd8
Merge pull request #62699 from dtzWill/update/udocker-1.1.3
udocker: 1.1.1 -> 1.1.3
2019-06-06 23:33:24 -05:00
Robin Gloster
2cca7180c1
Merge pull request #60029 from Ma27/configure-ipv4-for-imperative-container
nixos-container: allow setting custom local and host address
2019-06-06 07:35:07 +00:00
Will Dietz
786bfe0c27
cri-tools: nixpkgs-fmt 2019-06-04 15:47:22 -05:00
Will Dietz
56cc125368
cri-tools: 1.0.0-alpha.0 -> 1.14.0 2019-06-04 15:46:16 -05:00