Skip to content

nixos/acme: Fix postRun in acme certificate being ran at every run#85366

Merged
worldofpeace merged 1 commit intoNixOS:release-20.03from
immae:fix_acme_postrun_20_03
Apr 18, 2020
Merged

nixos/acme: Fix postRun in acme certificate being ran at every run#85366
worldofpeace merged 1 commit intoNixOS:release-20.03from
immae:fix_acme_postrun_20_03

Conversation

@immae
Copy link
Contributor

@immae immae commented Apr 16, 2020

Motivation for this change

Backport of #85365 to 20.03

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"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Determined the impact on package closure size (by running nix path-info -S before and after)
  • Ensured that relevant documentation is up to date
  • Fits CONTRIBUTING.md.

@immae immae mentioned this pull request Apr 16, 2020
4 tasks
@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: 0 This PR does not cause any packages to rebuild on Linux. labels Apr 16, 2020
Copy link
Member

Choose a reason for hiding this comment

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

is this : a typo or is this a bash-ism i dont know?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It’s a bash-ism you don’t know :)
It’s noop

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I may replace it with a better-known true if you’re more comfortable

Copy link
Member

Choose a reason for hiding this comment

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

It's fine

@arianvp
Copy link
Member

arianvp commented Apr 16, 2020

@GrahamcOfBorg test acme

@emilazy emilazy mentioned this pull request Apr 16, 2020
10 tasks
@arianvp
Copy link
Member

arianvp commented Apr 17, 2020

cc @worldofpeace

@worldofpeace
Copy link
Contributor

The commit message doesn't match contribution guidelines. Should be like nixos/acme: Fix...

@immae immae force-pushed the fix_acme_postrun_20_03 branch from fae2bd6 to e551bde Compare April 17, 2020 20:19
@immae
Copy link
Contributor Author

immae commented Apr 17, 2020

The commit message doesn't match contribution guidelines. Should be like nixos/acme: Fix...

Updated @worldofpeace

@worldofpeace
Copy link
Contributor

@immae I think you forgot to use -x for cherry-pick, or was it not pickable?

@immae immae force-pushed the fix_acme_postrun_20_03 branch from e551bde to ed20edf Compare April 17, 2020 21:51
@immae
Copy link
Contributor Author

immae commented Apr 17, 2020

@immae I think you forgot to use -x for cherry-pick, or was it not pickable?

No, it’s just not in my practices. I fixed that

@worldofpeace worldofpeace changed the title Fix postRun in acme certificate being ran at every run nixos/acme: Fix postRun in acme certificate being ran at every run Apr 18, 2020
@worldofpeace worldofpeace merged commit a17e021 into NixOS:release-20.03 Apr 18, 2020
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: 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.

3 participants