Commit Graph

82 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
Sigmanificient
63d05d989e pkgs/development: remove unused arguments 2024-08-03 17:18:20 +02:00
Alyssa Ross
2286531945 tipidee: 0.0.4.0 -> 0.0.5.0 2024-06-15 08:02:18 +02:00
Alyssa Ross
b9eb2c6700 mdevd: 0.1.6.3 -> 0.1.6.4 2024-06-15 08:02:18 +02:00
Alyssa Ross
08b133b1a0 s6-networking: 2.7.0.2 -> 2.7.0.3 2024-06-15 08:02:18 +02:00
Alyssa Ross
bff276e0d5 s6-dns: 2.3.7.1 -> 2.3.7.2 2024-06-15 08:02:18 +02:00
Alyssa Ross
196a88033f s6-rc: 0.5.4.2 -> 0.5.4.3 2024-06-15 08:02:18 +02:00
Alyssa Ross
23cbbbe2ff s6: 2.12.0.4 -> 2.13.0.0 2024-06-15 08:02:18 +02:00
Alyssa Ross
e2fc145de2 execline: 2.9.5.1 -> 2.9.6.0 2024-06-15 08:02:18 +02:00
Alyssa Ross
772eef19a4 skalibs: 2.14.1.1 -> 2.14.2.0 2024-06-15 08:02:18 +02: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
Alexis Hildebrandt
bf995e3641 treewide: Remove ending period from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*".*\.";' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*)\.";/\1";/'
2024-06-09 23:04:51 +02:00
isabel
63aceac766 treewide: remove unused occurence of fetchFromGitHub argument 2024-05-30 05:56:07 +00:00
Alyssa Ross
95269ee8db tipidee: mark broken on Darwin 2024-05-06 17:43:09 +02:00
Alyssa Ross
d60bf67ef5 tipidee: 0.0.3.0 -> 0.0.4.0 2024-05-06 17:43:09 +02:00
Alyssa Ross
dcbbbbf13a s6: 2.12.0.3 -> 2.12.0.4 2024-05-06 17:43:09 +02:00
Alyssa Ross
b2907933db execline: 2.9.4.0 -> 2.9.5.1 2024-05-06 17:43:09 +02:00
sternenseemann
06c817b2ac s6-rc: use --replace-fail for cross substitutions
We would probably prefer a warning if an additional header is added we
need to substitute, but that is practically impossible…
2024-04-16 18:05:08 +02:00
Adam Joseph
4b46c7e8eb s6-linux-init: fix cross compilation
Co-authored-by: sternenseemann <sternenseemann@systemli.org>
2024-04-16 18:05:08 +02:00
Profpatsch
7cadc17591 skawarePackages: add manpages to their respective packages
For a while now, we’ve had these separate derivations for the skaware
manpages.

That was fine in the beginning, because it was not entirely clear
whether the manpage project would be long-lived. Given that the
collection of third-party manpages is now extensive and updated
regularly, plus it is sanctioned by skarnet, we can remove this
additional hurdle to using skaware.

The buildManPage structure is kept, instead of building them in a
separate `default.nix`, we add a field `manpages` to
`skawarePackages.buildPackage`, which adds the `"man"` output and
copies everything from the manpages output.

For backwards-compat, the manpage derivation is exposed in the
`passthru` and referenced by the `*-man-pages` attributes.

~~~

