Commit Graph

455 Commits

Author SHA1 Message Date
Aleksana
240c53b527
treewide: remove unused clang from build closure (#360711) 2024-12-02 11:00:58 +08:00
aleksana
ffdf195290 niri: remove unused clang from build closure 2024-12-01 17:03:38 +08:00
Masum Reza
f14507be3d
nix-janitor: 0.3.1 -> 0.3.2 (#360440) 2024-12-01 13:51:01 +05:30
Norbert Melzer
d043843aae nix-janitor: 0.3.1 -> 0.3.2 2024-11-30 15:33:11 +01:00
Thiago Kenji Okada
9f06965445
nixos-rebuild-ng: don't repeat the keep_going argument (#360287) 2024-11-30 14:28:54 +00:00
Jörg Thalheim
b0a667f16d
nix-plugin-pijul: 0.1.4 -> 0.1.5 (#360005) 2024-11-30 10:23:02 +01:00
r-vdp
ad356675a8
nixos-rebuild-ng: don't repeat the keep_going argument
It is already provided by common_args, and repeating it leads to a
runtime error.
2024-11-30 12:13:03 +09:00
Thiago Kenji Okada
d3e0827671
nixos-rebuild-ng: implement --target-host (#359097) 2024-11-29 19:27:18 +00:00
Priyanshu Tripathi
836d207c6c
nixos-render-docs-redirects: init (#357383)
Co-authored-by: Valentin Gagarin <valentin@gagarin.work>
2024-11-29 15:03:08 +01:00
Marco Rebhan
6399331a25
nix-plugin-pijul: 0.1.4 -> 0.1.5 2024-11-29 00:16:56 +01:00
Silvan Mosberger
edd47f7c85
nixfmt-rfc-style: 2024-08-16 -> 2024-11-26 (#359904)
Changes:
- https://github.com/NixOS/nixfmt/pull/233 and
  https://github.com/NixOS/nixfmt/pull/257 fix the poor formatting of
  `mkRenamedOptionModule` code.
- https://github.com/NixOS/nixfmt/pull/240 deprecates passing
  directories as CLI args, instead using
  [treefmt](https://github.com/numtide/treefmt) is recommended.
- https://github.com/NixOS/nixfmt/pull/246 fixes some problems with
  floats.
- https://github.com/NixOS/nixfmt/pull/247 fixes trailing spaces not
  always being stripped.
- https://github.com/NixOS/nixfmt/pull/248 ensures that the ownership of
  files isn't changed when formatting them.
- https://github.com/NixOS/nixfmt/pull/249 fixes some poor formatting of
  some attribute selections.
- https://github.com/NixOS/nixfmt/pull/262 ensures that 64-bit integers
  don't get trimmed on 32-bit platforms.
- https://github.com/NixOS/nixfmt/pull/264 adds a `--filename` flag to
  allow setting the filename in error messages when formatting standard input.
- https://github.com/NixOS/nixfmt/pull/243 added
  [installation and integration docs](https://github.com/NixOS/nixfmt?tab=readme-ov-file#installation-and-usage-instructions).
- https://github.com/NixOS/nixfmt/pull/238 created a
  [`.pre-commit-hooks.yaml`](https://github.com/NixOS/nixfmt/blob/master/.pre-commit-hooks.yaml)
  for integration with [pre-commit](https://pre-commit.com/)
2024-11-28 21:45:40 +01:00
Thiago Kenji Okada
5cbc6f5623 nixos-rebuild-ng: use argparse groups to group nix flags 2024-11-27 14:21:15 +00:00
Thiago Kenji Okada
287518360a nixos-rebuild-ng: validate NIX_SSHOPTS 2024-11-27 11:01:02 +00:00
Thiago Kenji Okada
3ef018f5e3 nixos-rebuild-ng: set process.run_wrapper check=True by default 2024-11-26 22:08:27 +00:00
Thiago Kenji Okada
3a080abf13 nixos-rebuild-ng: import nix module instead of each individual function 2024-11-26 20:12:21 +00:00
Thiago Kenji Okada
088785adf8 nixos-rebuild-ng: split parser_args in get_parser 2024-11-26 17:14:24 +00:00
Thiago Kenji Okada
0479ef4106 nixos-rebuild-ng: remove explicit check for git and instead check exception 2024-11-26 16:56:49 +00:00
Thiago Kenji Okada
2e4d755351 nixos-rebuild-ng: do not use TTY for --target-host
Instead this commit introduces the `--ask-sudo-password` that stores the
password in memory and injects it via `stdin` if the user wants.
2024-11-26 16:21:13 +00:00
Thiago Kenji Okada
10f2b080c3 nixos-rebuild-ng: move test to the correct file 2024-11-26 16:21:13 +00:00
Thiago Kenji Okada
4adad7f664 nixos-rebuild-ng: implement --target-host for --rollback 2024-11-26 16:21:13 +00:00
Thiago Kenji Okada
e37e7e348d nixos-rebuild-ng: cleanup SSH ControlMaster at exit 2024-11-26 16:21:13 +00:00
Thiago Kenji Okada
f443299c58 nixos-rebuild-ng: remove support for env in process.run_wrapper 2024-11-26 16:21:12 +00:00
Thiago Kenji Okada
866e1786e3 nixos-rebuild-ng: move models.Ssh to process.Remote 2024-11-26 16:21:12 +00:00
Thiago Kenji Okada
37d6a2688f nixos-rebuild-ng: get remote hostname 2024-11-26 16:21:12 +00:00
Thiago Kenji Okada
56203bca4e nixos-rebuild-ng: add allow_tty parameter to process.run_wrapper 2024-11-26 16:21:12 +00:00
Thiago Kenji Okada
8bd70ef699 nixos-rebuild-ng: error when --rollback is called with incompatible action 2024-11-26 16:21:12 +00:00
Thiago Kenji Okada
a2cbe67701 nixos-rebuild-ng: implement --target-host 2024-11-26 16:21:12 +00:00
Thiago Kenji Okada
fd1cd69315 nixos-rebuild-ng: add pythonpath to pytest config 2024-11-26 16:21:12 +00:00
Thiago Kenji Okada
3d7fbe88ab nixos-rebuild-ng: parse NIX_SSHOPTS instead of SSH_OPTS env var 2024-11-26 16:21:12 +00:00
Thiago Kenji Okada
a6b9aaba1b nixos-rebuild-ng: add TTY allocation in SSH 2024-11-26 16:21:11 +00:00
Thiago Kenji Okada
31e9e8c0aa nixos-rebuild-ng: run -> run_wrapper, handle encode errors and add extra_env 2024-11-26 16:21:11 +00:00
Thiago Kenji Okada
e47b17e239 nixos-rebuild-ng: create instance for dataclass from Self 2024-11-26 16:21:11 +00:00
Thiago Kenji Okada
6c6d08dc4f nixos-rebuild-ng: add --sudo/--use-remote-sudo flags 2024-11-26 16:21:11 +00:00
Thiago Kenji Okada
3b41ec0691 nixos-rebuild-ng: explicitly parse Nix flags 2024-11-26 16:21:11 +00:00
Jörg Thalheim
6077aa2a70 nix-inspect: fix build with nix 2.24 2024-11-26 09:00:54 +01:00
Jörg Thalheim
45e940777e nixVersions.nix_2_19: drop 2024-11-26 09:00:52 +01:00
Jörg Thalheim
cf12b6d2b7 nixVersions.{nix_2_20,nix_2_21,nix_2_22,nix_2_23}: drop 2024-11-25 16:12:18 +01:00
Guillaume Girol
398f231c2c
nicotine-plus: 3.3.5 -> 3.3.6 (#356319) 2024-11-23 17:58:41 +01:00
Aleksana
04f0c72e59
nix-init: refactor with nixfmt-rfc-style, passthru.tests.version and removing darwin sdk (#356985) 2024-11-23 20:04:10 +08:00
Kenichi Kamiya
ee2d6d1ea4
nix-init: remove unnecessary darwin sdk
nix-init: remove outdated input

Co-authored-by: uncenter <47499684+uncenter@users.noreply.github.com>
2024-11-22 22:49:45 +09:00
Kenichi Kamiya
26cea2436d
nix-init: add passthru.tests.version 2024-11-22 22:49:45 +09:00
Kenichi Kamiya
b128929035
nix-init: format with nixfmt-rfc-style 2024-11-22 22:49:44 +09:00
Pol Dellaiera
467cc1c918
treewide: remove AndersonTorres from some packages' meta.maintainers (#358027) 2024-11-22 14:46:01 +01:00
Thiago Kenji Okada
1f8150661e
nixos-rebuild-ng: improve developer experience (#356468) 2024-11-22 09:53:33 +00:00
Anderson Torres
58fe14bdf9 treewide: remove AndersonTorres from some packages' meta.maintainers 2024-11-21 21:24:15 -03:00
Artur Manuel
903651eba2 nicotine-plus: 3.3.5 -> 3.3.6 2024-11-21 20:19:10 +00:00
GetPsyched
eb2872ea67 nixos-render-docs: don't validate redirects if none were given 2024-11-21 20:14:27 +01:00
Daylin Morgan
db1a685947 fix(#356524): update nim mangling patch 2024-11-21 18:27:27 +00:00
Thiago Kenji Okada
c66e65cb2e nixos-rebuild-ng: use python3Packages 2024-11-21 10:47:42 +00:00
Thiago Kenji Okada
a8b2af2a12 nixos-rebuild-ng: add devShell 2024-11-21 10:47:42 +00:00