Commit Graph

22 Commits

Author SHA1 Message Date
Artturin
e0464e4788 treewide: replace stdenv.is with stdenv.hostPlatform.is
In preparation for the deprecation of `stdenv.isX`.

These shorthands are not conducive to cross-compilation because they
hide the platforms.

Darwin might get cross-compilation for which the continued usage of `stdenv.isDarwin` will get in the way

One example of why this is bad and especially affects compiler packages
https://www.github.com/NixOS/nixpkgs/pull/343059

There are too many files to go through manually but a treewide should
get users thinking when they see a `hostPlatform.isX` in a place where it
doesn't make sense.

```
fd --type f "\.nix" | xargs sd --fixed-strings "stdenv.is" "stdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "stdenv'.is" "stdenv'.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "clangStdenv.is" "clangStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "gccStdenv.is" "gccStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "stdenvNoCC.is" "stdenvNoCC.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "inherit (stdenv) is" "inherit (stdenv.hostPlatform) is"
fd --type f "\.nix" | xargs sd --fixed-strings "buildStdenv.is" "buildStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "effectiveStdenv.is" "effectiveStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "originalStdenv.is" "originalStdenv.hostPlatform.is"
```
2024-09-25 00:04:37 +03:00
R. Ryantm
3fe6cc6e18 barman: 3.10.1 -> 3.11.1 2024-08-23 08:34:36 +00:00
Fabian Affolter
8730392567 barman: refactor 2024-08-10 11:14:17 +02:00
R. Ryantm
65bed59e91 barman: 3.10.0 -> 3.10.1 2024-06-16 10:27:05 +00:00
R. Ryantm
b143692135 barman: 3.7.0 -> 3.10.0 2024-01-25 17:04:42 +00:00
Mario Rodas
9d1f56beda barman: 3.4.0 -> 3.7.0
Diff: https://github.com/EnterpriseDB/barman/compare/release/3.4.0...release/3.7.0

Changelog: https://github.com/EnterpriseDB/barman/blob/release/3.7.0/NEWS
2023-07-30 04:20:00 +00:00
Fabian Affolter
586433bc70
barman: add cahngelog to meta 2023-01-27 11:56:35 +01:00
R. Ryantm
57daeabfa2 barman: 3.3.0 -> 3.4.0 2023-01-26 23:46:10 +00:00
Guillaume Girol
33afbf39f6 treewide: switch to nativeCheckInputs
checkInputs used to be added to nativeBuildInputs. Now we have
nativeCheckInputs to do that instead. Doing this treewide change allows
to keep hashes identical to before the introduction of
nativeCheckInputs.
2023-01-21 12:00:00 +00:00
R. Ryantm
46d6a8f05b barman: 3.1.0 -> 3.3.0 2023-01-10 23:57:41 +08:00
Weijia Wang
72d82c24d2 barman: fix build on darwin 2022-11-03 12:37:15 +01:00
R. Ryantm
ac4c07982a barman: 3.0.1 -> 3.1.0 2022-09-15 03:30:00 +00:00
Sandro
61de37f753
Merge pull request #182142 from treed/barman-subprocess
barman: patch out subprocess wrapper
2022-08-20 12:43:25 +02:00
R. Ryantm
17585ec0dc barman: 3.0.0 -> 3.0.1 2022-07-20 00:58:51 +00:00
Ted Reed
a05a338df5 barman: patch out subprocess wrapper
This patches the command wrapper to prevent it from executing
subprocesses via sys.executable. This is intended to ensure that the
subprocess is using the same Python interpreter as the superprocess.
However, in this case the barman script has been wrapped as a shell
script, which is not executable as Python.

Since our wrapper script already ensures a consistent version of
Python, this internal wrapping is unnecessary, and so we patch it to
execute the command directly.

Fixes #135238
2022-07-19 14:46:09 -07:00
Jonas Heinrich
a3cc156ce1 barman: 2.17 -> 3.0.0 2022-07-06 16:52:01 +02:00
Martin Weinelt
957f1f7243 barman: drop argh dependency
It is not required anymore and breaks the package with argh being
broken.
2021-12-28 09:36:48 +00:00
R. Ryantm
62f834b20c barman: 2.15 -> 2.17 2021-12-05 17:28:03 +00:00
rembo10
c7788a8fec
barman: 2.12 -> 2.15 (#142098)
Co-authored-by: rembo10 <rembo10@users.noreply.github.com>
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2021-10-24 18:31:35 +02:00
Robert Schütz
1ec5651913 treewide: use pythonPackages.python-dateutil instead of pythonPackages.dateutil 2021-07-03 13:45:57 +02:00
freezeboy
067ce14cd4 barman: 2.11 -> 2.12 2020-12-27 14:42:42 +01:00
freezeboy
1be6ac06ab barman: init 2.11 2020-09-13 10:26:03 -07:00