From 8908beaf744c2e4ac7eda1f2c182b931575faa09 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Mon, 9 Feb 2026 22:36:21 +0100 Subject: [PATCH] buildCrystalPackage: move env variable(s) into env for structuredAttrs --- pkgs/development/compilers/crystal/build-package.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pkgs/development/compilers/crystal/build-package.nix b/pkgs/development/compilers/crystal/build-package.nix index 7914b7d7771e..f4044b6a7781 100644 --- a/pkgs/development/compilers/crystal/build-package.nix +++ b/pkgs/development/compilers/crystal/build-package.nix @@ -108,9 +108,11 @@ stdenv.mkDerivation ( ++ [ "runHook postConfigure" ] )); - CRFLAGS = lib.concatStringsSep " " defaultOptions; + env = { + CRFLAGS = lib.concatStringsSep " " defaultOptions; - PREFIX = placeholder "out"; + PREFIX = placeholder "out"; + }; inherit enableParallelBuilding; strictDeps = true;