Commit Graph

14 Commits

Author SHA1 Message Date
Picnoir
1672d58a3a nsncd: add passthru.(updateScript|tests) 2024-10-04 15:24:57 +02:00
Picnoir
27f99cd7c3 nscncd: 1.4.1-unstable-2024-04-10 -> 1.4.1-unstable-2024-10-03
Compilation has been fixed upstream for rustc 2.80, removing the patch.
2024-10-04 09:44:39 +02:00
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
Picnoir
5da570137e nsncd: nixfmt 2024-08-07 19:53:02 +02:00
Picnoir
c7129d13c7 nsncd: unstable-2024-03-18 -> 1.4.1-unstable-2024-04-10
Fixes nsncd for rustc > 1.80.

Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2024-08-07 19:53:02 +02:00
Sergei Trofimovich
bd5d563f2d nsncd: unstable-2024-01-16 -> unstable-2024-03-18 2024-06-15 21:59:17 +01:00
Alexis Hildebrandt
f8c4a98e8e treewide: Remove the definite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"([Tt]he)? ' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Tt]he (.)/\1\U\2/'
2024-06-09 23:08:46 +02: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
Félix Baylac Jacqué
cf3391dc01 ncncd: unstable-2023-10-26 -> unstable-2024-01-16
All our modifications have been merged upstream. There's no need to
point to the Nix Community fork anymore, pointing to
upstream (twosigma) instead.

Fixes #282485
2024-01-22 14:57:47 +01:00
Félix Baylac Jacqué
dfa45288af maintainers: ninjatrappeur -> picnoir
I changed my nickname from Ninjatrappeur to Picnoir. My github id is
stable, it shouldn't break too much stuff.

I took advantage of this handle change to remove myself from the
hostapd maintainers: I don't use NixOS as a router anymore.
2023-11-11 08:31:16 +01:00
Félix Baylac Jacqué
364a38956d nsncd: unstable-2022-11-14 -> unstable-2023-10-26
Note: we decided to rewrite the history of the fork who somehow got
out of hand. Feature-wise, this version bump fixes the various host
faulty behaviour. See the
https://github.com/nix-community/nsncd/pull/9 and
https://github.com/nix-community/nsncd/pull/10 PRs for more details.

We're in the process of upstreaming this change to twosigma/nsncd,
however, upstream has been pretty slow to review our PRs so far. Since
the hostname bug surfaces quite regularly in the Nixpkgs issue
tracker, we decided to use the nix-community fork as canon for Nixpkgs
for now.

Fixes: https://github.com/NixOS/nixpkgs/issues/132646
Fixes: https://github.com/NixOS/nixpkgs/issues/261269
2023-10-26 20:22:21 +02:00
Rick van Schijndel
9833d56c24 treewide: mark packages broken that never built on PLATFORM
Done with the help of https://github.com/Mindavi/nixpkgs-mark-broken
Tool is still WIP but this is one of the first results.

I manually audited the results and removed some results that were not valid.

Note that some of these packages maybe should have more constrained platforms set
instead of broken set, but I think not being perfectly correct is better than
just keep trying to build all these things and never succeeding.

Some observations:

- Some darwin builds require XCode tools
- aarch64-linux builds sometimes suffer from using gcc9
  - gcc9 is getting older and misses some new libraries/features
- Sometimes tools try to do system detection or expect some explicit settings for
  platforms that are not x86_64-linux
2022-12-13 21:40:12 +01:00
Félix Baylac Jacqué
8223079569 nsncd: unstable-2021-10-20 -> unstable-2022-11-14
This bump fixes the response format for IPV6-only requests. The bogus
response message was crashing glibc.

See https://github.com/nix-community/nsncd/pull/1 for more informations.
2022-11-16 10:44:40 +01:00
Florian Klink
308548f253 nsncd: init at unstable-2021-10-20
This is currently pointing to a custom branch that contains the missing
request types from https://github.com/twosigma/nsncd/issues/37, as well
as Type=notify support.
2022-10-20 13:19:26 +02:00