mirror of
https://github.com/nix-community/dream2nix.git
synced 2024-12-15 01:32:04 +03:00
fix: path of path dependencies not computer correctly
This commit is contained in:
parent
3f46f3fad2
commit
ae169b42ac
@ -180,7 +180,6 @@
|
||||
cp -r ${./.} $out
|
||||
chmod +w $out
|
||||
mkdir $out/external
|
||||
ls -lah ${externalDir}
|
||||
cp -r ${externalDir}/* $out/external/
|
||||
'';
|
||||
|
||||
|
@ -25,8 +25,7 @@
|
||||
then
|
||||
if lib.isStorePath source.path
|
||||
then source.path
|
||||
# assume path relative to main package source
|
||||
else "${overriddenSources."${defaultPackage}"."${defaultPackageVersion}"}/${source.path}"
|
||||
else "${overriddenSources."${source.rootName}"."${source.rootVersion}"}/${source.path}"
|
||||
else if fetchers.fetchers ? "${source.type}"
|
||||
then
|
||||
fetchSource {
|
||||
|
Loading…
Reference in New Issue
Block a user