Commit Graph

300 Commits

Author SHA1 Message Date
rnhmjoj
61b7cab481
treewide: use perl.withPackages when possible
Since 03eaa48 added perl.withPackages, there is a canonical way to
create a perl interpreter from a list of libraries, for use in script
shebangs or generic build inputs. This method is declarative (what we
are doing is clear), produces short shebangs[1] and needs not to wrap
existing scripts.

Unfortunately there are a few exceptions that I've found:

  1. Scripts that are calling perl with the -T switch. This makes perl
  ignore PERL5LIB, which is what perl.withPackages is using to inform
  the interpreter of the library paths.

  2. Perl packages that depends on libraries in their own path. This
  is not possible because perl.withPackages works at build time. The
  workaround is to add `-I $out/${perl.libPrefix}` to the shebang.

In all other cases I propose to switch to perl.withPackages.

[1]: https://lwn.net/Articles/779997/
2021-03-31 21:35:37 +02:00
github-actions[bot]
4da7569841
Merge staging-next into staging 2021-03-31 12:06:29 +00:00
zowoq
34bc549bfc cri-tools: add phase hooks 2021-03-31 21:06:23 +10:00
Jan Tojnar
b3c854b60b
Merge branch 'staging-next' into staging 2021-03-26 07:53:44 +01:00
Lassulus
d89dacc70c
Merge pull request #116977 from r-ryantm/auto-update/shipyard
shipyard: 0.2.15 -> 0.3.1
2021-03-25 21:44:29 +01:00
R. RyanTM
b8a943d335 govc: 0.24.0 -> 0.24.1 2021-03-23 05:35:20 +00:00
Jörg Thalheim
d9d6f7934c
Merge pull request #116640 from r-ryantm/auto-update/nixos-shell
nixos-shell: 0.2 -> 0.2.1
2021-03-21 15:33:57 +00:00
R. RyanTM
1582e58678 shipyard: 0.2.15 -> 0.3.1 2021-03-19 21:55:15 +00:00
Jan Tojnar
0136206b12
Merge branch 'master' into staging-next 2021-03-18 13:35:59 +01:00
Linus Heckemann
84b23a91bd
Merge pull request #116231 from r-ryantm/auto-update/xva-img
xva-img: 1.4.1 -> 1.4.2
2021-03-18 08:34:49 +01:00
R. RyanTM
006f6651c6 nixos-shell: 0.2 -> 0.2.1 2021-03-17 15:52:30 +00:00
Martin Weinelt
0241873f7f
Merge branch 'master' into staging-next 2021-03-14 17:35:32 +01:00
R. RyanTM
a790fd41c8 xva-img: 1.4.1 -> 1.4.2 2021-03-13 17:11:05 +00:00
R. RyanTM
f6e7310387 shipyard: 0.2.9 -> 0.2.15 2021-03-13 13:42:30 +00:00
Jan Tojnar
3f2e5044ce
Merge branch 'staging-next' into staging 2021-03-05 20:39:38 +01:00
Maximilian Bosch
71770e1f6f
Merge pull request #111530 from vojta001/nixos-container-show-ip-ipv6
nixos-container: fix show-ip command to support IPv6 addresses
2021-03-05 18:27:38 +01:00
Jan Tojnar
6d1958ad2d
Merge branch 'staging-next' into staging 2021-03-04 22:16:45 +01:00
Sandro Jäckel
7738719171
awsebcli: mark broken 2021-03-03 18:08:01 +01:00
Sandro Jäckel
e1da8ae536
cloud-init: remove unused input, cleanup 2021-03-03 16:23:53 +01:00
Robert Schütz
54757b35c1 Merge branch 'staging-next' into staging 2021-02-26 10:56:17 +01:00
Frederik Rietdijk
c456a2512f Merge master into staging-next 2021-02-26 10:25:13 +01:00
derchris
ebe2a8b77f aws: 1.75 > 2019.06.18 2021-02-23 22:22:09 -05:00
R. RyanTM
a64b3cfc36 shipyard: 0.2.1 -> 0.2.9 2021-02-23 10:11:46 +00:00
github-actions[bot]
2fd0f841be
Merge staging-next into staging 2021-02-22 00:37:55 +00:00
github-actions[bot]
d8f2a7bf5c
Merge master into staging-next 2021-02-22 00:37:52 +00:00
R. RyanTM
514987f46f shipyard: 0.1.18 -> 0.2.1 2021-02-21 04:24:26 +00:00
Ben Siraphob
127733211e
treewide: unzip buildInputs to nativeBuildInputs (#112302) 2021-02-20 16:01:53 -05:00
Ben Siraphob
e03c068af5 treewide: makeWrapper buildInputs to nativeBuildInputs 2021-02-19 20:09:16 +07:00
Vojtěch Káně
7fc1efdac7 fixup! nixos-container: fix show-ip command to support IPv6 addresses 2021-02-17 14:17:28 +01:00
R. RyanTM
455e25a285 shipyard: 0.1.17 -> 0.1.18 2021-02-03 23:47:59 +00:00
Vojtěch Káně
5e9811b552 nixos-container: fix show-ip command to support IPv6 addresses 2021-02-01 09:38:34 +01:00
Eric Bailey
264d47e82d ec2instanceconnectcli: init at 1.0.2
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2021-01-26 11:21:12 -06:00
Pavol Rusnak
a6ce00c50c
treewide: remove stdenv where not needed 2021-01-25 18:31:47 +01:00
zowoq
59b83c43e0 treewide: add final newline 2021-01-22 07:18:04 +10:00
R. RyanTM
a3f323bab7 govc: 0.23.1 -> 0.24.0 2021-01-18 23:24:21 +00:00
R. RyanTM
2049796e56 cri-tools: 1.19.0 -> 1.20.0 2021-01-18 13:51:13 +00:00
Ben Siraphob
76f93cc731 pkgs/tools: pkgconfig -> pkg-config 2021-01-16 23:49:59 -08:00
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