Skip to content

Commit

Permalink
Merge of #12452
Browse files Browse the repository at this point in the history
  • Loading branch information
mergify[bot] authored Feb 12, 2025
2 parents 9e83b1a + 4aba8ad commit 640943c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/libexpr/eval.cc
Original file line number Diff line number Diff line change
Expand Up @@ -2365,7 +2365,7 @@ StorePath EvalState::copyPathToStore(NixStringContext & context, const SourcePat
: [&]() {
auto dstPath = fetchToStore(
*store,
path.resolveSymlinks(),
path.resolveSymlinks(SymlinkResolution::Ancestors),
settings.readOnlyMode ? FetchMode::DryRun : FetchMode::Copy,
path.baseName(),
ContentAddressMethod::Raw::NixArchive,
Expand Down
2 changes: 1 addition & 1 deletion tests/functional/simple.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ echo "output path is $outPath"
[[ ! -w $outPath ]]

text=$(cat "$outPath/hello")
if test "$text" != "Hello World!"; then exit 1; fi
[[ "$text" = "Hello World!" ]]

TODO_NixOS

Expand Down

0 comments on commit 640943c

Please sign in to comment.