diff --git a/Cargo.lock b/Cargo.lock index 00c8188..7ddc15b 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -322,9 +322,9 @@ checksum = "6db9c683daf087dc577b7506e9695b3d556a9f3849903fa28186283afd6809e9" [[package]] name = "log" -version = "0.4.26" +version = "0.4.27" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "30bde2b3dc3671ae49d8e2e9f044c7c005836e7a023ee57cffa25ab82764bb9e" +checksum = "13dc2df351e3202783a1fe0d44375f7295ffb4049267b0f3018346dc122a1d94" [[package]] name = "memchr" diff --git a/nix-script-directives/Cargo.toml b/nix-script-directives/Cargo.toml index d6f7093..a344a29 100644 --- a/nix-script-directives/Cargo.toml +++ b/nix-script-directives/Cargo.toml @@ -5,7 +5,7 @@ edition = "2021" [dependencies] anyhow = "1.0.97" -log = "0.4.26" +log = "0.4.27" rnix = "0.12.0" rowan = "0.15.16" serde = { version = "1.0.219", features = [ "derive" ] } diff --git a/nix-script-haskell/Cargo.toml b/nix-script-haskell/Cargo.toml index e0a340a..fffa022 100644 --- a/nix-script-haskell/Cargo.toml +++ b/nix-script-haskell/Cargo.toml @@ -7,7 +7,7 @@ edition = "2021" anyhow = "1.0.97" clap = { version = "4.5.34", features = [ "std", "color", "suggestions", "derive", "cargo", "env" ] } nix-script-directives = { path = "../nix-script-directives" } -log = "0.4.26" +log = "0.4.27" env_logger = "0.11.6" [dev-dependencies] diff --git a/nix-script/Cargo.toml b/nix-script/Cargo.toml index 1988d71..d9a89cf 100644 --- a/nix-script/Cargo.toml +++ b/nix-script/Cargo.toml @@ -10,7 +10,7 @@ directories = "6.0.0" env_logger = "0.11.6" fs2 = "0.4.3" lazy_static = "1.5.0" -log = "0.4.26" +log = "0.4.27" nix-script-directives = { path = "../nix-script-directives" } once_cell = "1.21.3" path-absolutize = "3.1.1" diff --git a/nix-script/src/builder.rs b/nix-script/src/builder.rs index 4a14d24..383df4d 100644 --- a/nix-script/src/builder.rs +++ b/nix-script/src/builder.rs @@ -157,7 +157,7 @@ impl Builder { .context("could not prepare derivation to build")?; log::debug!("writing derivation to {}", build_path.display()); - log::trace!("derivation contents: {}", derivation.to_string()); + log::trace!("derivation contents: {}", derivation); fs::write(build_path.join("default.nix"), derivation.to_string()) .context("could not write derivation contents")?; }