Skip to content

Revert "lib/options: Use escapeNixIdentifier for showOption"#85241

Merged
infinisil merged 2 commits intoNixOS:masterfrom
LnL7:show-option
Apr 15, 2020
Merged

Revert "lib/options: Use escapeNixIdentifier for showOption"#85241
infinisil merged 2 commits intoNixOS:masterfrom
LnL7:show-option

Conversation

@LnL7
Copy link
Member

@LnL7 LnL7 commented Apr 14, 2020

Motivation for this change

This is used in in the manual generation for option identifiers that can
be linked. This, unike what the example describes, doesn't preserve
quotes which is needed for these identifiers to be valid.

/cc @infinisil @jtojnar

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.

This is used in in the manual generation for option identifiers that can
be linked. This, unike what the example describes, doesn't preserve
quotes which is needed for these identifiers to be valid.

This reverts commit 124cccb.
@LnL7 LnL7 requested review from edolstra, infinisil and nbp as code owners April 14, 2020 18:38
@ofborg ofborg bot added 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 14, 2020
@LnL7 LnL7 changed the title Show option Revert "lib/options: Use escapeNixIdentifier for showOption" Apr 14, 2020
@infinisil infinisil merged commit 9f2463c into NixOS:master Apr 15, 2020
@infinisil infinisil mentioned this pull request Apr 15, 2020
1 task
@LnL7 LnL7 deleted the show-option branch April 15, 2020 10:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

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.

2 participants