Skip to content

Run userActivationScripts at login - #113241

Merged
Artturin merged 2 commits into
NixOS:masterfrom
chkno:user-activation-scripts
Sep 18, 2021
Merged

Artturin merged 2 commits into
NixOS:masterfrom
chkno:user-activation-scripts

Conversation

@chkno

@chkno chkno commented Feb 15, 2021

Copy link
Copy Markdown
Member
Motivation for this change

Fixes #113240 - ensures that userActivationScripts have always already run.

Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
  • Built on platform(s)
    • NixOS
    • macOS
    • other Linux distributions
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
  • Ensured that relevant documentation is up to date
  • Fits CONTRIBUTING.md.

FYI: @peterhoeg

@ofborg ofborg 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/` 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. labels Feb 15, 2021
Comment thread nixos/tests/user-activation-scripts.nix Resolved
@chkno
chkno force-pushed the user-activation-scripts branch from 96a32a7 to df25ca8 Compare February 16, 2021 18:12
@cole-h

cole-h commented Feb 16, 2021

Copy link
Copy Markdown
Member

@ofborg test user-activation-scripts

@cole-h cole-h left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Diff LGTM.

@stale

stale Bot commented Aug 17, 2021

Copy link
Copy Markdown

I marked this as stale due to inactivity. → More info

@stale stale Bot added the 2.status: stale https://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md label Aug 17, 2021
@aanderse
aanderse requested a review from peterhoeg August 17, 2021 13:38
@stale stale Bot removed the 2.status: stale https://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md label Aug 17, 2021
@Artturin

Copy link
Copy Markdown
Member

@ofborg test user-activation-scripts

@Artturin
Artturin merged commit e7b6d11 into NixOS:master Sep 18, 2021
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 This PR causes between 1 and 10 packages to rebuild on Linux.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

userActivationScripts do not run on login

3 participants