Skip to content

Commit 898d7a4

Browse files
authored
fixup: self-test when using Determinate (#1407)
1 parent ce26f68 commit 898d7a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/self_test.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ impl Shell {
105105
.as_millis();
106106

107107
command.arg(format!(
108-
r#"nix build --option substitute false --no-link --expr 'derivation {{ name = "self-test-{executable}-{timestamp_millis}"; system = "{SYSTEM}"; builder = "/bin/sh"; args = ["-c" "echo hello > \$out"]; }}'"#
108+
r#"nix build --option substitute false --option post-build-hook '' --no-link --expr 'derivation {{ name = "self-test-{executable}-{timestamp_millis}"; system = "{SYSTEM}"; builder = "/bin/sh"; args = ["-c" "echo hello > \$out"]; }}'"#
109109
));
110110
let command_str = format!("{:?}", command.as_std());
111111

0 commit comments

Comments
 (0)