# Tweag + Nix dev update #7

**URL:** https://discourse.nixos.org/t/tweag-nix-dev-update-7/11552
**Category:** Development
**Created:** [February 16, 2021, 2:31pm UTC](https://discourse.nixos.org/t/tweag-nix-dev-update-7/11552 "2021-02-16T14:31:32Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![thufschmitt](https://discourse.nixos.org/user_avatar/discourse.nixos.org/thufschmitt/32/202_2.png) [@thufschmitt](https://discourse.nixos.org/u/thufschmitt)
#### Post date: [February 16, 2021, 2:31pm UTC](https://discourse.nixos.org/t/tweag-nix-dev-update-7/11552/1 "2021-02-16T14:31:33Z")

</div>

A short update from the Tweag Nix team for the last two weeks since [our last update](https://discourse.nixos.org/t/tweag-nix-dev-update-6/11195)

# Nix UX

- @garbas has been opening a bunch of issues suggesting some UX improvements to Nix. Some of them have already been fixed, others are still waiting or in discussion. You can see them with the [UX tag](https://github.com/NixOS/nix/issues?q=is%3Aissue+label%3AUX) on the github tracker.

- @thufschmitt also started implementing [an evaluation cache for flakes](https://github.com/NixOS/nix/pull/4511). The work isn’t over yet, but preliminary benchmarks show that this can bring some huge improvements (From veeery slow to instantaneous in some pathological cases, around 400% faster in more reasonable scenarios) at the cost of a small slowdown for uncached evaluations:

- @edolstra moved forward the documentation effort, improving the manpages ([36c4d6](https://github.com/NixOS/nix/commit/36c4d6f59247826dde32ad2e6b5a9471a9a1c911), [807d963](https://github.com/NixOS/nix/commit/807d963ee8d23e88f09e28365b045d322530c5aa))

# NixOS website

- @garbas opened two pull requests to add [a blog section](https://github.com/NixOS/nixos-homepage/pull/669) and rework the [commercial provider page](https://github.com/NixOS/nixos-homepage/pull/670)
- @garbas also fixed some issues with the new [faceted search](https://search.nixos.org/)

# NixOps

@adisbladis has been doing some important background work towards the [2.0 release](https://github.com/NixOS/nixops/issues/1242) of NixOps. In particular [he got a pre-release version into nixpkgs](https://github.com/NixOS/nixpkgs/pull/83548) for early-adopters, and [led a meeting](https://logs.nix.samueldr.com/nixops/2021-02-03#4582257) with some stakeholders to concretize the design of the new state backend system.

# Nickel

@yannham continues his work on the [Nickel](https://github.com/tweag) configuration language:

- He wrote an introductory [blog post on contracts](https://www.tweag.io/blog/2021-01-22-nickel-contracts/), which is the fundamental ingredient for both data validation and (gradual) typing in Nickel.
- As Nix, the Nickel interpreter [now detects direct infinite recursion](https://github.com/tweag/nickel/pull/276).
- Type inference outside of statically typed code [has been improved a bit](https://github.com/tweag/nickel/pull/273).
- Nickel can now [export to YAML and TOML](https://github.com/tweag/nickel/pull/281), in addition to JSON. Moreover, one can also [import JSON, YAML or TOML directly as a Nickel value](https://github.com/tweag/nickel/pull/282).
- The list type is [now parametric](https://github.com/tweag/nickel/pull/272), which makes it more expressive.

# Trustix

- @adisbladis recorded a new [compositional.fm](https://www.compositional.fm/trustix-1) episode with @garbas explaining the rationale behind it. A must-hear if you want to know more on software trusting and how Nix can help with it.

# Misc

- @edolstra [merged](https://github.com/NixOS/nix/pull/4464) and then [reverted](https://github.com/NixOS/nix/pull/4535) a change to the the way nars are stored in the binary caches
- @garbas [added a stale bot to the Nix repository](https://github.com/NixOS/nix/pull/4526) to help triaging the issues
- @infinisil opened [an hydra PR](https://github.com/NixOS/hydra/pull/866) to fix the github status badge

---

<div class="post-metadata">

### Author: ![Ninlives](https://discourse.nixos.org/user_avatar/discourse.nixos.org/ninlives/32/328_2.png) [@Ninlives](https://discourse.nixos.org/u/Ninlives)
#### Post date: [February 16, 2021, 3:57pm UTC](https://discourse.nixos.org/t/tweag-nix-dev-update-7/11552/2 "2021-02-16T15:57:57Z")

</div>

Does NixOps 2.0 supports building from a flake?

---

<div class="post-metadata">

### Author: ![adisbladis](https://discourse.nixos.org/user_avatar/discourse.nixos.org/adisbladis/32/77_2.png) [@adisbladis](https://discourse.nixos.org/u/adisbladis)
#### Post date: [February 18, 2021, 2:06pm UTC](https://discourse.nixos.org/t/tweag-nix-dev-update-7/11552/3 "2021-02-18T14:06:57Z")

</div>

Yes it does.

The exact implementation is not yet finalised and is changed in [Example NixOps State Backends by grahamc · Pull Request #1264 · NixOS/nixops · GitHub](https://github.com/NixOS/nixops/pull/1264) to only allow deploying from a local `flake.nix`, but not a remote Flake URI.
