diff --git a/flake.lock b/flake.lock index cf00573..fa8351e 100644 --- a/flake.lock +++ b/flake.lock @@ -8,17 +8,17 @@ "nixpkgs": "nixpkgs" }, "locked": { - "lastModified": 1670990547, - "narHash": "sha256-XlHaXfeqEWRKMTk+OI20Ku3Fb2pUET5gXwOxLOlVQ+U=", - "owner": "SnO2WMaN", - "repo": "deno2nix", - "rev": "15b4c19f42db3f91175f93a2982e294b5895332e", - "type": "github" + "lastModified": 1675869640, + "narHash": "sha256-HkSiT3VWfHaAUa/usB6+ywXKejZI7bh6yIoh2bTa0eE=", + "ref": "refs/heads/main", + "rev": "0b54d6ce4424039951c1c12cc4319836b76c1eaf", + "revCount": 32, + "type": "git", + "url": "https://git.pub.solar/b12f/deno2.nix.git" }, "original": { - "owner": "SnO2WMaN", - "repo": "deno2nix", - "type": "github" + "type": "git", + "url": "https://git.pub.solar/b12f/deno2.nix.git" } }, "devshell": { diff --git a/flake.nix b/flake.nix index 084eef1..05e3981 100644 --- a/flake.nix +++ b/flake.nix @@ -4,21 +4,21 @@ inputs = { nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable"; - deno2nix.url = "github:SnO2WMaN/deno2nix"; - flake-utils.url = "github:numtide/flake-utils"; devshell.url = "github:numtide/devshell"; devshell.inputs.flake-utils.follows = "flake-utils"; devshell.inputs.nixpkgs.follows = "nixpkgs"; + + deno2nix.url = "git+https://git.pub.solar/b12f/deno2.nix.git"; }; outputs = { self, - deno2nix, + nixpkgs, flake-utils, devshell, - nixpkgs, + deno2nix, }: flake-utils.lib.simpleFlake { inherit self nixpkgs; diff --git a/overlay.nix b/overlay.nix index d60ed9b..28b5e75 100644 --- a/overlay.nix +++ b/overlay.nix @@ -12,6 +12,11 @@ final: prev: lockfile = "./deno.lock"; config = "./deno.json"; + buildInputs = [ + sane-backends + python39Packages.img2pdf + ]; + allow = { "write" = true; "env" = true;