Add a flake file to build the project

This commit is contained in:
2023-11-30 04:02:58 +00:00
parent a34e143408
commit cd2d6366b0
3 changed files with 82 additions and 5 deletions

View File

@@ -1,8 +1,6 @@
{ nixpkgs ? <nixpkgs>
, config ? {}
}:
{ pkgs }:
with (import nixpkgs config);
with pkgs;
let
mkDerivation =
@@ -49,4 +47,4 @@ in mkDerivation {
targets = ["Main"];
srcdir = "./src";
outputJavaScript = true;
}
}