Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Do not expliticly list local packages in shell.nix #1155

Merged
merged 1 commit into from
Nov 7, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 1 addition & 17 deletions nix/hydra/shell.nix
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ let
sha256map."https://github.com/pepeiborra/ekg-json"."7a0af7a8fd38045fd15fb13445bdcc7085325460" = "sha256-fVwKxGgM0S4Kv/4egVAAiAjV7QB5PBqMVMCfsv7otIQ=";
};

cabal-plan = pkgs.haskell-nix.tool compiler "cabal-plan" {};
cabal-plan = pkgs.haskell-nix.tool compiler "cabal-plan" { };

libs = [
pkgs.glibcLocales
Expand Down Expand Up @@ -73,22 +73,6 @@ let
];

haskellNixShell = hsPkgs.shellFor {
# NOTE: Explicit list of local packages as hoogle would not work otherwise.
# Make sure these are consistent with the packages in cabal.project.
packages = ps: with ps; [
hydra-prelude
hydra-cardano-api
hydra-test-utils
hydra-plutus-extras
plutus-cbor
plutus-merkle-tree
hydra-plutus
hydra-node
hydra-cluster
hydra-tui
hydraw
];

buildInputs = libs ++ buildInputs ++ devInputs;

withHoogle = !withoutDevTools;
Expand Down