diff --git a/flake.lock b/flake.lock index ccf48c6..9b502e7 100644 --- a/flake.lock +++ b/flake.lock @@ -64,11 +64,11 @@ "nixpkgs": "nixpkgs_2" }, "locked": { - "lastModified": 1790876521, - "narHash": "sha256-PSREqoUN7Tnpi50Kgnv9xN8Yk5Pd2aNkMnz65u7LzZE=", + "lastModified": 1793223434, + "narHash": "sha256-+A+l8A1lWjG8gNJGVjovlCcOCK5HDOWPLSIngAJucaA=", "owner": "dmjio", "repo": "miso", - "rev": "4ebc461f6379932cc95fc56b85a4cf5ff2288fde", + "rev": "235c6b2614d05ea9878040951d0440e60d7469fa", "type": "github" }, "original": { diff --git a/flake.nix b/flake.nix index 0fcb5ff..1306fa8 100644 --- a/flake.nix +++ b/flake.nix @@ -1,5 +1,18 @@ { + # Miso's cachix cache, so that the dev shells (e.g. haskell-language-server + # in .#hls) are downloaded prebuilt instead of built from source. A flake's + # nixConfig only applies to the flake you run, not to its inputs, so this + # repeats miso's. + nixConfig = { + extra-substituters = [ + "https://haskell-miso-cachix.cachix.org" + ]; + extra-trusted-public-keys = [ + "haskell-miso-cachix.cachix.org-1:m8hN1cvFMJtYib4tj+06xkKt5ABMSGfe8W7s40x1kQ0=" + ]; + }; + inputs = { miso.url = "github:dmjio/miso"; };