dream2nix icon indicating copy to clipboard operation
dream2nix copied to clipboard

What to use instead of the now-deprecated makeOutputs

Open the-argus opened this issue 2 years ago • 2 comments

A long time ago, I packaged a nodejs thing with dream2nix and then forgot about it. Nodejs 14 is now EOL so I've had to update my packaging, and in the process I've broken my flake because makeOutputs has been removed or moved from the dream2nix lib. I find little mention of it on this repo. Where can I read about changes made to API to figure out how to re-package my software?

If there is no way to read about such changes, then take this issue to be a proposal to start using github release pages to document API changes.

the-argus avatar Jun 09 '23 22:06 the-argus

Hello, just to be clear, the very first paragraph in this projects README states

!!! Warning: dream2nix is unstable software. While simple UX is one of our main focus points, the APIs are still under development. Do expect changes that will break your setup.

So any expectation of API stability, including a well-structured Changelog might still be a bit early. We plan to do so for the v1 api, but that's going to take at least another few months.

phaer avatar Jun 12 '23 12:06 phaer

Okay, in that case I'm going to just try to redo my flake using the documentation that exists at the moment. I'm leaving this issue open in case anyone else has migrated a node.js flake from an older version of the API and can enumerate the differences. Would be useful now that nixos 23.05 is here.

the-argus avatar Jun 14 '23 01:06 the-argus