Skip to content

Commit

Permalink
Try #1005:
Browse files Browse the repository at this point in the history
  • Loading branch information
iohk-bors[bot] committed Jan 19, 2021
2 parents 0c3689b + 091de52 commit 1d50c97
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions lib/check.nix
Expand Up @@ -28,6 +28,12 @@ in stdenv.mkDerivation ({
# component and we want it to quietly succeed.
buildPhase = ''
mkdir $out
${
# Change to the source sub directory if there is one.
lib.optionalString (drv.srcSubDir or "" != "") ''
cd ${lib.removePrefix "/" drv.srcSubDir}
''
}
runHook preCheck
Expand Down

0 comments on commit 1d50c97

Please sign in to comment.