Skip to content
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
4 changes: 3 additions & 1 deletion lib/load-cabal-plan.nix
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,9 @@ let
buildable = true;
} // lookupDependencies hsPkgs.pkgsBuildBuild (components.setup.depends or []) (components.setup.exe-depends or []);
};
nixFilesDir = callProjectResults.projectNix + callProjectResults.src.origSubDir or "";
# We use unsafeDiscardStringContext to ensure that we don't query this derivation when importing
# each package. The cost can be very high when using a remote store, as we need to do a network call.
nixFilesDir = builtins.unsafeDiscardStringContext callProjectResults.projectNix.outPath + callProjectResults.src.origSubDir or "";
in {
# This replaces the `plan-nix/default.nix`
pkgs = (hackage: {
Expand Down
Loading