Skip to content

Commit 59ff888

Browse files
committed
Fix callCabalProjectToNix test
1 parent 9133141 commit 59ff888

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lib/call-cabal-project-to-nix.nix

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -697,6 +697,9 @@ let
697697
698698
# Remove empty dirs
699699
find $out -type d -empty -delete
700+
701+
# move pkgs.nix to default.nix ensure we can just nix `import` the result.
702+
mv $out${subDir'}/pkgs.nix $out${subDir'}/default.nix
700703
'');
701704
in {
702705
projectNix = plan-json;

0 commit comments

Comments
 (0)