Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use builtins.fromYAML #11

Open
cdepillabout opened this issue Jan 11, 2023 · 0 comments
Open

use builtins.fromYAML #11

cdepillabout opened this issue Jan 11, 2023 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed

Comments

@cdepillabout
Copy link
Owner

cdepillabout commented Jan 11, 2023

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

NixOS/nix#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.

@cdepillabout cdepillabout added enhancement New feature or request help wanted Extra attention is needed good first issue Good for newcomers labels Jan 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant