summaryrefslogtreecommitdiff
path: root/pkgs/by-name/fb (follow)
Commit message (Expand)AuthorAgeFilesLines
* various: switch to finalAttrs pattern (#483882)Fernando Rodrigues2026-01-304-12/+12
|\
| * various: switch to finalAttrs pattern•••this shouldn't create any rebuilds quantenzitrone2026-01-304-12/+12
* | 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 ``` quantenzitrone2026-01-251-3/+3
|/
* fbida: fix build with GCC 15Justin Chen2026-01-022-0/+18
* 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> Ihar Hrachyshka2025-12-107-28/+28
* fblog: 4.16.0 -> 4.17.0Petr Portnov2025-12-041-3/+3
* fblog: add nix-update-scriptPetr Portnov2025-12-041-0/+3
* fblog: use finalAttrsPetr Portnov2025-12-041-6/+12
* fblog: add progrm_jarvis to maintainersPetr Portnov2025-12-041-1/+1
* Merge remote-tracking branch 'origin/master' into staging-nextK9002025-11-031-1/+1
|\
| * treewide: drop figsoda as maintainer (part 2)•••s/maintainers = with maintainers; [ figsoda ];/maintainers = with maintainers; [ ];/ Michael Daniels2025-11-021-1/+1
* | fb303: 2025.09.15.00 -> 2025.10.13.00•••Diff: https://github.com/facebook/fb303/compare/v2025.09.15.00...v2025.10.13.00 Jade Lovelace2025-10-141-2/+3
* | fbthrift: 2025.09.15.00 -> 2025.10.13.00•••Diff: https://github.com/facebook/fbthrift/compare/v2025.09.15.00...v2025.10.13.00 Jade Lovelace2025-10-141-2/+3
|/
* fblog: 4.15.0 -> 4.16.0 (#448847)Nick Cao2025-10-051-3/+3
|\
| * fblog: 4.15.0 -> 4.16.0R. Ryantm2025-10-051-3/+3
* | Merge master into staging-nextnixpkgs-ci[bot]2025-09-261-3/+3
|\|
| * fblog: 4.14.0 -> 4.15.0R. Ryantm2025-09-241-3/+3
* | fb303: 2025.04.21.00 -> 2025.09.15.00•••Diff: https://github.com/facebook/fb303/compare/v2025.04.21.00...v2025.09.15.00 Emily2025-09-161-2/+2
* | fbthrift: add Thrift compiler patch to scrub build directory references•••Part of my Darwin reproducibility work. Emily2025-09-162-0/+40
* | fbthrift: 2025.04.21.00 -> 2025.09.15.00•••Diff: https://github.com/facebook/fbthrift/compare/v2025.04.21.00...v2025.09.15.00 Emily2025-09-162-24/+41
|/
* 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. qzylinra2025-08-251-63/+0
* Merge remote-tracking branch 'origin/master' into staging-nextFabián Heredia Montiel2025-08-181-1/+3
|\
| * fbpanel: correctly apply -Wno-errorMax Wipfli2025-08-171-1/+3
* | cc-wrapper: use `-fmacro-prefix-map` to scrub `__FILE__` references (#429880)Emily2025-08-031-2/+0
|\ \ | |/ |/|
| * 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 Emily2025-07-311-2/+0
* | treewide: conform descriptions to the standardsmivorasu2025-07-281-1/+1
|/
* treewide: remove useFetchCargoVendor usagesTomaSajt2025-07-261-1/+0
* treewide: run nixfmt 1.0.0Wolfgang Walther2025-07-241-17/+16
* fbthrift: fix typoEmily2025-07-041-1/+1
* fbthrift: use `sanitiseHeaderPathsHook`Emily2025-07-041-14/+2
* fbv: 1.0b -> 1.0cPeter H. Hoeg2025-06-171-24/+13
* fblog: 4.13.1 -> 4.14.0R. Ryantm2025-05-151-3/+3
* 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 Emily2025-04-231-2/+2
* 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 Emily2025-04-231-3/+14
* treewide: remove unused patches filesSigmanificient2025-04-011-12/+0
* treewide: remove unused rec expressionsSigmanificient2025-03-132-2/+2
* 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` Peder Bergebakken Sundt2025-03-117-10/+10
* treewide: replace substituteAll with replaceVarsWolfgang Walther2025-02-101-3/+4
* fb303: 2025.02.03.00 -> 2025.02.10.00•••Diff: https://github.com/facebook/fb303/compare/refs/tags/v2025.02.03.00...v2025.02.10.00 K9002025-02-101-1/+1
* fbthrift: 2025.02.03.00 -> 2025.02.10.00•••Diff: https://github.com/facebook/fbthrift/compare/refs/tags/v2025.02.03.00...v2025.02.10.00 K9002025-02-101-1/+1
* fb303: 2025.01.27.00 -> 2025.02.03.00•••Diff: https://github.com/facebook/fb303/compare/refs/tags/v2025.01.27.00...v2025.02.03.00 K9002025-02-101-2/+2
* fbthrift: 2025.01.27.00 -> 2025.02.03.00•••Diff: https://github.com/facebook/fbthrift/compare/refs/tags/v2025.01.27.00...v2025.02.03.00 K9002025-02-101-2/+2
* fbthrift: 2025.01.06.00 -> 2025.01.27.00 (#378331)K9002025-02-091-2/+2
|\
| * fbthrift: 2025.01.06.00 -> 2025.01.27.00R. Ryantm2025-01-311-2/+2
* | fb303: 2025.01.06.00 -> 2025.01.27.00 (#378328)K9002025-02-091-2/+2
|\ \
| * | fb303: 2025.01.06.00 -> 2025.01.27.00R. Ryantm2025-01-311-2/+2
| |/
* / treewide: migrate to fetchCargoVendor, batch 1•••Cargo 1.84.0 seems to have changed the output format of cargo vendor again, once again invalidating fetchCargoTarball FOD hashes. It's time to fix this once and for all, switching across the board to fetchCargoVendor, which is not dependent on cargo vendor's output format. It should be possible to reproduce this diff. To do so, get the list of files changed by this commit, e.g. with git diff --name-only, then run the following two commands, each with that list of files as their standard input: xargs sed -i 's/^\(. *\)\(cargoHash\)\b/\1useFetchCargoVendor = true;\n\1cargoHash/' cut -d / -f 4 | xargs -n 1 nix-update --version=skip This will take a long time. It might be possible to parallelize it using xargs' -P option. I haven't tested it. Alyssa Ross2025-01-231-1/+2
|/
* fb303: add patch for glog ≥ 0.7.0Emily2025-01-062-0/+33
* fb303: 2024.12.09.00 -> 2025.01.06.00•••Diff: https://github.com/facebook/fb303/compare/refs/tags/v2024.12.09.00...v2025.01.06.00 Emily2025-01-061-2/+2
* fbthrift: add patch for glog ≥ 0.7.0Emily2025-01-062-0/+89