Skip to content

splice.nix: remove toplevel {build,host,target}Platform in __splicedPackages#350299

Merged
Aleksanaa merged 2 commits intoNixOS:masterfrom
Artturin:splicenixplatforms
Oct 24, 2024
Merged

splice.nix: remove toplevel {build,host,target}Platform in __splicedPackages#350299
Aleksanaa merged 2 commits intoNixOS:masterfrom
Artturin:splicenixplatforms

Conversation

@Artturin
Copy link
Member

These should have been removed in ecab3ed but were not discovered.

Since these were only in __splicedPackages they were only available in callPackage, now that they are removed the entries in aliases.nix will take over.

https://www.github.com/NixOS/nixpkgs/blob/e056730f13ab6ed6d8325d4343752f7f9b9bf60b/pkgs/top-level/aliases.nix#L1817

Things done

  • Built on platform(s)
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)
    • sandbox = relaxed
    • sandbox = true
  • Tested, as applicable:
  • Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
  • Tested basic functionality of all binary files (usually in ./result/bin/)
  • 24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)
    • (Package updates) Added a release notes entry if the change is major or breaking
    • (Module updates) Added a release notes entry if the change is significant
    • (Module addition) Added a release notes entry if adding a new NixOS module
  • Fits CONTRIBUTING.md.

Add a 👍 reaction to pull requests you find important.

…Packages`

These should have been removed in ecab3ed but were not discovered.

Since these were only in `__splicedPackages` they were only available in
`callPackage`, now that they are removed the entries in aliases.nix will take over.

https://www.github.com/NixOS/nixpkgs/blob/e056730f13ab6ed6d8325d4343752f7f9b9bf60b/pkgs/top-level/aliases.nix#L1817
@github-actions github-actions bot added the 6.topic: zig Zig is an imperative, general-purpose, statically typed, compiled system programming language. label Oct 22, 2024
@nix-owners nix-owners bot requested review from emilylange and figsoda October 22, 2024 17:14
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

was unused

@github-actions github-actions bot added the 6.topic: flutter Open-source UI software development kit for cross-platform applications label Oct 23, 2024
@nix-owners nix-owners bot requested a review from RossComputerGuy October 23, 2024 01:06
@github-actions github-actions bot added the 6.topic: python Python is a high-level, general-purpose programming language. label Oct 23, 2024
@Artturin
Copy link
Member Author

Ran outpaths.nix locally so now all the uses should be gone.

@ofborg ofborg bot added 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 0 This PR does not cause any packages to rebuild on Linux. labels Oct 23, 2024
RossComputerGuy added a commit to ExpidusOS/nixpkgs that referenced this pull request Nov 21, 2024
PR NixOS#350299 broke Flutter's update script with how it handled getting the
platform. Furthermore, the problem was made worse in the last update to
Flutter which had to work around that problem. We'll just revert it for
now and do a proper fix once we can figure out how to satify setting the
different platforms without causing any more problems.
github-actions bot pushed a commit that referenced this pull request Nov 25, 2024
PR #350299 broke Flutter's update script with how it handled getting the
platform. Furthermore, the problem was made worse in the last update to
Flutter which had to work around that problem. We'll just revert it for
now and do a proper fix once we can figure out how to satify setting the
different platforms without causing any more problems.

(cherry picked from commit 1bdff91)
@Artturin Artturin deleted the splicenixplatforms branch July 23, 2025 12:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

6.topic: flutter Open-source UI software development kit for cross-platform applications 6.topic: python Python is a high-level, general-purpose programming language. 6.topic: zig Zig is an imperative, general-purpose, statically typed, compiled system programming language. 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 0 This PR does not cause any packages to rebuild on Linux.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants