diff --git a/CHANGELOG.md b/CHANGELOG.md index 46ae80c..bd4a0ef 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## Added +- `input` parameter to `mkPlatform` for C. This controls what target + gets used for dependent components. + +## Removed +- `targetName` no longer gets sent to the `mk*` functions for C. + ## [4.1.5] - 2024-09-13 ## Fixed diff --git a/c/default.nix b/c/default.nix index b763d87..267d925 100644 --- a/c/default.nix +++ b/c/default.nix @@ -37,6 +37,7 @@ let , pkgs , stdenv ? pkgs.stdenv , output ? name + , input ? output , platformOverrides ? _: { } , factoryOverrides ? { } }@args: @@ -45,7 +46,7 @@ let (import ./make-derivation.nix platformOverrides) ({ inherit base stdenv components; - targetName = output; + targetName = input; mathjax = mathjax'; } // factoryOverrides); diff --git a/c/make-derivation.nix b/c/make-derivation.nix index 90cc973..1687483 100644 --- a/c/make-derivation.nix +++ b/c/make-derivation.nix @@ -189,5 +189,5 @@ in lib.makeOverridable fn ( builtins.intersectAttrs (builtins.functionArgs attrsFn) - (pkgs // splicedComponents // { inherit targetName; }) + (pkgs // splicedComponents // { inherit stdenv; }) )