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:
parent
3f46f3fad2
commit
ae169b42ac
src
@ -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/
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
@ -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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user