Commit Graph

70 Commits

Author SHA1 Message Date
Artturin
f0e657f3b1 Merge branch 'master' into staging-next 2024-09-25 06:05:01 +03: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
R. Ryantm
3c74fe6535 memcached: 1.6.27 -> 1.6.29 2024-07-18 18:36:12 +00:00
github-actions[bot]
c8c2ff3b9b
Merge staging-next into staging 2024-06-10 00:02:49 +00: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
R. Ryantm
8266a08755 memcached: 1.6.26 -> 1.6.27 2024-05-08 04:05:57 +00:00
R. Ryantm
089a4fc5a2 memcached: 1.6.24 -> 1.6.26 2024-03-30 13:57:29 +00:00
R. Ryantm
0dc95d4a88 memcached: 1.6.23 -> 1.6.24 2024-02-28 10:13:13 +00:00
R. Ryantm
e133b24ddf memcached: 1.6.22 -> 1.6.23 2024-01-11 05:09:21 +00:00
h7x4
41974d5ed9
treewide: add mainProgram 2023-11-27 02:17:53 +01:00
R. Ryantm
e0fb61667f memcached: 1.6.21 -> 1.6.22 2023-10-17 11:08:13 +00:00
R. Ryantm
460cf48430 memcached: 1.6.20 -> 1.6.21 2023-06-27 23:14:47 +00:00
R. Ryantm
81da794d5b memcached: 1.6.19 -> 1.6.20 2023-05-28 10:45:07 +00:00
R. Ryantm
49e3f4fe0c memcached: 1.6.18 -> 1.6.19 2023-03-28 06:11:04 +00:00
Artturin
6b2a05e190 treewide: manual fixups for
treewide: use toString on list NIX_CFLAGS_COMPILE
treewide: move NIX_CFLAGS_COMPILE to the env attrset
2023-02-22 21:23:04 +02:00
Artturin
f9fdf2d402 treewide: move NIX_CFLAGS_COMPILE to the env attrset
with structuredAttrs lists will be bash arrays which cannot be exported
which will be a issue with some patches and some wrappers like cc-wrapper

this makes it clearer that NIX_CFLAGS_COMPILE must be a string as lists
in env cause a eval failure
2023-02-22 21:23:04 +02:00
Artturin
6f6cc4a22d treewide: use toString on list NIX_CFLAGS_COMPILE
with structuredAttrs lists will be bash arrays which cannot be exported
which will be a issue with some patches and some wrappers like cc-wrapper
2023-02-22 21:23:04 +02:00
R. Ryantm
39cf6beaf0 memcached: 1.6.17 -> 1.6.18 2023-01-18 16:13:26 +00:00
R. Ryantm
dabaf5d73e memcached: 1.6.16 -> 1.6.17 2022-09-01 21:15:10 +00:00
R. Ryantm
f0478cf3cf memcached: 1.6.15 -> 1.6.16 2022-08-06 01:07:56 +00:00
R. Ryantm
a09b09756c memcached: 1.6.14 -> 1.6.15 2022-04-05 07:30:40 +00:00
Artturin
33cce15e42 treewide: remove meta.repositories
there's no documentation for meta.repositories and its not widely used
2022-03-24 23:56:14 +02:00
R. Ryantm
853c6ca71b memcached: 1.6.12 -> 1.6.14 2022-02-12 15:59:10 +00:00
R. Ryantm
5443106a28 memcached: 1.6.9 -> 1.6.12 2021-12-09 16:54:23 +00:00
Ben Siraphob
872973d7d1 pkgs/servers: stdenv.lib -> lib 2021-01-15 14:24:03 +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
R. RyanTM
6e8c5582c9 memcached: 1.6.8 -> 1.6.9 2020-11-28 19:14:10 +00:00
R. RyanTM
1c63f35993 memcached: 1.6.6 -> 1.6.8 2020-11-03 07:13:06 +00:00
Maximilian Bosch
7a94f9baa9
memcached: fix build w/glibc-2.32 2020-09-12 23:04:45 +02:00
R. RyanTM
bc8432f641 memcached: 1.6.5 -> 1.6.6 2020-05-22 12:31:39 +00:00
R. RyanTM
21c87a9190 memcached: 1.6.3 -> 1.6.5 2020-05-06 11:15:47 -07:00
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Jörg Thalheim
b955b22b22
Merge pull request #84639 from jonringer/memcached-add-tests
memcached: add nixos tests to passthru
2020-04-08 17:15:16 +01:00
R. RyanTM
c5c3fc974c memcached: 1.6.2 -> 1.6.3 2020-04-07 10:53:55 -07:00
Jonathan Ringer
efc01e881d
memcached: add nixos tests to passthru 2020-04-07 10:53:16 -07:00
ajs124
58a491aa80 memcached: 1.5.22 -> 1.6.2
fixes remote DoS/possibly code execution, as described in
https://github.com/memcached/memcached/issues/629
2020-03-23 19:49:34 +01:00
R. RyanTM
0f71a3d22c memcached: 1.5.21 -> 1.5.22 2020-02-10 13:22:37 +01:00
Andrew Childs
085683c613 memcached: fix darwin build 2020-02-10 02:31:07 -05:00
R. RyanTM
b4e2739a00 memcached: 1.5.20 -> 1.5.21 2020-01-27 08:43:33 +00:00
R. RyanTM
90c5be92ce memcached: 1.5.19 -> 1.5.20 2019-11-29 15:57:10 -08:00
R. RyanTM
1631d79061 memcached: 1.5.18 -> 1.5.19
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/memcached/versions
2019-10-22 17:32:16 -07:00
R. RyanTM
f0ccfb1b03 memcached: 1.5.16 -> 1.5.18
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/memcached/versions
2019-09-27 11:35:03 -07:00
volth
46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00
R. RyanTM
713b6e5daf memcached: 1.5.14 -> 1.5.16
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/memcached/versions
2019-06-01 23:09:12 -07:00
R. RyanTM
f81957227b memcached: 1.5.13 -> 1.5.14
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/memcached/versions
2019-05-01 04:13:39 -07:00
Izorkin
8580861d0a memcached: 1.5.12 -> 1.5.13 2019-04-18 21:32:14 +03:00
Jörg Thalheim
6b92dd38e1
memcached: fix cross-compiling 2018-12-12 00:58:29 +00:00
R. RyanTM
1f6d946e65 memcached: 1.5.11 -> 1.5.12
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/memcached/versions
2018-11-09 10:40:25 -08:00
R. RyanTM
ce783564f1 memcached: 1.5.10 -> 1.5.11
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/memcached/versions
2018-10-14 05:42:57 -07:00
R. RyanTM
a3a70227ba memcached: 1.5.9 -> 1.5.10
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/memcached/versions.
2018-08-16 22:24:47 -07:00