Skip to content
This repository has been archived by the owner on Oct 27, 2022. It is now read-only.

Commit

Permalink
libstraight: fix installing derivations using fetchTarball
Browse files Browse the repository at this point in the history
`pkg.src.meta` is not set when using e.g. `fetchTarball`
  • Loading branch information
László Vaskó committed Oct 26, 2019
1 parent c564b24 commit d6c09f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libstraight.nix
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ let
else
ln -snf $psrc $REPO/${pkg.ename}
fi
${optionalString (pkg.src.meta ? homepage) ''
${optionalString ((pkg.src ? meta) && (pkg.src.meta ? homepage)) ''
if [[ ! -d $REPO/${baseNameOf pkg.src.meta.homepage} ]]; then
ln -snf $psrc $REPO/${baseNameOf pkg.src.meta.homepage}
fi
Expand Down

0 comments on commit d6c09f9

Please sign in to comment.