Skip to content

Commit 71f31ce

Browse files
authored
Fix evalDeps package ids with - in name (#585)
1 parent fea02bd commit 71f31ce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

overlays/bootstrap.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ let
2121
done
2222
2323
mkdir -p $out/evalDeps
24-
for P in $($out/bin/${targetPrefix}ghc-pkg list --simple-output | sed 's/-[0-9.]*//g'); do
24+
for P in $($out/bin/${targetPrefix}ghc-pkg list --simple-output | sed 's/-[0-9][0-9.]*//g'); do
2525
touch $out/evalDeps/$P
2626
if id=$($out/bin/${targetPrefix}ghc-pkg field $P id --simple-output); then
2727
echo "package-id $id" >> $out/evalDeps/$P

0 commit comments

Comments
 (0)