yarn-plugin-nixify
yarn-plugin-nixify copied to clipboard
usage with flakes
How can I use this with a nix flake?
It's pretty much the same as the generated default.nix, but inside a flake package:
{
outputs = { self, nixpkgs }: with nixpkgs.lib; {
packages = mapAttrs (system: pkgs: {
default = pkgs.callPackage ./yarn-project.nix { } { src = ./.; };
}) nixpkgs.legacyPackages;
};
}