chore: nix typos and deprecations

This commit is contained in:
Caleb Norton
2026-02-08 15:51:46 -06:00
parent 8892714f9b
commit 1c023c6519
3 changed files with 6 additions and 4 deletions

View File

@@ -370,7 +370,7 @@ requirements for macOS are detailed below.
### Linux
1. Check out the Ghostty source and change to the directory.
2. Run `nix run .#check.<system>.<test-name>.driver`. `<system>` should be
2. Run `nix run .#checks.<system>.<test-name>.driver`. `<system>` should be
`x86_64-linux` or `aarch64-linux` (even on macOS, this launches a Linux
VM, not a macOS one). `<test-name>` should be one of the tests defined in
`nix/tests.nix`. The test will build and then launch. Depending on the speed

View File

@@ -64,8 +64,8 @@
forAllPlatforms = f: lib.genAttrs platforms (s: f legacyPackages.${s});
forBuildablePlatforms = f: lib.genAttrs buildablePlatforms (s: f legacyPackages.${s});
in {
devShell = forAllPlatforms (pkgs:
pkgs.callPackage ./nix/devShell.nix {
devShells = forAllPlatforms (pkgs: {
default = pkgs.callPackage ./nix/devShell.nix {
zig = zig.packages.${pkgs.stdenv.hostPlatform.system}."0.15.2";
wraptest = pkgs.callPackage ./nix/pkgs/wraptest.nix {};
zon2nix = zon2nix;
@@ -77,7 +77,8 @@
ucs-detect = pyfinal.callPackage ./nix/pkgs/ucs-detect.nix {};
};
};
});
};
});
packages =
forAllPlatforms (pkgs: {

View File

@@ -91,6 +91,7 @@
};
programs.ssh = {
enable = true;
enableDefaultConfig = false;
extraOptionOverrides = {
StrictHostKeyChecking = "accept-new";
UserKnownHostsFile = "/dev/null";