tvl-depot/users/sterni/nix
sterni ae422c1353 feat(sterni/nix/misc): predicate to check if isRestrictedEval
This is merely a little demonstration of nix#6579:
`users.sterni.nix.misc.isRestrictEval` returns whether the restrict-eval
setting is true or false by exploiting the aforementioned Nix bug.

Change-Id: Icca354d1cd6571cdf0804abae27aac91a18cda1e
Reviewed-on: https://cl.tvl.fyi/c/depot/+/5692
Autosubmit: sterni <sternenseemann@systemli.org>
Reviewed-by: sterni <sternenseemann@systemli.org>
Reviewed-by: tazjin <tazjin@tvl.su>
Tested-by: BuildkiteCI
2022-06-01 10:30:37 +00:00
..
char style: format entire depot with nixpkgs-fmt 2022-01-31 16:11:53 +00:00
flow style: format entire depot with nixpkgs-fmt 2022-01-31 16:11:53 +00:00
fun feat(sterni/nix/fun): implement tail call “optimization” for Nix 2022-02-15 12:52:19 +00:00
html style: format entire depot with nixpkgs-fmt 2022-01-31 16:11:53 +00:00
int style: format entire depot with nixpkgs-fmt 2022-01-31 16:11:53 +00:00
misc feat(sterni/nix/misc): predicate to check if isRestrictedEval 2022-06-01 10:30:37 +00:00
string style: format entire depot with nixpkgs-fmt 2022-01-31 16:11:53 +00:00
url style: format entire depot with nixpkgs-fmt 2022-01-31 16:11:53 +00:00
utf8 style: format entire depot with nixpkgs-fmt 2022-01-31 16:11:53 +00:00