Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nixos/bash-completion: add completion.package option, drop with lib #291552

Merged

Conversation

SuperSandro2000
Copy link
Member

@SuperSandro2000 SuperSandro2000 commented Feb 26, 2024

This allows to easily test bash-completion updates without triggering a mass rebuild locally.

Description of changes

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.05 Release Notes (or backporting 23.05 and 23.11 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: nixos Issues or PRs affecting NixOS modules, or package usability issues specific to NixOS 8.has: module (update) This PR changes an existing module in `nixos/` labels Feb 26, 2024
@ofborg ofborg bot added 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin 10.rebuild-linux: 1-10 labels Feb 26, 2024
@wegank wegank added the 2.status: merge conflict This PR has merge conflicts with the target branch label May 3, 2024
@SuperSandro2000 SuperSandro2000 changed the title nixos/bash-completion: add completionPackage option, drop with lib nixos/bash-completion: add completion.package option, drop with lib May 18, 2024
@SuperSandro2000 SuperSandro2000 force-pushed the bash-completion-package-option branch 2 times, most recently from b0c8d14 to 6705659 Compare May 18, 2024 19:23
@ofborg ofborg bot removed the 2.status: merge conflict This PR has merge conflicts with the target branch label May 18, 2024
@SuperSandro2000
Copy link
Member Author

Tested this with #310322 and works great.

@ofborg ofborg bot added 10.rebuild-darwin: 1-10 and removed 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin labels May 18, 2024
…package option, drop with lib

This allows to easily test bash-completion updates without triggering a mass rebuild locally.
@ofborg ofborg bot added 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin and removed 10.rebuild-darwin: 1-10 labels Jun 6, 2024
@SuperSandro2000 SuperSandro2000 merged commit 345330c into NixOS:master Jun 6, 2024
22 checks passed
@SuperSandro2000 SuperSandro2000 deleted the bash-completion-package-option branch June 6, 2024 13:22
isabelroses added a commit to isabelroses/nix-darwin that referenced this pull request Sep 30, 2024
isabelroses added a commit to isabelroses/nix-darwin that referenced this pull request Oct 8, 2024
arulagrawal added a commit to arulagrawal/nix-darwin that referenced this pull request Oct 22, 2024
* fix: initdb missing data area directory

Use `PGDATA` environment variable instead of `-D` to maintain
consistency with NixOS module.

Co-Authored-By: Michael Hoang <enzime@users.noreply.github.com>

* Use the correct file location for `SoftwareUpdate` plist.

* flake: match NixOS definition of `nixpkgs.flake.source`

Closes: LnL7#1082

* feat: use wait4path with script launchd option

addresses LnL7#1043

fix: use exec in launchd daemon config

fix: dont use a script thats in the nix store

fix: remove manual wait4path in linux-builder

fix: remove manual wait4path in karabiner elements

fix: remove manual wait4path in nix-daemon

fix: remove manual wait4path in nix-optimise

fix: remove manual wait4path in tailscaled

fix: autossh test

Revert "fix: remove manual wait4path in nix-daemon"

This reverts commit 6aec084.

fix: remove bad exec

Reapply "fix: remove manual wait4path in nix-daemon"

This reverts commit c8f136e.

fix: update autossh test

to reflect changes in f86e613

fix: services-activate-system-changed-label-prefix test

fix: services-buildkite-agent test

fix: services-activate-system test

fix: escape ampersand

fix: services-lorri test

fix: services-nix-optimise test

fix: services-nix-gc test

refactor: use script rather than command in daemon

fix: use config.command for clarity

style: fix indentation

fix: use lib.getExe rather than directly pointing to file

revert: a87fc7b

- mistaken refactor meant that service waited for nix store and not the relevant path

* fix: karabiner elements virtualhiddeviceclient

- command needed to be quoted

* Adding option for slow-motion-allowed;

This was inspired by a recent Daring Fireball post where I was reminded about
this feature and how it's missing from being able to configure it in Nix-Darwin.

[https://daringfireball.net/linked/2024/09/28/hidden-pref-to-restore-slow-motion-dock-minimizing-on-macos]()

* fix: remove deprecated lib.mdDoc

* add JankyBorders option order and set below by default (values: above/below)

* Update modules/services/jankyborders/default.nix

Co-authored-by: Michael Hoang <Enzime@users.noreply.github.com>

* push change to jankyborders test

* netdata: add netdata service in nix-darwin.

* programs/bash: move to completion.*

a port of NixOS/nixpkgs#291552 for darwin

* defaults: don't output Dock PID

* skhd: add `skhd` to `PATH`

* ci: don't run tests twice for PRs from forks

By only triggering on pushes to `master`, when users push to
non-`master` branches on forks, this workflow won't get triggered and
will only get triggered when users make a PR to the main repo.

* ci: update Nix to match versions in nixpkgs

---------

Co-authored-by: Francesc Esplugas <2720+fesplugas@users.noreply.github.com>
Co-authored-by: Michael Hoang <enzime@users.noreply.github.com>
Co-authored-by: Mike Moore <emmceemoore@gmail.com>
Co-authored-by: Emily <vcs@emily.moe>
Co-authored-by: will <will.bradshaw50@gmail.com>
Co-authored-by: Roger Steve Ruiz <hi@rog.gr>
Co-authored-by: isabel <isabel@isabelroses.com>
Co-authored-by: aspauldingcode <aspauldingcode@gmail.com>
Co-authored-by: Rohit Singh <rsrohitsingh682@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
6.topic: nixos Issues or PRs affecting NixOS modules, or package usability issues specific to NixOS 8.has: module (update) This PR changes an existing module in `nixos/` 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin 10.rebuild-linux: 1-10
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants