Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion crate2nix/Cargo.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3316,7 +3316,7 @@ rec {
# executables of the crate
# we copy to prevent std::env::current_exe() to resolve to a store location
for i in ${crate}/bin/*; do
cp "$i" "$testRoot"
cp -r "$i" "$testRoot"
done
chmod +w -R .

Expand Down
2 changes: 1 addition & 1 deletion crate2nix/templates/nix/crate2nix/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ rec {
# executables of the crate
# we copy to prevent std::env::current_exe() to resolve to a store location
for i in ${crate}/bin/*; do
cp "$i" "$testRoot"
cp -r "$i" "$testRoot"
done
chmod +w -R .

Expand Down
2 changes: 1 addition & 1 deletion sample_projects/bin_with_git_submodule_dep/Cargo.nix
Original file line number Diff line number Diff line change
Expand Up @@ -1534,7 +1534,7 @@ rec {
# executables of the crate
# we copy to prevent std::env::current_exe() to resolve to a store location
for i in ${crate}/bin/*; do
cp "$i" "$testRoot"
cp -r "$i" "$testRoot"
done
chmod +w -R .

Expand Down
2 changes: 1 addition & 1 deletion sample_projects/codegen/Cargo.nix
Original file line number Diff line number Diff line change
Expand Up @@ -709,7 +709,7 @@ rec {
# executables of the crate
# we copy to prevent std::env::current_exe() to resolve to a store location
for i in ${crate}/bin/*; do
cp "$i" "$testRoot"
cp -r "$i" "$testRoot"
done
chmod +w -R .

Expand Down
2 changes: 1 addition & 1 deletion sample_projects/sub_dir_crates/Cargo.nix
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,7 @@ rec {
# executables of the crate
# we copy to prevent std::env::current_exe() to resolve to a store location
for i in ${crate}/bin/*; do
cp "$i" "$testRoot"
cp -r "$i" "$testRoot"
done
chmod +w -R .

Expand Down