mirror of
https://github.com/nix-community/dream2nix.git
synced 2024-09-19 18:37:49 +03:00
fix(rust/builders): remove IFD while using writeCargoLock
This commit is contained in:
parent
a4c4b64bd7
commit
00bef62ae7
@ -37,7 +37,7 @@ in rec {
|
||||
# Script to write the Cargo.lock if it doesn't already exist.
|
||||
writeCargoLock = ''
|
||||
if [ ! -f "$PWD/Cargo.lock" ]; then
|
||||
cp -v ${cargoLock} "$PWD/Cargo.lock"
|
||||
echo '${cargoLock}' > "$PWD/Cargo.lock"
|
||||
fi
|
||||
'';
|
||||
|
||||
@ -96,5 +96,5 @@ in rec {
|
||||
);
|
||||
lock = {inherit package;};
|
||||
in
|
||||
l.toFile "Cargo.lock" (utils.toTOML lock);
|
||||
utils.toTOML lock;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user