From eda32540dd736a6566b96dcd4c0c698be137c7c7 Mon Sep 17 00:00:00 2001 From: Dmitry Bogatov Date: Sun, 19 Jul 2026 06:00:00 -0400 Subject: [PATCH] python3.pkgs.pybind11: clean redundant "out = " argument builtins.derivation Nixcpp allows passing argument to builtins.derivation that conflict with output names, but it silently ignores them. For example, derivation { name = "test"; system = builtins.currentSystem; builder = "/bin/sh"; args = ["-c" ": > $out"]; out = "banana"; } evaluates to the same derivation no matter the explicit value of "out". Any coercible value produces the same result. --- pkgs/development/python-modules/pybind11/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/pybind11/default.nix b/pkgs/development/python-modules/pybind11/default.nix index 866dc6991c50..7e09806ce552 100644 --- a/pkgs/development/python-modules/pybind11/default.nix +++ b/pkgs/development/python-modules/pybind11/default.nix @@ -21,7 +21,6 @@ let setupHook = makeSetupHook { name = "pybind11-setup-hook"; substitutions = { - out = placeholder "out"; pythonInterpreter = python.pythonOnBuildForHost.interpreter; pythonIncludeDir = "${python}/include/${python.libPrefix}"; pythonSitePackages = "${python}/${python.sitePackages}";