The `with skawarePackages;` scope is removed from all packages, and
used explicitly for all functions, while packages get added to the
package import header.
2024-03-24 14:52:19 +01:00
stuebinm
ff1a94e523 treewide: add meta.mainProgram to packages with a single binary
The nixpkgs-unstable channel's programs.sqlite was used to identify
packages producing exactly one binary, and these automatically added
to their package definitions wherever possible.
2024-03-19 03:14:51 +01:00
Alyssa Ross
470ce55e71 s6-rc-man-pages: 0.5.4.1.2 -> 0.5.4.2.1
git tags are identical, so this isn't really an upgrade…
2024-02-28 16:34:49 +01:00
Alyssa Ross
25909d8921 s6-networking: 2.7.0.1 -> 2.7.0.2 2024-02-28 16:34:49 +01:00
Alyssa Ross
37366f5a40 skalibs: 2.14.1.0 -> 2.14.1.1 2024-02-28 16:34:49 +01:00
Alyssa Ross
5751106b60 tipidee: 0.0.2.0 -> 0.0.3.0 2023-12-28 15:05:28 +01:00
Alyssa Ross
09bb287faa s6-dns: 2.3.7.0 -> 2.3.7.1 2023-12-28 15:05:28 +01:00
Alyssa Ross
626df9ec03 s6-networking: 2.7.0.0 -> 2.7.0.1 2023-12-28 15:05:28 +01:00
Alyssa Ross
b2e3c3c550 s6: 2.12.0.2 -> 2.12.0.3 2023-12-28 15:05:28 +01:00
Alyssa Ross
e9dbcaa402 skalibs: 2.14.0.1 -> 2.14.1.0 2023-12-28 15:05:28 +01:00
Adam Joseph
4d139f4f0e s6-man-pages: 2.11.3.2.4 -> 2.12.0.2.1
This updates the manpages to match the software.
2023-12-03 12:16:45 +01:00
Alyssa Ross
8d0f0ca323 tipidee: 0.0.1.0 -> 0.0.2.0 2023-11-30 22:51:32 +00:00
Alyssa Ross
1cdbb53881 s6-networking: 2.6.0.0 -> 2.7.0.0 2023-11-30 22:51:32 +00:00
Alyssa Ross
5784fa51f2 s6-dns: 2.3.6.0 -> 2.3.7.0 2023-11-30 22:51:32 +00:00
Alyssa Ross
44c1e78ccb s6: 2.12.0.0 -> 2.12.0.2 2023-11-30 22:51:32 +00:00
Alyssa Ross
f78ad50e0b skalibs: 2.14.0.0 -> 2.14.0.1 2023-11-30 22:51:32 +00:00
Artturi
cc0b49cc27
Merge pull request #266253 from amjoseph-nixpkgs/pr/skalibs/fixcross 2023-11-10 21:57:44 +02:00
Profpatsch
3a256b2896 skawarePackages.tipidee: init at 0.0.1.0 2023-11-09 15:02:48 +01:00
Adam Joseph
ad91b28cd9 skalibs: fix cross
skalibs-2.14.0.0 added detection for some weird bug exhibited in
"old glibcs and some virtual platforms".  When cross compiling the
detector cannot be run:

> posixspawnearlyreturn: `yes` if the target has a broken
> `posix_spawn()` implementation that can return before the
> child has successfully exec'ed. That happens with old glibcs
> and some virtual platforms.

I just took a wild guess here and picked `no`.

Co-authored-by: Alyssa Ross <hi@alyssa.is>
2023-11-08 17:07:03 -08:00
Alyssa Ross
df4f0296d7 mdevd: 0.1.6.2 -> 0.1.6.3 2023-11-07 13:05:31 +00:00
Alyssa Ross
cff0ee734c s6-networking: 2.5.1.3 -> 2.6.0.0 2023-11-07 13:05:31 +00:00
Alyssa Ross
ba9469fa2f s6-dns: 2.3.5.5 -> 2.3.6.0 2023-11-07 13:05:31 +00:00
Alyssa Ross
95b744aa87 s6-linux-utils: 2.6.1.2 -> 2.6.2.0 2023-11-07 13:05:31 +00:00
Alyssa Ross
87fc244e92 s6-portable-utils: 2.3.0.2 -> 2.3.0.3 2023-11-07 13:05:31 +00:00
Alyssa Ross
24927b7569 s6-linux-init: 1.1.1.0 -> 1.1.2.0 2023-11-07 13:05:31 +00:00
Alyssa Ross
40350108dc s6-rc: 0.5.4.1 -> 0.5.4.2 2023-11-07 13:05:31 +00:00
Alyssa Ross
e97476649e s6: 2.11.3.2 -> 2.12.0.0 2023-11-07 13:05:31 +00:00
Alyssa Ross
cd59bf343f execline: 2.9.3.0 -> 2.9.4.0 2023-11-07 13:05:31 +00:00
Alyssa Ross
cbe18b98f1 utmps: 0.1.2.1 -> 0.1.2.2 2023-11-07 13:05:31 +00:00
Alyssa Ross
f032e6e2be nsss: 0.2.0.3 -> 0.2.0.4 2023-11-07 13:05:31 +00:00
Alyssa Ross
fc63ca1505 skalibs: 2.13.1.1 -> 2.14.0.0 2023-11-07 13:05:31 +00:00