diff options
| author | John MacFarlane <[email protected]> | 2025-05-17 09:42:15 -0700 |
|---|---|---|
| committer | John MacFarlane <[email protected]> | 2025-05-17 09:42:15 -0700 |
| commit | cc4ccb07e39a90dc0ebcf87e50e95c9abfe62499 (patch) | |
| tree | 913b438061c2a70c71e74761774da4a6bca3a83b /flake.nix | |
| parent | a3230bbceb90b42e97d2535be7ed682f8a3dafac (diff) | |
flake.nix: improve comments about overriding dependencies.
Diffstat (limited to 'flake.nix')
| -rw-r--r-- | flake.nix | 14 |
1 files changed, 8 insertions, 6 deletions
@@ -12,17 +12,19 @@ pkgs = nixpkgs.legacyPackages.${system}; haskellPackages = pkgs.haskellPackages; - # Or, override some dependencies as follows: # haskellPackages = (pkgs.haskellPackages.override { # all-cabal-hashes = pkgs.fetchurl { - # url = "https://github.com/commercialhaskell/all-cabal-hashes/archive/c10b0447a6de06e7d226477787225fa1136abb95.tar.gz"; - # sha256 = "9XkvkmfiRvkqGw9dpgTPXXdjaOQN1W9j1dOEDwUGnwM="; + # # The hash in the URL is just a git commit hash + # url = "https://github.com/commercialhaskell/all-cabal-hashes/archive/2e3f153549871ada6ecbf36719339a5da051bc76.tar.gz"; + # sha256 = "ymHZb6wCZlrtKb+T+iOL17jyN8IzA7s52uiamUIkWNI="; # }; # }).extend(self: super: { - # typst-symbols = self.callHackage "typst-symbols" "0.1.7" {}; - # typst = self.callHackage "typst" "0.7" {}; - # texmath = self.callHackage "texmath" "0.12.10" {}; + # citeproc = pkgs.haskell.lib.dontCheck (self.callHackage "citeproc" "0.9.0.1" {}); + # commonmark-pandoc = self.callHackage "commonmark-pandoc" "0.2.3" {}; + # typst-symbols = self.callHackage "typst-symbols" "0.1.8.1" {}; + # typst = self.callHackage "typst" "0.8" {}; + # texmath = self.callHackage "texmath" "0.12.10.2" {}; # toml-parser = self.callHackage "toml-parser" "2.0.1.2" {}; # }); |
