Commit Graph

63 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
Alexis Hildebrandt
755b915a15 treewide: Remove indefinite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
2024-06-09 23:07:45 +02:00
Korrat
6950a43299 pijul: 1.0.0-beta.8 -> 1.0.0-beta.9 2024-04-08 20:37:21 +02:00
Ryan Booker
3acdd7096f
pijul: 1.0.0-beta.7 → 1.0.0-beta.8 2024-01-04 08:47:46 +10:00
h7x4
41974d5ed9
treewide: add mainProgram 2023-11-27 02:17:53 +01:00
Fabián Heredia Montiel
96dd2ecb23 pijul: 1.0.0-beta.6 → 1.0.0-beta.7 2023-11-14 19:05:47 -06:00
figsoda
e7dd80a443 pijul: install shell completions 2023-09-22 10:44:00 -04:00
Nicola Squartini
af1eba069d
pijul: 1.0.0-beta.5 -> 1.0.0-beta.6 2023-08-07 12:11:16 +09:00
Vladyslav M
c36dd59eba pijul: 1.0.0-beta.4 -> 1.0.0-beta.5 2023-05-24 14:11:44 +03:00
Vladyslav M
58f0b7fb74 pijul: 1.0.0-beta.2 -> 1.0.0-beta.4 2023-03-01 19:52:00 +02:00
Vladyslav M
0fc7b58cdb pijul: 1.0.0-beta.1 -> 1.0.0-beta.2 2022-07-05 11:04:33 +03:00
Fabián Heredia Montiel
cb4a8b71c0 pijul: 1.0.0-beta → 1.0.0-beta.1 2022-04-15 00:25:09 -05:00
Vladyslav M
9671380d66 pijul: 1.0.0-alpha.57 -> 1.0.0-beta 2022-01-19 11:43:58 +02:00
Vladyslav M
3aae5c9376 pijul: 1.0.0-alpha.56 -> 1.0.0-alpha.57 2022-01-03 23:27:37 +02:00
Fabián Heredia Montiel
b9f6ee2e2f pijul: 1.0.0-alpha.55 → 1.0.0-alpha.56 2021-11-28 11:15:22 -06:00
figsoda
eb97241d7c pijul: use buildFeatures 2021-11-16 08:11:45 -05:00
Vladyslav M
b946e1b666 pijul: 1.0.0-alpha.54 -> 1.0.0-alpha.55 2021-10-21 11:02:31 +09:00
Fabián Heredia Montiel
6312c80e06 pijul: 1.0.0-alpha.53 → 1.0.0-alpha.54 2021-10-16 13:58:15 -05:00
Fabián Heredia Montiel
88e451423f
pijul: 1.0.0-alpha.52 → 1.0.0-alpha.53 (#132827) 2021-08-05 19:13:50 -04:00
Fabián Heredia Montiel
4a30039b27 pijul: 1.0.0-alpha.50 → 1.0.0-alpha.52 2021-07-13 11:14:54 -05:00
Fabián Heredia Montiel
bb6bdc62ec pijul: 1.0.0-alpha.48 → 1.0.0-alpha.50 2021-07-05 10:36:58 -05:00
Albin Otterhäll
056eb56f77 pijul: 1.0.0-alpha.46 -> 1.0.0-alpha.48 2021-04-27 20:39:06 +02:00
Vladyslav M
e2f5dca46a
pijul: 1.0.0-alpha.38 -> 1.0.0-alpha.46 2021-03-03 09:59:06 +02:00
Albin Otterhäll
a10fade7e4 pijul: 1.0.0-alpha.37 -> 1.0.0-alpha.38 2021-02-01 18:01:54 +01:00
Albin Otterhäll
62015c03b6 pijul: 1.0.0-alpha.35 -> 1.0.0-alpha.37 2021-01-22 00:25:49 +01:00
Albin Otterhäll
5b809848b4 pijul: 1.0.0-alpha.31 -> 1.0.0-alpha.35 2021-01-17 01:32:51 +01:00
Ben Siraphob
badf51221d treewide: stdenv.lib -> lib 2021-01-16 17:58:11 +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
Georges Dubus
78620e28d6 pijul: 1.0.0-alpha.24 -> 1.0.0-alpha.31 2021-01-08 12:43:09 +01:00
Vladyslav M
e853b90763
pijul: 1.0.0-alpha.21 -> 1.0.0-alpha.24 2020-12-20 18:04:51 +02:00
Vladyslav M
7bb1035037
pijul: 1.0.0-alpha.17 -> 1.0.0-alpha.21 2020-12-11 22:53:48 +02:00
Vladyslav M
8de71d243b
pijul: 1.0.0-alpha.11 -> 1.0.0-alpha.17 2020-12-05 16:06:43 +02:00
Vladyslav M
f107a46bac
pijul: 1.0.0-alpha.8 -> 1.0.0-alpha.11 2020-12-01 00:09:57 +02:00
Vladyslav M
fe79e0abed
pijul: 1.0.0-alpha.5 -> 1.0.0-alpha.8 2020-11-26 22:12:00 +02:00
Vladyslav M
4b453515f1
pijul: 1.0.0-alpha.3 -> 1.0.0-alpha.5 2020-11-22 15:27:10 +02:00
Vladyslav M
65e0474c7a
pijul: 1.0.0-alpha.1 -> 1.0.0-alpha.3 2020-11-16 21:49:15 +02:00
Vladyslav M
a429039a1f
pijul: 1.0.0-alpha -> 1.0.0-alpha.1 2020-11-14 23:21:01 +02:00
Vladyslav M
2e1400173b
pijul: 0.12.0 -> 1.0.0-alpha 2020-11-09 21:05:03 +02:00
zowoq
473536e3b5 buildRustPackage: remove platform.all from packages 2020-08-16 12:48:18 +10:00
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Benjamin Hipple
201d464f12 pijul: fix build by migrating off legacy fetchCargo
Currently broken; see #79975 for details. Would also be fixed by #80153
eventually, but since we want to upgrade either way we might as well do so now.

https://hydra.nixos.org/job/nixpkgs/trunk/pijul.x86_64-linux
2020-02-16 09:36:17 -08:00
Benjamin Hipple
eb11feaa0b treewide: change fetchCargoTarball default to opt-out
Changes the default fetcher in the Rust Platform to be the newer
`fetchCargoTarball`, and changes every application using the current default to
instead opt out.

This commit does not change any hashes or cause any rebuilds. Once integrated,
we will start deleting the opt-outs and recomputing hashes.

See #79975 for details.
2020-02-13 22:41:37 -08:00
Michael Weiss
434ff94e73
pijul: Fix the build (broke due to a more recent Rust version)
This uses an upstream patch [0] to fix a compatibility error with a new
version of Rust. Fix #79150.

Unfortunately patching Rust dependencies in Nixpkgs turned out to be way
more hacky than I expected (maybe there is a nicer way?), but it should
be fine for now.

A new release might follow soonish [1] so that we can drop the patches.

References:
- https://nest.pijul.com/pijul_org/pijul/discussions/401
- https://nest.pijul.com/pijul_org/thrussh/discussions/31

[0]: https://nest.pijul.com/pijul_org/thrussh:master/patches/AsyuWkJg4jAwNaG3H1yv1kbECx5E3GQAtjzXWBDB8yEGMswyfKbxKvYmAGWCohTVaTipdvF8mHh63yU5PTr5F9py
[1]: https://discourse.pijul.org/t/is-this-project-still-active-yes-it-is/451
2020-02-04 14:05:02 +01:00
Mario Rodas
31a9f6a341 pijul: fix build 2019-11-21 19:08:06 -08:00
volth
7bb6b373ab treewide: name -> pname (#67513) 2019-08-31 07:41:22 -04:00
Vladyslav M
0f2e9c00f7
pijul: fix darwin build 2019-05-23 16:06:25 +03:00
Will Dietz
11fc7674b9 pijul: 0.11.0 -> 0.12.0
https://pijul.org/posts/2019-04-23-pijul-0.12/

* add new dep on nettle, all the crypto libraries :)
* libclang needed
* clang input is not quite right AFAIK, but fixes the build.
  idea from other package,
  seems to resolve problems finding headers via libclang?
2019-05-20 10:38:42 +01:00
RohanHart
25e7f59516 pijul: 0.10.0 -> 0.11.0 (#50870) 2018-11-22 07:32:17 +00:00
Jörg Thalheim
1246c31761
pijul: 0.8.0 -> 0.10.0 2018-10-28 10:45:58 +00:00
Joerg Thalheim
72163a64c4 pijul: 0.7.3 -> 0.8.0 2017-11-19 09:01:47 +00:00