Commit Graph

111 Commits

Author SHA1 Message Date
whispers
c4b48b9886 fb303: 2026.01.19.00 -> 2026.07.27.00
Diff: https://github.com/facebook/fb303/compare/v2026.01.19.00...v2026.07.27.00
2026-08-12 14:20:25 -04:00
whispers
38a9bc17a9 fbthrift: 2026.01.19.00 -> 2026.07.27.00
Diff: https://github.com/facebook/fbthrift/compare/v2026.01.19.00...v2026.07.27.00
2026-08-12 14:20:25 -04:00
Cryolitia PukNgae
75d56b5507 fbida: 2.14->2.15
Co-authored-by: Gaétan Lepage <gaetan@glepage.com>
2026-06-24 02:51:14 +08:00
Cryolitia PukNgae
c62b71a01e fbset: fix cross build
Otherwise `nix build .#pkgsCross.riscv64.fbset` fails with

> bash: line 1: gcc: command not found
2026-06-10 19:49:11 +08:00
Tom Hunze
ebdb42b323 fbpanel: drop
fbpanel has seen its last upstream change in December 2015 [1] and has
been broken since January 2026 [2] [3].

[1] https://github.com/aanatoly/fbpanel
[2] https://hydra.nixos.org/job/nixos/unstable/nixpkgs.fbpanel.aarch64-linux
[3] https://hydra.nixos.org/job/nixos/unstable/nixpkgs.fbpanel.x86_64-linux
2026-05-16 17:36:15 +02:00
quantenzitrone
d077a4dc0a xxhash: rename from xxHash
rename to lowercase to fit package naming conventions
2026-03-06 20:15:57 +01:00
Emily
27397f9415 watchman: 2025.10.13.00 -> 2026.01.19.00 (#481833) 2026-02-08 15:45:19 +00:00
quantenzitrone
f0de96be2c various: rename references from libXpm to libxpm
this shouldn't create any rebuilds
2026-02-06 00:26:01 +01:00
quantenzitrone
b87857cea9 various: rename references from libXmu to libxmu
this shouldn't create any rebuilds
2026-02-06 00:26:00 +01:00
quantenzitrone
55280fa564 various: rename references from libX11 to libx11
this shouldn't create any rebuilds
2026-02-06 00:24:34 +01:00
Fernando Rodrigues
6308c3b213 various: switch to finalAttrs pattern (#483882) 2026-01-30 02:32:49 +00:00
quantenzitrone
6b61249106 various: switch to finalAttrs pattern
this shouldn't create any rebuilds
2026-01-30 02:36:22 +01:00
quantenzitrone
7d8132a92c treewide: remove references to the xorg namespace in pkgs (automated)
this creates some eval errors that will be fixed in the next commit

done with the following script:

```fish
\#!/usr/bin/env fish

set packagesjson (nix eval --impure --json --expr '
let
  lib = import ./lib;
in
import pkgs/servers/x11/xorg/default.nix (lib.mapAttrs (
  name: _:
  if name == "lib" then
    lib
  else if name == "config" then
    { allowAliases = false; }
  else
    name
) (__functionArgs (import pkgs/servers/x11/xorg/default.nix))) { }
' | jq)

set one (grep '^    [A-Za-z0-9_-]*$' pkgs/servers/x11/xorg/default.nix | string trim | string replace -r '$' Z | sort | string sub -e -1)
set two (grep '^  [A-Za-z0-9_-]* = [A-Za-z0-9_-]*;$' pkgs/servers/x11/xorg/default.nix | cut -d= -f1 | string trim | string replace -r '$' Z | sort | string sub -e -1)

for arg in $one $two
    set oname $arg
    set nname (echo $packagesjson | jq -r .$oname)

    if test $nname = null
        echo (set_color red)warn:(set_color normal) unknown package xorg.$oname >&2
        continue
    end

    echo $oname "->" $nname

    # replace basic xorg.$name references
    for file in (rg -F "xorg.$oname" --files-with-matches pkgs)
        # special cases
        sd -F "$oname = xorg.$oname;" "$nname = $nname;" $file

        # replace
        sd -F "xorg.$oname" "$nname" $file

        # fixup function arguments

        # prevent duplicate function args
        if grep -E " ($oname|$nname),\$" $file >/dev/null
            continue
        end

        if grep 'xorg\..' $file >/dev/null # case1: there is more so we can't just remove the function arg

            if grep ' xorg,$' $file >/dev/null
                sd ' xorg,$' " xorg,
                $nname," $file

            else if grep ' xorg ? .*,$' $file >/dev/null
                sd 'xorg( ? .*),$' "xorg\$1,
                $nname," $file

            else
                sd -F 'xorg,' "$nname,
                xorg," $file
            end

        else # case there is no more xorg..* so we can just replace the function arg
            sd 'xorg(| ? .*),.*$' "$nname," $file
        end
    end
end

nix fmt
```
2026-01-25 22:28:09 +01:00
Claude
f674783727 fb303: 2025.10.13.00 -> 2026.01.19.00
Diff: https://github.com/facebook/fb303/compare/refs/tags/v2025.10.13.00...refs/tags/v2026.01.19.00
2026-01-22 00:13:21 -07:00
Claude
b06b73f81b fbthrift: 2025.10.13.00 -> 2026.01.19.00
Diff: https://github.com/facebook/fbthrift/compare/refs/tags/v2025.10.13.00...refs/tags/v2026.01.19.00
2026-01-22 00:13:21 -07:00
Justin Chen
819134cdcd fbida: fix build with GCC 15 2026-01-02 12:02:33 +08:00
Ihar Hrachyshka
567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00
Petr Portnov
e12c748a45 fblog: 4.16.0 -> 4.17.0 2025-12-04 21:27:11 +03:00
Petr Portnov
4cf69551d0 fblog: add nix-update-script 2025-12-04 21:18:59 +03:00
Petr Portnov
cd52b4e7e5 fblog: use finalAttrs 2025-12-04 21:18:16 +03:00
Petr Portnov
38331062de fblog: add progrm_jarvis to maintainers 2025-12-04 21:15:13 +03:00
K900
531f9f1681 Merge remote-tracking branch 'origin/master' into staging-next 2025-11-03 13:42:40 +03:00
Michael Daniels
30420dabad treewide: drop figsoda as maintainer (part 2)
s/maintainers = with maintainers; [ figsoda ];/maintainers = with maintainers; [ ];/
2025-11-02 20:16:11 -05:00
Jade Lovelace
aaf02d9235 fb303: 2025.09.15.00 -> 2025.10.13.00
Diff: https://github.com/facebook/fb303/compare/v2025.09.15.00...v2025.10.13.00
2025-10-14 13:11:09 -07:00
Jade Lovelace
032c4bb99b fbthrift: 2025.09.15.00 -> 2025.10.13.00
Diff: https://github.com/facebook/fbthrift/compare/v2025.09.15.00...v2025.10.13.00
2025-10-14 13:11:09 -07:00
Nick Cao
b11a1eb5c1 fblog: 4.15.0 -> 4.16.0 (#448847) 2025-10-05 15:49:44 +00:00
R. Ryantm
984a52ef56 fblog: 4.15.0 -> 4.16.0 2025-10-05 12:56:05 +00:00
nixpkgs-ci[bot]
c831f89b0f Merge master into staging-next 2025-09-26 19:56:50 +00:00
R. Ryantm
7dd3a150ac fblog: 4.14.0 -> 4.15.0 2025-09-24 20:33:17 +00:00
Emily
a7aa1f2977 fb303: 2025.04.21.00 -> 2025.09.15.00
Diff: https://github.com/facebook/fb303/compare/v2025.04.21.00...v2025.09.15.00
2025-09-16 02:26:59 +01:00
Emily
e1846b113a fbthrift: add Thrift compiler patch to scrub build directory references
Part of my Darwin reproducibility work.
2025-09-16 02:26:59 +01:00
Emily
91600d6081 fbthrift: 2025.04.21.00 -> 2025.09.15.00
Diff: https://github.com/facebook/fbthrift/compare/v2025.04.21.00...v2025.09.15.00
2025-09-16 02:26:59 +01:00
qzylinra
c7b552857e fbjni: drop
The software build has failed. It has no maintainer, and the library is not used by any other packages. Since it is difficult to maintain, it should be removed.
2025-08-25 09:36:38 +08:00
Fabián Heredia Montiel
0e9af74ced Merge remote-tracking branch 'origin/master' into staging-next 2025-08-18 22:43:58 -06:00
Max Wipfli
f6b62e03ed fbpanel: correctly apply -Wno-error 2025-08-17 15:01:00 +02:00
Emily
feb38c0940 cc-wrapper: use -fmacro-prefix-map to scrub __FILE__ references (#429880) 2025-08-03 20:41:44 +01:00
Emily
4401eb4b3b sanitiseHeaderPathsHook: drop
This is now handled by the compiler wrapper.

I have verified that `webkitgtk_6_0` still has no GCC dependency on
`aarch64-linux`, and that `watchman` doesn’t pull in any `dev`
outputs on `aarch64-darwin`.

Closes: #424844
Closes: #426934
Closes: #427475
Closes: #428546
2025-07-31 16:39:48 +01:00
mivorasu
ee0866bddd treewide: conform descriptions to the standards 2025-07-28 04:39:00 +00:00
TomaSajt
398b16e16c treewide: remove useFetchCargoVendor usages 2025-07-26 11:39:35 +02:00
Wolfgang Walther
5a0711127c treewide: run nixfmt 1.0.0 2025-07-24 13:55:40 +02:00
Emily
17d4441a42 fbthrift: fix typo 2025-07-04 12:02:26 +01:00
Emily
6e7fd3cf13 fbthrift: use sanitiseHeaderPathsHook 2025-07-04 12:02:26 +01:00
Peter H. Hoeg
da06e88307 fbv: 1.0b -> 1.0c 2025-06-17 08:16:20 +00:00
R. Ryantm
ed4ef2dfa6 fblog: 4.13.1 -> 4.14.0 2025-05-15 20:13:30 +00:00
Emily
7961536642 fb303: 2025.02.10.00 -> 2025.04.21.00
Diff: https://github.com/facebook/fb303/compare/refs/tags/v2025.02.10.00...v2025.04.21.00
2025-04-23 18:23:27 +01:00
Emily
7856babe15 fbthrift: 2025.02.10.00 -> 2025.04.21.00
Diff: https://github.com/facebook/fbthrift/compare/refs/tags/v2025.02.10.00...v2025.04.21.00
2025-04-23 18:23:26 +01:00
Sigmanificient
0489b3976a treewide: remove unused patches files 2025-04-01 13:59:25 +02:00
Sigmanificient
e6fe6f4b7c treewide: remove unused rec expressions 2025-03-13 21:34:05 +01:00
Peder Bergebakken Sundt
357d2530e5 treewide: substitute pname for strings
Inspired by https://github.com/NixOS/nixpkgs/pull/387725#issuecomment-2704943777, script is based on https://github.com/NixOS/nixpkgs/pull/336172 using what i learned in https://github.com/NixOS/nixpkgs/pull/386865, part of https://github.com/NixOS/nixpkgs/issues/346453

Should be zero rebuilds.

All candidates were made using:

```shell

export NIXPKGS_ALLOW_UNFREE=1
export NIXPKGS_ALLOW_INSECURE=1
export NIXPKGS_ALLOW_BROKEN=1

git-wait restore .

test -s packages.json || ( set -x;
  time nix-env --extra-experimental-features no-url-literals --option system x86_64-linux -f ./. -qaP --json --meta --drv-path --out-path --show-trace --no-allow-import-from-derivation --arg config '{ allowAliases = false; }' > packages.json
)

list_attrpath_fname_col() {
    jq <packages.json 'to_entries[] | select(.value.meta.position==null|not) | "\(.key)\t\(.value.meta.position)"' -r |
        sed -e "s#\t$(realpath .)/#\t#" |
        sed -e 's#:\([0-9]*\)$#\t\1#' |
        grep . |
        grep -iv haskell |
        grep -iv /top-level/ |
        grep -iv chicken |
        grep pkgs/by-name/ |
        grep -iv build |
        grep -E '/(package|default)\.nix'
}

FLOCKDIR="$(mktemp -d)"
N_WORKERS=4
while read attrpath fname col; do
    grep -qE 'repo *= *("\$\{pname\}"|pname);' "$fname" || continue

    echo | (
        # mutex on fname
        flock --nonblock 200 || {
            >&2 echo "failed to aquire lock for $fname"
            exit 1
        }

        echo "$attrpath"
        data="$(nix eval --impure  --expr 'with import ./. {}; { inherit ('"$attrpath"') pname drvPath passthru meta; drvPath2='"$attrpath"'.src.drvPath; }' --json)" || exit
        test -n "$data" || exit
        pname="$(jq <<<"$data" .pname -r)"
        test -n "$pname" || exit

        (set -x
            sd -F '${pname}'  "$pname"         "$fname"
            sd -F ' = pname;' " = \"$pname\";" "$fname"
        )

        data2="$(nix eval --impure  --expr 'with import ./. {}; { inherit ('"$attrpath"') pname drvPath passthru meta; drvPath2='"$attrpath"'.src.drvPath; }' --json)"
        if [[ "$data" = "$data2" ]]; then
            (set -x; git-wait add "$fname")
        else
            (set -x; git-wait restore "$fname")
            exit
        fi

        (set -x
            sd -F ' rec {' ' {' "$fname"
        )

        data3="$(nix eval --impure  --expr 'with import ./. {}; { inherit ('"$attrpath"') pname drvPath passthru meta; drvPath2='"$attrpath"'.src.drvPath; }' --json 2>/dev/nul)"

        if [[ "$data" = "$data3" ]]; then
            (set -x; git-wait add "$fname")
        else
            (set -x; git-wait restore "$fname")
        fi

    ) 200>"$FLOCKDIR"/"$(sha256sum - <<<"$fname" | cut -d' ' -f1)".lock &

    while [[ $(jobs -p | wc -l) -ge $N_WORKERS ]]; do
        wait -n < <(jobs -p) || true
    done

done < <(list_attrpath_fname_col)

wait

git restore .

time nix-env --extra-experimental-features no-url-literals --option system x86_64-linux -f ./. -qaP --json --meta --drv-path --out-path --show-trace --no-allow-import-from-derivation --arg config '{ allowAliases = false; }' > packages2.json
```

`diff packages{,2}.json` is empty, indicating that no package nor src derivation has changed.
I checked and cherry-picked the changes using `GIT_DIFF_OPTS='-u15' git -c interactive.singleKey=true add --patch`
2025-03-11 23:55:31 +01:00
Wolfgang Walther
b19d0f6d3d treewide: replace substituteAll with replaceVars 2025-02-10 22:51:56 +01:00