cdepillabout / cdepillabout/stacklock2nix

use builtins.fromYAML

Open
#11 0 comments 0 reactions 0 assignees View on GitHub
enhancement good first issue help wanted
Dominant language
Nix
Stars
57
Forks
11
PR merge metrics
No merged PRs in 30d

Description

There is currently a PR to add a `fromYAML` builtin to Nix:

https://github.com/NixOS/nix/pull/7340

`stacklock2nix` should switch to using this if it gets merged. This will remove one use of IFD (for reading the `stack.yaml` and `stack.yaml.lock` files).

Note that we can't out-right remove the `fromYAML` function defined in `stacklock2nix`, because we still need to support old versions of Nix that don't yet have the `fromYAML` builtin.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.