Skip to content

Commit e6ba58f

Browse files
authored
Use combinePath instead of + for data files. (#1007)
Makes sure "/" character is added when needed.
1 parent 38a66f7 commit e6ba58f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/clean-cabal-component.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -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

0 commit comments

Comments
 (0)