From a43b8f328558cfef833b633fe35104057c50aefc Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sat, 13 Dec 2025 13:44:13 +0100 Subject: [PATCH] haskell.compiler.ghc*Binary: fix build with structuredAttrs --- pkgs/development/compilers/ghc/9.0.2-binary.nix | 2 +- pkgs/development/compilers/ghc/9.8.4-binary.nix | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/compilers/ghc/9.0.2-binary.nix b/pkgs/development/compilers/ghc/9.0.2-binary.nix index 4239212f2879..cc3eb43b8ac0 100644 --- a/pkgs/development/compilers/ghc/9.0.2-binary.nix +++ b/pkgs/development/compilers/ghc/9.0.2-binary.nix @@ -250,7 +250,7 @@ stdenv.mkDerivation { # of the bindist installer can find the libraries they expect. # Cannot patchelf beforehand due to relative RPATHs that anticipate # the final install location. - ${libEnvVar} = libPath; + env.${libEnvVar} = libPath; postUnpack = # Verify our assumptions of which `libtinfo.so` (ncurses) version is used, diff --git a/pkgs/development/compilers/ghc/9.8.4-binary.nix b/pkgs/development/compilers/ghc/9.8.4-binary.nix index 35f692d41eb5..c19b35a51a61 100644 --- a/pkgs/development/compilers/ghc/9.8.4-binary.nix +++ b/pkgs/development/compilers/ghc/9.8.4-binary.nix @@ -232,7 +232,7 @@ stdenv.mkDerivation { # of the bindist installer can find the libraries they expect. # Cannot patchelf beforehand due to relative RPATHs that anticipate # the final install location. - ${libEnvVar} = libPath; + env.${libEnvVar} = libPath; postUnpack = # Verify our assumptions of which `libtinfo.so` (ncurses) version is used,