Skip to content

launchd: fix undefined variable in activation script#2763

Merged
berbiche merged 1 commit intonix-community:masterfrom
midchildan:fix/launchd
Feb 26, 2022
Merged

launchd: fix undefined variable in activation script#2763
berbiche merged 1 commit intonix-community:masterfrom
midchildan:fix/launchd

Conversation

@midchildan
Copy link
Copy Markdown
Contributor

Description

Fixes #2762. The activation script fails due to an undefined variable if the previous generation had LaunchAgents enabled.

Checklist

  • Change is backwards compatible.

  • Code formatted with ./format.

  • Code tested through nix-shell --pure tests -A run.all.

  • Test cases updated/added. See example.

  • Commit messages are formatted like

    {component}: {description}
    
    {long description}
    

    See CONTRIBUTING for more information and recent commit messages for examples.

  • If this PR adds a new module

    • Added myself as module maintainer. See example.

    • Added myself and the module files to .github/CODEOWNERS.

Copy link
Copy Markdown
Member

@winterqt winterqt left a comment

Choose a reason for hiding this comment

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

Tested and working.

@berbiche berbiche merged commit ccd00e3 into nix-community:master Feb 26, 2022
@berbiche
Copy link
Copy Markdown
Member

Thanks!

@midchildan midchildan deleted the fix/launchd branch February 27, 2022 03:57
teto pushed a commit to teto/home-manager that referenced this pull request Mar 2, 2022
@teto teto mentioned this pull request Aug 22, 2022
7 tasks
teto pushed a commit to teto/home-manager that referenced this pull request Aug 22, 2022
spacekookie pushed a commit to spacekookie/home-manager that referenced this pull request Feb 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

bug: activate: line 115: err: unbound variable

3 participants