Skip to content

Commit

Permalink
Fix content addressing/filtering issue
Browse files Browse the repository at this point in the history
  • Loading branch information
hamishmack committed May 13, 2022
1 parent 5bff9d6 commit 3d0a139
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions lib/ghcjs-project.nix
Expand Up @@ -86,7 +86,7 @@ let
]
++ [ ghc cabal-install emsdk ];
# Configured the GHCJS source
configured-src = pkgs.runCommandCC "configured-ghcjs-src" {
configured-src = (pkgs.runCommandCC "configured-ghcjs-src" {
buildInputs = configureInputs;
inherit src;
} ''
Expand Down Expand Up @@ -129,7 +129,10 @@ let
for a in integer-gmp base unix; do
cp ${../overlays/patches/config.sub} lib/boot/pkg/$a/config.sub
done
'';
'') // {
# The configured source includes /nix/store paths and so filtering can fail.
filterPath = { path, ... }: path;
};
# see https://github.com/ghcjs/ghcjs/issues/751 for the happy upper bound.

ghcjsProject = pkgs.haskell-nix.cabalProject' (
Expand Down

0 comments on commit 3d0a139

Please sign in to comment.