Skip to content

Commit

Permalink
fix index-state and version of tools to avoid rebuilds and compile er…
Browse files Browse the repository at this point in the history
…rors
  • Loading branch information
jbgi committed Jan 18, 2023
1 parent 4ed079e commit 262677a
Showing 1 changed file with 6 additions and 9 deletions.
15 changes: 6 additions & 9 deletions nix/pkgs.nix
Original file line number Diff line number Diff line change
Expand Up @@ -9,29 +9,26 @@ final: prev: with final; {
cardanoNodeProject.hsPkgs))
(name: lib.attrNames cardanoNodeProject.pkg-set.options.packages.value.${name}.components.exes);

cabal = haskell-nix.tool compiler-nix-name "cabal" {
version = "latest";
inherit (cardanoNodeProject) index-state;
};
cabal = haskell-nix.cabal-install.${compiler-nix-name};

hlint = haskell-nix.tool compiler-nix-name "hlint" {
version = "3.2.7";
inherit (cardanoNodeProject) index-state;
index-state = "2022-09-27T00:00:00Z";
};

ghcid = haskell-nix.tool compiler-nix-name "ghcid" {
version = "0.8.7";
inherit (cardanoNodeProject) index-state;
index-state = "2022-09-27T00:00:00Z";
};

haskell-language-server = haskell-nix.tool compiler-nix-name "haskell-language-server" {
version = "latest";
inherit (cardanoNodeProject) index-state;
version = "1.8.0.0";
index-state = "2022-09-27T00:00:00Z";
};

haskellBuildUtils = prev.haskellBuildUtils.override {
inherit compiler-nix-name;
inherit (cardanoNodeProject) index-state;
index-state = "2022-09-27T00:00:00Z";
};

cardanolib-py = callPackage ./cardanolib-py { };
Expand Down

0 comments on commit 262677a

Please sign in to comment.