From dcfb3202bd9cc8b83d17cbe9b1a539120c3ddd11 Mon Sep 17 00:00:00 2001 From: David Flanagan Date: Thu, 7 Aug 2025 19:20:03 +0100 Subject: [PATCH] cue.validator: fix deprecated --strict flag The --strict flag was deprecated in CUE 0.14.0 and causes NixOS builds to fail with: '--strict is deprecated; use "jsonschema+strict:" as shown in "cue help filetypes"' Since strict validation is now the default behavior in CUE, we can safely remove this flag without changing functionality. --- pkgs/by-name/cu/cue/validator.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/by-name/cu/cue/validator.nix b/pkgs/by-name/cu/cue/validator.nix index 48c69f6c9bf1..c74c57cf93fe 100644 --- a/pkgs/by-name/cu/cue/validator.nix +++ b/pkgs/by-name/cu/cue/validator.nix @@ -15,7 +15,6 @@ cueSchemaFile: writeShellScript "validate-using-cue" '' ${cue}/bin/cue \ --all-errors \ - --strict \ vet \ --concrete \ "$1" \