diff options
| author | Kyren223 <Kyren223@proton.me> | 2024-12-06 18:27:57 +0200 |
|---|---|---|
| committer | Kyren223 <Kyren223@proton.me> | 2024-12-06 18:27:57 +0200 |
| commit | f587810d859a45deb99bb0da7b921632997e79f5 (patch) | |
| tree | 1400c5a70b766003fcf82d145d23c5e8f86d8390 | |
| parent | 41217ab34bd7fee74abc783f66945934065ba65a (diff) | |
Fixed ghostty download issue, also if github wasn't SSHed into, it will
fail and infinitely run, so `ssh github.com` first and add the
fingerprint
| -rw-r--r-- | flake.lock | 40 | ||||
| -rw-r--r-- | flake.nix | 8 |
2 files changed, 13 insertions, 35 deletions
@@ -20,8 +20,12 @@ }, "ghostty": { "inputs": { - "nixpkgs-stable": "nixpkgs-stable", - "nixpkgs-unstable": "nixpkgs-unstable", + "nixpkgs-stable": [ + "nixpkgs" + ], + "nixpkgs-unstable": [ + "nixpkgs" + ], "zig": "zig" }, "locked": { @@ -74,38 +78,6 @@ "type": "github" } }, - "nixpkgs-stable": { - "locked": { - "lastModified": 1733423277, - "narHash": "sha256-TxabjxEgkNbCGFRHgM/b9yZWlBj60gUOUnRT/wbVQR8=", - "owner": "nixos", - "repo": "nixpkgs", - "rev": "e36963a147267afc055f7cf65225958633e536bf", - "type": "github" - }, - "original": { - "owner": "nixos", - "ref": "release-24.11", - "repo": "nixpkgs", - "type": "github" - } - }, - "nixpkgs-unstable": { - "locked": { - "lastModified": 1733229606, - "narHash": "sha256-FLYY5M0rpa5C2QAE3CKLYAM6TwbKicdRK6qNrSHlNrE=", - "owner": "nixos", - "repo": "nixpkgs", - "rev": "566e53c2ad750c84f6d31f9ccb9d00f823165550", - "type": "github" - }, - "original": { - "owner": "nixos", - "ref": "nixpkgs-unstable", - "repo": "nixpkgs", - "type": "github" - } - }, "root": { "inputs": { "ghostty": "ghostty", @@ -9,7 +9,13 @@ inputs.nixpkgs.follows = "nixpkgs"; }; - ghostty.url = "git+ssh://git@github.com/ghostty-org/ghostty"; + ghostty = { + url = "git+ssh://git@github.com/ghostty-org/ghostty"; + + # NOTE: use cache, only needed if nixpkgs.url is unstable + inputs.nixpkgs-stable.follows = "nixpkgs"; + inputs.nixpkgs-unstable.follows = "nixpkgs"; + }; }; outputs = { self, nixpkgs, ... }@inputs: { |
