on iko/ghcjs-patch-master help sign in
Use combinePath instead of + for data files. (#1007)

Makes sure "/" character is added when needed.

commite6ba58f72fa787330ada12b31281bb1c87369cc3 authorHamish Mackenzie <Hamish.Mackenzie@iohk.io> dateWed 20 Jan 2021, 18:22 (6 years ago) parent38a66f7
1 file changed+1−1
lib/clean-cabal-component.nix+1−1
lib/clean-cabal-component.nix+1−1
@@ -64,7 +64,7 @@ in
6464 [dataDir]
6565 ++ hsSourceDirs
6666 ++ includeDirs
67− ++ builtins.map (f: dataDir + f) package.dataFiles
67+ ++ builtins.map (f: combinePaths dataDir f) package.dataFiles
6868 ++ otherSourceFiles
6969 ++ builtins.map (d: combinePaths subDir d) (
7070 # These need the subDir added