1
1
mirror of https://github.com/nix-community/dream2nix.git synced 2024-12-15 09:42:08 +03:00

fix: path of path dependencies not computer correctly

This commit is contained in:
DavHau 2022-03-10 14:41:29 +07:00
parent 3f46f3fad2
commit ae169b42ac
2 changed files with 1 additions and 3 deletions

View File

@ -180,7 +180,6 @@
cp -r ${./.} $out cp -r ${./.} $out
chmod +w $out chmod +w $out
mkdir $out/external mkdir $out/external
ls -lah ${externalDir}
cp -r ${externalDir}/* $out/external/ cp -r ${externalDir}/* $out/external/
''; '';

View File

@ -25,8 +25,7 @@
then then
if lib.isStorePath source.path if lib.isStorePath source.path
then source.path then source.path
# assume path relative to main package source else "${overriddenSources."${source.rootName}"."${source.rootVersion}"}/${source.path}"
else "${overriddenSources."${defaultPackage}"."${defaultPackageVersion}"}/${source.path}"
else if fetchers.fetchers ? "${source.type}" else if fetchers.fetchers ? "${source.type}"
then then
fetchSource { fetchSource {