arm-trusted-firmware: remove version parameter#185004
Merged
SuperSandro2000 merged 1 commit intomasterfrom Aug 13, 2022
unknown repository
Merged
arm-trusted-firmware: remove version parameter#185004SuperSandro2000 merged 1 commit intomasterfrom unknown repository
SuperSandro2000 merged 1 commit intomasterfrom
unknown repository
Conversation
This comment was marked as outdated.
This comment was marked as outdated.
Author
|
Squashed. |
The arm-trusted-firmware/default.nix expression exposes `buildArmTrustedFirmware` and its `version?"2.7"` field to `top-level/all-packages.nix`. Unfortunately it doesn't work. Changing the version field doesn't change what version of the ATF source code is used. Attempting to "lock" an installation to a specific version by overriding this field (e.g. version="2.7") won't work either; when nixpkgs bumps the version to 2.8 the user will end up building the 2.8 source code but the resulting expression will be labeled misleadingly in the store: ``` /nix/store/eeee...-arm-trusted-firmware-2.7/ ``` **using the 2.8 source code**. So not only does `version` not lock the version, it will actually *conceal* the fact that the underlying source code has been upgraded! Let's just remove the `version` field. It doesn't work and never did. #185004 (comment) Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description of changes
The arm-trusted-firmware/default.nix expression exposes
buildArmTrustedFirmwareand itsversion?"2.7"field totop-level/all-packages.nix.` Unfortunately it doesn't work. Changing the version field doesn't change what version of the ATF source code is used. Attempting to "lock" an installation to a specific version by overriding this field (e.g. version="2.7") won't work either; when nixpkgs bumps the version to 2.8 the user will endup building the 2.8 source code but the resulting expression will be labeled misleadingly in the store:
using the 2.8 source code. So not only does
versionnot lockthe version, it will actually conceal the fact that the underlying
source code has been upgraded!
Let's just remove the
versionfield. It doesn't work and never did.Things done
x86_64-linux)./result/bin/)