From 8eba7c6f286dbe3401fd5e812af85296a89199a0 Mon Sep 17 00:00:00 2001 From: Juergen Fitschen Date: Thu, 5 Jun 2025 18:10:15 +0200 Subject: [PATCH] horizon-eda: propagate env properly --- pkgs/by-name/ho/horizon-eda/base.nix | 3 +-- pkgs/by-name/ho/horizon-eda/package.nix | 1 - pkgs/development/python-modules/horizon-eda/default.nix | 2 +- 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/pkgs/by-name/ho/horizon-eda/base.nix b/pkgs/by-name/ho/horizon-eda/base.nix index 0e931ff743a7..c3eb3d959dbd 100644 --- a/pkgs/by-name/ho/horizon-eda/base.nix +++ b/pkgs/by-name/ho/horizon-eda/base.nix @@ -56,10 +56,9 @@ rec { ]; env = { + CASROOT = opencascade-occt; }; - CASROOT = opencascade-occt; - meta = { description = "Free EDA software to develop printed circuit boards"; homepage = "https://horizon-eda.org"; diff --git a/pkgs/by-name/ho/horizon-eda/package.nix b/pkgs/by-name/ho/horizon-eda/package.nix index dcea3c1cddf0..f03763e98fc8 100644 --- a/pkgs/by-name/ho/horizon-eda/package.nix +++ b/pkgs/by-name/ho/horizon-eda/package.nix @@ -17,7 +17,6 @@ stdenv.mkDerivation { version src meta - CASROOT env ; diff --git a/pkgs/development/python-modules/horizon-eda/default.nix b/pkgs/development/python-modules/horizon-eda/default.nix index ba630bc9cfcb..c083572ed019 100644 --- a/pkgs/development/python-modules/horizon-eda/default.nix +++ b/pkgs/development/python-modules/horizon-eda/default.nix @@ -16,7 +16,7 @@ buildPythonPackage { version src meta - CASROOT + env ; pyproject = false;