parent
e5971fdd30
commit
5e9abb8075
11
flake.nix
11
flake.nix
|
@ -29,14 +29,11 @@
|
||||||
inherit system;
|
inherit system;
|
||||||
overlays = [
|
overlays = [
|
||||||
devshell.overlay
|
devshell.overlay
|
||||||
|
(import ./overlay.nix)
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
in rec {
|
in rec {
|
||||||
lib = {
|
packages.bundled = pkgs.deno2nix.mkBundled {
|
||||||
inherit (import ./nix {inherit pkgs;}) mkDepsLink mkBundledWrapper mkExecutable;
|
|
||||||
};
|
|
||||||
|
|
||||||
packages.bundled = lib.mkBundled {
|
|
||||||
name = "example";
|
name = "example";
|
||||||
version = "0.1.0";
|
version = "0.1.0";
|
||||||
src = self;
|
src = self;
|
||||||
|
@ -44,7 +41,7 @@
|
||||||
importMap = ./import_map.json;
|
importMap = ./import_map.json;
|
||||||
entrypoint = ./mod.ts;
|
entrypoint = ./mod.ts;
|
||||||
};
|
};
|
||||||
packages.wrapper = lib.mkBundledWrapper {
|
packages.wrapper = pkgs.deno2nix.mkBundledWrapper {
|
||||||
name = "example";
|
name = "example";
|
||||||
version = "0.1.0";
|
version = "0.1.0";
|
||||||
src = self;
|
src = self;
|
||||||
|
@ -52,7 +49,7 @@
|
||||||
importMap = ./import_map.json;
|
importMap = ./import_map.json;
|
||||||
entrypoint = ./mod.ts;
|
entrypoint = ./mod.ts;
|
||||||
};
|
};
|
||||||
packages.executable = lib.mkExecutable {
|
packages.executable = pkgs.deno2nix.mkExecutable {
|
||||||
name = "example";
|
name = "example";
|
||||||
version = "0.1.0";
|
version = "0.1.0";
|
||||||
src = self;
|
src = self;
|
||||||
|
|
Loading…
Reference in a new issue