Skip to content

Commit cc4ccb0

Browse files
committed
flake.nix: improve comments about overriding dependencies.
1 parent a3230bb commit cc4ccb0

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

flake.nix

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,17 +12,19 @@
1212
pkgs = nixpkgs.legacyPackages.${system};
1313

1414
haskellPackages = pkgs.haskellPackages;
15-
1615
# Or, override some dependencies as follows:
1716
# haskellPackages = (pkgs.haskellPackages.override {
1817
# all-cabal-hashes = pkgs.fetchurl {
19-
# url = "https://github.com/commercialhaskell/all-cabal-hashes/archive/c10b0447a6de06e7d226477787225fa1136abb95.tar.gz";
20-
# sha256 = "9XkvkmfiRvkqGw9dpgTPXXdjaOQN1W9j1dOEDwUGnwM=";
18+
# # The hash in the URL is just a git commit hash
19+
# url = "https://github.com/commercialhaskell/all-cabal-hashes/archive/2e3f153549871ada6ecbf36719339a5da051bc76.tar.gz";
20+
# sha256 = "ymHZb6wCZlrtKb+T+iOL17jyN8IzA7s52uiamUIkWNI=";
2121
# };
2222
# }).extend(self: super: {
23-
# typst-symbols = self.callHackage "typst-symbols" "0.1.7" {};
24-
# typst = self.callHackage "typst" "0.7" {};
25-
# texmath = self.callHackage "texmath" "0.12.10" {};
23+
# citeproc = pkgs.haskell.lib.dontCheck (self.callHackage "citeproc" "0.9.0.1" {});
24+
# commonmark-pandoc = self.callHackage "commonmark-pandoc" "0.2.3" {};
25+
# typst-symbols = self.callHackage "typst-symbols" "0.1.8.1" {};
26+
# typst = self.callHackage "typst" "0.8" {};
27+
# texmath = self.callHackage "texmath" "0.12.10.2" {};
2628
# toml-parser = self.callHackage "toml-parser" "2.0.1.2" {};
2729
# });
2830

0 commit comments

Comments
 (0)