Skip to content

Commit

Permalink
Add subdir to src for each packages
Browse files Browse the repository at this point in the history
  • Loading branch information
jbgi committed Oct 26, 2020
1 parent 20eed1a commit bf5921a
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions nix/haskell.nix
Expand Up @@ -34,6 +34,15 @@ let
allow-newer: terminfo:base
'';
modules = [
{
packages = lib.genAttrs projectPackages (name : {
src = haskell-nix.haskellLib.cleanGit {
name = "cardano-node-src";
src = ../.;
subDir = projectPackages.${name}.src.origSubDir;
};
});
}
# Allow reinstallation of Win32
({ pkgs, ... }: lib.mkIf pkgs.stdenv.hostPlatform.isWindows {
nonReinstallablePkgs =
Expand Down

0 comments on commit bf5921a

Please sign in to comment.