Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pull] master from NixOS:master #70

Merged
merged 147 commits into from
Nov 13, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
147 commits
Select commit Hold shift + click to select a range
7dcf64d
material-design-icons: 7.2.96 -> 7.3.67
dixslyf Oct 24, 2023
3dd6060
raylib: support macOS
auxves Oct 27, 2023
918d088
floorp: 11.5.0 -> 11.5.1
christoph-heiss Oct 31, 2023
23483be
gcc-arm-embedded-13: init at 13.2.rel1
prusnak Nov 1, 2023
13b121b
sharedown: mark broken
yayayayaka Nov 4, 2023
54ea3c5
picotool: add udev rules
mingmingrr Nov 5, 2023
b44a0a5
microsoft-edge: 118.0.2088.76 -> 119.0.2151.44
rhysmdnz Nov 5, 2023
82fbe68
python310Packages.niaarm: 0.3.3 -> 0.3.5
r-ryantm Nov 7, 2023
1ab5bec
xivlauncher: correct meta.homepage
sersorrel Nov 7, 2023
ae1e3d4
uhk-agent: use electron from nixpkgs
NickCao Nov 7, 2023
47e2a5d
python311Packages.niaarm: update disabled python version and add miss…
natsukium Nov 8, 2023
75efbc3
woodpecker: 1.0.3 -> 1.0.5
adamcstephens Nov 9, 2023
65caecc
magic-wormhole: add missing Darwin dependency
midchildan Nov 9, 2023
e10ef2e
whistle: 2.9.58 -> 2.9.59
marsam Nov 10, 2023
e9ff157
mystmd: 1.1.26 -> 1.1.27
marsam Nov 10, 2023
89f0233
persepolis: fix build and startup on darwin
iFreilicht Nov 7, 2023
979c152
persepolis: fix error when opening video finder
iFreilicht Nov 7, 2023
91edcad
maintainers: add iFreilicht
iFreilicht Nov 7, 2023
10438ab
persepolis: add iFreilicht as a maintainer
iFreilicht Nov 7, 2023
bf62348
persepolis: replace youtube-dl with yt-dlp
iFreilicht Nov 7, 2023
a30adbf
beeper: 3.83.18 -> 3.85.17
mjm Nov 9, 2023
54cf684
corefonts: fix macOS build
smancill Nov 5, 2023
0f7262d
codeium: 1.2.104 -> 1.4.16
r-ryantm Nov 11, 2023
6adf29e
maintainers: add criyle
criyle Nov 11, 2023
3290ef6
go-judge: init at 1.8.0
criyle Nov 11, 2023
041bd73
commit-mono: 1.139 -> 1.141
zzzsyyy Nov 11, 2023
4057646
portfolio: 0.65.5 -> 0.65.6
kilianar Nov 11, 2023
e7ea6fd
python311Packages.mautrix: 0.20.2 -> 0.20.3
NickCao Nov 11, 2023
21e07e5
python310Packages.sphinxcontrib-plantuml: 0.26 -> 0.27
r-ryantm Nov 11, 2023
bdff467
python310Packages.teslajsonpy: 3.9.6 -> 3.9.7
r-ryantm Nov 11, 2023
332bdd0
python310Packages.thinc: 8.2.0 -> 8.2.1
r-ryantm Nov 11, 2023
1064170
python310Packages.ucsmsdk: 0.9.15 -> 0.9.16
r-ryantm Nov 12, 2023
fb396fe
python310Packages.unicodedata2: 15.0.0 -> 15.1.0
r-ryantm Nov 12, 2023
7f23ca0
tflint: 0.48.0 -> 0.49.0
marsam Nov 12, 2023
b6a3fab
rust: allow building/git-bisecting without tarballs
Nov 12, 2023
ae7b267
rust: add tutorial on git-bisecting rustc
Nov 12, 2023
06d77c2
cargo-generate: 0.18.4 -> 0.18.5
r-ryantm Nov 12, 2023
dcacd32
dnsx: 1.1.5 -> 1.1.6
r-ryantm Nov 12, 2023
d52b46a
efm-langserver: 0.0.48 -> 0.0.49
r-ryantm Nov 12, 2023
c95f7cb
python311Packages.python-frontmatter: 1.0.0 -> 1.0.1
r-ryantm Nov 12, 2023
039e11a
python311Packages.sgp4: 2.22 -> 2.23
r-ryantm Nov 12, 2023
5f314b7
moar: 1.18.2 -> 1.18.3
r-ryantm Nov 12, 2023
d43e8d5
Update doc/languages-frameworks/rust.section.md
Nov 12, 2023
9964062
raft-cowsql: 0.17.7 -> 0.18.2
r-ryantm Nov 12, 2023
2089f57
readarr: 0.3.8.2267 -> 0.3.10.2287
r-ryantm Nov 12, 2023
95635a1
reindeer: unstable-2023-10-16 -> unstable-2023-11-09
r-ryantm Nov 12, 2023
1155b21
python310Packages.unicodedata2: add changelog to meta
fabaff Nov 12, 2023
a4fc571
python310Packages.unicodedata2: modernize
fabaff Nov 12, 2023
1af7101
python310Packages.unicodedata2: add pythonImportsCheck
fabaff Nov 12, 2023
ba007da
python310Packages.ucsmsdk: add changelog to meta
fabaff Nov 12, 2023
2c3bc30
iosevka: 27.3.4 -> 27.3.5
lunik1 Nov 12, 2023
acbe538
nix-eval-jobs: 2.17.1 -> 2.18.0
Mic92 Nov 12, 2023
de89dcd
roadrunner: 2023.2.2 -> 2023.3.4
r-ryantm Nov 12, 2023
bb65ccd
git-quick-stats: 2.5.1 -> 2.5.2
r-ryantm Nov 12, 2023
99f4f7e
jwx: 2.0.14 -> 2.0.16
r-ryantm Nov 12, 2023
de6cb97
python311Packages.asyncssh: 2.14.0 -> 2.14.1
r-ryantm Nov 12, 2023
ba85fa1
python311Packages.aws-lambda-builders: 1.40.0 -> 1.41.0
r-ryantm Nov 12, 2023
ef3119e
python311Packages.awscrt: 0.19.8 -> 0.19.12
r-ryantm Nov 12, 2023
d0fa6f6
python311Packages.azure-eventgrid: 4.15.0 -> 4.16.0
r-ryantm Nov 12, 2023
5ab4ce5
nixos/network-interfaces: fix typo in networking.fqdn
gauravjuvekar Nov 12, 2023
7e29fd6
texlive: fix compatibility with Nix 2.3
tazjin Nov 12, 2023
eb883d0
Merge pull request #267083 from tazjin/build-tex-env-2.3
flokli Nov 12, 2023
ac5c40e
magic-vlsi: 8.3.277 -> 8.3.446
urish Nov 12, 2023
1dd1d98
Merge pull request #266050 from iFreilicht/zhf-fix-persepolis
wegank Nov 12, 2023
9e58706
Merge pull request #265716 from smancill/corefonts-fix-macos-build
wegank Nov 12, 2023
0c9d7ff
Merge pull request #266499 from midchildan/fix/magic-wormhole/darwin-…
wegank Nov 12, 2023
bb5d5ff
Merge pull request #263836 from auxves/raylib-macos
wegank Nov 12, 2023
8b36ac0
Merge pull request #265984 from r-ryantm/auto-update/python310Package…
wegank Nov 12, 2023
39ac633
Merge pull request #266763 from r-ryantm/auto-update/codeium
wegank Nov 12, 2023
705e2c0
Merge pull request #266848 from zzzsyyy/update/commit-mono
wegank Nov 12, 2023
2cdf540
Merge pull request #267002 from r-ryantm/auto-update/moar
wegank Nov 12, 2023
6778770
Merge pull request #267032 from r-ryantm/auto-update/raft-cowsql
wegank Nov 12, 2023
b0fcaf2
Merge pull request #267035 from r-ryantm/auto-update/readarr
wegank Nov 12, 2023
cfd0999
docs/javascript/introduction: fix GitHub search link
tufteddeer Nov 12, 2023
efb6715
Merge pull request #266481 from mjm/beeper-3.85.16
wegank Nov 12, 2023
12c5150
Merge pull request #267075 from gauravjuvekar/rfr-typo-networing
wegank Nov 12, 2023
e0ad52a
Merge pull request #265739 from rhysmdnz/edge-119
wegank Nov 12, 2023
f3eea3c
Merge pull request #266981 from r-ryantm/auto-update/cargo-generate
turboMaCk Nov 12, 2023
9ac9ea2
python3Packages.django-crispy-bootstrap4: init at 2023.1
onny Nov 8, 2023
9260272
python310Packages.flask-login: 0.6.2 -> 0.6.3
mweinelt Nov 12, 2023
060c273
Merge pull request #266971 from amjoseph-nixpkgs/pr/rustc/no-more-occ…
Ericson2314 Nov 12, 2023
783be8a
vimPlugins: updated the 11-12-2023
GaetanLepage Nov 12, 2023
70ccb0d
python311Packages.pydantic-settings: mark broken (#267088)
tu-maurice Nov 12, 2023
c8455b4
xtuner: pull upstream fix for glibc-2.38
trofi Nov 12, 2023
337e339
vimPlugins.nvim-treesitter: update grammars
GaetanLepage Nov 12, 2023
1993f9c
vimPlugins.sniprun: 1.3.7 -> 1.3.8
GaetanLepage Nov 12, 2023
5fa6b40
gnome.gnome-control-center: fix crash in Mouse panel
coreyoconnor Oct 15, 2023
59d43e7
Merge pull request #265576 from mingmingrr/master
delroth Nov 12, 2023
6644a02
Merge pull request #267051 from lunik1/iosevka-27.3.5
delroth Nov 12, 2023
d0ff724
Merge pull request #266994 from r-ryantm/auto-update/python311Package…
delroth Nov 12, 2023
7bb5c7a
Merge pull request #266154 from sersorrel/xivlauncher-meta
Artturin Nov 12, 2023
10d9b24
gnu-smalltalk: adopted by AndersonTorres
AndersonTorres Nov 11, 2023
029c980
libtcod: adopted by AndersonTorres
AndersonTorres Nov 11, 2023
84c5ad5
paperkey: adopted by AndersonTorres and peterhoeg
AndersonTorres Nov 11, 2023
bcec59d
brogue: adopted by AndersonTorres and fgaz
AndersonTorres Nov 11, 2023
f8bd787
brogue-ce: add AndersonTorres as maintainer
AndersonTorres Nov 11, 2023
e7bf1e3
libsForQt5.qmltermwidget: Adopt
OPNA2608 Nov 12, 2023
427d085
libsForQt5.qmltermwidget: Minor cleanups
OPNA2608 Nov 12, 2023
cd28d78
libsForQt5.qmltermwidget: Apply Lomiri patches
OPNA2608 Nov 12, 2023
df93769
Merge pull request #264005 from christoph-heiss/update/floorp-11.5.1
mweinelt Nov 12, 2023
e9d3eda
python310Packages.thinc: add changelog to meta
fabaff Nov 12, 2023
6a797cb
Merge pull request #266964 from r-ryantm/auto-update/python310Package…
fabaff Nov 12, 2023
64080d1
Merge pull request #267076 from r-ryantm/auto-update/python311Package…
fabaff Nov 12, 2023
d65471d
Merge pull request #267077 from r-ryantm/auto-update/python311Package…
fabaff Nov 12, 2023
02d859c
Merge pull request #267073 from r-ryantm/auto-update/python311Package…
fabaff Nov 12, 2023
b0e3e12
Merge pull request #265777 from r-ryantm/auto-update/python310Package…
mweinelt Nov 12, 2023
0292524
Merge pull request #266870 from GaetanLepage/sniprun
teto Nov 12, 2023
e909d72
alsa-tools: add psmisc as dependency for hdajackretask
AndersonTorres Nov 12, 2023
f192930
nixos/soft-serve: fix typos in option descriptions
dadada Nov 12, 2023
b50c5b9
Merge pull request #264797 from prusnak/gcc-arm-embedded
prusnak Nov 12, 2023
5cfc5b0
Merge pull request #267087 from tufteddeer/patch-1
lilyinstarlight Nov 12, 2023
fe94af3
steam-run: Set meta.mainProgram
amarshall Nov 12, 2023
ce00e82
Merge pull request #267056 from Mic92/nix-eval-jobs
adisbladis Nov 12, 2023
d88f440
vimv-rs: 3.0.0 -> 3.1.0
zowoq Nov 12, 2023
6b1898b
Merge pull request #266902 from NickCao/mautrix
NickCao Nov 12, 2023
372e16c
Merge pull request #266084 from NickCao/uhk
NickCao Nov 12, 2023
51faf5a
Merge pull request #265472 from yayayayaka/sharedown-mark-broken
Artturin Nov 12, 2023
45c8340
Merge pull request #266462 from adamcstephens/woodpecker/1.0.4
Artturin Nov 12, 2023
1d2698d
Merge pull request #245778 from OPNA2608/fix/qmltermwidget-lomiri
Artturin Nov 12, 2023
d17db39
Merge pull request #266936 from r-ryantm/auto-update/python310Package…
NickCao Nov 12, 2023
867e23b
Merge pull request #266928 from r-ryantm/auto-update/python310Package…
NickCao Nov 12, 2023
c958020
Merge pull request #266918 from marsam/update-whistle
NickCao Nov 12, 2023
849e6b0
Merge pull request #266917 from marsam/update-mystmd
NickCao Nov 12, 2023
3de2a5c
Merge pull request #266992 from r-ryantm/auto-update/python311Package…
NickCao Nov 12, 2023
496bd3c
Merge pull request #266984 from r-ryantm/auto-update/efm-langserver
NickCao Nov 12, 2023
c6044e5
Merge pull request #266982 from r-ryantm/auto-update/dnsx
NickCao Nov 12, 2023
e4208c5
Merge pull request #266963 from r-ryantm/auto-update/python310Package…
NickCao Nov 12, 2023
d01391d
Merge pull request #266897 from kilianar/portfolio-0.65.6
NickCao Nov 12, 2023
f9bda10
Merge pull request #266910 from r-ryantm/auto-update/python310Package…
NickCao Nov 12, 2023
3f88fd0
Merge pull request #267081 from marsam/update-tflint
NickCao Nov 12, 2023
e872c1b
Merge pull request #267074 from r-ryantm/auto-update/python311Package…
NickCao Nov 12, 2023
f103d28
Merge pull request #267067 from r-ryantm/auto-update/jwx
NickCao Nov 12, 2023
ee7c46d
Merge pull request #267063 from r-ryantm/auto-update/git-quick-stats
NickCao Nov 12, 2023
a774bbd
notify-desktop: add meta.mainProgram
elijahimmer Nov 12, 2023
c78df0b
python3Packages.hwdata: init at 2.4.1 (#266684)
Lurkki14 Nov 12, 2023
e7c9db6
Merge pull request #267046 from r-ryantm/auto-update/reindeer
NickCao Nov 12, 2023
992ccec
Merge pull request #267057 from r-ryantm/auto-update/roadrunner
NickCao Nov 12, 2023
5458e56
nixosTests.prometheus-exporters.smokeping fix test
teutat3s Nov 12, 2023
f77236e
Merge pull request #263058 from dixslyf/material-design-icons
NickCao Nov 12, 2023
db86bc5
Merge pull request #267112 from amarshall/steam-run-mainprogram
pbsds Nov 12, 2023
65d0a43
Merge pull request #266576 from criyle/go-judge
marsam Nov 12, 2023
3620d64
Merge pull request #267092 from trofi/xtuner-zhf
pbsds Nov 12, 2023
f65aa47
linuxPackages.rtl88x2bu: unstable-2023-07-23 -> unstable-2023-09-24
otavio Nov 13, 2023
0250649
Merge pull request #267120 from teutat3s/zhf/fix-prometheus-exporter-…
NickCao Nov 13, 2023
a1606cb
Merge pull request #267119 from elijahimmer/notify-desktop-add-meta-m…
NickCao Nov 13, 2023
6c986b6
Merge pull request #267110 from dadada/soft-typos
NickCao Nov 13, 2023
8423b2d
Merge pull request #267123 from otavio/linuxPackages_6_6.rtl88x2bu
NickCao Nov 13, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion doc/languages-frameworks/javascript.section.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ If you find you are lacking inspiration for packing javascript applications, the
### Github {#javascript-finding-examples-github}

- Searching Nix files for `mkYarnPackage`: <https://github.com/search?q=mkYarnPackage+language%3ANix&type=code>
- Searching just `flake.nix` files for `mkYarnPackage`: <https://github.com/search?q=mkYarnPackage+filename%3Aflake.nix&type=code>
- Searching just `flake.nix` files for `mkYarnPackage`: <https://github.com/search?q=mkYarnPackage+path%3A**%2Fflake.nix&type=code>

### Gitlab {#javascript-finding-examples-gitlab}

Expand Down
65 changes: 65 additions & 0 deletions doc/languages-frameworks/rust.section.md
Original file line number Diff line number Diff line change
Expand Up @@ -939,3 +939,68 @@ Fenix also has examples with `buildRustPackage`,
[crane](https://github.com/ipetkov/crane),
[naersk](https://github.com/nix-community/naersk),
and cross compilation in its [Examples](https://github.com/nix-community/fenix#examples) section.

## Using `git bisect` on the Rust compiler {#using-git-bisect-on-the-rust-compiler}

Sometimes an upgrade of the Rust compiler (`rustc`) will break a
downstream package. In these situations, being able to `git bisect`
the `rustc` version history to find the offending commit is quite
useful. Nixpkgs makes it easy to do this.

First, roll back your nixpkgs to a commit in which its `rustc` used
*the most recent one which doesn't have the problem.* You'll need
to do this because of `rustc`'s extremely aggressive
version-pinning.

Next, add the following overlay, updating the Rust version to the
one in your rolled-back nixpkgs, and replacing `/git/scratch/rust`
with the path into which you have `git clone`d the `rustc` git
repository:

```nix
(final: prev: /*lib.optionalAttrs prev.stdenv.targetPlatform.isAarch64*/ {
rust_1_72 =
lib.updateManyAttrsByPath [{
path = [ "packages" "stable" ];
update = old: old.overrideScope(final: prev: {
rustc = prev.rustc.overrideAttrs (_: {
src = lib.cleanSource /git/scratch/rust;
# do *not* put passthru.isReleaseTarball=true here
});
});
}]
prev.rust_1_72;
})
```

If the problem you're troubleshooting only manifests when
cross-compiling you can uncomment the `lib.optionalAttrs` in the
example above, and replace `isAarch64` with the target that is
having problems. This will speed up your bisect quite a bit, since
the host compiler won't need to be rebuilt.

Now, you can start a `git bisect` in the directory where you checked
out the `rustc` source code. It is recommended to select the
endpoint commits by searching backwards from `origin/master` for the
*commits which added the release notes for the versions in
question.* If you set the endpoints to commits on the release
branches (i.e. the release tags), git-bisect will often get confused
by the complex merge-commit structures it will need to traverse.

The command loop you'll want to use for bisecting looks like this:

```bash
git bisect {good,bad} # depending on result of last build
git submodule update --init
CARGO_NET_OFFLINE=false cargo vendor \
--sync ./src/tools/cargo/Cargo.toml \
--sync ./src/tools/rust-analyzer/Cargo.toml \
--sync ./compiler/rustc_codegen_cranelift/Cargo.toml \
--sync ./src/bootstrap/Cargo.toml
nix-build $NIXPKGS -A package-broken-by-rust-changes
```

The `git submodule update --init` and `cargo vendor` commands above
require network access, so they can't be performed from within the
`rustc` derivation, unfortunately.

13 changes: 13 additions & 0 deletions maintainers/maintainer-list.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3692,6 +3692,12 @@
githubId = 1222362;
name = "Matías Lang";
};
criyle = {
email = "[email protected]";
name = "Yang Gao";
githubId = 6821729;
github = "criyle";
};
CRTified = {
email = "[email protected]";
matrix = "@schnecfk:ruhr-uni-bochum.de";
Expand Down Expand Up @@ -7486,6 +7492,13 @@
githubId = 1550265;
name = "Dominic Steinitz";
};
iFreilicht = {
github = "iFreilicht";
githubId = 9742635;
matrix = "@ifreilicht:matrix.org";
email = "[email protected]";
name = "Felix Uhl";
};
ifurther = {
github = "ifurther";
githubId = 55025025;
Expand Down
4 changes: 2 additions & 2 deletions nixos/modules/services/misc/soft-serve.nix
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,15 @@ in
{
options = {
services.soft-serve = {
enable = mkEnableOption "Enable soft-serve service";
enable = mkEnableOption "soft-serve";

package = mkPackageOption pkgs "soft-serve" { };

settings = mkOption {
type = format.type;
default = { };
description = mdDoc ''
The contents of the configuration file.
The contents of the configuration file for soft-serve.

See <${docUrl}>.
'';
Expand Down
2 changes: 1 addition & 1 deletion nixos/modules/tasks/network-interfaces.nix
Original file line number Diff line number Diff line change
Expand Up @@ -498,7 +498,7 @@ in
option will result in an evaluation error if the hostname is empty or
no domain is specified.

Modules that accept a mere `networing.hostName` but prefer a fully qualified
Modules that accept a mere `networking.hostName` but prefer a fully qualified
domain name may use `networking.fqdnOrHostName` instead.
'';
};
Expand Down
4 changes: 2 additions & 2 deletions nixos/tests/prometheus-exporters.nix
Original file line number Diff line number Diff line change
Expand Up @@ -1318,12 +1318,12 @@ let
wait_for_open_port(9374)
wait_until_succeeds(
"curl -sSf localhost:9374/metrics | grep '{}' | grep -v ' 0$'".format(
'smokeping_requests_total{host="127.0.0.1",ip="127.0.0.1"} '
'smokeping_requests_total{host="127.0.0.1",ip="127.0.0.1",source=""} '
)
)
wait_until_succeeds(
"curl -sSf localhost:9374/metrics | grep '{}'".format(
'smokeping_response_ttl{host="127.0.0.1",ip="127.0.0.1"}'
'smokeping_response_ttl{host="127.0.0.1",ip="127.0.0.1",source=""}'
)
)
'';
Expand Down
12 changes: 12 additions & 0 deletions pkgs/applications/audio/xtuner/default.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{ lib, stdenv
, fetchFromGitHub
, fetchpatch
, pkg-config
, cairo
, libX11
Expand All @@ -22,6 +23,17 @@ stdenv.mkDerivation rec {
fetchSubmodules = true;
};

patches = [
# Fix build against glibc-2.38.
(fetchpatch {
name = "glibc-2.38.patch";
url = "https://github.com/brummer10/libxputty/commit/7eb70bf3f7bce0af9e1919d6c875cdb8efca734e.patch";
hash = "sha256-VspR0KJjBt4WOrnlo7rHw1oAYM1d2RSz6JhuAEfsO3M=";
stripLen = 1;
extraPrefix = "libxputty/";
})
];

nativeBuildInputs = [ pkg-config ];
buildInputs = [ cairo libX11 libjack2 liblo libsigcxx zita-resampler fftwFloat ];

Expand Down
Loading