mirror of
https://github.com/Mic92/nix-update.git
synced 2024-09-17 13:27:27 +03:00
make cargo lock updater keep outpath links in temporary directory
This commit is contained in:
parent
37e9b32f33
commit
f80ee70b1d
@ -163,10 +163,13 @@ def update_cargo_deps_hash(opts: Options, filename: str, current_hash: str) -> N
|
||||
def update_cargo_lock(
|
||||
opts: Options, filename: str, dst: CargoLockInSource | CargoLockInStore
|
||||
) -> None:
|
||||
with tempfile.TemporaryDirectory() as tempdir:
|
||||
res = run(
|
||||
[
|
||||
"nix",
|
||||
"build",
|
||||
"--out-link",
|
||||
f"{tempdir}/result",
|
||||
"--impure",
|
||||
"--print-out-paths",
|
||||
"--expr",
|
||||
|
Loading…
Reference in New Issue
Block a user