Skip to content

Commit

Permalink
nix: syntax-data package, for #235, #236
Browse files Browse the repository at this point in the history
  • Loading branch information
AshleyYakeley committed Oct 18, 2023
1 parent 9f46d1e commit e966220
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -67,13 +67,19 @@
stdLibPackage
];
};
pinaforeDocPackage = flake.packages."pinafore-app:exe:pinafore-doc";
syntaxDataPackage = pkgs.runCommand "pinafore-syntax-data" {}
''
${pinaforeDocPackage}/bin/pinafore-doc --syntax-data > $out
'';
in flake //
{
packages =
{
default = pinaforePackage;
pinafore = pinaforePackage;
pinafore-doc = flake.packages."pinafore-app:exe:pinafore-doc";
pinafore-doc = pinaforeDocPackage;
syntax-data = syntaxDataPackage;
};
}
);
Expand Down

0 comments on commit e966220

Please sign in to comment.