From 6475c4c4b032dcc3fe5d7c4f38ae29c4b43b2737 Mon Sep 17 00:00:00 2001 From: nicoo Date: Sat, 25 May 2024 17:30:40 +0000 Subject: [PATCH] formats.javaProperties: Don't set `!allowSubstitutes` in `generate` builder --- pkgs/pkgs-lib/formats/java-properties/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/pkgs-lib/formats/java-properties/default.nix b/pkgs/pkgs-lib/formats/java-properties/default.nix index d3a4761f0f80..50eabb8cf3f3 100644 --- a/pkgs/pkgs-lib/formats/java-properties/default.nix +++ b/pkgs/pkgs-lib/formats/java-properties/default.nix @@ -46,7 +46,7 @@ in in attrsOf elemType; generate = name: value: - pkgs.runCommandLocal name + pkgs.runCommand name { # Requirements # ============ @@ -80,6 +80,7 @@ in # libraries, but we can't rely on this in # general. + preferLocalBuild = true; passAsFile = [ "value" ]; value = builtins.toJSON value; nativeBuildInputs = [