Skip to content

Commit

Permalink
Don't use split check for plutus-playground-server
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelpj committed Dec 6, 2018
1 parent e7ac9a3 commit 0c38fdc
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions default.nix
Expand Up @@ -84,10 +84,17 @@ let
pkgsGenerated = ./pkgs;
filter = localLib.isPlutus;
filterOverrides = {
# split check is broken for things with test tool dependencies
splitCheck = let
pkgList = pkgs.lib.remove "plutus-use-cases" (pkgs.lib.remove "plutus-tx" localLib.plutusPkgList);
in name: builtins.elem name pkgList;
dontSplit = [
# Broken for things with test tool dependencies
"plutus-use-cases"
"plutus-tx"
# Broken for things which pick up other files at test runtime
"plutus-playground-server"
];
# Split only local packages not in the don't split list
doSplit = builtins.filter (name: !(builtins.elem name dontSplit)) localLib.plutusPkgList;
in name: builtins.elem name doSplit;
};
requiredOverlay = ./nix/overlays/required.nix;
};
Expand Down

0 comments on commit 0c38fdc

Please sign in to comment.