From 34c3da43023b0c058c0647b604b8bc4b2f87ff7b Mon Sep 17 00:00:00 2001 From: Nico Elbers Date: Tue, 5 Nov 2024 18:29:40 +0100 Subject: [PATCH] docs: fix the nixos install instructions Not updating inputs resulted in a crash for me, this fixed it. Relevant link from discord: https://discord.com/channels/1005603569187160125/1301217629268213770 --- README.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 796590401..3c3a2460d 100644 --- a/README.md +++ b/README.md @@ -789,7 +789,14 @@ Below is an example: # # Instead, either run `nix flake update` or `nixos-rebuild build` # as the current user, and then run `sudo nixos-rebuild switch`. - ghostty.url = "git+ssh://git@github.com/ghostty-org/ghostty"; + ghostty = { + url = "git+ssh://git@github.com/ghostty-org/ghostty"; + + # NOTE: The below 2 lines are only required on nixos-unstable, + # if you're on stable, they may break your build + inputs.nixpkgs-stable.follows = "nixpkgs"; + inputs.nixpkgs-unstable.follows = "nixpkgs"; + }; }; outputs = { nixpkgs, ghostty, ... }: {