Skip to content

Commit

Permalink
Include nixconfig to to use cache
Browse files Browse the repository at this point in the history
* Otherwise ghc and friends will be compiled from source.

* There is a nix failure independent of this change which can be fixed
  by deleting the .pre-commit-config.yaml. This should be checked.
  • Loading branch information
choener committed Dec 17, 2024
1 parent 765832d commit 0cf480b
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,17 @@
inherit inputs;
repoRoot = ./.;
outputs = import ./nix/outputs.nix;
systems = [ "x86_64-linux" "x86_64-darwin" ];
systems = [ "x86_64-linux" ]; # "x86_64-darwin" ];
};

nixConfig = {
extra-substituters = [
"https://cache.iog.io"
];
extra-trusted-public-keys = [
"hydra.iohk.io:f/Ea+s+dFdN+3Y/G+FDgSq+a5NEWhJGzdjvKNGv0/EQ="
];
allow-import-from-derivation = true;
};

}

0 comments on commit 0cf480b

Please sign in to comment.