Revert "provide as lib"

This reverts commit e5971fdd30.
This commit is contained in:
SnO2WMaN 2022-06-20 10:56:32 +09:00
parent e5971fdd30
commit 5e9abb8075

View file

@ -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;