Skip to content

treewide: remove some unused shell scripts / hooks#356254

Merged
emilazy merged 8 commits intoNixOS:masterfrom
wolfgangwalther:remove-unused-scripts
Nov 16, 2024
Merged

treewide: remove some unused shell scripts / hooks#356254
emilazy merged 8 commits intoNixOS:masterfrom
wolfgangwalther:remove-unused-scripts

Conversation

@wolfgangwalther
Copy link
Contributor

Found those while looking through shell scripts in #353490 for a while.

None of them are in use anymore.

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/)
  • 25.05 Release Notes (or backporting 24.11 and 25.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.

@github-actions github-actions bot added 6.topic: qt/kde Object-oriented framework for GUI creation 6.topic: printing Drivers, CUPS & Co. 6.topic: lua Lua is a powerful, efficient, lightweight, embeddable scripting language. labels Nov 15, 2024
@K900
Copy link
Contributor

K900 commented Nov 15, 2024

Ack on kdoctools

Copy link
Member

@emilazy emilazy left a comment

Choose a reason for hiding this comment

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

Darwin hook is unreferenced so not actually doing anything. If we need it for static builds it’s probably best to merge libcharset.a into libiconv.a instead.

@emilazy
Copy link
Member

emilazy commented Nov 16, 2024

Oh, and we literally already do it :)

Thanks for the thorough investigation work, this looks good.

@emilazy emilazy merged commit 10c0306 into NixOS:master Nov 16, 2024
@github-actions
Copy link
Contributor

Successfully created backport PR for release-24.11:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

6.topic: lua Lua is a powerful, efficient, lightweight, embeddable scripting language. 6.topic: printing Drivers, CUPS & Co. 6.topic: qt/kde Object-oriented framework for GUI creation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants